Commit Graph

7220 Commits

Author SHA1 Message Date
dougb
661dabae80 Per style.Makefile(5), don't define MAN if the only page installed
is ${PROG}.1

Reviewed by:	ru
2004-09-26 09:38:08 +00:00
dougb
5887a0ecf4 Fix up the man file installation for the new BIND 9 sources:
1. Install man files and links for the lwres library.

2. Fix the path in various files to say /etc/namedb/ instead of just /etc.

3. Correctly install the conf file man pages for named and rndc.
2004-09-26 06:36:11 +00:00
trhodes
632ac71095 Fix build in the !NOATM case by using the begemot library in place of
using libisc which was a part of BIND8.

Discussed with:	des, re, dougb
Submitted by:	harti (one part)
Reviewed by:	harti (previous version)
2004-09-24 22:10:34 +00:00
keramida
23afcbf88f Allow %' to be used as a format flag by printf(1). This makes it
possible to print the thousands separator in the locale setups that
have one, by something like this:

    $ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345
    12,345.00

Reviewed by:	das
2004-09-24 18:20:43 +00:00
ru
03cf2e6303 Don't expose BIND libraries and their headers to the public by default,
but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib
and /usr/include.  Rumors are that this may be useful at a later point,
let's see.

What this really means is that all BIND libraries are now internal to
buildworld (by default, unless WANT_BIND_LIBS is defined), and linked
statically into various BIND executables.

While here, removed redundant -I's from CFLAGS in lib/bind makefiles.

Sponsored by:	des
OK'ed by:	dougb
2004-09-24 13:42:00 +00:00
des
6bebc3d621 De-orbit more remnants of BIND 8.
Prodded by:	ru@
2004-09-23 07:36:31 +00:00
des
41e930f480 Clean up and comment config.mk. Centralize more stuff. Bitch if
POSIX threads libraries are not available.  Add crypto support if
the crypto libraries are available.  Build dnssec-{keygen,signzone}
if crypto is available.

Submitted by:	(in part) dougb@
2004-09-22 12:13:58 +00:00
des
a4c12f8006 Switch from BIND 8 to BIND 9.
Submitted by:	(in part) dougb@, trhodes@
Reviewed by:	dougb@, trhodes@, re@
MFC after:	5 days
2004-09-21 19:01:48 +00:00
des
d59f3ddc7e Update copyright years. 2004-09-21 18:35:21 +00:00
das
09baad31f1 Fix a buffer overflow by using strncpy() instead of strcpy().
Also, use strdup() instead of malloc()/strcpy().

PR:		64164
2004-09-19 20:34:30 +00:00
ru
15deca3fae Place a function prototype correctly.
Submitted by:	Divacky Roman
2004-09-19 14:54:35 +00:00
delphij
23bce6d664 Add my birth date to our calendar.
Approved by:	murray (mentor)
2004-09-17 06:36:01 +00:00
kwm
dca5814d9c Park my birthday truck in this free space.
Approved by:	pav (mentor)
2004-09-15 19:03:27 +00:00
tjr
d7872e5e5f Remove a bogus check that caused empty lines not to be counted when the
-c option was given.

Noticed by:	sf
2004-09-14 12:01:18 +00:00
marcel
b083044ab4 Fix build: s/mkunzip.8/mkuzip.8/ 2004-09-12 00:32:35 +00:00
ru
24866f1a1e Normalize the manpage.
Reviewed by:	sobomax
2004-09-11 18:39:01 +00:00
ru
73e2ab9fdb Normalize the makefile.
Reviewed by:	sobomax
2004-09-11 18:38:26 +00:00
sobomax
11ecdd7768 o Print more info in the verbose mode;
o use zlib(3) function which computes maximum length of the output
  buffer instead of rolling own version;

o allow size of input file to be not multiple of cluster size by applying
  zero padding.
2004-09-10 23:16:05 +00:00
sobomax
b9945320c2 Clarify/extend in several places and make sure that everything matches reality. 2004-09-10 22:26:31 +00:00
trhodes
2736322b28 Bump WARNS level to 6.
Submitted by:	keramida
Tested on:	i386, sparc64 (panther)
2004-09-10 21:34:46 +00:00
sobomax
f292884004 Add mkuzip(8), non-GPL utility to compress filesystem images for use with
geom_uzip module. This is based on utility I wrote some 3 years ago for a
hack for md(4), which functionally was close to what geom_uzip does today.

