Commit Graph

200 Commits

Author SHA1 Message Date
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
lukem
49781231ca Move dev/MAKEDEV from base to etc, just like everything else installed
by etc/Makefile::install-etc-files.

(Arguably a bunch of stuff in etc could move to base, but that's a
separate issue).
2002-12-17 01:17:44 +00:00
pk
bea0986dff Add libsparc_v8 shared library. 2002-11-27 11:58:23 +00:00
lukem
1e09fd464d Add a leading `.' to all pathnames, to be more consistent with the other sets,
and to prepare for an upcoming feature addition to postinstall...
2002-11-17 02:48:01 +00:00
lukem
918cabcf54 add /etc/default. sort file 2002-10-29 05:05:12 +00:00
elric
98839fb386 Added cgd rc.d script and put it in the appropriate postinstall and
mtree files.
2002-10-09 14:55:53 +00:00
grant
3b71e362fa add /etc/mail/local-host-names, required by sendmail(8). 2002-10-05 15:24:43 +00:00
briggs
efcea71648 Add ./var/log/wtmpx 2002-09-17 18:42:59 +00:00
abs
df86ef5a9f Split raidframe parity checking/rebuild out into raidframeparity, which is
called after quota so we don't end up with fsck and raidframe parity rebuild
taking forever after a crash/reboot.
While we are here check for raid[0-9].conf & raid[1-9][0-9].conf not
			    raid[0-9].conf & raid[0-9][0-9].conf
2002-09-03 15:35:51 +00:00
wiz
bd93d53f7c Add /var/run/utmpx, requested by soren. 2002-09-03 00:56:08 +00:00
takemura
b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
soren
4ef5847406 Update for etc/skel removals. 2002-08-06 13:58:44 +00:00
wiz
94732e83a5 Add /etc/rc.d/wdogctl. 2002-07-30 08:37:41 +00:00
tv
e248b10f59 Remove empty "ftpwelcome" entirely. This makes ftpd emit a two-line
extended greeting, which confuses lots of established firewalls.
(Not added to "obsolete" since removing this file is not mandatory.)
2002-07-06 04:24:08 +00:00
christos
fe60109b71 wsmoused additions. 2002-06-27 15:18:19 +00:00
itojun
94db0712e3 sync - no fstab.* any longer 2002-06-05 14:39:26 +00:00
jmcneill
2c944107bb Move 'mixerctl' rc script from etc-sys-rc to etc-audio-rc. 2002-06-03 01:45:15 +00:00
jmcneill
fdbb6f9c72 Add mixerctl rc.d script. 2002-06-02 18:38:35 +00:00
jdolecek
074863cac2 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 19:43:57 +00:00
wiz
a18665cae6 Fix up set lists for three of the four sh3 ports a bit.
XXX: Still wrong because of some missing toolchain stuff (gdb),
     and crt{begin,end}S.o.
XXX: mmeye didn't build for me, will investigate
2002-05-02 15:42:18 +00:00
lukem
244b762de1 Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).

etc/postinstall will detect this, and if "fix" is given, rename the files.
2002-04-29 08:23:34 +00:00
lukem
560c3ebc52 add etc/postinstall 2002-04-26 15:46:13 +00:00
minoura
a37bf11046 Add passwd.conf. 2002-04-22 10:08:41 +00:00