Commit Graph

222 Commits

Author SHA1 Message Date
wiz 2b16d52f32 For obsolete files, make sure that both words behind the pathname contain
"obsolete".
2005-04-25 11:38:01 +00:00
lukem 5c5750a595 Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).
2005-04-17 15:15:48 +00:00
kleink 35a86bcf49 Add lastlogx. 2005-03-04 21:16:10 +00:00
christos 1bef9ab8e1 Add an xserver config file. 2005-03-01 16:42:53 +00:00
christos 1b0527f64c add ppp in pam.d 2005-02-27 23:06:37 +00:00
thorpej 13eb2abf9e Major cleanup of PAM service configuration files. 2005-02-27 03:40:14 +00:00
peter 1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
lukem 713967467d Move etc/release from etc.tgz to base.tgz, since the "build" target
in src/Makefile installs it (thus, being more consistent).
Should fix "./build.sh install=/" installation of /etc/release.
Requested by Hubert Feyrer (amongst others).
2005-02-22 07:39:25 +00:00
lukem 08356a345e We unconditionally populate etc/pam.d. 2005-01-11 12:23:17 +00:00
christos 5ad134eae7 Add /etc/pam.d files. 2005-01-10 00:18:18 +00:00
matt 91c3d135e3 Make sure the postfix files in ./etc/postfix are conditional on postfix 2005-01-10 00:06:27 +00:00
wiz 4692c6e1e8 Put obsolete files in the *-obsolete sets instead of whatever they
were in before they became obsolete (consistency).
2004-11-18 15:34:23 +00:00
itojun 5362985471 add pf/pflogd 2004-06-29 04:53:43 +00:00
itojun 3c9aef7cc5 additional files for pf 2004-06-22 18:24:06 +00:00
dbj 4fe7bbb7da enable rc.d fixsb script
initial testing suggests that it is working and I am confident it
will not cause irrevocable damage
2004-04-18 04:02:27 +00:00
itohy 867dc753a9 Add /etc/locate.conf 2004-02-06 15:36:52 +00:00
christos a574909ddd add identd 2004-01-31 21:53:31 +00:00
lukem db1714e4b6 Add ./etc/mtree/set.<setname> entry for each set. 2004-01-30 08:44:10 +00:00
blymn f2995ea7d4 Added veriexec entry. 2004-01-14 07:20:34 +00:00
lukem bffdcf216d more MKSENDMAIL=no support.
noted by Juan Romero Pardines in private email, and confirmed by me.
2004-01-12 06:42:39 +00:00
lukem b2a7724153 reformat whitespace 2004-01-11 09:53:28 +00:00
tls d8793381d3 Install default ssh_known_hosts file with public keys for Project servers.
Hopefully I didn't make too much of a hash of the postinstall support for
this; it currently installs the file if there's none in the destination,
and elsewise notes if the CVS version differs (or is missing) but doesn't
try to fix that.
2004-01-11 04:21:18 +00:00
lukem 51f1131bbc Rename /etc/release-info to /etc/release, to be consistent with other
implementations and Hubert's original intent.
2004-01-04 23:55:11 +00:00
lukem 03e3f5841d Run "cd etc && make install-release-info" at the end of the "build" target.
Based on Hubert Feyrer's suggestion on tech-userlevel@.
2004-01-04 13:30:09 +00:00
lukem 2becb6af9a Support MKCRYPTO=no 2004-01-04 00:54:18 +00:00
lukem 9bdabb5f9b support MKYP=no 2004-01-03 14:17:06 +00:00
lukem dbe9e72b8d support MKSENDMAIL=no (with "sendmail" keyword) 2004-01-03 03:02:25 +00:00
lukem b852db83fb Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of
  comma separated keywords that control if the line is printed.
  Currently supported keywords
	kerberos4	${MKKERBEROS4} != no
	kerberos	${MKKERBEROS} != no
	lint		${MKLINT} != no
	obsolete	${obsolete} != 0.
			In this case, non obsolete files are not printed.
  (This will allow future support for builds with variables such as
  MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
  various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
  Move replicated code for determining stuff such as shlibs type
  from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
  main lists with the relevant third field keyword(s).
2003-12-29 03:13:25 +00:00
martin 10c173b9e1 Add etc/rc.d/rtclocaltime. 2003-12-27 00:28:19 +00:00
lukem 1b373d7a5e Revert part of previous; etc/rc.d/kdc must be installed even if Kerberos
isn't enabled.
This is how the rc.d system works in conjunction with our current build
and install system; all the rc.d scripts are installed even if the
subsystems they control are not.
2003-12-26 12:04:35 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
dyoung a7742656be Finer-grained syspkgs to save space on tiny systems: move
calendar(1)-related and RPC-related files to their own packages.
Move the termcap(5) database to its own package, also.
2003-11-25 06:28:54 +00:00
fvdl a066c2841f x86_64 -> amd64 2003-04-26 18:48:48 +00:00
perry 90df2da36a add default skel/.logout file 2003-04-24 01:05:49 +00:00
thorpej 953de79cde Add a reset_button script. 2003-04-20 20:55:39 +00:00
thorpej 0ea6c3867d Add /etc/powerd/scripts/power_button 2003-04-18 05:42:52 +00:00
thorpej 71e3ac911d Add /etc/rc.d/powerd 2003-04-18 05:19:59 +00:00
taca 552c900f4c Reflect change of cron's log file. 2003-04-03 22:52:32 +00:00
atatat afb4175e24 Adjust sets lists to account for new sendmail machinery. 2003-03-24 15:24:46 +00:00
wiz fe8e96c537 Add atc_score in place of atc_scores; completes solution of PR 20709. 2003-03-15 12:33:55 +00:00
fvdl 86748d8f56 etc setlit for x86_64 2003-03-06 23:42:53 +00:00
lukem adc15e0f59 move the obsolete lists from etc to base, as they're more useful there.
suggested by matt green.
2003-02-22 23:39:54 +00:00
lukem 4f6381b784 all:
Use /var/db/obsolete instead of /etc/obsolete

etc/Makefile:
	Create separate target "install-obsolete-files" to populate
	/var/db/obsolete, instead of using "install-etc-files".

Makefile:
	Add do-obsolete target, to run "cd etc && make install-obsolete-files",
	and add this to BUILDTARGETS.
	This moves the "obsolete files" creation from "distribution" to "build".


Per discussion with Andrew Brown.
2003-02-22 03:20:45 +00:00
lukem 5c198ab018 etc/postinstall
*	Improve message display in find_file_in_dirlist()
    *	do_obsolete(): instead of running distrib/sets/makeobsolete to
	temporarily generate the obsolete sets lists, look for them in
	${SRC_DIR}/etc/obsolete/* or ${DEST_DIR}/etc/obsolete/*.
	The obsolete check now works for "extracted etc.tgz" as the source dir.

etc/Makefile (install-etc-files), distrib/sets/lists/*
    *	Install obsolete set lists into /etc/obsolete/
    *	Tweak how pwd_mkdb files are added to METALOG

distrib/sets/makeobsolete
    *	Don't bother with "_obsolete" suffix on generated file names.
2003-02-20 11:40:28 +00:00
lukem d48147ade0 add ./etc/rc.d/ypset 2003-01-16 22:04:50 +00:00
martti 405c73366e Back out previous (as discussed with releng). The correct way to set this is:
# echo "myserver" > /var/yp/binding/`domainname`.ypservers
2003-01-16 11:55:28 +00:00
martti 1e0411d0d5 Script to bind a NIS client to a known server.
$ grep yp /etc/rc.conf
ypbind=YES
ypbind_flags="-ypset"
ypset=YES
ypset_flags="myserver"
2003-01-16 07:37:33 +00:00
lukem 9432b9952d add etc/rc.d/staticroute. (hi christos!) 2003-01-10 03:17:52 +00:00
jdolecek 81f80a2d00 remove empty md.* files 2002-12-17 16:08:13 +00:00
jdolecek 1e127d86d1 ttyaction is ${MACHINE}-specific, not per ${MACHINE_ARCH}
remove special ttyaction hook from etc/etc.sun[23]/Makefile.inc, it's no longer
  needed
ld.so.conf is ${MACHINE}-specific, the code happened to work for i386 and sparc
  only because ${MACHINE} == ${MACHINE_ARCH} there
remove basesrc/etc/ld.so.conf and its special vax/ns32k/m68k hook in Makefile -
  vax & m68k are ELF now, and ns32k doesn't need to be handled here
2002-12-17 15:54:59 +00:00