Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 1999 19:00:01 -0800 (PST)
From:      Sheldon Hearn <sheldonh@iafrica.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/5207: Examples for /etc are not in /usr/share/examples/etc
Message-ID:  <199903040300.TAA10575@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/5207; it has been noted by GNATS.

From: Sheldon Hearn <sheldonh@iafrica.com>
To: freebsd-gnats-submit@freebsd.org
Cc: wayne@barnes1.wustl.edu, phk@freebsd.org
Subject: Re: misc/5207: Examples for /etc are not in /usr/share/examples/etc
Date: Thu, 04 Mar 1999 04:51:27 +0200

 Hi folks,
 
 This message regards a FreeBSD problem report filed by Wayne Barnes and
 suspended by Paul Henning Kamp over a year ago. To refresh your memory,
 see the PR at:
 
 	http://www.freebsd.org/cgi/query-pr.cgi?pr=5207
 
 I assume that the suspend-message of "committer wanted" meant "good
 idea, but I don't have the time".
 
 The following diffs against the current source tree should make
 /usr/share/examples/etc conform to README.examples description of the
 directory.
 
 I've tested the diffs through a ``make world''.
 
 Ciao,
 Sheldon.
 
 
 Index: etc/Makefile
 ===================================================================
 RCS file: /home/ncvs/src/etc/Makefile,v
 retrieving revision 1.194
 diff -u -d -r1.194 Makefile
 --- Makefile	1999/02/12 20:51:38	1.194
 +++ Makefile	1999/03/04 01:41:08
 @@ -150,4 +150,9 @@
  	rm -rf POSIX; \
  	ln -s C POSIX
  
 +examples:
 +	(cd ${.CURDIR}; \
 +	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${BIN2} \
 +	    ${DESTDIR}/usr/share/examples/etc)
 +
  .include <bsd.prog.mk>
 Index: share/examples/etc/README.examples
 ===================================================================
 RCS file: /home/ncvs/src/share/examples/etc/README.examples,v
 retrieving revision 1.3
 diff -u -d -r1.3 README.examples
 --- README.examples	1997/02/22 13:55:51	1.3
 +++ README.examples	1999/03/04 02:28:02
 @@ -8,31 +8,54 @@
  This directory contains the following files:
  
  aliases		- sendmail aliases file (see aliases(5))
 +amd.map		- filesystem automounter lookup resolution map (see amd(8))
 +auth.conf	- authentication capability database (see auth.conf(5))
 +crontab		- system scheduled command table (see crontab(5))
  csh.cshrc	- sample .cshrc (see csh(1))
  csh.login	- sample .login
  csh.logout	- sample .logout
 +disktab		- disk description file (see disktab(5))
  dm.conf		- configuration file for games (see dm(6))
  fbtab		- configuration file for login(1)
  ftpusers	- user restriction file for ftpd(8)
  gettytab	- defines port configuration for getty(8)
 +group		- group permissions file (see group(5))
  host.conf	- defines name resolution order for gethostbyname(3)
  hosts		- see hosts(5)
  hosts.equiv	- defines system-wide trusted hosts (see ruserok(3))
  hosts.lpd	- defines trusted hosts for lpd(8)
  inetd.conf	- configuration file for inetd(8)
 +locate.rc	- confiuration file for locate(1)
  login.access	- configuration file for login(8) (see login.access(5))
 +login.conf	- login class capabilities database (see login.conf(5))
 +mail.rc		- systemwide initialization files for mail(1)
  make.conf	- defines configuration variables for system builds
  manpath.config	- configuration file for man(1)
 +modems		- modem configuration database (see modems(5))
  motd		- sample Message of the Day
 -myname		- probably doesn't belong here
  netstart	- network startup script run from /etc/rc
  networks	- see networks(5)
 +newsyslog.conf	- configuration for system log file rotator newsyslog(8)
 +pam.conf	- configuration file for pam(8)
 +pccard.conf	- configuration file for pccardd(8)
 +pccard_ether	- confiuration script for ethernet pccards (see pccardd(8))
  phones		- phone number database for tip(1)
  printcap	- configuration file for lpr(1)
  protocols	- see protocols(5)
 +profile		- system-wide .profile for sh(1)
  rc		- system startup script (see init(8))
 -rc.local	- sample local startup script, run from /etc/rc
 +rc.atm		- networking startup script for atm(8)
 +rc.devfs	- startup script for devfs(5)
 +rc.diskless1	- general BOOTP startup script
 +rc.diskless2	- 
 +rc.firewall	- setup system for ipfw(8)
 +rc.i386		- startup script for i386-specific processing
 +rc.alpha	- startup script for axp-specific processing
 +rc.isdn		- startup script for isdnd(8)
 +rc.network	- network startup script
 +rc.pccard	- startup script for PC-cards
  rc.serial	- sample local startup script fragments
 +rc.shutdown	- system shutdown script (see init(8))
  remote		- configuration file for tip(1)
  rpc		- see rpc(5)
  security	- script run from crontab to do nightly security checks
 Index: share/examples/Makefile
 ===================================================================
 RCS file: /home/ncvs/src/share/examples/Makefile,v
 retrieving revision 1.23
 diff -u -d -r1.23 Makefile
 --- Makefile	1997/02/22 13:55:43	1.23
 +++ Makefile	1999/03/04 02:32:22
 @@ -15,7 +15,7 @@
  
  all clean cleandir depend lint tags:
  
 -beforeinstall: ${SHARED}
 +beforeinstall: etc_examples ${SHARED}
  
  .for dir in ${DIRS}
  FILES!=	find -L ${dir} \( -name CVS -prune \) -o -type f -print
 @@ -29,5 +29,8 @@
  symlinks::
  	rm -rf ${DDIR}/${dir}; ln -s ${.CURDIR}/${dir} ${DDIR}
  .endfor
 +
 +etc_examples:
 +	(cd ${.CURDIR}/../../etc; ${MAKE} examples)
  
  .include <bsd.prog.mk>
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903040300.TAA10575>