Since I don't have a time to test that it compiles/works on other arches,
stick it to i386 only. Will do it later.

Unlike original cloop util, this one embedds FreeBSD-compatible shell code
into the generated image, not Linux one. Unfortunately severe space
restriction imposed by the CLOOP format doesn't allow to put conditional
code which will work both on Linux and FreeBSD. In fact it was quite a
challenge to fit necessary FreeBSD code into 127 bytes. ;-)
2004-09-10 20:17:31 +00:00
dd
aa2f219ed3 Improve markup and language. 2004-09-07 13:22:28 +00:00
jmg
c79fcd9810 remove XXX comment now that the kernel is fixed, there isn't any obvious
reason to enable this as performance didn't significantly change...

MFC after:	3 days
2004-09-06 15:25:07 +00:00
marcel
4ac7064824 Fix Quad handling on 64-bit architectures. On 64-bit machines, a Quad
also occupies a single slot. There's no need for any special handling
of Quads. While here, remove the silly make_quad() function. We have
the 2 longs on 32-bit machines already lined up in the argument array,
so we can fetch the Quad with a simple cast.

Before:
  lseek(1,0x123456789,0xd0d0d0d0d0d0d0d0) = 4886718345 (0x123456789)
After:
  lseek(1,0x123456789,SEEK_SET)           = 4886718345 (0x123456789)
2004-09-05 05:27:30 +00:00
alfred
3e2660877b Update doc dates.
Pointed out by: ru
2004-09-03 18:56:59 +00:00
alfred
ba1009e692 xref and give a hint as to what procctl can be used for. 2004-09-03 17:52:55 +00:00
kientzle
655e07d67c Make -C and -T work correctly together.
MFC after: 3 days
Thanks to: Guy Helmer
2004-08-28 05:28:19 +00:00
kientzle
eb191f46ff Document the -O option's new behavior in the presence of -t.
MFC after: 3 days
2004-08-27 04:19:28 +00:00
kientzle
2e9ab3a6f5 Support -t -O as in gtar. Perversely enough, -O means "send to stderr"
when used with -t, "send to stdout" when used with -x.

