Commit Graph

6718 Commits

Author SHA1 Message Date
tron f4ae533fa6 Really set "MKPRIVATELIB" and not "INTERNALLIB". 2004-05-23 14:05:39 +00:00
lukem a7bdccd7ef Improve how the various helper libraries are added to LDADD/DPADD, including
supporting caching the OBJDIRS (via .MAKEOVERRIDES) to speed up subdir makes.
(Based on similar work in gnu/usr.sbin/postfix)
2004-05-23 03:16:40 +00:00
lukem deb5b059d1 use MKPRIVATELIB=yes (instead of setting various other stuff to no) 2004-05-23 02:49:26 +00:00
lukem b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
grant 1d410ae5a8 tweak "abc cannot attach to xyz" error to read a little clearer. 2004-05-22 04:04:13 +00:00
wiz c50b05e3d3 Some more or less mechanic updates for bind8 -> bind9.
Also, refer only to latest DNSSEC RFC. Bump date.
2004-05-21 23:34:31 +00:00
christos 14b88f7570 The Makefile.inc determines if we have threads or not, so don't hard-code this. 2004-05-21 16:05:51 +00:00
martin ad1c3f227e Decrease log severity to debug if a protocol is not supported by the
kernel. This avoids "rpcbind: cannot create socket for tcp6" messages
at startup on IPv4-only kernels.
2004-05-20 12:22:23 +00:00
wiz 552e912079 Use Sq, Dq; sort sections; new sentence, new line;
refer to DNSSec RFCs in SEE ALSO (since they are mentioned in the text;
XXX: text should be updated to refer to latest one only);
XXX: refers to BIND 8.
2004-05-20 01:01:33 +00:00
wiz fcff0031f7 New sentence, new line; use more macros; sort sections;
sort SEE ALSO; replace > with \*[Gt].
2004-05-20 00:37:51 +00:00
wiz 810322e03d Drop trailing whitespace. 2004-05-20 00:26:19 +00:00
itojun d405fc4436 build and install rndc-confgen (needed to create rndc.key) 2004-05-19 10:29:21 +00:00
christos b1fa643acc remove old makefiles 2004-05-18 00:13:44 +00:00
christos d981be40cf remove garbage file 2004-05-18 00:11:33 +00:00
christos 5862d9d92c Resolve conflicts 2004-05-18 00:10:39 +00:00
christos 9c2ff49b1e Import bind9 build framework 2004-05-18 00:06:57 +00:00
wiz 846b6d9564 Describe default polling rate correctly, from Jeff Ito in PR 25589.
New sentence, new line while here; bump date.
2004-05-16 10:54:12 +00:00
christos eba562cd86 PR/20066: John F. Woods: Supply a loadable lcpstatus command. 2004-05-13 19:37:58 +00:00
christos 1345b8cdf5 PR/20066: John F. Woods: Add plugin lcp hooks. 2004-05-13 17:31:57 +00:00
christos 18289afe56 PR/21178: Christian Biere: Potential misuse of ctype functions [pppd] 2004-05-13 17:02:32 +00:00
tron b174c24825 Fix handling of interface aliases if "rarpd" is not invoked with "-a". 2004-05-12 16:48:44 +00:00
wennmach 0269a1249b Problem: rpc.yppasswdd didn't work if invoked with the "-noshell" option.
Reason: In routine make_passwd() in yppasswdd_mkpw.c, fgets() is used
to read master.passwd line-by-line. The lines are then parsed using
pw_scan(), without removing the trailing \n from the line. pw_scan()
fills in the shell name into pw.pw_shell, including the trailing \n.

Subsequently, rpc.yppasswdd calls pw_copy(), which copies master.passwd
to ptmp, updating the entry for pw.pw_name. pw_copy() terminates the
updated entry with an additonal \n, so that there is now an empty line
in ptmp.

Finally, rpc.yppasswdd calls pw_mkdb(3), which exec's /usr/sbin/pwd_mkdb
to install ptmp to master.passwd (and to create the pwd.db and spwd.db
data bases). pwd_mkdb chokes on the empty ptmp line.

Fix: remove the trailing \n from the buffer fgets() returns. As a side
effect, this gets us some additional error checking.

