Commit Graph

199 Commits

Author SHA1 Message Date
wiz 0f1a444c28 restore ID tag (forgot removing $$) 2000-11-20 00:27:23 +00:00
wiz e5d9f656ce Replace old build structure with new reach-over one. 2000-11-20 00:24:41 +00:00
wiz 4f035159de Import of amd reach-over Makefiles for using the sources in dist/am-utils. 2000-11-20 00:16:18 +00:00
wiz efad173586 Add amd.conf.5 from dist/am-utils/scripts here, and install it.
Fixes PRs 5051, 7524, 8999, 10814.
XXX: Why are amd & friends not using reachover Makefiles, but a copy of
the source? This should be fixed...
2000-11-08 12:00:48 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
matt 3ab02a8704 More #include <stdlib.h> string, etc. cleanup 2000-07-04 20:27:35 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
itojun 6cbe824ac3 previous fix against alignment issue was totally broken.
hope this one is okay.
2000-02-22 17:30:17 +00:00
itojun cc0b4656ef prevent align fault on alpha (SIOCGIFCONF). 2000-02-21 02:04:12 +00:00
bouyer f0f0eba116 In real_plog() change vsprintf() to vsnprintf() to be sure we'll never overflow
msg[]. I didn't check all the plog() call so I don't know if this overflow
is possible by a non-root user or not.
Suggested by Zdenek Salvet <salvet@ics.muni.cz> a looong time ago.
2000-01-15 15:51:54 +00:00
hwr e00fb667a6 Change bogus section headers. From PR 8735. 1999-11-03 21:44:37 +00:00
veego c613f31161 Add the doc subdir again. 1999-09-05 08:36:54 +00:00
veego 54a6edeaf0 Remove this files again. See rev 1.2 why we don't need them here. 1999-09-05 08:35:57 +00:00
veego 03f82227d8 Remove the doc subdir til we fix the build problem with it. 1999-09-05 08:14:08 +00:00
christos 38d7b50eed minor nits. 1999-09-04 23:08:44 +00:00
christos 18f0f293d7 make these undead. 1999-09-04 23:06:40 +00:00
christos bf36806743 Resolve corn-flakes 1999-09-04 22:38:15 +00:00
christos 39656c1d33 Import the latest to deal with security problems related to amq RPC. 1999-09-04 22:24:52 +00:00
hubertf 9992044ef5 We're about to regenerate this ourselves, and will not split it.
Needed to make things going with (and probably without also) obj
dirs, pointed out by Matthias Drochner.
1999-07-22 22:44:42 +00:00
hubertf 7da1e27a09 Build and install info page. 1999-07-22 01:16:59 +00:00
hubertf b568888491 Add code to DTRT with the info file, now that we can use it.
Patch submitted in PR by Minoura Makoto <minoura@hauN.org>

