Commit Graph

407 Commits

Author SHA1 Message Date
Peter Wemm
d3d3794b0e Actually install the rc.sysctl file (the one that reads /etc/sysctl.conf) 1999-10-29 01:33:49 +00:00
Matthew Dillon
f589c4caf7 adjust Makefile to handle make.conf's new location
Approved by:  "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
1999-10-28 21:31:46 +00:00
Nick Hibma
d98069654d Move /var/cron/log to /var/log/cron 1999-09-06 20:10:27 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Brian Feldman
fa62586ae7 This is the addition of a syslog(3) security.* top-level category. This
should be used from now on for anything security but not auth-related.
Included are updates for all relevant manpages and also to /etc files,
creating a new /var/log/security. Nothing in the system logs to
/var/log/security yet as of the time of this commit.

Reviewed by:	rgrimes, imp, chris
1999-08-21 18:24:29 +00:00
Brian Somers
51f80ae148 Add a default ppp.conf (mode 600).
Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
1999-07-26 10:49:37 +00:00
Mitsuru IWASAKI
701279af09 Put apmd configuration and rc files in /etc.
Update some files for apmd.
1999-07-10 18:02:42 +00:00
David E. O'Brien
946d53a1b3 Install dhclient.conf.
PR:		conf/12458
Submitted by:	Doug <doug@gorean.org>
1999-07-09 05:30:33 +00:00
Sheldon Hearn
5aae9955b7 Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR:	5207
Reported by:	"Wayne M. Barnes" <wayne@barnes1.wustl.edu>
1999-06-24 09:45:30 +00:00
Jordan K. Hubbard
045c66ab3d Sync with changes in /etc/mail. 1999-05-11 11:52:27 +00:00
Mark Murray
42b42f6ec9 Add extra dirs needed by install. Do the include/* by reusing
BSD.include.dist to make tracking this easier.

Pointed out by:	Rod Grimes
1999-05-05 19:44:14 +00:00
Andrey A. Chernov
c8bdad599f Remove old locale links conversion stuff 1999-04-11 19:46:36 +00:00
Mark Murray
f8b0e8c9ff Add an example hosts.allow for the (base system) tcp_wrappers.
Anyone with good ideas for this is welcome to contribute.
1999-03-28 10:47:26 +00:00
Matthew Dillon
56fc987611 jkh accidently removed rc.diskless1 & 2, then put rc.diskless back when
he moved rc.conf.  Then he deleted rc.diskless when it ( of course ) didn't
    work.  Now I'm putting the originally accidently removed rc.diskless{1,2}
    back in.
1999-02-12 20:51:38 +00:00
Brian Somers
2e92443c15 Add /usr/share/examples/ppp directory
Don't install /etc/ppp/ppp.*.example
Remove ppp/ppp.{conf,linkup,linkdown,secret}.sample
1999-02-11 16:30:56 +00:00
Jordan K. Hubbard
fc8353317d This tries to install rc.diskless, but there is no such file.
I don't know which of the two to install in its place so just
remove it for now and get the release build working again.
1999-02-11 15:46:22 +00:00
Jordan K. Hubbard
ccdd960b95 Install a little, erm, less from the etc/defaults directory. 1999-02-10 09:14:05 +00:00
Jordan K. Hubbard
a1787c488f Install rc.conf properly into /etc/defaults/ directory. 1999-02-09 23:17:25 +00:00
Matthew Dillon
e4715b9359 Revamp rc.diskless. Split into rc.diskless1 and rc.diskless2. provide
more opportunities for overriding.  Clean up /etc/rc ( remove conf_dir,
    remove startup mount special cases, remove other special cases )
1999-02-09 17:17:18 +00:00
Matthew Dillon
5ab0c62f95 Commit first rc.diskless startup plus modifications to rc.conf and Makefile
to make it work.  NOTE!  Uses new kern.conf_dir sysctl.
1999-01-25 18:24:46 +00:00
Hellmuth Michaelis
49c3b47aae Integrate the ISDN subsystem into the /etc/rc framework
Reviewed by: Joerg Wunsch
1999-01-13 08:20:55 +00:00
Robert Nordier
82a2981241 No longer install outdated boot.help file. 1999-01-10 21:08:26 +00:00
Hellmuth Michaelis
7d06eda8b4 add directory /etc/isdn and populate it 1999-01-10 14:30:53 +00:00
Matthew Dillon
d749f6f64f Remove rc.local (now deleted from CVS tree) from Makefile. 1998-12-14 02:01:22 +00:00
John Birrell
73c84e252e Back out revs 1.181 and 1.182 which upset a few people. I hope those
(3?) people will make an effort to help those who would have benefitted from
this change. And just telling them that they should read and understand
the significance of each message posted to -current is not really good
enough IMHO.
1998-12-12 22:00:49 +00:00
John Birrell
1e8cf44a58 Change to the current directory before doing the install. I !love make. 1998-12-11 00:09:39 +00:00
John Birrell
e151cd1901 Add logic to check if any of the BIN1 files do not already exist in
${DESTDIR}/etc and an install target to install the missing ones. This
allows new files like pam.conf to be installed by the first installworld
after the file is added, but avoid clobbering files that might be
customized. This should save some support questions.
1998-12-10 05:34:11 +00:00
John Polstra
d08484e099 Add a sample "/etc/pam.conf" file that configures the authentication
methods used by login.  Changes to "/usr/bin/login" to use it will
be committed later today.  The format of the file is described in
pam(8).

This sample file makes login behave in the traditional way.  To
wit, it enables authentication via S/Key and passwd/NIS lookups.
KerberosIV authentication is present in the sample file but commented
out.

As a safety net and a transition aid, login will fall back on
built-in passwd/NIS authentication if this configuration file is
missing or if some other fatal PAM error occurs.

This file will eventually replace "/etc/auth.conf", but not until
I've finished converting the other utilities, such as passwd and su.
1998-11-20 23:20:01 +00:00
Mark Murray
c67d21dd73 Add auth.conf. JKH Added the code to understand this to libutil, and
I will be following up with commits to use it in KerberosIV userland.
1998-10-08 06:12:04 +00:00
Poul-Henning Kamp
7d5c779c86 Here are some scripts and man pages for configuring HARP ATM
interfaces.

Reviewed by:	phk
Submitted by:	Mike Spengler <mks@networkcs.com>
1998-10-06 19:24:31 +00:00
Dima Ruban
033b33635c Backout my previous commit. Oops. 1998-09-25 08:21:15 +00:00
Dima Ruban
577d442f10 ${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat 1998-09-25 07:42:29 +00:00
Jordan K. Hubbard
e413bb5ca1 initialize /etc/objformat for new installs, just to be sure. 1998-09-23 08:06:30 +00:00
Masafumi Max NAKANE
c663ec72c6 Add fbtab and rc.devfs to BIN1 sothat they are included in the
distribution.
1998-09-22 15:10:18 +00:00
David E. O'Brien
be0cde6f10 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
Brian Somers
9f67f727aa Gasp ! Bitten by the wonders of diff/patch ! Now's your chance to
say ``I told you so'' Andrey !
Move the Id keyword to the right Makefile
1998-09-13 23:14:20 +00:00
Brian Somers
965066d630 Add Id keyword 1998-09-13 23:11:13 +00:00
John Birrell
f471c44869 MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-08-31 20:48:13 +00:00
John Birrell
1d414b2f81 The etc-sendmail.cf target is in src/etc/sendmail/Makefile, not
src/etc/sendmail/cf/Makefile. This was an obstacle to 'make release'.
1998-08-07 08:24:07 +00:00
Peter Wemm
b58c36c953 Descend into sendmail directory and update hooks for make release so that
it has a chance of working.
1998-08-04 15:54:27 +00:00
Guido van Rooij
0774c3c25a Install motd once. 1998-06-11 20:25:56 +00:00
Joseph Koshy
dce52a9c00 Install ${DESTDIR}/boot.help during `make distribution'.
PR: 6063
Submitted by: Doug <Studded@dal.net>
1998-05-27 12:13:18 +00:00
John Birrell
4077bc03dd Make ttys machine specific. 1998-05-16 21:28:17 +00:00
Andrey A. Chernov
0888581f49 Add new named configuration template and remove old template 1998-05-07 23:42:33 +00:00
Brian Somers
12b427c2d6 Don't mention removed ppp sample files
Pointed out by:	 jkh
1997-11-09 14:24:24 +00:00
Jonathan M. Bresler
8c76ae36d2 add /etc/mail--the anti-spam files
branches affected: -current, RELENG_2_2, and RELENG_2_1_0
1997-10-20 00:35:38 +00:00
Jordan K. Hubbard
c25d9c21a9 ppp.secret.sample listed twice, at the cost of ppp.shells.sample. 1997-09-28 22:22:06 +00:00
Paul Traina
4ffb08b9fb Point at /etc/periodic 1997-08-16 17:07:13 +00:00
Jordan K. Hubbard
355ae1ab45 Further optimize crontab's installation.
Submitted by:	pst
1997-08-14 07:00:44 +00:00
Jordan K. Hubbard
e437231848 Yeesh! I completely missed the cron.d install here which did the right
thing already.  Just remove the old references.
Noted by:	pst
1997-08-14 06:58:44 +00:00
Daniel O'Callaghan
0b1885f985 Add ppp.shells.sample and ppp.deny to Makefile so they actually appear
in a release.

Reminded by: Satoshi and DavidG
1997-08-13 12:56:12 +00:00
Jordan K. Hubbard
42a2309875 Make distribute target work again in the wake of the cron.d changes.
Note:  I don't like the way these files are being copied but every
other method seemed gross too.
1997-08-13 11:22:21 +00:00
Paul Traina
f6b272984d Activate make distribute and pray I didn't break release building. 1997-08-12 18:23:29 +00:00
David Nugent
8889c700f3 Add /etc/rc.shutdown capability to init.
Add sample /etc/rc.shutdown (which is just a shell for now).
Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-08-02 00:22:52 +00:00
Satoshi Asami
1654bb8245 Add BSD.x11.dist to list of files to copy to /etc/mtree. Sorry if this
breaks "make release", Jordan!

PR:		4110
Not reviewed by:	jkh
1997-07-18 03:49:47 +00:00
Paul Traina
c9835f3307 netstart wasn't getting installed 1997-07-05 19:35:22 +00:00
Satoshi Asami
ef99a93f4e Remove /usr/local meddling.
Approved by: jkh
1997-06-04 03:58:52 +00:00
Jordan K. Hubbard
524a1478c8 Bring in rc file changes from -current. 1997-04-27 03:59:19 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
David Nugent
0bc1c71450 Adds a template/example login.conf, login class capabilities database. 1997-01-11 06:47:56 +00:00
Peter Wemm
3a233001ff Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file.

Submitted by: bde
1996-12-28 18:00:17 +00:00
Bruce Evans
3b4d52b99d Fixed missing install of BSD.include.dist. 1996-12-13 17:01:51 +00:00
Jordan K. Hubbard
7b69bdb95c magic file is no longer in /etc 1996-12-13 10:24:42 +00:00
Paul Traina
5afea8cfad Recent ppp changes broke make release. :-( 1996-10-19 17:10:28 +00:00
Wolfram Schneider
4b2b2ee3e1 ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
Wolfram Schneider
361e0905ef make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
Jordan K. Hubbard
38b411e309 Remove root dotfiles which did more harm than good. 1996-08-14 14:42:05 +00:00
Jordan K. Hubbard
3bc99bbcc2 Merge. 1996-07-13 04:33:23 +00:00
Paul Traina
4ece9046e1 Add ability to override sendmail .cf file specification.
Add creation of ppp.log file since we rotate it now.
1996-07-11 21:22:50 +00:00
Jordan K. Hubbard
6a0f4b7e11 The way sendmail.cf is installed here is gross and needs to be totally
redone.  For now, use the objlink target to give it the obj directory
it needs.
1996-06-25 18:05:58 +00:00
Poul-Henning Kamp
429c71776e Add skeleton firewall setup(s). Comments very welcome. 1996-04-03 17:13:59 +00:00
Nate Williams
90c9787151 Install rc.pccard to get PC-CARD support (when available). 1996-03-22 17:28:07 +00:00
Poul-Henning Kamp
68c4573a43 Fix the pccard install. 1996-03-17 20:37:03 +00:00
Mark Murray
b1dcc5fee7 Hack-and-slash out the old 1.1.* stuff.
Later commits will bring in 4.4-Lite and 4.4-lite2 stuff.
Reviewed by:	bruce, rgrimes
1996-03-17 08:48:20 +00:00
Joerg Wunsch
325e37f578 Install newsyslog.conf.
Bothered me in:	 all recent SNAPs
1996-02-15 23:37:01 +00:00
Jordan K. Hubbard
1432a3ee82 Add amd.map to BIN1 - having it here does no harm and makes activation
of the sample sysconfig entry (and amd) a snap.
1996-02-09 12:21:30 +00:00
Andrey A. Chernov
94de173773 Add empty /var/log/slip.log creation to distribution: target where
other empty logs created.
Pointed by Bruce.
1996-01-10 21:22:28 +00:00
Joerg Wunsch
a5749c94e4 The etc.i386/fstab.* files have been nuked, so don't try to install
them.
1995-12-31 17:06:56 +00:00
Peter Wemm
4a8128ffc7 install freebsd.cf rather than freefall.cf by default after 8.7.2 import. 1995-12-02 21:02:02 +00:00
Jordan K. Hubbard
309851e0c1 Install new dotfiles. 1995-11-30 02:32:40 +00:00
Peter Wemm
9d34fdacd9 At the risk of starting a commit-war, attempt to fix once and for all, the
"make distrib-dirs" target.
Neither of Andrey's two attempts have worked for me with the [ -h ..]
test both with && and ||.
I've changed it to a full
  if [ -h ...]; then \
    rm ... ; \
  fi ; \
construct.  It's much clearer what's meant to happen, and it works! :-)
1995-10-28 09:39:57 +00:00
Andrey A. Chernov
7e37cfc3fd Back out bogus "fix" which was commited over right fix without any check. 1995-10-28 02:01:34 +00:00
Julian Elischer
09fa32d305 Submitted by: john hay
patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Andrey A. Chernov
345705134a Add test for symlink presence before remove it 1995-10-26 10:05:55 +00:00
Andrey A. Chernov
41ff067079 Fix 'upgrade' stuff, i.e. when make distrib-dirs runs not
on clean file system but for -current locale links upgrade.
1995-10-22 21:26:52 +00:00
Andrey A. Chernov
0c7fd54d5d Implement locale.alias via links (including backward-compatible issue) 1995-10-22 00:38:16 +00:00
Poul-Henning Kamp
573d3a2d0d Add pccard.conf to makefile. 1995-10-10 09:47:51 +00:00
Bruce Evans
48cfb668fc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00
Andrey A. Chernov
d10e63cc74 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:17:16 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Andrey A. Chernov
4067631146 Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time
1995-05-13 16:58:37 +00:00
Jordan K. Hubbard
4767b31211 Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

					Jordan
1995-05-11 05:22:29 +00:00
Jordan K. Hubbard
15e52edd61 secure -> DES 1995-05-09 00:15:30 +00:00
Jordan K. Hubbard
9cd4774910 Add modem database file for new tip changes. 1995-03-31 11:41:58 +00:00
Rodney W. Grimes
711aa1c272 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
Jordan K. Hubbard
7b56107036 Add rc.maint file. 1995-03-24 00:17:37 +00:00
Poul-Henning Kamp
2a0b3f70d2 Install /etc/sysconfig 1995-03-24 00:15:15 +00:00
Rodney W. Grimes
ecdb980f93 Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
Garrett Wollman
fabbf734e5 Change named starting convention to use $namedflags like most other
daemons that take command-line arguments.  Correct /etc/namedb installation
to use the correct files.
1995-03-21 16:44:04 +00:00
Rodney W. Grimes
2c4bf858fd Use new mtree file to rebuild /usr/include.
Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.
1995-03-18 07:01:53 +00:00
Rodney W. Grimes
cf4a93ba78 Simplify all the newfs commands into ${NEWFS} and add -t 0 -u 0 so
we can again newfs floppies.

Now I just need to squish the bits back under 1.44MB :-(.  I don't know
if it will be possible to get down to 1.2MB.
1995-03-10 08:42:07 +00:00
Andrey A. Chernov
e04e0de266 Move symlinks creation here 1995-02-26 20:29:37 +00:00
Poul-Henning Kamp
fba33612b8 make distribute change. 1995-02-25 21:01:48 +00:00
Atsushi Murai
ddf5b7cc16 Adding ppp configuration files entry for distribution packages. 1995-02-04 11:16:47 +00:00
Jordan K. Hubbard
213b5e5976 Edit out some extraneous tabs. 1995-01-27 02:20:42 +00:00
Jordan K. Hubbard
131690bf32 Remove the src tarball stuff from this Makefile - all the release
stuff is on its way out of here and into release/Makefile.
1995-01-17 20:00:01 +00:00
Jordan K. Hubbard
03b38adc65 Catch the one I missed. 1995-01-15 11:21:47 +00:00
Jordan K. Hubbard
973e94c5d5 Make one last stab at making this work before I go. 1995-01-15 06:13:46 +00:00
Jordan K. Hubbard
abf7720722 Actually, there's a better way to do this whole srcdist tarball business.
Take first steps toward implementing it.
1995-01-14 12:48:39 +00:00
Jordan K. Hubbard
2a27df60e3 Clean up src-tarball definition. 1995-01-14 12:29:38 +00:00
Andrey A. Chernov
091611b3ab Remove adduser.conf & userids, not needed with new adduser 1995-01-03 12:02:05 +00:00
Andrey A. Chernov
6e06f9d01b Add adduser.conf & userids 1994-12-28 13:54:06 +00:00
David Greenman
a466088c6b Install rc.serial. 1994-12-01 13:55:49 +00:00
Poul-Henning Kamp
3d68884c5b No point, what so ever, in installing /etc/myname 1994-11-20 23:11:00 +00:00
Poul-Henning Kamp
48327bc9af Final changes. Now "make distribute" should work as advertised. 1994-11-14 20:56:17 +00:00
Poul-Henning Kamp
9a89eb9346 Fixes related to release-production:
bdes only if !NOCRYPT
Always MAKEDEV in bindist, otherwise diskless installation is a mess.
1994-10-29 12:47:44 +00:00
Poul-Henning Kamp
8b78c8e6af Reflect the fact that we only have one GENERIC kernel now. 1994-10-22 02:11:08 +00:00
Poul-Henning Kamp
a8a4ffd402 Various changes to the 1.1.5.1'sh install procedure. 1994-10-17 02:32:41 +00:00
Poul-Henning Kamp
3626ca509d Some changes to the old floppies to handle the new /etc/init's way of doing
things.
1994-10-16 20:38:27 +00:00
Poul-Henning Kamp
d49858b6cc Format floppy before use. Make 1.44 Mb floppies for now. 1994-10-15 07:55:36 +00:00
Andrey A. Chernov
045dbe68b0 /etc/profile added (the similar stuff like in csh.login) 1994-09-28 13:33:01 +00:00
Rodney W. Grimes
421f6246b7 Add -e option to mtree commands so that extra directories are ignored.
Change conditional around building usr/local to be MAKE_LOCAL instead of
CDROMDIST.  This was coped from src/Makefile and makes much more since.
1994-09-23 06:21:13 +00:00
Rodney W. Grimes
9f3ffeab68 Revert the change that moved the /etc files to share/examples/etc, the
files have been pulled down out of the Attic and updates will be applied
shortly.
1994-09-23 06:15:19 +00:00
Garrett Wollman
72ca7d4032 Get rid of the files that now live in src/share/examples/etc, and update
Makefile to install them from there rather than from here.
1994-09-19 21:30:29 +00:00
Rodney W. Grimes
6019d06ba8 1. Add back *.c to CLEANFILES, seems crunch makes quite a mess!
2.  Update the COPYRIGHT= to be just the COPYRIGHT file for now.

3.  Fully parameterize the floppy device being used.  This is needed right
    now so I can at least build these on 1.44 until it all is working, then
    I will have to find a way to get them back down to size.

4.  Remove mount_pcfs from the filesystem floppy, we don't have that yet.

5.  Update the shared libraries t obe copied.  This should now work for
    this and all future releases.

6.  Reduce the CRYPT_SRCS down to the few static binaries that have crypt
    in them.

7.  Change all references for the kernel from /386bsd to /kernel.

8.  For some reason umount is returning 1, use a - until I can find out why.

9.  Update the disklabel commands to be 4.4 syntax.

10. Remove the ugly elvis wart, we don't have elvis anymore.

11. Use the -d (directories only) option on the mtree commands.  This
    greatly reduces the noise from distrib-dirs:.

12. Note the fact that the mtree commands need a wrapper around them as they
    return a status of 2 if the tree was modified and the make should not
    exit on that condition.

13. Add a trailing slash on the chflags command as ${RELEASEDIR} may be
    a symbolic link.
1994-09-15 04:44:03 +00:00
Rodney W. Grimes
5d31843f0b Correct path to crunch, and remove srccontrib tarballs (we have no more
srccontrib!)
1994-09-09 16:11:58 +00:00
Rodney W. Grimes
b33a9d8ffb Remove the explicit call to ../Makefile mdec:, it is now handled by a make
install from the top level correctly.

Rewrite release-dirs: to use new mtree file mtree/BSD.release.dist.
1994-09-09 13:34:27 +00:00
Rodney W. Grimes
92985d774c 1. Make CLEANFILES a little less dangerous by being more spcifc about
some file names.

2.  Add MAKEDEVS= that does all the /dev population so that this is not
    duplicated in 2 or 3 places.  Helps to keep it in sync too.  Cleaned
    up and fixed to not overflow inode tables.

3.  Fix paths to the 2 crypt versions.

4.  Init is sbin/init now instead of sbin/init.bsdi.

5.  bdes is now in secure/usr.bin, will need to do something about telnet.

6.  Incorporate 1.1.5.1 patches for EXTRACT.sh files.

7.  Correct calls to make kcopy-flooppy to work with or without obj/.

8.  Reorder src-clean: target so that it does not destroy the real obj
    tree, but does rip out junk and obj links.

9.  Incorporate 1.1.5.1 patche for srcbin tarball name.

10. Add chflags command to release-dirs target so the rm -rf can have a
    chance to work.

With this and a few more commits I will have 2.0 bin tarballs.
1994-09-08 09:33:38 +00:00
Paul Traina
012f2ce756 Remove the old crypt/no-crypt rules and replace them with
the choice of building with the password scrambler or the DES
libraries.  Folks outside the US can simply drop in the other
DES libraries. (stupid laws...)

Everything still keys off of the old NOCRYPT variable so building
a portable distribution remains the same.

Submitted by:	pst
1994-09-07 07:42:56 +00:00
Gary Palmer
7d6fdca130 Change references of 'mount_isofs' to 'mount_cd9660' as needed by FBSD 2.0 1994-09-05 05:14:01 +00:00
Jordan K. Hubbard
8a99773569 Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
obj links again and they need to be nuked out one more time after it's finished.
Sigh..  Oh well, this code will probably never be run again anyway.
1994-06-29 21:19:38 +00:00
Jordan K. Hubbard
9a6939ee0a Clean this puppy up quite a bit. Most notably:
1. Use ${MAKE} everywhere again.  Whoops.
2. Replace multiple invocations of gzip ... split ... with one variable.
3. Add src-clean target for making the src tree presentable before
   making a src tarball out of it.
1994-06-29 11:06:30 +00:00
Jordan K. Hubbard
97e31cd74c Fix a simple makefile brain-o; didn't effect 1.1.5A since we don't compile
with CRYPT initially set.
1994-06-28 05:37:04 +00:00
Jordan K. Hubbard
7b026b2a02 1. Remove a rather strangely gratuitous bit of profanity
2. Use elvis instead of vi for the editor on the cpio floppy; dmesg is back.
1994-06-24 22:18:46 +00:00
Jordan K. Hubbard
cf3820b72a My last few changes to the release code plus a small termcap file
for the cpio floppy.
1994-06-24 14:27:25 +00:00
Jordan K. Hubbard
5ef18d0a0d Whoops - missed a couple of intermediate files. Nuke 'em. 1994-06-22 08:37:28 +00:00
Jordan K. Hubbard
70677ace77 Ok, this should about wrap it up.
1. All the crunched files work now; don't install copies, used the crunched
   versions.
2. Make the clean rules DTRT now that we have stuff to clean.
1994-06-22 08:33:28 +00:00
Jordan K. Hubbard
eb09e01cdc Whoops - I missed a commit; EXTRACT scripts were misnamed. Correct. 1994-06-21 12:42:56 +00:00
Jordan K. Hubbard
5a83efa256 1. Increase number of inodes for kcopy floppy; we've currently run out.
2. Get kcopy and filesystem images from current directory since we
   now build them here; a clean rule is now all that's needed to make
   the crunch stuff complete.
1994-06-21 11:02:38 +00:00
Jordan K. Hubbard
a346c5163b Commit some additional changes for making this work with obj dirs. 1994-06-20 03:39:59 +00:00
Jordan K. Hubbard
e7ab243a99 1. Fill out the crunch target - this should do the trick (we'll see).
2. Remove the NOOBJ line - we want an object dir now.
1994-06-15 21:21:50 +00:00
Jordan K. Hubbard
1c51f14a0f Install manpath.config and mail.rc properly, and directly from the src
tree now (rather than having a local copy.
1994-06-15 20:43:20 +00:00
Jordan K. Hubbard
220273aa91 Lots of changes:
1. Properly use ${.CURDIR} now instead of hardcoded relative dirs.
2. Use ${BINOWN} and ${BINGRP} everywhere instead of root/wheel
3. Add target for copying over EXTRACT scripts (and add them here).
4. Start thinking about crunched floppy target (not in yet, next commit).
1994-06-15 20:14:29 +00:00
Geoff Rehmet
2548fdfaea Change all lib*.so.1.0 to lib*.so.1.1
(Once again, pointed out by Volker Paepcke.)
1994-06-08 11:01:46 +00:00
Jordan K. Hubbard
01d4912665 Fix the absolute paths for boot blocks. Now uses ${DESTDIR}. 1994-06-03 05:18:18 +00:00
Poul-Henning Kamp
da63052f1e added make.conf template, which does nothing. 1994-06-01 00:58:06 +00:00
Guido van Rooij
9eb28b5fde 1) Added s/key support .
2  Added optional excessive login logging.
3) Added login acces control on a per host/tty base.
4) See skey(1) for skey descriptions and src/usr.bin/login/README
  for the logging and access control features.

-Guido
1994-05-19 18:06:46 +00:00
Rodney W. Grimes
077fcb73f8 Add the installation of /var/crash/minfree with a value of 2048 so that
savecore will not FILL the /var partition.
1994-05-19 12:29:29 +00:00
Jordan K. Hubbard
d6a9fa2292 Add manpath.config to the default list of things installed in /etc
for releases.
1994-05-17 13:03:36 +00:00
Rodney W. Grimes
b9ee5a065c Use ISO9660/DOS compliant file names for the tar balls now. 1994-05-03 10:11:21 +00:00
Rodney W. Grimes
f48386c2b5 >From BETA_1_1 branch:
----------------------------
revision 1.53.2.3
date: 1994/04/10 20:19:37;  author: rgrimes;  state: Exp;  lines: +12 -3
Must have etc and usr directories on the cdinstall floppies.
Need to have device files for mcd1.
Create links for usr/libexec and usr/lib on cdinstall floppies so that
shared library code is loaded from cdrom.
1994-04-18 04:23:33 +00:00
Rodney W. Grimes
333c7e3c74 Pull in changes just made to the BETA 1.1 branch for cd install floppy
support.
1994-03-20 01:23:42 +00:00
Rodney W. Grimes
4453164cde >From BETA_1_1 branch
Correction for wrong permissions on /root, /usr/lib, /usr/libexec,
/usr/share and /usr/share/misc caused by filesyst.flp cpio file.
1994-03-07 00:42:56 +00:00
Rodney W. Grimes
4f3bf7e69c Update to generate the ISO9660 names for the floppy images, use fd1200
inplace of floppy5.
1994-02-23 15:36:05 +00:00
Rodney W. Grimes
bb90b1058b Whoops, forgot to $Id$ this file, and re-enable floppies target in
make release
1994-02-21 21:53:20 +00:00
Rodney W. Grimes
64eb68b1e5 Major hackery to get the 1.1 Beta floppies building. Have a special
pair of crunched binaries that are not built by this, but other than
that it is back to an automated procedure.  So many changes it is
hard to describe.
1994-02-21 21:52:00 +00:00
Rodney W. Grimes
f877ce1e56 Add obj/ in front of freefall.cf so that the install works. 1994-02-09 03:40:59 +00:00
Rodney W. Grimes
2744193458 Update for new COPYRIGHT.* files. 1994-02-09 00:58:12 +00:00
Rodney W. Grimes
e46e3a5313 Add PERSONAL.ACKS to file list.
Use freefall.cf as sendmail prototype file, it is more realistic than the
tcpproto.cf file for a FreBSD system.  Fix so that obj dir is created in
sendmail/cf/cf as to not polute the source tree and to have the Makefile
in there do the right things.

Remove all the extra /dev/fd0?* entries on the floppies, they where using
up all the inodes and are not needed at this time.

Temporarily remove the floppy target from release: untilit is
fixed.

This file has lots more work coming, but to get the 1.1 BETA out I am
going to hand craft the floppies :-(.
1994-02-08 08:58:41 +00:00
Andrey A. Chernov
34b36f0843 Remove obsoleted floppy partition from device name. 1994-01-27 02:58:05 +00:00
Nate Williams
4cc01af128 The system default crontab now resides in /etc/crontab, and I changed it's
mode to 644 as most unix systems allow you to read root's crontab.
1994-01-25 17:27:03 +00:00
Rodney W. Grimes
08116fd7e0 Change ${RELEASEDIR}/filesystem to be filesys so hat it is ISO9660 compliant. 1994-01-22 09:04:21 +00:00
Rodney W. Grimes
ddc46a75f8 Add SUPPORT.TXT and MIRROR.SITES to the top level FREEBSD files that get
installed in /.
1994-01-22 08:27:56 +00:00
Rodney W. Grimes
428e3889f9 From: Julian Howard Stacey <stacey@guug.de>
Subject: Bug & Fix for etc/Makefile cpio-floppy: re /tmp creation.
Date: Fri, 26 Nov 1993 11:35:04 +0100

Editors Note:  tmp was listed in the CPIO_FILES section and thus the
entire contents of ${DESTDIR}/tmp would end up on the cpio floppy.  This fix
moves tmp to CPIO_DIRS so that no longer happens.
1993-12-01 08:44:39 +00:00
Rodney W. Grimes
d815696f95 Make whatisdb after the whole system is installed, since the one in
share/man will only create entries for manual pages that have been
installed up to that point.
1993-10-21 17:33:43 +00:00
Rodney W. Grimes
8bf5ce9d18 You can now specify the type of floppy you want built (floppy3 or floppy5)
with a Makefile override.  The default is floppy5 since all distribution
floppies must be <= 1.2Mb so that every one can use them.

If you want to make 1.44MB floppies with more space on them do a
setenv FLOPPY floppy3
before running make.

>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sun, 10 Oct 1993 05:11:51 -0700

I went to make myself some boot floppies straight off the dist
today and ran into the fact that I'm using a 3.5" floppy as my drive A,
so I did the following (you can still use floppy5 as your default -
I just have it set to floppy3 for my machine).
1993-10-10 05:06:44 +00:00
Rodney W. Grimes
20c7f60367 Split the src-tarball target up into multiple targets, there is now
a tar ball for each top level src directory, plus the base tar ball
that has the very toplevel files in it.
1993-10-01 21:34:23 +00:00
Rodney W. Grimes
155fb48285 Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtree 1993-09-21 08:14:32 +00:00
Andrew Moore
d5a38159eb Added /var/run to CPIO_DIRS 1993-09-19 01:21:15 +00:00
Andrew Moore
7103cef162 Added /etc/remote to CPIO files. 1993-09-18 08:23:19 +00:00
Andrew Moore
dbc93016fb added /var/spool and /var/spool/lock to CPIO_DIRS. These are needed by
both tip and kermit.
1993-09-17 06:41:45 +00:00
Rodney W. Grimes
25344f7002 Make MOUNT be MOUNT? so I can easily override it for building 2 floppies
concurrently now that the floppy driver works good enought to do this!
1993-09-14 04:14:30 +00:00
Rodney W. Grimes
b6545fcc19 Removed DOS floppy build stuff, as this was just a poor idea that needs
a much better solution.
1993-09-14 00:59:49 +00:00
Rodney W. Grimes
6704009043 More file shuffling between floppies, needed to get rm on filesystem
floppy.  Removed duplicates from DOS floppy.
1993-09-13 00:00:16 +00:00
Rodney W. Grimes
fc6e7c4535 Only put var and var/tmp in the cpio archive floppy, do not really need
the whole /var tree at this time.
1993-09-12 20:37:05 +00:00
Rodney W. Grimes
3f0cc05d5a tar ball names converted from the form x.tar.gz.xx to x_tgz.xx so the
DOS folks are happy.
1993-09-11 00:10:57 +00:00
Rodney W. Grimes
71aeecabc7 Put bin/df back on the filesystem floppy since there is room for it
after all.  Removed it from DOS floppy.
Added COPYRIGHT to DOS floppy since it does have *BSD binaries on it!
Fixed missing ; \ when creating dev entries on filesystem floppy
Fixed rm in wrong directory, please don't rm in the DESTDIR area!!
1993-09-10 23:57:00 +00:00
Rodney W. Grimes
84a2ca6351 Made copy of sys/i386/floppy relative instead of abosolute path 1993-09-08 21:19:03 +00:00
Andrew Moore
93f0f2e040 Added a fourth DOS-format floppy to the install disks containing os-bs
and miscellaneous programs which get installed into /usr/distbin.
Install now recognizes existing DOS partitions and attempts to install
after them.  Theoretically, it also remaps badblocks.

N.B.:  The fourth install floppy must have a clean DOS FAT.
Building the new distribution floppies is untested

TODO: Build a disktab entry for existing DOS partitions (except extended
partitions).  This would allow loading and/or extracting the distribution
files directly from the DOS hard disk partition.
1993-09-08 11:25:17 +00:00
Rodney W. Grimes
97eb5f5403 Fixed missing slash after a ${DESTDIR} with no other path after it. 1993-09-07 19:35:38 +00:00
Rodney W. Grimes
037db89fb1 Added /etc/networks to the files that get installed, some how it got
dropped out of the Makefile.  Commented out talk in inetd.conf since
it refers to the old non-existent otalkd.
1993-09-02 11:10:02 +00:00
Rodney W. Grimes
a614794b08 Removed commit lies for sbin/reboot and usr/local/bin/{mread,rz},
these are not part of the standard distribution and do not belong
in here, this was carry over from earlier work.

Added src-tarball: ssrc-tarball: targets to build the 2 source tar balls,
still have to manually copy/chmod/chown the src tree into the destination
directory and clean out all the obj, and CVS files/dirs, plus run a
make cleandist in it before running these targets, but atleast things are
getting easier to do!

release: now uses fixed floppies target.
1993-09-02 02:37:43 +00:00
Rodney W. Grimes
d6cef5599e Added dd back to cpio floppy in place of shutdown, since shutdown
is not really needed until we can go multiuser.

Changed name of list from CRYPT_FILES to CRYPT_SRCS, since that is
really what they point to.  Added list CRYPT_DIRS, that is the directories
that are in the des distribution.

Fixed kc-xx-floppy dependencies on kc-floppy since it would not do
the right thing with the new target floppies:

Now user ${RELEASEDIR} for dd'ing the floppy images and other stuff having
to do with building the release.

Added new target bin-tarball that builds the bin.tar.gz.?? split archives for
release.

Added new target des-tarball that builds the des.tar.gz.?? split archives for
release.

Added building of /usr/local directories for the CDROMDIST.

New target floppies: that builds all 4 floppies.

New target release: that should completely populate a release tree, except
that the src-tarball target is not yet written.
1993-09-01 01:57:54 +00:00
Rodney W. Grimes
8797a60236 Had to remove dd from the cpio floppy as we ran out of room due to some
growth in binaries.
1993-08-31 15:01:19 +00:00
Rodney W. Grimes
0cfef2e456 Makefile no longer needs passwd, pwd.db and spwd.db due to fixed pwd_mkdb
that now takes a directory argument.  These files are now built from the
master.passwd file.

Fixed typo on NOOBJ=, was oobj, now noobj.
Rename of targes and variables.  INST1 -> FILESYSTEM, INST2 -> CPIO,
kc -> kcopy.

Floppy targets now dd and gzip the image back onto the hard disk so
that less manual work is required when building a release.

Removed reboot from FILESYSTEM floppy and put df back on, and added
mount_isofs.  Changed scripts to use halt instead of reboot.
1993-08-30 02:18:25 +00:00
Rodney W. Grimes
6aab19adad Added the RELNOTES.FreeBSD to the FREEBSD list. Changed all occurance
of make to ${MAKE}
1993-08-29 02:46:13 +00:00
Rodney W. Grimes
990baf3006 Added targets crypt and non-crypt to make it easier to build the
distributions.
Now only populates $DESTDIR/dev if we are building the cdrom distribution,
since this directory is populated by the install tools it was a conflict
to have the dev entries in the full distribution as well.
1993-08-28 03:33:06 +00:00
Rodney W. Grimes
926c5ffbf3 Removed LOCATIME and TZDIR stuff since it is now handled correctly by
share/zoneinfo and was just duplicated here.

Fixed the directory owner ships on the inst1 floppy by adding all of the
directories that get created on the floppy to INST1_DIR, since cpio was
not picking up the source dir protections, but instead using the current
process uid, gid, and umask values.

Removed /bin/df from inst1 to make room for mount_pcfs.  Also removed
/etc/disktab since it just got overwritten by the install tools.

Removed zcat from INST2_CPIO since it is now installed from the
INST2_FILES files on the floppy.  This fixes things so that all
of the gzip tools get linked to the same image.

Much of the .if machine i386 stuff moved to be system independent
since it really was.

Added sd1 support to the inst1 and kc floppies.  No room for wd1 support,
oh well.

Fix permissions on top level of floppy, it was not getting set.
1993-08-26 03:36:37 +00:00
Rodney W. Grimes
9f07bdff86 Added kc-kernel target that builds both GENERICAH and GENERICBT kernels.
Added kc-floppy that does the common part of building the kc floppies.
Added kc-bt-floppy to build GENERICBT kernel floppy.
Fixed kc-ah-floppy to use kc-floppy.
1993-08-22 10:20:05 +00:00
Rodney W. Grimes
4533a28bd6 Enable lastlog install commands. 1993-08-13 06:11:18 +00:00
Rodney W. Grimes
f5e6a77bff Commented out installation of /var/log/lastlog:
The problem with having it enable is that lastlog grows big, none
of the current scripts deal with rotation of /var/log/lastlog,
so it shouldn't necessary be installed at first.  This has traditionally
been something the sysadmin has had to touch after system installations.

Nate:
(Besides, you're forced to learn more about the system by reading the man
pages if it doesn't exist. :-)
1993-08-12 15:20:56 +00:00
Rodney W. Grimes
853f272a0a /etc/termcap is now created as a symlink to /usr/share/misc/termcap,
fixed creation of link for /etc/localtime.
1993-08-12 14:51:09 +00:00
Rodney W. Grimes
70ce04ee23 Added 3 targets (kc-ah-floppy, inst1-floppy, inst2-floppy) which build
3 of the 4 needed floppies for FreeBSD.

Still need to do kc-bt-floppy for the Bustek/Ultrastore controllers.

Fixed installation of boot blocks in distribution:, now use a variable
(${MDEC}) instead of a find so that my zzz files don't end up in
the distribution!
1993-08-12 07:18:34 +00:00
Rodney W. Grimes
42cee3fad0 Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
Added support to build and install GENERICISA kernel in the binary
distribution.
1993-08-10 14:22:34 +00:00
Rodney W. Grimes
94f07b5b72 Moved make copies of src/includes to be after the top level make install
so that the binary distribution ends up with full blown include files.
1993-08-09 18:39:50 +00:00
Rodney W. Grimes
35a3a8d75c Fixed install of ${FREEBSD}, forgot to do a install -c so it removed the
files from src on the install of them!
1993-08-09 17:29:20 +00:00
Rodney W. Grimes
f9b4e35433 Added installation of CONTRIB.386BSD CONTRIB.FreeBSD and COPYRIGHT to /
when building a distribution for the i386 case.  This keeps us from violating
Berkeley's and Bill Jolitz's copyrights.
1993-08-09 17:02:17 +00:00
Rodney W. Grimes
2e38124735 Removed man.conf since it is no longer used by the new manual page system 1993-08-08 09:27:53 +00:00
Charlie Root
ea76af5346 Added install of /var/cron/log.
Made it clean up in /sys/i386/boot after building and installing the
boot blocks.
Moved the cd ..; make install to be after the special case stuff for
sendmail.
Added the installation of tcpproto.cf as /etc/sendmail.cf
1993-08-03 17:42:35 +00:00
Nate Williams
222c6cb757 Added a default host.conf (gethostnamadr() name resolver) which declares
to resolve all names via bind first and then try /etc/hosts.
1993-07-29 18:30:36 +00:00
Nate Williams
08cbe8b148 Changed sys.386bsd to sys 1993-07-26 22:46:16 +00:00
Rodney W. Grimes
05b5f220a8 Fixed installation of sendmail. cd'ed to wrong directory. Now works
correctly.
1993-07-20 18:20:56 +00:00
Rodney W. Grimes
242029ec9e Added .if ${MACHINE} == "i386" section to do install of boot blocks, all
standard tools, copies of include files, and sendmail.
1993-07-20 16:04:11 +00:00
Rodney W. Grimes
64784fa9e8 Since pwd_mkdb always works in /etc no matter what I added pwd.db and
spwd.db that are created from the template master.passwd to src/etc so
that a build distribution can populate /etc correctly.  This is a work
around until a better solution can be found.
1993-07-20 01:23:28 +00:00
Rodney W. Grimes
6e1a887cf4 Brought in NetBSD Makefile, which was then fixed up to use mtree for
building the distrubution hierarchy.  Still needs some work, but atleast
this version runs and does most of the right things.
1993-07-19 18:54:09 +00:00
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00