Reviewed by <tron>.
2004-05-12 08:25:53 +00:00
christos 455c8493fb foliage from pack_dev change :-) 2004-05-11 17:11:03 +00:00
kleink 5f593fa3da Bump to 20040510: readlink(2) buffer handling fixes. 2004-05-10 20:39:37 +00:00
kleink 48c51a151e Ensure readlink(2) result termination within buffer bounds. 2004-05-10 19:59:59 +00:00
kleink 25d6af944a Undo a pointless instance of readlink(2) buffer termination. 2004-05-10 19:23:48 +00:00
elric a4f71a0494 np->h_net is not a pointer. 2004-05-09 15:54:59 +00:00
jlam 7b5bb00500 Bump date of manpage after addition of -Q flag to pkg_info(1). 2004-05-08 21:05:02 +00:00
grant 0f204e9fc9 fix typo. 2004-05-08 16:50:37 +00:00
jlam 04d5477295 Fix up definition of SHOW_BI_VAR, the prototype for show_var(), and the
usage string for pkg_info(1).  Also bump the version to 20040508.  From
pkg/25494 by FUKAUMI Naoki.
2004-05-07 21:38:57 +00:00
jlam 19baba8fb8 Add a new flag -Q (for "query") to pkg_info(1) to query the build
information for the definitions of specific variables that were saved
from build time, e.g.

	$ pkg_info -Q PKGPATH glib
	devel/glib
	$ pkg_info -Q PROVIDES glib
	/usr/pkg/lib/libglib.so.13
	/usr/pkg/lib/libgmodule.so.13
	/usr/pkg/lib/libgthread.so.13

Bump the version number of pkg_install(1) to 20040507.
2004-05-07 16:40:30 +00:00
martin 812e909997 Make "local-phone-dialout" optional.
This makes creating standard config files for peers that do not care about
the calling number easy and helps roaming users.
2004-05-06 21:13:28 +00:00
wiz fe669e0931 Add comma in enumeration; use Aq instead of \*[Lt]\*[Gt]. 2004-05-03 14:23:12 +00:00
kochi 78ac4f02fc Describe AC adapter events. 2004-05-03 07:54:59 +00:00
kochi 00996ca57b Add AC adapter event type. 2004-05-03 07:45:37 +00:00
tv f3215814d5 20040428: In pkg_add, set the umask nice and early, and remove an absolute
setting of mode in a mkdir command.
2004-04-28 15:37:29 +00:00
dsl 1074bd3a3f Allow for ROOTINO when deciding whether their are enough inodes in the
created filesystem.  Otherwise this fails when asked for 63 inodes for
i386 ramdisk-big.
This code really needs to use the current version of newfs/mkfs.c where
the actual inode count can be passed in (instead of the density).
Fixes a build problem when I add /mountroot to mtree.common for sysinst.
2004-04-26 21:06:55 +00:00
kochi ffaf7e29a6 add references to ACPI man pages. 2004-04-25 03:13:00 +00:00
kleink 9ef6a94e02 Update for new pci_devinfo(3) signature. 2004-04-24 13:41:51 +00:00
christos 70229c52ba constify printcapdb 2004-04-24 02:59:19 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
itojun 2a4c071a4f do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
tv 5b799f00cc Hi there. I'm a stack-allocated array. I'm filled with garbage until
someone puts something useful in me, like zero bytes.

