Commit Graph

174 Commits

Author SHA1 Message Date
David E. O'Brien
5f03573d96 We now have to use part of the vendor supplied xdr_func.c.
util renamed to strutil to be more clear of its purpose.
2007-12-05 16:27:03 +00:00
David E. O'Brien
065b518c8b These now need to link with libamu. 2007-12-05 16:25:43 +00:00
David E. O'Brien
105f3b4415 Add new BUILD_* knobs, and switch our definition & setting of BUILD_*
and configured settings.
2007-12-05 16:23:34 +00:00
David E. O'Brien
c640c5f4d9 Autoconf would have created a symlink from conf/autofs/autofs_default.h
to autoamu_autofs_prot.h.  It is easier to just create shell header within
the Bmake framework.

For now it's a stub - fill out when we know our Autofs direction.
2007-12-05 16:21:44 +00:00
Ruslan Ermilov
b81594171c Folded WITH_HESIOD_SUPPORT into WITH_HESIOD. 2006-03-21 09:00:51 +00:00
Ruslan Ermilov
e1fe3dba5c Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Poul-Henning Kamp
0c8eca7560 Respect the YES_HESIOD build variable 2005-08-06 16:52:30 +00:00
Ruslan Ermilov
c769f664c9 Generate locale-agnostic configuration date. 2005-02-16 21:02:50 +00:00
Bjoern A. Zeeb
6c58990d47 Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
2004-11-13 20:40:32 +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
Martin Blapp
386ecc28e7 Reenable nullfs for local links. The change from 'struct vfsconf'
to 'struct xvfsconf' broke auto configuration. Patches have been
submitted to the vendor.
2004-07-15 13:24:44 +00:00
Martin Blapp
fe7e28be1a Generate fresh aux_conf.h. 2004-07-06 14:06:58 +00:00
Martin Blapp
cef9241945 Check if dirmask' is a member of pcfs_args_t'.
A diff to the autoconf aux-files has been submitted to
the amd people.

PR:		57401
Submitted by:	Andre Albsmeier <andre.albsmeier@siemens.com>
2004-07-06 13:44:14 +00:00
Martin Blapp
3e0fc2ab4a Unbreak pcfs support
PR:	68679
2004-07-06 13:37:18 +00:00
Martin Blapp
c6797a4942 Update OS-dependent variables. 2004-07-06 13:24:59 +00:00
Ruslan Ermilov
3ce0bf5144 Removed unnecessary dependencies on librpcsvc.
Prodded by:	des
2004-02-04 11:59:08 +00:00
Martin Blapp
e20595fe25 Sync with fresh generated file, keep our changed settings. This seems
to be a lot cleaner.
2003-09-02 17:38:30 +00:00
Martin Blapp
a3d52360e2 Remove redundant PACKAGE and VERSION defines. 2003-09-02 16:10:46 +00:00
Martin Blapp
bb967f5e67 Update version string. 2003-09-02 15:57:37 +00:00
Martin Blapp
3dc48a9218 Set HAVE_STRUCT_IFREQ_IFR_ADDR, HAVE_STRUCT_FHSTATUS_FHS_FH to 1. 2003-09-02 15:56:05 +00:00
Andrey A. Chernov
90862ca23d LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
Andrey A. Chernov
3d2b7661d5 Use LANG=C before egrep A-Z and tr A-Z
Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale
Strip [] for tr ranges
2003-08-04 15:57:01 +00:00
David E. O'Brien
052238b16c style.Makefile(5) 2003-04-04 17:49:21 +00:00
Ruslan Ermilov
423e9124d9 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
Ruslan Ermilov
335612307e Stop "make depend" from attempting to delete non-existent .depend. 2002-04-11 12:30:20 +00:00
Ruslan Ermilov
eea399e3ac Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
David E. O'Brien
d6432d1f16 Strip non version _number_ bits from HOST_OS_VERSION.
Requested by:	knu
2001-09-06 18:39:46 +00:00
David E. O'Brien
5cd462d266 I was missing the HOST_OS_VERSION setting in the fall-back case.
Also, the script was too position dependant.  We now have make(1) pass in
the file to grub around in to get our settings from.
2001-09-06 17:52:59 +00:00
David E. O'Brien
1b5546b873 Try to determine the OS version and architecture for what is being built
vs.  the building machine.

