Commit Graph

2481 Commits

Author SHA1 Message Date
uch c46d7a2d08 increase partition to 16. 2002-05-22 15:02:22 +00:00
uch dd2fce922b fix device minor. 2002-05-22 01:28:57 +00:00
rafal be1025a9ed Add glue for release stuff, extra ramdisk kernels, etc. 2002-05-21 20:56:19 +00:00
lukem 1dfde69630 Support shell metacharacters (`*', '?', '[') in /etc/changelist lines,
including checks for "backups that exist when actual file is deleted", a la
the existing mechanism used for "/etc/ifconfig.*" ... "/etc/rc.d/*" checks.
This resolves [security/15798] from Bob Kemp <bob@allegory.demon.co.uk>.
2002-05-21 13:50:46 +00:00
lukem a40243df30 When using backup_uses_rcs=YES in backup_file(), after checking the file
in and setting -kb, check it out again, since the initial check in
trashes any RCSIDs (because -kb wasn't set at that time).

This stops the annoying situation where you add a new file (e.g, "foo")
which contains an RCSID and you get *two* notifications of differences
in two successives runs of /etc/security; the first when the file is
initially checked in and a second when diff finds the RCSID is different
(contains "foo.conf,v 1.1" instead of "foo,v 1.66").
2002-05-21 12:31:01 +00:00
atatat adf9f4096f tweak GECOS for games 2002-05-20 15:08:25 +00:00
atatat feed2cb114 tweak GECOS for postfix 2002-05-20 15:06:19 +00:00
wiz ccb70a5dbd Add /usr/share/man/{cat,man}4/sgimips. 2002-05-20 11:03:58 +00:00
lukem 96e2ff62c8 Add two new rc.conf(5) variables:
rc_rcorder_flags		extra flags to rcorder(8) in /etc/rc
    rcshutdown_rcorder_flags	extra flags to rcorder(8) in /etc/rc.shutdown

This can be used to specify extra directories to search for rc.d scripts in.
For example, adding the following to rc.conf(5):
	rc_rcorder_flags="/usr/pkg/etc/rc.d/*"
	rcshutdown_rcorder_flags="/usr/pkg/etc/rc.d/*"
will add the files in /usr/pkg/etc/rc.d to the list of files that rcorder(8)
uses to build the list of scripts to start or stop.

I proposed this functionality on tech-userlevel@ over one month ago.
Closes the recent [misc/16888], which asked for a similar feature.
2002-05-19 01:01:32 +00:00
lukem 1a7212d4da Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
(ripped off from rev 1.12 of etc.sun2/MAKEDEV)
2002-05-17 16:32:18 +00:00
toshii f993c7b729 hpcarm isn't hpcmips. 2002-05-17 16:16:14 +00:00
lukem 634dcabc44 fix ~sshd. tweak GECOS for named,ntpd,sshd 2002-05-17 05:47:41 +00:00
lukem 0ede5cc7ca - add check_dir(), which checks or creates the given directory, and
use appropriately (rather than replicating effort)
- add check_ids(), to check if the lists ids exist in the first field
  of a : separated file.
- implement do_gid() and do_uid() using check_ids()
- check for ${DEST_DIR}/var/chroot/ssh instead of /var/chroot/ssh

- rename rcconf_isset() to rcconf_is_set()
- rename cmpdir() to compare_dir()
- be consistent about referring to variables with ${...}
2002-05-17 05:40:42 +00:00
itojun e26b1052bb use /var/chroot/sshd instead of /var/empty. suggested by christos 2002-05-16 20:59:35 +00:00
briggs 52c64de3c7 Make GENERIC.X2 as well as GENERIC, and include the srec versions. 2002-05-16 19:29:36 +00:00
itojun 2d4044e40b check sshd uid/gid, as well as /var/empty 2002-05-14 23:35:35 +00:00
itojun 4d9f2174f9 dig sshd uid/gid, and /var/empty, for sshd privilege separation 2002-05-14 23:26:24 +00:00
thorpej 3a8cbe5d2b Fix the do_uid() and do_gid() functions so they actually work
(a junk var is needed to slurp up the rest of the line that we
don't want).
2002-05-14 22:41:36 +00:00
itojun c8ade0d0d1 check required UID/GID (named and ntpd at this moment) 2002-05-14 05:31:11 +00:00
itojun 242ce0ff66 typo in usage 2002-05-14 05:26:13 +00:00
soren f514efc600 Make the build machinery happy for now. 2002-05-13 01:26:27 +00:00
jdolecek afd89a8792 kill leftovers from the original 2002-05-10 21:19:05 +00:00
mason 2607ebcf46 /usr/mdec/installboot no longer exists 2002-05-09 17:06:01 +00:00
jdolecek bdab257c56 add skeleton snapshot/release build hook
someone should actually write the distrib bits for luna68k eventually
2002-05-08 13:50:22 +00:00
jdolecek 8c1a587c2e sgimips doesn't have GENERIC ATM 2002-05-08 12:17:47 +00:00
isaki af51b338a9 Reduce pty to make more smaller install image. 2002-05-07 14:13:01 +00:00
isaki 62ed4db5a4 Dig installation/misc. because new distrib/x68k does not create it. 2002-05-07 14:11:37 +00:00
simonb cb4eb5a74c Fix some white space niggles. 2002-05-07 11:29:37 +00:00
jdolecek a2624ed432 add minimal disktab, with comments only (derived from pmax one) 2002-05-07 09:28:43 +00:00
jdolecek f298b07c59 fix typos 2002-05-07 09:27:19 +00:00
lukem 42f8815d89 Change -s srcdir and -d destdir so that they don't contain the "/etc" portion.
srcdir now defaults to /usr/src (from /usr/src/etc).
destdir now defaults to / (from /etc).
2002-05-07 02:11:07 +00:00
lukem f0e51dbf17 Check for obsolete "mux 1" wscons.conf(5) entries.
Suggested by George Coulouris <george@coulouris.org>.
2002-05-06 03:02:59 +00:00
jdolecek 5beaf30ad8 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 20:06:09 +00:00
jdolecek abadcdeb3e add /usr/share/exmples/fstab 2002-05-04 20:03:14 +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
tron a3ed40ee7c Sync ipf(4) after starting or stopping. This is necesarry to make filter
rules for dynamically created interfaces like pppoe(4) effective.
2002-05-04 13:53:02 +00:00
sommerfeld 965e0acae4 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1),
which inherits it cooperatively through the build tree.  Fix
documentation so that it's shown to be deprecated.

If you use build -jN, please save full build logs so that errors due
to missing dependancies can be analyzed and corrected.
2002-05-02 22:13:30 +00:00
wiz bf527580b7 Remove previously empty /usr/share/man/{cat,html,man}9/arm32. 2002-05-02 17:03:57 +00:00
lukem 4ed3791a7a remove unused installation/tapeimage 2002-05-02 15:38:07 +00:00
lukem 2d1f93d643 - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
2002-05-02 15:09:40 +00:00
martti f6415ab206 Add POP password change service (pkgsrc/mail/poppassd) 2002-04-30 13:10:43 +00:00
lukem d1d73e68b7 don't bother warning or supporting obsolete $critical_filesystems_beforenet
or $critical_filesystems; postinstall now checks for these
2002-04-29 12:29:53 +00:00
lukem 25bdefc720 don't bother warning or supporting obsolete $ip6forwarding;
postinstall now checks for this
2002-04-29 12:13:14 +00:00
lukem 2a48d151ab don't bother warning about obsolete $defcorename and $nfsiod_flags;
postinstall now checks for these
2002-04-29 12:10:23 +00:00
lukem 546b01ef65 don't bother warning about obsolete $amd_master; postinstall now does this 2002-04-29 12:08:17 +00:00
lukem 5d082ef225 - cmpdir(); use "cp -f" (instead of "cp") to copy files
- do-rc(); check for obsoleted rc.conf(5) variables
2002-04-29 12:05:45 +00:00
lukem c83924b939 ssh: try renaming /etc/ssh/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config before
/etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config.
2002-04-29 08:31:01 +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 21d59649a5 add (optional) etc/postinstall 2002-04-29 07:28:27 +00:00
lukem a65f716c1b - ssh: check for obsolete sshd_conf_dir
- add extra arg to cmpdir() (before files list), which is the target
  mode of copied files
- implement rcconf_isset(), which checks if an rc.conf(5) variable is set
  and warns if so.
- minor tweaks
2002-04-29 06:05:24 +00:00