(Read:  Fix uninitialized array member access in pkg_add.  Bump to 20040421.)
2004-04-21 20:10:10 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
itojun 1e803d1e8b missing period at the end of sentence 2004-04-19 18:43:26 +00:00
itojun 26cf1d701e do not compile in print-isakmp.c, as src/dist/tcpdump contains ancient version
which could be vulnerable to attacks.
2004-04-12 04:01:27 +00:00
itojun b4a3a9e6c1 properly validate phase 1 signature.
http://www.vuxml.org/freebsd/d8769838-8814-11d8-90d1-0020ed76ef5a.html
2004-04-12 03:34:05 +00:00
wiz 0f952b0c54 Bump date for previous. 2004-04-11 13:31:17 +00:00
rh 56d86cdd8c Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented.  Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
2004-04-11 06:13:46 +00:00
darrenr 221fa57241 With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.)  In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
abs 0be46fce4e Fix file descriptor leak in read_buildinfo() which caused one leaked
descriptor per package inspected. 'pkg_add *' in a large directory now
works.  Update PKGTOOLS_VERSION to "20040410"
2004-04-10 09:10:17 +00:00
he 1a3822fca0 Wait for libpfkey to build before descending into racoon, as the
latter depends on the existence of the result of the former.
Fixes parallel build problem.
2004-04-09 22:23:14 +00:00
tv 84c1ac8b80 Datestamp as 20040409 to mark umask change. 2004-04-09 18:36:08 +00:00
tv 94b8c2cf60 Re-add umask() setting, and parameterize it so that pkgsrc/bootstrap based
pkgsrc platforms can override the value.
2004-04-09 18:27:48 +00:00
agc 1915cbb83e Fix signature verification after pkg_add and friends were changed to use
fexec() - trying to exec "gpg --verify %s" won't work with fexec, so split
up the command into separate words.
2004-04-06 05:56:07 +00:00
wiz 136d7943d4 When adding an IPv4 host, one can not leave the IPv4-address field if
one has entered invalid data (like an incomplete IP).
Their was no feedback about this, though.
Apply a patch from Peter Postma that gives feedback in this case.
Closes problem noted when re-testing PR 16937.
2004-04-05 10:25:12 +00:00
mrg 625248bde9 install ippool(5) manual as well. from peter postma in PR#25053. 2004-04-04 15:59:44 +00:00
he bf8f08004d Move kvm library spec to Makefile.inc, so that it gets specified
after the ipf library, since the ipf library depends on some functions
from the kvm library.