PR:		14040
2001-09-05 16:54:20 +00:00
David E. O'Brien
3fe149a643 Opps, let one definition slip out that we define dynamically. 2001-09-03 19:19:12 +00:00
David E. O'Brien
6874428a19 Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
2001-09-02 20:37:36 +00:00
David E. O'Brien
890bbd6bda Update for version 6.0.7. 2001-09-02 19:50:47 +00:00
David E. O'Brien
b20e8db347 Document my tweaks better. 2001-09-02 04:06:48 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Ruslan Ermilov
3e7c6a91b1 Added missing dependancy.
Submitted by:	bde
Approved by:	obrien
2001-07-19 19:04:31 +00:00
Ruslan Ermilov
fd2b652a0a msdos -> msdosfs
null -> nullfs
umap -> umapfs
union -> unionfs

Approved by:	obrien
2001-06-04 13:08:54 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Alfred Perlstein
8f15078110 give the "netgrent" functions a home in netdb.h 2001-03-27 09:49:03 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
742f5bdd4c Properly fix the world breakage.
Unpollute the Makefile.inc's abuse of SRCS variable, and move
the generation of header files into include/ subdirecory.

Reviewed by:	buildworld
2001-03-21 10:56:29 +00:00
Michael C . Wu
6e9a9c5851 Add SRCS= mk-mdmap.c and SRCS= wire-test.c to fix the world
breakage.  amd has its own SRCS= that prevents bsd.*.mk to function correctly.

Submitted by: bmah
Reviewed by: peter
2001-03-21 04:04:34 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Brian Somers
d7dcad45d7 Include sys/types.h 2000-10-16 09:14:44 +00:00
Peter Wemm
f23d0a1fa2 Really fix the struct callout collision. AMD does not need to
#include <sys/mbuf.h>.  (which #include's <machine/mutex.h> and then
<sys/proc.h> and then <sys/callout.h>, leading to the collision).
<sys/mbuf.h> is really one of those 'no user servicable parts inside'
things.
2000-10-02 08:31:20 +00:00
David E. O'Brien
b33d8b6d7f Update for 6.0.3s1 changes. 1999-11-05 12:34:00 +00:00
David E. O'Brien
8eea002abf Sync with am-utils-6.0.2s2. 1999-09-23 06:19:25 +00:00
David E. O'Brien
320f7c1ed3 Sync with am-utils-6.0 => am-utils-6.0.1 changes. 1999-09-15 09:00:54 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
David E. O'Brien
7a519a0014 Cosmetic reformating. 1999-02-14 22:04:09 +00:00
David E. O'Brien
b187c6cd83 Fix ufs mounting support
PR:		10044
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-02-13 11:06:20 +00:00
Mark Murray
e116238d83 Add the texinfo'ed docs to the build/install. 1999-01-23 21:24:49 +00:00
David E. O'Brien
d2d5185099 Updated version string to 6.0-release. 1999-01-13 19:33:02 +00:00
David E. O'Brien
a424235073 Fix version number. 1998-11-20 05:18:34 +00:00
Bruce Evans
71e15550a3 Fixed missing libraries in DPADD. 1998-10-17 13:55:22 +00:00
David E. O'Brien
c4e8b7e41e I don't want to be the only one to use `cut''. Use `sed'' instead. 1998-09-10 00:27:57 +00:00
David E. O'Brien
bc4d911b88 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
Brian Somers
9de9848b61 Install amd.conf 1998-09-02 21:09:14 +00:00
Gary Palmer
dd6303bd2a DPDADD -> DPADD 1998-08-30 19:59:53 +00:00
Gary Palmer
1f4dcd683a Fix parallel makes falling over on xwhere 1998-08-30 19:59:35 +00:00
David E. O'Brien
f4a9d83b40 bmake framework for contrib_amd 1998-08-27 08:09:42 +00:00
David E. O'Brien
87c1e71689 Make way for the contrib_amd bmake frame work. 1998-08-27 08:03:35 +00:00
Warner Losh
ad60f0a60d MAXPATHLEN is long enough 1998-07-29 03:31:03 +00:00
Warner Losh
44e90c32c9 when changing mktemp -> mkstemp, make sure to include the new s 1998-07-29 03:25:08 +00:00
Warner Losh
90bc3b2e4b Fix temp file race in unused file. If someone wanted to clean the
tree a little, many files here are likely ripe for removal...
1998-07-29 03:23:18 +00:00
Bruce Evans
a8c09dabbd Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
Peter Wemm
ef1f75f486 #include <arpa/inet.h> 1998-06-12 16:24:13 +00:00
Peter Wemm
f66ca81068 Remove bogus #defines and redefintions for KERNEL, mount, nfs_init, the
beastie builds just fine without them and gets less warnings.
1998-06-01 07:36:20 +00:00
Bruce Evans
959bcb5329 Simplified by putting all generated headers in SRCS. The explicit
dependencies on *.o were complete, but this was not obvious.
1998-05-10 15:48:54 +00:00
Bruce Evans
5e97204684 Use rpcgen's -C option to get prototypes in nfs_prot.h. 1998-05-10 15:16:04 +00:00
Bruce Evans
caee217652 Simplified by using new lex and yacc rules. 1998-05-04 19:40:12 +00:00
Doug Rabson
593f0dec5d Fixes for using amd with non-NFSv3 servers and for choosing the right address
for a multihomed server.

