Commit Graph

312 Commits

Author SHA1 Message Date
Kris Kennaway
7080a34335 UUCP removal Phase III. 2001-10-01 06:27:44 +00:00
Jonathan Lemon
7032f49f4d Change permissions for initial install of maillog file to 640. (from 644)
Pointed out by: rwatson
2001-09-17 02:04:20 +00:00
Brian Somers
32706fb26f Allow group network to read ppp.log & slip.log.
Suggested by: Jesper Skriver <jesper@FreeBSD.org>
2001-09-03 11:35:17 +00:00
Alexander Langer
d33a962d07 Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.
2001-08-30 22:44:51 +00:00
Alexander Langer
466df28c52 chown syntax is user:group now. 2001-08-29 19:59:30 +00:00
Brian Somers
15ed67d861 Remove diskcheckd.conf 2001-08-29 04:03:41 +00:00
Andrey A. Chernov
e01dfc9c69 Add/install /etc/opieaccess skeleton
Approved by:	markm
2001-08-14 23:38:31 +00:00
Poul-Henning Kamp
88627d6b19 Remember to install diskcheckd.conf 2001-06-13 16:39:23 +00:00
Andrey A. Chernov
f3573821ba Deal properly with *.US-ASCII family 2001-06-10 18:44:01 +00:00
Andrey A. Chernov
5d392cddf6 Fix Latin1 man directories for new locale names 2001-06-10 16:36:09 +00:00
Andrey A. Chernov
b5ebdd9c03 New locale names and aliases to old ones 2001-06-10 13:02:52 +00:00
Hajimu UMEMOTO
9a75ebb245 Remove configuration file for pim6[ds]d.
Submitted by:	sumikawa
2001-06-04 14:53:52 +00:00
Ruslan Ermilov
f3bb47cca0 Add NO_I4B to avoid building/installing isdn4bsd package.
Prompted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	3 days
2001-05-23 13:32:32 +00:00
Maxim Sobolev
1dd8bcf144 o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob.

OK'ed by:	alfred
2001-04-19 13:47:53 +00:00
Jeroen Ruigrok van der Werven
d8edf8110a Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN.  The former implying the latter.
The names imply what they do.  The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV.  This should satisfy both parties on the MAKEDEV
challenge.
2001-03-29 14:03:07 +00:00
Brian Feldman
df99bf760c At least install primes to the right place, for now. I suppose.
Reminded by:	everyone
2001-03-27 03:58:12 +00:00
Brian Feldman
b8edd5f97d Install /etc/primes. 2001-03-24 00:33:05 +00:00
Alfred Perlstein
8360efbd6c Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
2001-03-19 12:50:13 +00:00
Dag-Erling Smørgrav
62f0b82715 Don't install MAKEDEV or MAKEDEV.local if NO_MAKEDEV is set.
PR:		25596
Submitted by:	Jonathan Perkin <sketchy@bsdcode.net>
2001-03-13 03:05:42 +00:00
Gregory Neil Shapiro
193f471d33 Don't build/install sendmail related items if NO_SENDMAIL is set.
Submitted by:	ru
2001-03-01 03:51:18 +00:00
Gregory Neil Shapiro
e4e1027a2e Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations.  In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
2001-02-22 03:55:08 +00:00
Ruslan Ermilov
54ecfa0813 Create directory infrastructure required to format, display
and store preformatted /usr/share/man manual pages in 8-bit
iso-8859-1 charset for all *_*.ISO_8859-1 locales.

Requested by:	des
Input from:	ache
2001-02-19 13:08:14 +00:00
John Baldwin
dbbd9a3121 Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.
2001-01-09 22:28:17 +00:00
Hajimu UMEMOTO
24fdf62c36 install rc.firewall6. 2000-10-30 07:12:21 +00:00
Doug Barton
9fc9ecb643 Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.

PR:		bin/21321
Submitted by:	Me
2000-10-29 06:57:59 +00:00
Andrey A. Chernov
a938a1fcf8 Add/use MTREE_FOLLOWS_SYMLINKS make.conf option
This is part of whole subsystem fixing