Thanks to: Ryan Hamilton for pointing out this odd beast
MFC after: 3 days
2004-08-27 04:13:15 +00:00
des
d64962e198 The check for r_flag was accidentally removed in the previous commit.
Submitted by:	SANETO Takanori <sanewo@ba2.so-net.ne.jp>
MFC after:	3 days
2004-08-26 15:51:10 +00:00
kientzle
d48cc88658 Permit -P to be combined with -t. (It's a no-op then, just as in gtar.) 2004-08-26 06:28:39 +00:00
maxim
e21edac0ea Backout recent -j changes, the flags is deprecated.
Requested by:	tjr
2004-08-26 06:28:05 +00:00
kientzle
e646968085 Tell getopt to accept the (already-implemented) -I option. 2004-08-26 01:58:14 +00:00
roam
47b3e1d304 Do not display bogus entries for sockets in the TIME_WAIT or similar
states that no longer have a corresponding file descriptor - until now,
sockstat would mostly randomly match null kern.file.*.xf_data fields
with the first mostly-closed socket.

This bugfix is a RELENG_5 candidate.

Approved by:	andre
2004-08-25 16:36:17 +00:00
mbr
17cdeacd68 Add special case for the german whois nameserver. Without the
'-T dn,ace -C US-ASCII' option one does only get:

$ whois nic.de

domain:    nic.de
status:    connect

More information available on:

http://www.denic.de/en/domains/technik/denic_whois-server/index.html

MFC:	3 days
2004-08-25 15:34:44 +00:00
maxim
5810faeee1 Add -j flag to usage() and the man page synopsis.
Inspired by:	DragonFlyBSD
2004-08-25 13:15:07 +00:00
danfe
cdc7ba74f9 So here I am, also born in USSR.
Approved by:	fjoe (mentor)
2004-08-23 12:53:46 +00:00
tjr
6ad9afc94f The UTF2 encoding and the INVALID keyword are now obsolete. 2004-08-21 08:16:36 +00:00
lesi
8d09b998b6 Add my birthday.
Approved by:	anholt (mentor)
2004-08-20 12:01:19 +00:00
clsung
aab2db1d75 Add my birthday.
Approved by:	leeym (mentor)
2004-08-19 16:18:39 +00:00
ru
3e22f2ff09 Document the effects of modifying the .MAKEFLAGS internal
variable and using the .MAKEFLAGS special target, and the
differences between them.

Reviewed by:	harti
2004-08-18 13:25:46 +00:00
pav
bfbe53ebed - Add my birthday. 24, yay. 2004-08-16 20:00:08 +00:00
tjr
1d5fa9d950 Store a pointer to "null" in struct ndblock's defn member instead of a
duplicate allocated on the heap; the address defn points to is significant,
and is checked against the address of "null" in certain conditionals.

PR:		59883
MFC after:	1 week
2004-08-16 14:18:22 +00:00
dwmalone
486b54a301 Add Hungarian calendar entries.
PR:		42725
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2004-08-16 09:31:09 +00:00
alfred
2e978add60 This patch merges the sort fields for both pages, so you can (for
example) view io stats while sorting by process size.  Also adds
voluntary and involuntary context-switch stats to the io page because
there was lots of room.

Submitted by: Dan Nelson dnelson at allantgroup.com
2004-08-16 07:51:22 +00:00
gad
ceceffc9d5 Document the fact that matching against a process command-name will
only work on the first MAXCOMLEN (19) characters of that name.

Noticed by:	Peter Holm
2004-08-16 04:49:43 +00:00
des
0fd9856a46 Fix a couple of edge cases in which sb.st_size may be incorrect or
meaningless.  In particular, don't assume that it is left untouched if
stat(2) fails; that assumption happens to fail at high optimization
levels on some platforms.

MFC after:	1 week
2004-08-15 22:22:35 +00:00
fjoe
32edb79c16 I was born in USSR. 2004-08-13 09:54:29 +00:00
kientzle
18881f092f Make -I and --files-from be synonyms for -T 2004-08-13 07:23:02 +00:00
harti
328c4c7fce Put variable assignments on .MAKEFLAGS and .MFLAGS targets into
the .MAKEFLAGS variable so that these are also passed to sub-makes.
This makes the handling of variables in the command environment more
consistent.

PR:		bin/68853
Submitted by:	Martin Kamerhofer <data@sbox.tugraz.at>
2004-08-12 11:49:55 +00:00
tjr
cf9aacc17d Document incorrect handling of multibyte characters. 2004-08-12 11:34:34 +00:00
ru
e1b6157050 Join the Russian committers, and only use one true country of birth.
Sorry for the churn.  ;)
2004-08-12 06:50:44 +00:00
ache
6ed3b37f40 Back in the USSR (for me) 2004-08-12 02:23:24 +00:00
ru
e7197ce4d0 Fix the country of birth.
Requested by:	dima
2004-08-11 21:23:42 +00:00
marck
0fefb154d4 Add my birthday.
Approved by:	den (mentor)
2004-08-11 16:18:18 +00:00
demon
b421324d43 Correct the name of the country I was born in. 2004-08-11 06:44:36 +00:00
ru
990176f1a7 I was born in the USSR. 2004-08-11 06:17:02 +00:00
oliver
90e9cf6dc1 There was a star danced, and under that was I born.
-- Shakespeare in "Much Ado About Nothing"

Add my birthday in case someone cares someday...
2004-08-09 21:32:25 +00:00
harti
98b937e22a Make explicit that MAKEOBJDIRPREFIX and MAKOBJDIR must be set
as environment variables and should not be set on make's command
line. They happen to work accidentially as command line variables
too when none of the sub-makes wants to play games with them (because
make is putting command line variables into the environment and will
find them there later on). Makefile.inc1 wants to change
MAKEOBJDIRPREFIX. In this case one cannot set it on the command line.
2004-08-09 16:13:54 +00:00
dds
145dad6e9d Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived
software (original contributor).

