Commit Graph

45 Commits

Author SHA1 Message Date
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
mlaier
61e73d53e0 Bring in some examples (and create space for future work here):
- Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5)
- Tweak the pointer to fit the FreeBSD default location share/examples/pf
- Account for the new directory in BSD.usr.dist (no hier(7) change required
  as share/examples is an opaque item there).

Obtained from:	OpenBSD
Reminded by:	Thomas T. Veldhouse
PR:		docs/71691
MFC after:	2 days
2004-09-14 01:07:19 +00:00
scottl
d38217cbdf Move references to the recently removed worm directory. 2004-07-15 15:37:56 +00:00
emax
7ea3304435 Connect /etc/bluetooth and /usr/share/examples/netgraph/bluetooth to the build.
Reviewed by: imp, simon
Approved by: imp (mentor)
2003-10-26 19:09:12 +00:00
njl
a1b905df44 Install new files from examples dir.
Approved by:	re (previously)
2002-11-24 23:57:07 +00:00
ru
ec9540417c test -h is deprecated; use -L instead.
PR:             bin/40846
2002-10-01 13:29:45 +00:00
ru
a8adf98c82 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
ru
5a2c77a972 Don't install any old cruft present in the tree, including
editor backups, .orig or .rej files, etc.  Make transition
from SHARED=symlinks to SHARED=copies and vice versa work.

Submitted by:	des, ru
2002-07-19 07:51:58 +00:00
ru
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
ru
dea7dd81b7 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
sheldonh
7897c278e0 Arrange for the smbfs examples to be installed.
We don't install dot.nsmbrc or smbfs.sh.sample, since we already install
the former as /etc/nsmb.conf and the latter is unnecessary, since
boot-time mounts can be arranged directly within /etc/fstab without fear
of breaking the boot when the smbfs port (now unnecessary is removed).

The MFC reminder below is subject to <re@FreeBSD.org> approval
priod to 4.5-RELEASE.

MFC after:	1 week
2001-12-14 12:17:03 +00:00
markm
e8ffa02e85 Back out my last commit. Ruslan (ru) has a better fix. 2001-10-24 07:59:42 +00:00
markm
88712008b0 Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.
2001-10-23 21:28:39 +00:00
jhay
cdbf6daf53 Back out my previous commit. It is not necessary anymore now that Ruslan
fixed the ipfilter directory with a NOOBJ.
2001-10-22 16:32:44 +00:00
jhay
49958ebd30 Unbreak make world by adding .CURDIR here and there.
Submitted by:	Harry Starr <starr3@gccs.com.au>
2001-10-22 08:56:02 +00:00
darrenr
deb49f0603 Add the ipfilter subdirectory
PR:		26763
2001-10-20 04:18:13 +00:00
marcel
78dcb3a4bc Revert previous commit.
Requested by: bde
1999-12-09 09:35:36 +00:00
marcel
e967ef5135 Remove support for symlinks instead of copies. This also avoids
using mtree. Space is being saved by other means.
1999-12-08 13:47:30 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sheldonh
32a079dfa9 Do nothing for the etc-examples target when SHARED=symlinks, since we'll
end up trying to install into the source directory.

Reported by:	bde
1999-06-27 16:42:25 +00:00
sheldonh
4859384f0d 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
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
808a36ef65 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
bde
df0e60daaf Use -C instead of -c for installing non-header source files. 1997-01-01 05:04:34 +00:00
jkh
e869b60145 Do the right thing even if the source tree is a bunch of symlinks, say
lndir'd to a CDROM.
Submitted-By: Richard Wackerbarth <rkw@shrimp.dataplex.net>
1996-09-06 06:30:57 +00:00
bde
3d19869083 Use `make' loops instead of shell loops to install things. This fixes
the verbose output for `make -s install' and gives nicer output for
`make install' and `make -n install'.  This method should be used more.

Install meteor and startslip.  In fact, install all subdirectories
except CVS.  This method should be used more so that SUBDIR lists don't
have to be changed so often (special cases could be handled by short
exclusion lists).
1996-01-21 17:57:25 +00:00
peter
14d68eb924 Dive in the deep end and change the examples installation method.. :-/
the 'rm -rf' and cpio was bugging me because rdist used to get false hits
and also it installs the files with the wrong uid.
I've tried this by running a find .. -exec ${INSTALL} ...; instead...
1995-12-11 03:03:24 +00:00
jfieber
717f110c0c Add sup. 1995-09-30 15:46:54 +00:00
ache
299c41389a Add startslip example 1995-09-14 23:49:31 +00:00
wollman
33bed8dfd6 Added a copy of my little program to find the IP address of the outgoing
interface for a particular remote host.

Requested by: Joerg Wunsch <j@uriah.heep.sax.de>
1995-08-14 16:08:39 +00:00
joerg
a85ef14c30 Do not omit the Makefiles when installing the examples; they are part
of them.  Also correct the omission of CVS files by abusing the find
syntax instead of grepping.

Closes PR #bin/636.
1995-08-12 16:28:10 +00:00
ache
a5bc013972 Remove syscons example 1995-03-30 00:05:58 +00:00
phk
80c829c1e1 Don't install Makefile 1994-11-08 18:54:33 +00:00
phk
d34c9b62ce Make installs better, install the FAQ stuff, don't install CVS-dirs. 1994-11-08 03:58:52 +00:00
sos
88da9f00f0 added ibcs2 directory. 1994-10-24 09:56:42 +00:00
ache
2ec6c007fe Add syscons to DIRS list, pointed by wollman 1994-09-25 03:11:27 +00:00
rgrimes
78f882a3c6 Fixed typo that caused make install to fall if SHARED=copies. 1994-09-23 07:47:43 +00:00
rgrimes
2bca196c9f Revert to installing /etc/files from src/etc. 1994-09-23 07:19:25 +00:00
wollman
b269db3788 Install /etc from the same source as /usr/share/examples/etc (mostly). 1994-09-19 21:28:28 +00:00
wollman
f49883bd92 Don't be so aggressive when installing examples. We still delete the
directories or links before we install the new things, but now we don't
delete /usr/share/examples itself, so other examples installed from
other places in the tree will not be touched.
1994-09-13 02:21:03 +00:00
bde
46a7492218 Define NOOBJ so that install doesn't try to get the sources from the
wrong place.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
1994-08-28 17:21:36 +00:00
wollman
3060055235 Actually install LKM examples. 1994-08-19 20:43:42 +00:00
wollman
bd5dd49713 Added example of how to tell various FreeBSD versions apart. 1994-08-10 06:40:36 +00:00
wollman
815a22f28f Make examples install into /usr/share/examples. Like with includes, you
have a choice between SHARED=copies and SHARED=symlinks.  The default
is to copy.

I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)
1994-08-09 18:25:38 +00:00