Reviewed by:	imp
2000-09-15 08:07:05 +00:00
Jacques Vidrine
248aee623c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
Satoshi Asami
b7823d1fde Add BSD.x11-4.dist to list of mtree files to install (d'oh!).
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-08-28 20:22:25 +00:00
Kris Kennaway
11447e2ce6 Install /var/crash/minfree mode 644 instead of 664 - group wheel shouldn't
have special write permissions to things.
2000-08-15 09:42:12 +00:00
Gregory Neil Shapiro
4bcefa9655 Upon installation, create a symbolic link for /etc/aliases pointing to
/etc/mail/aliases.  This should both help users as well as other MTAs which
still use a default aliases path of /etc/aliases.
2000-08-14 02:49:39 +00:00
Gregory Neil Shapiro
2216e2a2cd Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
Gregory Neil Shapiro
85aeb700f5 Add alaises as another file to install into /etc/mail/.
Rename the variable from NOSPAM to ETCMAIL as the list of files actually
only contains one antispam related file.
2000-08-13 09:01:12 +00:00
Marcel Moolenaar
11017a687b Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
2000-07-23 16:33:00 +00:00
Andrey A. Chernov
106beffea3 Add -L to mtree calls since defaults changed back 2000-07-16 07:58:25 +00:00
Peter Wemm
4944b91311 Change various log file modes from mode 664 to 644. Allowing group
wheel to trash logfiles is not exactly good security policy.  There have
been several gid wheel holes in ports.  Various other files were changed
as well (eg: the locate database were set to more restrictive modes (444)
by their generation scripts) so this should be safe for them.  utmp and
wtmp are mode 644 already on all the systems we checked.

Submitted by:  jkb
Reviewed by:   kris
2000-07-14 01:12:50 +00:00
Mark Murray
0c6094e49b Follow-up commit to today's gnu/usr.bin/perl commit; serial number
brought inline with Perl standards.
2000-07-02 15:55:25 +00:00
Mark Murray
39919d580b Version number and directory changes for Perl 5.006. 2000-06-25 14:58:57 +00:00
Neil Blakey-Milner
5df99fb1a2 Fix installworld-breaking bracket hanging around from last commit. 2000-06-23 12:38:46 +00:00
Brian Somers
f3e285ba7d Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch
2000-06-23 01:18:31 +00:00
Jeroen Ruigrok van der Werven
8a76779a40 Don't build manpages if NOMAN has been set.
PR:		17967
Submitted by:	Benno Rice <benno@netizen.com.au>
2000-06-21 05:08:45 +00:00
Kris Kennaway
9c9ad110e5 Install /etc/ssl/openssl.cnf
Submitted by:	Doug Barton <DougB@gorean.org>
Forgotten by:	kris
2000-05-18 05:21:50 +00:00
Mitsuru IWASAKI
abda70c702 Remove pccard.conf.sample from Makefile, sorry I forgot. 2000-04-15 16:48:41 +00:00
Mitsuru IWASAKI
ece27d97a4 Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by:	imp, -mobile ML and nomads ML in Japan.
2000-04-03 19:24:25 +00:00
Yoshinobu Inoue
dd3552c8a7 Register recently added pim6dd.conf and pim6sd.conf.
Specified by: haro@tk.kubota.co.jp (Munehiro Matsuda)
2000-03-13 04:59:43 +00:00
Robert Watson
2e63fb6acd Expand the increasingly inaccurately named NOSPAM /etc file list to include
new sample database files, so that they will be installed with make
distribution.  NOSPAM probably ought to be renamed to MAIL.

Reviewed by:	peter
Approved by:	jkh
2000-03-12 22:16:18 +00:00
Peter Wemm
10fd313c15 Install ssh files in /etc/ssh and tidy up a couple of other nits 2000-02-25 14:27:33 +00:00
Peter Wemm
25cc400e37 Ack! Time to get the pointy hat. Re-add missing / I left out.
Submitted by:	John Hay <jhay@mikom.csir.co.za>
2000-02-25 11:08:50 +00:00
Peter Wemm
f021cab12e Fix references to crypto code to check that it exists first. Otherwise
it breaks mergemaster (and probably other things).

Submitted by:	Munehiro Matsuda <haro@tk.kubota.co.jp>
Approved by:	jkh
2000-02-25 05:16:44 +00:00
Mark Murray
93e3e5e9e3 Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.
2000-02-24 23:12:04 +00:00
Yoshinobu Inoue
fb6149f9ef Added rc.network6.
Approved by: jkh

Submitted by: bmah@CA.Sandia.GOV (Bruce A. Mah),
	Ruslan Ermilov <ru@ucb.crimea.ua>
2000-02-24 06:42:49 +00:00
Robert Watson
f5749a8265 Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution.  This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by:	jkh-arius
2000-02-09 04:08:18 +00:00
Yoshihiro Takahashi
02595dabe3 Install mailer.conf in /etc/mail instead of /etc.
Reviewed by:	peter
2000-01-09 02:06:43 +00:00
Peter Wemm
d7a641daaa Try and sort BIN1 a bit, it was all over the place.
Add mail/mailer.conf  (repocopied from /etc/mailer.conf to
/etc/mail/mailer.conf on obrien's request)
1999-12-29 18:22:52 +00:00
Nick Hibma
05e68e47a3 Add the usbd.conf to the distribution target. 1999-11-22 04:19:06 +00:00
Peter Wemm
fb59bcdfa5 Use a common MAKEDEV between the Alpha and i386 - the only differences
of significance were due to the Alpha version going stale.  We use common
device numbering for devices.  Hopefully, this file's days are numbered.
1999-11-18 04:31:31 +00:00
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