Reviewed by:	imp
2004-08-09 15:29:41 +00:00
den
25e2f5d560 Write my country name in standard form
Requested by:	ru
2004-08-09 13:45:43 +00:00
den
b220a86642 Add myself to USSR count :) 2004-08-09 12:59:43 +00:00
pjd
b79aea0b62 And here I am. The first person from Poland in here. 2004-08-09 11:37:14 +00:00
rik
62b3492f0e Add myself here. Increase USSR count ;-) 2004-08-09 11:17:59 +00:00
obrien
6a44735c94 Don't try to programatically support running file(1) w/in /usr/obj or other
non-standard install path.

Agreed with:	ru
2004-08-09 11:05:09 +00:00
obrien
4b24265824 Uncomment the real paths and remove the local debugging paths.
Noticed by:	ru (who's faster than 'make world' on my stock src test machine)
2004-08-09 10:47:50 +00:00
leeym
d3500de60b add myself. :) 2004-08-09 10:22:52 +00:00
obrien
ac41649ab6 The file consumer binary, which depends on the libmagic. 2004-08-09 08:49:49 +00:00
alfred
46edc34b3d don't seg if the syscall is invalid for i386fbsd. 2004-08-08 23:29:36 +00:00
dwmalone
c69fb8926e s/FALLTHOUGH/FALLTHROUGH/
Submitted by:	Xin LI <delphij@frontfree.net>
2004-08-08 18:59:19 +00:00
kientzle
74f9ad184e gtar uses -F for another purpose, so bsdtar no longer treats it as a
synonym for --format.  Update the man page to reflect this.  While
I'm here, change the man page to document "tar" rather than "bsdtar,"
update some comments about -l compatibility and fix a few grammar nits.
2004-08-08 17:20:23 +00:00
kientzle
0a68c3721e Better low-memory handling: If the link cache runs out of memory, just
throw out the whole thing and stop tracking links entirely.  That will
break all remaining hardlinks, but should free up enough memory to
let everything finish.
2004-08-08 06:36:03 +00:00
kientzle
03cc09682b Move the smart chdir logic into a couple of utility functions in util.c.
Then use them to provide consistent -C support throughout the program.
Thanks to: Christoph Mallon
2004-08-08 05:50:10 +00:00
kientzle
0a58439922 It shouldn't be an error to specify the same mode twice: allow -cc but not -ct.
Thanks to: Christoph Mallon (whose proposed patch was actually
   simpler than what I ended up with)
