aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Move /etc/ to SRCTOPWarner Losh2017-03-121-12/+12
| | | | | | | | | | | Prefer ${SRCTOP}/ to ${.CURDIR}/../ and ${.CURDIR}/../../ as appropriate. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence On: arch@ (twice) Notes: svn path=/head/; revision=315171
* Fix packaging /usr/share/examples/etc.Glen Barber2016-10-311-1/+1
| | | | | | | | | | Reported by: woodsb02 MFC after: 3 days X-MFC-With: r308148 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=308150
* Separate BLACKLIST vs BLACKLIST_SUPPORT properlyKurt Lidl2016-06-071-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301553
* Add basic blacklist build supportKurt Lidl2016-06-021-0/+4
| | | | | | | | | | | Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5913 Notes: svn path=/head/; revision=301226
* Revert r301137 and r301163, and implement a correct fixGlen Barber2016-06-011-8/+0
| | | | | | | | | | | | | for the CONFS issue with dma.conf and ppp.conf. Thank you very much to Bryan Drewery for looking into the problem and providing this fix. Pointyhat: gjb Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301166
* Implement a hack to re-enable installation of the dma.conf.Glen Barber2016-06-011-0/+4
| | | | | | | | | | | | | | | The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check for the 'installconfig', but does not behave properly with the 'distribute' target. This seems to be related to the previously-reported issues with files within /etc in the past. Reported by: Ben Woods Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301163
* Revert r289096:Glen Barber2016-06-011-0/+4
| | | | | | | | | | | | | | | | Files listed in 'CONFS' are not properly included in new installations (missing from base.txz), for reasons I still do not fully understand. This reverts the change excluding /etc/ppp/ppp.conf from a new installation. /etc/dma/dma.conf is also affected, but requires a different solution, still being investigated. Reported by: Ben Woods Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301137
* Fix etcupdate(8) with rc.sendmail and devd/*. It turns outGlen Barber2016-04-171-11/+2
| | | | | | | | | | BIN1 and such in etc/* cannot use FILESGROUPS. Reported by: peter Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=298140
* MFHGlen Barber2016-03-141-2/+7
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296869
| * META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.Bryan Drewery2016-03-111-3/+1
| | | | | | | | | | | | | | | | | | | | Extend it to other cases of meta mode cookies so they get the proper rm cookie behavior when a .meta file detects it needs to rebuild and fails. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296700
| * DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.Bryan Drewery2016-03-111-2/+10
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296695
* | Create a package for sendmail(8).Glen Barber2016-02-081-1/+5
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295403
* | Create a package for autofs(5)Glen Barber2016-02-021-1/+8
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295156
* Install /etc/snmpd.config with 0600 permissions.Gleb Smirnoff2016-01-141-4/+5
| | | | | | | | | Noticed by: Pierre Kim Security: SA-16:06.snmpd Pointy hat to: glebius in 2005 Notes: svn path=/head/; revision=293911
* Add libsoft to the tree, just like lib32.Warner Losh2016-01-031-0/+7
| | | | Notes: svn path=/head/; revision=293068
* Revert r290840Enji Cooper2015-12-011-1/+1
| | | | | | | | | | | | | This request by the submitter was valid, but unfortunately there is a good deal of concern over breakage when DESTDIR != / or "", i.e. with release media. Making this change correct for all cases would make it markedly more complex than need be Requested by: bdrewery, ian, imp PR: 76362 Notes: svn path=/head/; revision=291568
* Avoid FSCHG for INSTALL_AS_USER as well.Bryan Drewery2015-11-161-1/+1
| | | | | | | | | | PR: 194189 X-MFC-With: r290628 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290943
* Setup the symlink to /sys to mirror one's current source, e.g. if my sourceEnji Cooper2015-11-151-1/+1
| | | | | | | | | | | | | | | tree was /usr/src/svn, /sys would point to usr/src/svn This fixes the assumption that the source tree will always exist at ${DESTDIR}/usr/src MFC after: 1 week PR: 76362 Reported by: Scot Hetzel <swhetzel@gmail.com> Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290840
* Fix a few files that where being incorrectly installed as one file. This ↵Brad Davis2015-11-131-1/+13
| | | | | | | | | | was caused by the nvi upgrade fallout in r281994. So add the missing directories back to the mtree and add distrib-cleanup target to retroactively remove the files that should have been directories. Reviewed by: bdrewery Approved by: bdrewery Notes: svn path=/head/; revision=290772
* Respect NO_FSCHG for extracting mtrees.Bryan Drewery2015-11-121-3/+7
| | | | | | | | | | PR: 194189 X-MFC-With: r290628 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290718
* When extracting mtrees, pass -i so schg/sappnd are respected.Bryan Drewery2015-11-091-2/+2
| | | | | | | | | | | | | | | This fixes /var/empty not being schg in the installation. This was a change from fmtree to nmtree, that -i is now required to apply these flags. PR: 194189 Submitted by: guyyur@gmail.com MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=290628
* Use more appropriate ${SHAREDIR} rather than /usr/share.Bryan Drewery2015-10-271-10/+10
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290083
* Handle lib32 files during delete-old* when MK_LIB32=no.Julio Merino2015-10-201-0/+7
| | | | | | | | | | | | | | | | | | | | | Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is set to no on a system that previously had lib32 libraries installed. Also, to prevent "make delete-old-dirs" from always deleting lib32 directories after an installworld, move the lib32 subtree to its own mtree file that only gets applied when MK_LIB32=yes. Test: Ran "make delete-old" and "make delete-old-libs" on a system that never had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later disabled. Did this both on amd64 and powerpc64. Test: Ran "make tinderbox" without errors. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D3923 Notes: svn path=/head/; revision=289662
* Add default leap-seconds file. This should help ntp networks get theCy Schubert2015-10-161-0/+3
| | | | | | | | | | | | | | | leap second date correct Updates to the file can be obtained from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/. Suggested by: dwmalone Reviewed by: roberto, dwmalone, delphij Approved by: roberto MFC after: 1 week Notes: svn path=/head/; revision=289421
* Create /usr/tests *.debug file directory hierarchyEd Maste2015-10-151-0/+1
| | | | | | | | | Reviewed by: bdrewery, ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3896 Notes: svn path=/head/; revision=289351
* Move ppp.conf into the ppp sourcesBaptiste Daroussin2015-10-091-4/+0
| | | | Notes: svn path=/head/; revision=289096
* Move all the dma(8) components into one single directoryBaptiste Daroussin2015-10-091-3/+0
| | | | | | | | | | Simplifying maintainance and options (only one place to deal with MK_DMAGENT) This also makes packaging base less intrusive by getting a single point where to add tags. Notes: svn path=/head/; revision=289087
* Add META_MODE support.Simon J. Gerraty2015-06-131-2/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * Merge sync of headSimon J. Gerraty2015-05-271-25/+43
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * \ Merge from head@274682Simon J. Gerraty2014-11-191-1/+3
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ \ Merge head from 7/28Simon J. Gerraty2014-08-191-2/+4
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * \ \ \ Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * | | | | There is no guarantee that our group has a name.Simon J. Gerraty2014-05-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the results are temp, just subst [gu]name for [gu]id Reviewed by: obrien Notes: svn path=/projects/bmake/; revision=265204
| * | | | | Merge headSimon J. Gerraty2014-04-281-3/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | | | | Fix botched sed scriptSimon J. Gerraty2013-10-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256856
| * | | | | | We use distrib-dirs to populate stage tree.Simon J. Gerraty2013-10-161-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | But that depends on up-to-date passwd and group files in /etc. If MK_INSTALL_AS_USER==yes and we are not root, filter the mtree input to avoid problems with [gu]name and [gu]id settings. Notes: svn path=/projects/bmake/; revision=256634
* | | | | | | Re-implement endian-aware services_mkdb(8) in the 'distribute'Glen Barber2015-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | target. This effectively reverts r261142, which reverted both r261031 and r261044. Prodded by: jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283989
* | | | | | | After r283981 it is no more needed to specify endianness when generating theBaptiste Daroussin2015-06-041-5/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passwd database Notes: svn path=/head/; revision=283985
* | | | | | Move all test integration pieces for etc/ from etc/ to tests/Enji Cooper2015-05-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is being done to fix breakage with make distribution with read-only source trees as make distribution doesn't use make obj like building tests/ does in all cases Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Suggested by: jhb X-MFC with: r282059 MFC after: 1 week Notes: svn path=/head/; revision=283056
* | | | | | Remove now unneeded libmap32.confBaptiste Daroussin2015-05-041-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=282421
* | | | | | Respect DESTDIR when creating the directory structure when NO_ROOT is set.Andrew Turner2015-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: bapt MFC after: 1 Week Notes: svn path=/head/; revision=281141
* | | | | | Unconditionally install debug directory hierarchyEd Maste2015-02-241-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids various failure modes (e.g., when building and installing a single binary with debug data on a system that otherwise does not have it enabled). It is also consistent with the way other directory hierarchies are handled (e.g. share/man). Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D1962 Notes: svn path=/head/; revision=279248
* | | | | | Honor the following flags for items that can be conditionalized out of theEnji Cooper2015-02-051-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build/install without disrupting other dependent services (see r278249, et al): - MK_LOCATE - MK_MAN - MK_NLS - MK_OPENSSL - MK_PKGBOOTSTRAP - MK_SENDMAIL Additional flags need to be handled in etc/Makefile, but it requires refactoring the relevant scripts in etc/rc.d/* MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=278251
* | | | | | Add the following options to enable/disable several features in the base systemEnji Cooper2015-02-041-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WITHOUT_BOOTPARAMD - bootparamd WITHOUT_BOOTPD - bootpd WITHOUT_FINGER - finger, fingerd WITHOUT_FTP - ftp, ftpd WITHOUT_INETD - inetd WITHOUT_RBOOTD - rbootd WITHOUT_TCP_WRAPPERS - tcpd, et al WITHOUT_TFTP - tftp, tftp-server WITHOUT_TIMED - timed MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=278192
* | | | | | Add MK_AUTOFS knob for building and installing autofs(4), et alEnji Cooper2015-01-261-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277728
* | | | | | Add sample log rotation support for opensmEnji Cooper2015-01-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Up to 7 archives of the log will be kept (just for consistency with the other log rotation rules) PR: 196788 MFC after: 1 week Reviewed by: hselasky Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277541
* | | | | | Fix building/installing tests when TESTSBASE != /usr/testsEnji Cooper2014-12-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The work in r258233 hardcoded the assumption that tests was the last component of the tests tree by pushing tests as an explicit prefix for the paths in BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all of the mtree calls used in Makefile.inc1. This assumption breaks if/when one provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests . One thing that r258233 did properly though was remove "/usr/tests" creation from BSD.usr.dist -- that should have not been there in the first place. That was an "oops" on my part for the work that was originally committed in r241823 MFC after: 2 weeks Phabric: D1301 Reviewed by: imp Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=275907
* | | | | | Revert r275270Enji Cooper2014-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MK_MAIL applies to MK_SENDMAIL and a number of other knobs. r275270 incorrectly applied it to only MK_SENDMAIL Notes: svn path=/head/; revision=275271
* | | | | | etc/mail actually applies to MK_SENDMAIL, not MK_MAILEnji Cooper2014-11-291-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | Notes: svn path=/head/; revision=275270
* | | | | Bring in the new automounter, similar to what's provided in most otherEdward Tomasz Napierala2014-08-171-1/+3
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270096