PR:		bin/6231, bin/4678
Submitted by:	Mika Nystrom <mika@cs.caltech.edu
1998-04-13 12:11:24 +00:00
Philippe Charnier
f12a14713b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
Bruce Evans
3f9035b74a Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
1998-03-06 07:00:28 +00:00
Bruce Evans
66a655bcf6 Merged from Lite2. Get the filesystem type name directly from the
statfs struct instead of converting from the filesystem type number.
1998-01-20 15:12:24 +00:00
Bruce Evans
87f01287d2 Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
Bruce Evans
a2d1e2fbf5 Fixed missing DPADD by removing empty LDADD. 1997-12-17 11:13:26 +00:00
Wolfram Schneider
87ce848491 Cleanup. 1997-10-05 12:28:02 +00:00
Jordan K. Hubbard
97fe7f477f Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
Philippe Charnier
d7d4c0e8c6 Add usage(), use err(3), remove `progname'. 1997-09-02 06:35:27 +00:00
Tor Egge
f62b59b0d8 Delay free of mf->mf_mount in uninit_mntfs until it is no longer used. 1997-06-23 22:03:12 +00:00
Steve Price
681e5e7a09 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Satoshi Asami
0ae336a697 Add ${DESTDIR} to absolute pathnames of required sources.
Reviewed by:	bde
1997-05-23 07:45:42 +00:00
Satoshi Asami
a5ac6a3b86 Typo (${.DESTDIR} -> ${DESTDIR}).
Reviewed by:	bde
1997-05-23 07:45:06 +00:00
Doug Rabson
4b15c06830 Fix so that amd can build with hesiod support.
Submitted by:	Kevin Van Maren <vanmaren@marker.cs.utah.edu>
1997-04-29 08:43:52 +00:00
Doug Rabson
f7411a35d2 Fix makefiles so they work without having to 'make depend' 1997-04-29 08:42:34 +00:00
Doug Rabson
a7c99c34e6 Update the host filesystem so that it works with NFSv3 1997-04-22 10:24:29 +00:00
Doug Rabson
748c4cdf38 Fix make depend. 1997-04-19 09:15:25 +00:00
Doug Rabson
e38dff1718 Generate mount*.[ch] and nfs_prot*.[ch] from the .x files.
Delete bogus local versions of mount*.[ch] and nfs_prot*.[ch].

Use v3 protocol by default for NFS mounts.  If v3 is not supported, v2 is
used automatically.  Add a new mount options for NFS, 'nfsv2' to allow the
administrator to force the use of the older protocol.

Document the new mount options and fix a couple of markup problems.
1997-04-18 13:23:38 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Joerg Wunsch
3f5323eb71 Make the argument handling for select() less bogus. Also, move the
amq service from UDP to TCP for better reliability.
1997-03-22 23:12:08 +00:00
Peter Wemm
9bdaf328ef Make amd actually work instead of just compiling. The new Lite2 code
was not setting the version number in the nfs_args data to mount(2), so it
was returning EFAULT.  Perhaps the nfs_args version number was something
we added at some point?
1997-03-12 08:29:44 +00:00
Peter Wemm
fe15802099 I feel sick. :-( There is some really, truely, shameful stuff in here
to try and work around the nfsv3 headers in the post-lite2-kernel era.
This program somehow manages to make just about every #include conflict
with everything else. :-(
1997-03-11 15:51:36 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Warner Losh
a3d9131308 buffer overflow from OpenBSD:
1.3 bitblit:
	Fixed potential buffer overflow
Obtained from: OpenBSD
1997-02-09 04:52:11 +00:00
Wolfram Schneider
bfd34a4a60 Sort cross references. 1997-01-20 00:03:00 +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
Joshua Peck Macdonald
f95f08edb3 Still going. 1997-01-11 05:41:39 +00:00
Garrett Wollman
702a1d0148 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00