2004-08-08 05:10:10 +00:00
kientzle
b2443d940f Another pointy-hat problem: PACKAGE_VERSION macro is set in
CFLAGS, it shouldn't be in bsdtar_platform.h.
Thanks to: Andrey Chernov for looking over my shoulder so much lately.
2004-08-08 04:36:32 +00:00
kientzle
92956ea0cd Minor portability fixes. bsdtar now compiles on Win32/cygwin, though
it doesn't yet seem to work entirely correctly.
2004-08-08 01:30:30 +00:00
marcel
8eb2d114c9 Oh yeah? 4 born in the Netherlands. Taken relative to the size of
the country (i.e. committer density), we're in the top 5 for sure! :-)
2004-08-07 22:09:26 +00:00
nsouch
b41136553c 10 born in France now! 2004-08-07 21:14:50 +00:00
kientzle
0457e08c65 Add --totals option. Unlike gtar, this reports the bytes actually
written to the archive, not the ones written to the compressor.
For uncompressed archives, these numbers are the same, of course.
2004-08-07 19:25:34 +00:00
kientzle
e9c1fd002b Linux port corrections:
* Add a more reasonable default device for linux
   * Add an autoconf check for the FNM_LEADING_DIR extension
     (which isn't yet obeyed in the code)
2004-08-07 17:17:11 +00:00
stefanf
caf7ef54ac Assign the result of getopt() to an int rather than to a char. 2004-08-07 07:05:38 +00:00
kientzle
a34feb1b97 Add "make distfile" capabilities to bsdtar, including informational
COPYING file and some conditional compilation cleanups.
2004-08-07 03:24:49 +00:00
cperciva
e629b37603 Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00
emax
c114a6212c - One can use both BD_ADDR or name to specify address of the Bluetooth device.
Update man pages to document this fact.

- Update usage messages

- Change u_intXXX to uintXXX
2004-08-05 16:32:41 +00:00
kientzle
147536f641 Ensure that there's always a space between the user name and
group name in -tv output format.
2004-08-05 05:46:22 +00:00
harti
3226759811 Correct the .Dd date. Pluralize 'assignment' in one place.
Requested by: ru
2004-08-04 15:10:35 +00:00
gad
60e17cd478 Remove these three files left-over from my unsuccessful attempt to
re-import `patch' into this location.  Instead I think I will import
it to 'patch-b', and that way I can be sure that I am starting with
a clean slate WRT the CVS repository.
2004-08-04 03:24:25 +00:00
tjr
f4fe67807c Add a standard DIAGNOSTICS section. 2004-08-04 03:02:14 +00:00
tjr
02910c3493 Add a standard DIAGNOSTICS section. 2004-08-04 02:55:25 +00:00
tjr
220248347a Add ENVIRONMENT and DIAGNOSTICS sections. 2004-08-04 02:51:46 +00:00
tjr
77692f94c6 In next(), ensure that 'done' is set in the case when a file cannot
be opened, to avoid trying to read standard input after already closing
it, which resulted in EBADF errors.
2004-08-04 02:47:32 +00:00
harti
c6449c277b Correct the description of the MFLAGS and .MAKEFLAGS variables. Add
the MFLAGS target. Document that variable assignments from the MAKEFLAGS
environment variable and the .MAKEFLAGS and .MFLAGS target have the
same precedence as command line variable assignments.
2004-08-03 19:14:14 +00:00
harti
fbcc82e0b7 Put variable assignments from the command line into the MAKEFLAGS
variable as required by POSIX. This causes such variables to be
pushed into all sub-makes called by the make (except when the MAKEFLAGS
variable is explicitely changed in the sub-make's environment).
This makes them also mostly un-overrideable in sub-makes except on the
sub-make's command line. Therefor specifying 'make CC=icc' will cause
icc to be used as C compiler in all sub-makes no matter what the Makefiles
itself try to do to the CC variable.

This patch also corrects the handling of the MFLAGS variable. MFLAGS
contains all the command line flags but not the command line variable
assignments. The evaluation of the .MFLAGS or .MAKEFLAGS target now
changes both MFLAGS and MAKEFLAGS (they used to change MAKEFLAGS only).
Makefiles can use MFLAGS for their own purposes given that they do not
except MFLAGS to be undefined at the beginning and that they don't evaluate
.MFLAGS or .MAKEFLAGS. MFLAGS should be removed for POSIX compliance,
but it is unfortunately heavily used by the X makefiles.

This has been extensively tested by port builds (thanks to portmgr), new
worlds and kernels.

PR:		standards/57295 (1st part above)
Submitted by:	James E. Flemer <jflemer@alum.rpi.edu>
Approved by:	portmgr
Obtained from:	NetBSD (1st part above)
MFC after:	4 weeks
2004-08-03 18:56:31 +00:00
harti
908064976f Make the SIGCHLD handler static and declare its argument
as unused, so that make can be compiled with WARNS=3 again.
2004-08-03 18:43:43 +00:00
kientzle
1a1471049f GNU and POSIX disagree about -o and -l.
For -l, upset everyone by breaking it.  Specifically, -l now produces
a lengthy error message that suggests --check-links (POSIX -l) or
--one-file-system (GNU -l) instead.  However, if POSIXLY_CORRECT is set,
use the POSIX interpretation.

For -o, please everyone by making it work both ways:
  * -xo uses POSIX behavior
  * -co uses "almost GNU" behavior (as close as we can get until
    libarchive implements a true V7 tar format)
2004-08-03 06:19:08 +00:00
tjr
2e77b96f4a Remove la_LN.* from the list of bogus locales. They're incomplete, but
still potentially useful.
2004-08-02 12:50:12 +00:00
tjr
25f68ff9e7 Exclude bogus la_LN.* and UTF-8 locales from the output of locale -a
to discourage people from using them.
2004-08-02 12:28:28 +00:00
tjr
e8ca533b05 Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section. 2004-08-02 11:15:01 +00:00
tjr
09ae76cbc8 Cross-reference fold(1). 2004-08-02 11:12:13 +00:00
tjr
9811ba2d67 Add support for multibyte characters. 2004-08-02 11:10:20 +00:00