Commit Graph

165 Commits

Author SHA1 Message Date
emaste
9b3442f352 amd: add deprecation warning on program startup
Reviewed by:	rgrimes, trasz, kevans, brooks
Discussed with:	cy
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22466
2019-11-22 15:06:07 +00:00
emaste
b537917f0b add deprecation notice to amd man page
Clarify the deprecation notice in amd.8.  amd will be removed from the
FreeBSD base system before FreeBSD 13.0.

Reviewed by:	rgrimes, trasz, kevans, brooks (all earlier, in D22466)
Discussed with:	cy
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2019-11-22 15:04:03 +00:00
emaste
88f85f583b revert contrib/amd changes accidentally committed with r354950 2019-11-21 13:57:30 +00:00
emaste
3700443c9e revert r354935 and apply fix for cleandir failure
This reapplies the RISC-V GNU ld workaround from r354896, r354899, and
354900, along with a fix for the build failure during cleandir.

LINKER_TYPE was not being set during cleandir, resulting in
Malformed conditional (${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv")
from Cirrus-CI.

PR:		242109
Sponsored by:	The FreeBSD Foundation
2019-11-21 13:56:16 +00:00
brooks
a8e6a2d72c Fix two mismatches between function declaration and definition.
In both cases, function pointer arguments were inconsistently declared
and the result worked because of C's odd rules around function pointer
(de)references.  With a stricter compiler these fail to compile.

Reviewed by:	cem
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D20964
2019-07-16 16:03:08 +00:00
0mp
27e678125e Fix a broken "SEE ALSO" section of hlfsd(8).
While here pet mandoc and igor.

Reviewed by:	bcr, eadler, krion, mat
Approved by:	krion (mentor), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D16376
2018-08-14 20:33:48 +00:00
cy
894f66024b Fix amq -i timestamp segmentation violation.
MFC after:	1 week
2018-06-19 01:33:03 +00:00
eadler
e476e18531 amd: correct formatting of 'SEE ALSO' 2018-04-14 21:54:22 +00:00
cy
811f4c8d94 Fix mips 32-bit buildworld.
Reported by:	adrian
MFC after:	6 weeks
X-MFC with:	r308493
2016-11-14 00:33:03 +00:00
cy
ec84251864 MFV r305100: Update amd from am-utils 6.1.5 to 6.2.
Used extensively on my network over the past month.

Reviewed by:	pfg, brooks
Suggested by:	pfg
Obtained from:	ftp://ftp.am-utils.org/pub/am-utils/
MFC after:	6 weeks
Relnotes:	yes
Differential Revision:	D8405
2016-11-11 02:42:53 +00:00
trasz
75986cdfd3 Mark amd(8) and all related utilities as obsolete.
Reviewed by:	wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5443
2016-02-29 16:45:10 +00:00
pfg
38e3f37854 MFV r277870
Fix compile warnings for gcc-4.4.x
This also fixes at least a warning with clang 3.6.0
including the fix for r277841.

MFC after:	1 week
2015-01-29 15:35:55 +00:00
pfg
4d1e358c77 Revert r277841: It will be re-merged through the vendor area. 2015-01-29 15:33:05 +00:00
pfg
9608c0caa1 MFV r277866
amd: Add extra check for NULL before deref.

CID:		274421
Obtained from:	NetBSD
MFC after:	4 days
2015-01-29 01:28:39 +00:00
pfg
6789315d88 Revert r277814: It will be re-merged through the vendor area. 2015-01-29 01:26:23 +00:00
pfg
bb6ca350d1 amd: flatten the tree 2015-01-28 22:55:06 +00:00
dim
110aa2a0d0 Fix the following clang 3.6.0 warning in contrib/amd/hlfsd/homedir.c:
contrib/amd/hlfsd/homedir.c:497:8: error: address of array 'buf' will
always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
  if (!buf || buf[0] == '\0')
      ~^~~

In the affected function, 'buf' is declared as an array of char, so it
can never be null.  Remove the unecessary check.
2015-01-28 18:19:25 +00:00
pfg
1d356945ea amd: Add extra check for NULL before deref.
CID:		274421
Obtained from:	NetBSD
MFC after:	5 days
2015-01-27 20:48:05 +00:00
des
288923c300 Remove the names of the build host and user and the build date. This
still leaves the host OS and version, but these are harder to remove.

MFC after:	3 weeks
2014-04-12 18:01:25 +00:00
cperciva
45e5ee4e4a Remove build timestamps from the following files:
/boot/kernel/hptrr.ko
/etc/mail/*.cf
/lib/libcrypto.so.5
/usr/bin/ntpq
/usr/sbin/amd
/usr/sbin/iasl
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc

There does not appear to be any purpose to having these timestamps, and
they have the irritating consequence that the aforementioned files will
be different every time they are rebuilt.

After this commit, the only remaining build timestamps are in the kernel,
the boot loaders, /usr/include/osreldate.h (the year in the copyright
notice), and lib*.a (the timestamps on all of the included .o files).

Reviewed by:	scottl (hptrr), gshapiro (sendmail), simon (openssl),
		roberto (ntp), jkim (acpica)
Approved by:	re (kib)
2009-07-11 22:30:37 +00:00
obrien
1056a75218 Update for the 6.1.5 import. 2007-12-11 19:16:51 +00:00
ru
23068e4c3d More fixes. 2007-12-07 20:22:59 +00:00
ru
b349ea29b4 Revise the man->mdoc conversion of the amd manpages. 2007-12-07 20:16:21 +00:00
obrien
ba500801b9 Futher vendor branch cleanup. 2007-12-06 16:41:22 +00:00
obrien
61a1f40790 Remove files retired by the vendor.
Grrr.. these should have been removed on the vendor branch vs. HEAD.
I got it right in my test repo, but it was pre-cafine dark-thirty when
I started the real import.
2007-12-06 16:39:27 +00:00
obrien
4487f06b05 Put stock 6.1.5 file into HEAD. 2007-12-05 16:57:05 +00:00
obrien
0e36aeab45 Not sure why mbr deleted this file - its useful. 2007-12-05 16:56:42 +00:00
obrien
b6eecea82f 2005-05-28 Erez Zadok <ezk@cs.sunysb.edu>
* libamu/alloca.c: remove file from distro.
2007-12-05 16:18:44 +00:00
obrien
1463d968d4 2005-10-02 Erez Zadok <ezk@cs.sunysb.edu>
* libamu/strutil.c: rename from util.c to explain better purpose
	of file.
2007-12-05 16:16:56 +00:00
obrien
f4308c36bd 2005-03-05 Ion Badulescu <ionut@moisil.badula.org>
* amd/amfs_inherit.c: removed, dead code
2007-12-05 16:05:26 +00:00
obrien
7e2d4bec86 Include support for FreeBSD's <fs/msdosfs/msdosfsmount.h>.
Also <ufs/ufs/ufsmount.h> is safe to use.
2007-12-05 16:03:52 +00:00
obrien
c565ac103a Merge rev. 1.7 (change mounting directory to match traditional FreeBSD
/etc/defaults/rc.conf) into 6.1.5.
2007-12-05 16:00:42 +00:00
obrien
f3fdda3487 Merge the 6.0.10p1 -> 6.1.5 changes into our manpages. 2007-12-05 15:59:34 +00:00
obrien
ea691ecd98 Virgin import of AMD (am-utils) v6.1.5
Sponsored by: Juniper Networks
2007-12-05 15:48:03 +00:00
obrien
fb2308c081 This commit was generated by cvs2svn to compensate for changes in r174294,
which included commits to RCS files with non-trunk default branches.
2007-12-05 15:48:03 +00:00
obrien
c06a2e6136 Delete from the vendor brach a few things that are dead on head.
(they should have been removed here instead of on HEAD in the first place...)
2007-12-05 14:20:32 +00:00
obrien
c906fa6ae1 This commit was generated by cvs2svn to compensate for changes in r174289,
which included commits to RCS files with non-trunk default branches.
2007-12-05 14:20:32 +00:00
obrien
2fc58861d0 Delete from the vendor brach a few things that are dead on head.
(they should have been removed here instead of on HEAD in the first place...)
2007-12-01 23:05:01 +00:00
pav
3831aebc4a Fix -D description to read debug_options
PR:		doc/97939
Submitted by:	Serg Podtynnyi <n-ice@yandex.ru>
MFC after:	1 week
2007-05-12 10:25:31 +00:00
kan
6bf6173310 Remove conflicting extern decralaration for mboxfile variable.
It is defined as static in implementation file.
2007-04-06 15:51:35 +00:00
delphij
a56278e488 Correct a typo: In order to make fixmount(8) quite, one should
use -q, not -v.
2006-04-18 03:33:17 +00:00
jcamou
5dd28816ce Update URL and email address.
Approved by:	trhodes (mentor)
20 day timeout:	mbr (did not reply, mentor approved commit)
2005-09-02 06:30:41 +00:00
keramida
6e46724141 Spell "referred" correctly. 2005-07-28 13:03:19 +00:00
ru
caab8c7549 Apply a series of scripts to automatically fix some markup bugs.
Approved by:	re (blanket)
2005-06-16 20:21:03 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
trhodes
6aefcaf60e Use .Xr in place of .I for Xref's.
PR:		71730
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (original patch)
Commit ok:	mbr (through GNATS PR)
2004-10-15 12:50:05 +00:00
mbr
2820cb0474 Readd accidently deleted file. 2004-07-06 14:14:26 +00:00
mbr
badb28509a 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
mbr
f86bd44383 Resolve conflicts for am-utils-6.0-10p1 (am-utils-6.0-20040513)
import:

- Fix typo in amd/nfs_prot_svc.c
- Manpage change in scripts/amd.conf.5
- Remove unneeded configure files
- Remove unneeded m4/macros
2004-07-06 13:16:49 +00:00
mbr
60473f926a Virgin import of AMD (am-utils) v6.0.10p1 2004-07-06 12:55:44 +00:00