summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Back out prev. change preventing /sys/sys symlink. It appears my installache2013-02-221-1/+1
| | | | was not very recent and not acts like 'ln -h'
* In 'make hierarchy' don't install /sys/sys pointing to usr/src/sysache2013-02-171-1/+1
| | | | but just /sys pointing there
* When adding the directory ownership to the METALOG do it by name ratherbrooks2013-01-301-3/+4
| | | | | | | | than number as is done in install so as to differ binding of names to ids. Remove the -W flag from the mtree command so that the correct user and group is recorded rather than the default.
* Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l.brooks2013-01-291-3/+15
| | | | Make cat a bootstrap tool to facilitate this.
* Introduce a new option -DNO_ROOT that allows install and distributionbrooks2013-01-221-0/+17
| | | | | | | | | | | | | | | targets to be run without root privilege. Information about ownership, group, flags, and suid bits are stored in the file specified by METALOG which defaults to ${DESTDIR}/METALOG. This file can be used in conjunction with bsdtar or makefs to generate archives or file system images with correct permissions. The packageworld target has been altered to use this metadata allowing non-root releases (subject to further changes in release/Makefile.) Sponsored by: DARPA, AFRL Reviewed by: ian, ray
* Replace all known uses of ln in the build process with appropriatebrooks2013-01-211-7/+10
| | | | | | | | install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo
* In r245571, "rm -rf <foo>; ln -s <bar> <foo>" needed to be replaced withbrooks2013-01-171-7/+7
| | | | | | | | | "ln -sfh <bar> <foo>" or the links would fail when a valid link to a directly was in place at <foo>. Reported by: peter Tested by: peter Pointy hat to: brooks
* In preparation for logging metadata about each filesystem objectbrooks2013-01-171-19/+13
| | | | | | | | | | | | refactor the link section of distrib-dirs to alwasy install to a full path (the link contents remain relative as they should). Eliminate the use of the "rm -r[f] <foo>; ln -s <bar> <foo>" pattern in favor of "ln -sf <bar> <foo>". None of these links could be directories on a system installed in the last decade. Sponsored by: DARPA, AFRL Reviewed by: mtree
* Rework the mtree portion of etc/Makefile's distrib-dirs target to runbrooks2013-01-171-12/+23
| | | | | | | | mtree in a shell loop so there is only one mtree commandline. Move the implementation of LOCAL_MTREE into etc/Makefile. Sponsored by: DARPA, AFRL Reviewed by: mtree :)
* Add an option DB_FROM_SRC to use src/etc's user/group databases whenbrooks2013-01-151-8/+10
| | | | | | | | | | | | | installing. This allows things like running installworld for 10-CURRENT on a 9.0-RELEASE system without adding extra users and groups to the passwd and group files. To prevent potentially risky uid/gid mismatches on systems with non-standard local values, require that DESTDIR be set if DB_FROM_SRC is set. Sponsored by: DARPA, AFRL Reviewed by: peter
* Revert r245316. Systems with non-standard uids/gids are more prevalentbrooks2013-01-111-10/+8
| | | | | that I'd feared. Discussion is ongoing about the scope of a safer solution.
* Use the -N option to install and nmtree to eliminate the need for thebrooks2013-01-111-8/+10
| | | | | | checks for missing users and groups. Sponsored by: DARPA, AFRL
* Using set -x produces output on stderr instead of stdout.eadler2012-11-151-4/+2
| | | | | | | | | | | It also doesn't work with make -s. Prefer the use of builtin make features. PR: misc/126312 Reported by: Nejc Skoberne <nejc@skoberne.net> Submitted by: bdrewery Approved by: cperciva MFC after: 1 week
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-221-0/+3
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Finally nuke auth.conf, nine years after it was deprecated. The onlydes2012-06-121-2/+1
| | | | | | | | | | | | | | | | | | thing it was still used for was to set the "global default" password hash. Since the stock auth.conf contained nothing but comments, the global default was actually the first algorithm in crypt(3)'s list, which happens to be DES; I take the fact that nobody noticed as proof that it was not used outside of crypt(3). The only other use in our tree was in the Kerberos support code in in tinyware's passwd(1). I removed that code in an earlier commit; it would not have compiled anyway, as it only supported Kerberos IV. The auth_getval() function is now a stub that always returns NULL, which has the same effect as a functional auth_getval() with an empty auth.conf. MFC after: 3 weeks
* Style: prefer the use of line continuations to +=eadler2012-02-171-42/+42
| | | | | | Requested by: marcel, dougb, bde Approved by: cperciva MFC after: 3 days
* Make etc/Makefile more conflict resistanteadler2012-02-091-12/+42
| | | | | | | PR: conf/163789 Submitted by: gcooper (iXsystems) Approved by: cperciva MFC after: 3 days
* Revert r224760, and enhance the sed patterns from r224659 to comment outdougb2011-08-101-0/+4
| | | | | | the _compat entries in the WITHOUT_NIS case rather then delete them. Approved by: re (kib)
* Rather than edit the nsswitch.conf file based on ${MK_NIS} == "no"dougb2011-08-061-4/+0
| | | | | | | | | | comment out the NIS _compat options by default, but leave them in the file for the convenience of users who want to enable it. Update the comment in the file accordingly. Reviewed by: ed Approved by: re (hrs)
* Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.ed2011-08-051-0/+4
| | | | | | | | | | We already modify various configuration files in /etc based on build configuration. This is not done for nsswitch.conf right now when setting WITHOUT_NIS. This breaks various utilities, including crond, that depend on working databases. Approved by: re (kib) MFC after: 1 month
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-221-0/+3
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* No longer install /etc/manpath.config since the BSDL man utilitiesgordon2010-10-041-4/+0
| | | | | | don't use it. Approved by: wes (mentor)
* device.hints: do install when WITHOUT_BOOT is setavg2010-06-161-0/+2
| | | | | Discussed with: imp MFC after: 2 weeks
* Merge from tbemd, with minor tweaks:imp2010-06-131-1/+5
| | | | | | Search from most specific ($MACHINE) to least specific ($MACHINE_CPUARCH) when looking for the tty file to use. Also add an .error case if none exist.
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-191-1/+1
| | | | | | | | | utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212
* Slightly improve my previous commit.ed2010-03-191-1/+1
| | | | | | Just comment out the atrun line instead of completely removing it. It is not a bad idea to leave it as a reference in case someone decides to install atrun by hand afterwards.
* Don't add the atrun-line to the crontab when MK_AT is set.ed2010-03-191-0/+3
| | | | | | This prevents spurious calls to sendmail every 5 minutes. MFC after: 1 week
* Install termcap.small.ed2010-03-071-1/+1
| | | | | | | | | | | | | | | Right now we have a termcap.small in the tree, but we don't install it. If we do install this file by default, it is more likely for applications to work in single user mode. I am not entirely happy with the contents of this file. In my opinion we should remove the `dosansi', `pc' and `pc3' entries and replace them with `vt100' in case someone uses a serial console. The file does already have entries for `cons25' and `xterm', which is used most often. Requested by: brucec
* Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6ume2009-12-021-1/+1
| | | | | | | and rc.d/ip6fw. Reviewed by: dougb, jhb MFC after: 1 month
* Split up etc.i386/ttys into a PC98 version as well.ed2009-11-131-2/+7
| | | | | | This means I can now convert syscons on i386 to xterm as well. Discussed with: nyan
* - Remove BSD.{x11,x11-4}.dist as we merged prefixes a while ago and thoseflz2009-09-021-2/+1
| | | | | | files aren't used anymore. - Remove BSD.local.dist as the file moved to ports/Templates when we merged prefixes.
* Welcome to a default installed /etc/ntp.confedwin2009-06-071-0/+4
| | | | | | | | | | | | | | | | This NTP configuration file points to the [012].pool.ntp.org servers, which will return a list of geographical local NTP servers. It uses the best-practice options of "iburst" and "maxpoll 9". It gives examples on how to use the "restrict" commands, which are unfortunately not working when you use the pool.ntp.org servers. It sets up a fudge server so any clients syncing against this server will always be synced even if we lose the master. The idea of this file was briefly discussed on -net. PR: conf/58595 Submitted by: Chris Stenton <jacs@gnome.co.uk> MFC after: 1 week
* Add /etc/devd/ and move hardware specific configuration there. This makes itthompsa2008-12-171-0/+1
| | | | | | easier to maintain custom rules for non-system things like ACPI hotkeys. /etc/devd.conf is already set up to check this directory, no change needed there.
* Explicitly set the shell to /bin/sh when MK_TCSH == no.mp2008-10-291-1/+1
| | | | Not objected to by: sam
* o fix MK_TCSH == no: the default master.passwd sets up root to use /bin/cshsam2008-10-271-9/+20
| | | | | | | but there won't be one so root won't be able to login; edit the installed file to use /bin/sh in this case. o while here split csh-related files apart from sh and only install them when requested
* Create separate cat directories for en.UTF-8. This, together with r183697,des2008-10-081-0/+1
| | | | | | allows users in en.UTF-8 locales to see non-ascii characters in man pages. MFC after: 1 week
* add back regdomain.xmlsam2008-09-221-0/+4
| | | | Noticed by: jhay
* add new build knobs and jigger some existing controls to improvesam2008-09-211-13/+54
| | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-261-3/+0
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* 802.11 regulatory definitions used by ifconfigsam2008-04-201-1/+1
| | | | Support by: Hobnob
* Use the new command file feature of ddb(8) to support setting ddb(4)brooks2008-03-051-1/+1
| | | | | | | | | scripts at boot. This is currently disabled by default. /etc/ddb.conf contains some potentially reasonable default scripts. PR: conf/119995 Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version) X-MFC after: textdumps
* Update pf examples from OpenBSD to catch up with new stateful defaults andmlaier2007-11-111-1/+1
| | | | other syntax changes. Move pf.conf from /etc to examples, too.
* Add support for `make -nn' dry runs to this makefile. Basically,yar2007-10-291-16/+16
| | | | | | | it's just a matter of adding a `${_+_}' prefix before each submake invokation. This allows a dry run to proceed down to, but not including, leaf commands. (See <sys.mk> for how ${_+_} is set depending on the number of -n flags.)
* Forced commit to note cached.conf -> nscd.conf repocopy. etc/Makefilebushman2007-10-181-1/+1
| | | | | | changed accordingly. Approved by: brooks (mentor)
* Backout sensors framework.netchild2007-10-151-1/+1
| | | | | Requested by: phk Discussed on: cvs-all
* Import OpenBSD's sysctl hardware sensors framework.netchild2007-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
* Arm doesn't have GENERIC.hints, so don't install it if it doesn't exist.imp2007-07-131-0/+2
| | | | Approved by: re (kensmith)
* Add a namedb/master directory for the zone files I'm about to add,dougb2007-06-181-15/+9
| | | | | and switch to the more "normal" way of installing files for the namedb directory so that we can pick up the new subdir.
* Summer of Code 2005: improve libalias - part 1 of 2piso2006-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru
* Add FreeBSD Update 2.0 client code. The build code is in the projectscperciva2006-08-311-1/+2
| | | | | | repository. Sponsored by: FreeBSD security development fundraiser
OpenPOWER on IntegriCloud