Commit Graph

45 Commits

Author SHA1 Message Date
Ruslan Ermilov e653b48c80 Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
Ruslan Ermilov a35d88931c For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
Max Laier 9d7ccc0ffa 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
Scott Long 194539531b Move references to the recently removed worm directory. 2004-07-15 15:37:56 +00:00
Maksim Yevmenkin e6ef35a90b 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
Nate Lawson 37efca486e Install new files from examples dir.
Approved by:	re (previously)
2002-11-24 23:57:07 +00:00
Ruslan Ermilov 7206028152 test -h is deprecated; use -L instead.
PR:             bin/40846
2002-10-01 13:29:45 +00:00
Ruslan Ermilov d2893b161b 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
Ruslan Ermilov aed191e514 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
Ruslan Ermilov 0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Ruslan Ermilov 7a43a96ab0 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
Sheldon Hearn 3becbb252c 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
Mark Murray 72ec126774 Back out my last commit. Ruslan (ru) has a better fix. 2001-10-24 07:59:42 +00:00
Mark Murray f1986f092b Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.
2001-10-23 21:28:39 +00:00
John Hay defe677bdf 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
John Hay fbf68bb932 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
Darren Reed 2600f5b80b Add the ipfilter subdirectory
PR:		26763
2001-10-20 04:18:13 +00:00
Marcel Moolenaar 15f3c66cd2 Revert previous commit.
Requested by: bde
1999-12-09 09:35:36 +00:00
Marcel Moolenaar 02cca88299 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 Wemm 7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Sheldon Hearn 6bef9f10bb 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
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
Peter Wemm b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +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
Bruce Evans 8cd33d23b4 Use -C instead of -c for installing non-header source files. 1997-01-01 05:04:34 +00:00
Jordan K. Hubbard df3f7155e9 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
Bruce Evans eb646a7515 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 Wemm db181d69a6 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
John Fieber a282510c29 Add sup. 1995-09-30 15:46:54 +00:00
Andrey A. Chernov a9b3ffea91 Add startslip example 1995-09-14 23:49:31 +00:00
Garrett Wollman 0699090b6a 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 Wunsch c1f31290b8 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
Andrey A. Chernov 3bea04e934 Remove syscons example 1995-03-30 00:05:58 +00:00
Poul-Henning Kamp 1391719225 Don't install Makefile 1994-11-08 18:54:33 +00:00
Poul-Henning Kamp ca6aa03bec Make installs better, install the FAQ stuff, don't install CVS-dirs. 1994-11-08 03:58:52 +00:00
Søren Schmidt 2b68428193 added ibcs2 directory. 1994-10-24 09:56:42 +00:00
Andrey A. Chernov eaa43ba0d2 Add syscons to DIRS list, pointed by wollman 1994-09-25 03:11:27 +00:00
Rodney W. Grimes 3e9ab531ca Fixed typo that caused make install to fall if SHARED=copies. 1994-09-23 07:47:43 +00:00
Rodney W. Grimes 2bda0e5dc8 Revert to installing /etc/files from src/etc. 1994-09-23 07:19:25 +00:00
Garrett Wollman d1e0c8254c Install /etc from the same source as /usr/share/examples/etc (mostly). 1994-09-19 21:28:28 +00:00
Garrett Wollman 221a01197c 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
Bruce Evans c19cbc8042 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
Garrett Wollman 1b72a208c7 Actually install LKM examples. 1994-08-19 20:43:42 +00:00
Garrett Wollman 652f974539 Added example of how to tell various FreeBSD versions apart. 1994-08-10 06:40:36 +00:00
Garrett Wollman 99e4ba4265 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