Fixes a build problem observed when building for sun2 (though I
won't claim understanding why this doesn't show up elsewhere).
2004-04-03 22:16:27 +00:00
lukem 3a06421e87 After populating the file system, update superblock->fs_old_cstotal from
superblock->fs_cstotal.  Fixes inconsistencies found by FreeBSD's fsck.
Problem noted by Luigi Rizzo <luigi@FreeBSD.org> via Colin Percival.
2004-04-02 11:27:56 +00:00
mrg 36fa2ebfb9 note that hosts_allow does not affect internal services 2004-04-02 10:13:57 +00:00
jmmv cdf47afe60 Remove duplicate include, fixes PR bin/25017 from Jeff Ito. 2004-04-02 09:58:33 +00:00
reed ef78b0e16e Some package names are extra long, like xscreensaver-gnome-4.13
and gdk-pixbuf-gnome-0.22.0nb1, so make sure that lines don't wrap.
Instead of having maxline based on MAXNAMESIZE, have it be based
on the length of the package name if longer than MAXNAMESIZE.
(This was discussed on tech-pkg list in November, 2003.)
2004-04-01 02:37:24 +00:00
tron 98f96f8aa4 Add missing "m" option in SYNOPSIS.
Remove duplicate "d" in getopt(3) call.
The patches were provided by Jeff Ito in PR bin/24971.
2004-03-31 12:00:57 +00:00
jmmv 7ac0ae8c23 Fix two typos, reported as part of PR bin/22581. 2004-03-31 11:15:36 +00:00
lukem 6c3d359a9b Simplify `bar.c: bar.y' (et al) rules by moving header dependencies which
bar.o (not bar.c) needs to DPSRCS, and using {.ALLSRC} in the target now
that only bar.y is a source.
2004-03-31 00:34:32 +00:00
tv fd77b8c8a1 20040330: changes for Interix; in particular, pkg_add(8) no longer sets
umask explicitly.
2004-03-30 15:16:17 +00:00
jmc e971cb7b6d Add -I. to CPPFLAGS or else the generated .c files lose 2004-03-29 23:28:11 +00:00
tv 45669ab694 Changes to make these work on Interix: remove nonroot warnings if on
Interix, and remove absolute setting of umask in pkg_add.
2004-03-29 21:41:39 +00:00
lukem f02de56de4 use iplang_l.l instead of iplang_l.c in SRCS, and tweak appropriately 2004-03-29 05:06:44 +00:00
lukem bfd4f974d0 de-lint makefiles:
* fix -j N parallel build issues
* support MAKEVERBOSE
* move NOxxx= to before <bsd.own.mk>
* remove unnecessary -ll (except for ipsend)
* remove unnecessary CPPFLAGS
* only build libipf.a (we don't need libipf_p.a or libipf_pic.a)
* fix dependencies upon libipf.a

(more could be done, but that requires fixing dist/ipf/*)
2004-03-29 04:39:59 +00:00
jmc c1a4072ecf Don't call 'yacc'...Call ${YACC} 2004-03-29 02:30:08 +00:00
pooka 3c143ba9cd * Make isdnd unlearn that an isdn interface has two B channels, so that it
is possible to support 30-channel primary rate adapters.
  Mostly from jml@cubical.fi via FreeBSD.
* Follow kernel naming trend: bri => isdnif
2004-03-28 20:49:22 +00:00
mrg 9d85438b05 give explicit dependancies where needed.. 2004-03-28 09:35:26 +00:00
martti 93c07ca49d Remove generated iplang_l.c 2004-03-28 09:21:10 +00:00
martti 84f2cae1d0 Added missing deps 2004-03-28 09:17:33 +00:00
martti 09d643ce42 Added ippool and libipf 2004-03-28 09:03:38 +00:00
martti 621e9bac7f Sync with official IPFilter 2004-03-28 09:01:26 +00:00
dsl c89c679638 fffv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:11:47 +00:00
dsl 893680a09a ffsv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:08:50 +00:00
dsl 709ea0150b Rework previous to avoid checking FS_FLAGS_UPDATED for ffsv2 2004-03-27 11:31:22 +00:00
mrg 1505f78b5b - move the row printing code into it's own function.
- pay attention to interval processing with row printing (-r -iN).

the latter fixes PR#24522.
2004-03-25 01:26:57 +00:00
garbled 59b0a9509c Move the "Form Page:" status over slightly. Suggested by Peter Postma 2004-03-24 22:03:17 +00:00
garbled 0c0dadc4d9 Apply patch from PR 24832 to allow line lengths longer than 80 chars in
sushi forms.  By Peter Postma.
2004-03-24 19:14:07 +00:00
garbled 732560ccbd Add patches from Peter Postma in PR 24755 to cleanup output in sushi:
* hide the cursor everywhere except in forms (looks nicer)
        * fix repaint with lists (from TODO)
        * fix the form page (removes XXX)
        * force a pos_form_cursor() after every keypress in the forms
          to ensure that the selected field got the focus.
        * tweak the status message a bit.
2004-03-24 19:10:58 +00:00
wiz 4db64d9590 Bump date for previous, and use Em for
emphasis instead of Sy for symbolic for marking up a warning.
2004-03-24 11:26:16 +00:00
fair 91a52bbfc3 Document that TCP wrappers do not work on UDP services, per PR 18960 2004-03-24 04:31:34 +00:00
jdc 4c3bfcd943 Change the "exact match" parameter of set_field_type() to TRUE, to match
the change to match_enum() in libform (src/lib/libform/type_enum.c:r1.8).
From Brett Lymn.
Fixes PR bin/24604.
2004-03-22 19:03:19 +00:00
wiz eca6d46226 Check pkgdb_open for correct return value.
From Peter Postma in PR 24863.
2004-03-22 11:42:51 +00:00
dsl a78ca7231d When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 22:07:22 +00:00
dsl 43d718b987 When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 21:18:40 +00:00
martin 3259bd6456 Bail out with a proper error message when mandatory configuration entries
are missing. While there improve error messages slightly.
Inspired by PR kern/24807.
2004-03-21 16:31:22 +00:00
dsl 42e3b20f75 Fix PR kern/24809 properly... 2004-03-21 12:37:48 +00:00
mrg 057c3b737e in -r mode, if given "-s sensor_list", only list the given sensors instead
of always listing them all
2004-03-21 10:52:26 +00:00
wiz 08abac00be New sentence, new line; use Ev for environment variable;
use "its" where correct; use standard section headers; add missing .Os.
2004-03-20 18:54:33 +00:00
dsl 9d06a8cddd When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
2004-03-20 14:09:44 +00:00
jdolecek ac4f86b471 log also the time when the job finishes (with CMD FINISH tag), and change
the tag for job start log to ``CMD START''

adresses PR bin/22201 by John Hawkinson
2004-03-20 10:42:00 +00:00
jdolecek 098027866f when encoding the command for printing in logs, use strvisx() instead
of homegrown code, and skip leading white space
2004-03-20 10:38:34 +00:00
jdolecek 580f716bfc document -x - adresses PR bin/22201 by John Hawkinson
reference rc.d framework instead of rc/rc.local
sprinkle couple more .Pa's
2004-03-20 10:04:13 +00:00
jdolecek 251e6a062a convert to mandoc, bump date 2004-03-20 09:18:03 +00:00
jmc 6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00