I'll not re-import amd but rather perform the steps to get
things going manually.
1999-07-22 01:14:22 +00:00
bouyer 3cbd4c8d82 Integrate fix from bin/7378: call the extra get_nfs_version() after
we make sure nfs_proto is initialised, and only if we have a valid ip.
1999-04-14 09:07:01 +00:00
bouyer da5122af6d Hack to work around a problem in either SunOS 4.1.4 or our RPC code:
once we determined the rigth protocol to use, recall get_nfs_version()
so that the last RPC call was a successfull one. Otherwise with a SunOS 4.1.4
server (which doesn't accept TCP mounts) UDP mounts would fail.
1999-04-07 11:21:49 +00:00
bouyer 0d0babaea9 Defaults to UDP mounts again. The move to TCP mounts by default was too
intrusive, even without bugs on the NetBSD side.
1999-03-30 08:23:26 +00:00
kim 45402fd3fc Install dig, dnsquery, host, nslookup, nsupdate and pawd in /usr/bin. 1999-03-26 20:04:50 +00:00
itohy de08a5e37e Add minimal dependency to make "make depend" optional
after cleandir.
1999-02-24 02:58:42 +00:00
wrstuden d86c8ee7b1 libamd gained new routines and the minor # didn't get bumped. :-( 1999-02-19 21:22:06 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos 8e2da38978 Remove duplicate definitions caused by the merge. 1999-02-01 19:56:18 +00:00
christos a2b1d050d6 Resolve corn-flakes. 1999-02-01 19:05:09 +00:00
christos eab9b56195 Import am-utils-6.0.1s3 1999-02-01 18:45:36 +00:00
bouyer c8c04d5b9e Properly define ufs_args_t and HAVE_FIELD_UFS_ARGS_T_FSPEC, so that automount
of FFS filesystems works.
1999-01-11 15:57:49 +00:00
msaitoh c4cc4294b5 swap arguments of kill (from am-utils-6.0b2s3) 1998-12-01 12:03:16 +00:00
kleink 364dab0e26 If HAVE_STRERROR is defined, be nice and portable and don't grovel sys_errlist. 1998-11-17 18:14:17 +00:00
matt e09bc9ea4d Use CPPFLAGS+= for -I addition, not CFLAGS+= 1998-10-30 16:55:13 +00:00
christos ce88ebe827 Propagate the fix to Makefile.inc 1998-09-27 16:30:31 +00:00
christos ee5bcaffb1 Don't add LDADD dependencies in the libamu build. 1998-09-27 16:28:54 +00:00
tv 1428a599bf Rethink the origins of LDSTATIC. Instead, use an option NOLINKLIB, which
builds and installs only what is necessary to link and run binaries, when
the library is not externally useable.
- NOPIC: Create and link against a static library.
- PIC: Create, link against, and install a shared object.
- PIC+LDSTATIC: Create and link against a static library; create and
  install a shared object.
1998-09-13 23:25:18 +00:00
christos 01c4ec85f3 Change amq string size to 10K from 1K so that we can print large versions. 1998-08-08 22:52:59 +00:00
christos ac8587765d Resolve corn-flakes and remove obsolete files 1998-08-08 22:33:27 +00:00
christos 0d352ac375 Import a16, with some local fixes... 1998-08-08 22:05:22 +00:00
mycroft 1f86e5830d const poisoning. 1998-07-27 00:52:00 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
mycroft 9c56569322 Change some variable names to reflect changes in the previous revision. 1998-05-05 08:59:56 +00:00
tv 5c58321a6f mk-amd-map severe breakage fixes as pointed out by noud@knot.nl:
- use dbm_close() so that the file actually gets written to disk
- rename %s.db, not *s.{dir,pag}; we use Berkeley DB, not ndbm.
1998-04-23 11:51:07 +00:00
tv a40db43400 missed 3 lines on sync 1998-04-12 21:38:58 +00:00
tv 3d6a264267 sync with Makefile.inc 1998-04-12 21:09:35 +00:00
tv 5321eb363d PIC systems no longer build libamu.a; depend them on libamu_pic.a. 1998-04-12 20:45:05 +00:00
tv 99a2626b0e Make use of NOSTATICLIB addition to <bsd.lib.mk> 1998-04-09 00:52:06 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv e1463ca305 sync with install changes from amd/Makefile 1998-04-07 19:33:09 +00:00
tv ecaca3d6a7 No build environment is installed for libamu; install only the shared
library, and only if on a non-NOPIC system.
1998-04-07 16:36:02 +00:00
mrg 90abe03d9c use static int instead of static 1998-03-30 02:37:43 +00:00
fvdl 6559ed7a58 Fix these for ufs/ufs/ufsmount.h usage. Missed in the merge. 1998-03-01 23:48:58 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
wrstuden 6cd4f9d65d Up the minor number for libamu.so to 1. The update in January
added new routines, so we have a new interface.

Aproved by christos.
1998-02-20 07:43:09 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
christos 1815a8d4a4 Resolve RCSID conflicts; hopefully this is the last time :-) 1997-10-26 00:24:41 +00:00
christos 5d8bee0f9f New version from Erez 1997-10-26 00:02:11 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem 6e1d64c8d1 quieten gcc -Wall 1997-10-23 06:29:16 +00:00
lukem f0fe153c0a use CPPFLAGS instead of CFLAGS 1997-10-23 06:27:34 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem df4958aa0b getopt returns -1 not EOF 1997-10-17 00:07:21 +00:00
lukem f0923775df fix race condition when building libamu with make -j 1997-10-16 05:18:41 +00:00
christos fcc796698e Fix printf format warnings. 1997-10-10 16:12:10 +00:00
christos 81dbba7d10 PR/4082, PR/4149: amd dumps core if a server is down, amd cannot mount
filesystems from servers that fail the portmapper version test [lanman].
1997-10-10 16:11:12 +00:00
christos c1b53cf091 Fix remaining warnings. 1997-09-26 17:08:09 +00:00
christos 5d124d82c6 Resolve conflicts; Damned RCSid's... I should fix the amd2netbsd script
to strip them.
1997-09-26 16:59:40 +00:00
christos 04c4910102 Import am-utils-6.0a12 1997-09-26 16:05:48 +00:00
veego c219cd3ba0 Restore revision 1.3: 'make depend' needs a config_local.h in the SRCS=
line of libamu/Makefile
1997-09-23 08:46:25 +00:00
veego 1a9080a871 Restore one change from revision 1.4: 'make depend' needs a config_local.h
in the SRCS= line of libamu/Makefile
1997-09-23 08:40:57 +00:00
christos 2903fbdf71 Resolve conflicts. 1997-09-22 22:09:51 +00:00
christos 30d4fdf78e Import am-utils-6.0a11 1997-09-22 21:11:12 +00:00
veego 2e55dbcfd0 Sync it for libamu/Makefile. 1997-09-07 21:56:12 +00:00
thorpej aeeac5d7fd Fix usage with NIS+ servers in NIS compat mode, which was lost in the
last amd update.  From Matthieu Herrb <matthieu@laas.fr>, PR #4023.
1997-08-26 19:47:19 +00:00
christos 031eafc65a PR/3939: enami tsugutomo: amd fails to detect endianness. 1997-08-05 12:02:49 +00:00
veego fef34ddd17 Add config_local.h to SRCS so it is created before a make depend.
Finnaly fixes pr#3919.
1997-07-28 13:08:05 +00:00
christos 3b1ba66d76 - Make the yacc .h file generation more sane from Juergen Hannken-Illjes
- PR/3919: Thorsten Frueauf: Add config_local.h to CLEANFILES and remove
  it from the repository.
1997-07-28 00:46:55 +00:00
christos 5653c61f64 Restore from death. 1997-07-25 00:29:21 +00:00
christos 4c3f8ff516 Remove unnecessary files. 1997-07-25 00:21:57 +00:00
christos eab39f597e Commit am-utils6.0a8 1997-07-24 23:16:10 +00:00
christos 5feec48523 Import of Erez Zadok's am-utils 1997-07-24 21:19:53 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
veego 3a388c65c6 s/if_ether.h/if_inarp.h/ 1997-03-16 17:20:48 +00:00
mouse ee6a5b2cd6 alternate -> alternative, per PR 2643 1997-03-08 14:24:19 +00:00
mikel a1e8465484 fix typo; PR bin/3038. 1996-12-24 02:44:58 +00:00
thorpej b71cc83108 Do a 64-bit `friendliness' sweep, making amd(8) work on the alpha.
XXX These aren't the prettiest diffs in the world, but making them
XXX nicer would require a bit of restructuring of the code and
XXX possible amq protocol.
1996-12-04 22:59:01 +00:00
christos 1b15732725 <machine/endian.h> -> <sys/types.h> 1996-10-13 01:15:03 +00:00
fvdl e5687b1276 Add PRECISE_SYMLINKS define (part of fix in PR #1917) 1996-05-23 22:51:02 +00:00
mrg 290aca3136 use LOG_INFO to say NIS isn't running. 1996-05-21 11:03:14 +00:00
christos 0e44adb42e Fix PR/2395: Segmentation fault de-referencing unitialized fp. 1996-05-12 15:35:09 +00:00
christos d17eef343e Fix PR/2348: Support for NIS servers without YP_ORDER 1996-05-09 22:57:57 +00:00
christos 7758c3b701 Fix PR/2126; recognize mount option readdirsize. In addition, if rsize is
specified and readdirsize is not, make readdirsize use the value of rsize.
1996-03-06 00:21:21 +00:00
christos c7ce104884 Fix amd to compile and work after the NFSv3 commit.
This fix is a kludge:
	- make the nfs filehandle conditional on v2 and v3
	- set the nfs_args fields for the version and the
	  file handle size.
	- make the file handle pointer type void * so that
	  it works on both nfsv2 and nfsv3
	- fix the mountd rpc results parsing.

A proper fix should:
	- register an nfsv3 server for amd.
	- make amd try v2/v3 mounts exactly like mount_nfs does.
	- understand the nfsv3 mount options.
	- cleanup the #undef's in the protocol header.

Also in order to auto-recognize v2 vs v3, I moved the inclusion of
<sys/mount.h> to am.h.
1996-02-19 20:57:40 +00:00
thorpej dcb6bca52b Cross-reference fsinfo(8) and mk-amd-map(8), as per PR #1057.
From David Brownlee <abs@mono.city.ac.uk>.
1996-01-14 03:49:09 +00:00
thorpej a7565806e7 Cast the third argument of svc_getargs() to char * so that this compiles
with -Werror.
1995-12-15 19:08:21 +00:00
jtc d538b54279 comment out HISTORY section, as it appears to be garbage; PR #1530 1995-09-27 19:49:25 +00:00