Commit Graph

6720 Commits

Author SHA1 Message Date
hubertf 207fff285e pkg_info will not DTRT when applied to a binary package that doesn't
have all the files from ALL_FNAMES -- meta pkgs don't have +MTREE-files,
and as such it's impossible to retrieve _any_ information on them.
The fix is to only extract those +-files that are needed (as determined
by the command line options).

Problem noted by gavan@, code reviewed by grant@ and gavan@.
2004-08-07 01:55:06 +00:00
junyoung d4277bb7d5 Add -fno-strict-aliasing to CFLAGS to avoid gcc warning
"dereferencing type-punned pointer will break strict-aliasing rules"
which occurs when compiling crypto_openssl.c with -O[23s].
This should be gone once a new release of kame with a fix applied
is imported.
2004-08-05 17:13:54 +00:00
agc ef020cc402 Re-work the code which checks the recorded build versions of a binary
package to make pkg_add work properly when no +BUILD_INFO file exists.

Modify the return value from read_buildinfo() to return 1 for success
and 0 for failure.

Use symbolic constants, rather than integers.

If we can't read the build information, always tell of this fact.

Bump version to 20040730

Addresses PR 26429; a different version of these mods were verified to
allow a +BUILD_INFO-less binary package to be added by Martin Husemann.
2004-07-30 11:35:46 +00:00
dbj 2446aaf129 include <sys/statvfs.h> if HAVE_STRUCT_STATVFS_F_IOSIZE
addresses part of PR toolchain/26415
2004-07-24 16:30:50 +00:00
martti 7ff15b917f Upgraded IPFilter to 4.1.3 2004-07-23 05:39:03 +00:00
lukem 9cc32040b1 Implement -M to "merge" entries, even with different types.
This can be used in /etc/security to allow special.local to override
types of entries in special (e.g, replacing a dir with a link).

Rename Wflag to mtree_Wflag, to be more "external namespace" friendly.
2004-07-22 16:51:45 +00:00
atatat d2dd73eec2 More better description of current state of sendmail stuff in more
places.  This is intended to make some people a tad happier.
2004-07-22 03:44:12 +00:00
mycroft b96803cc00 Revert part of rev 1.31. It is *not* necessary to leave the executable
unstripped to load modules.  The symbol table that we strip isn't even loaded
or used by the dynamic linker.
2004-07-21 07:00:27 +00:00
wiz d776e96213 New sentence, new line; drop trailing whitespace; sort sections; use
\*[Lt]\*[Gt] instead of <>; use Dq foo instead of ``foo''; use
standard section headers; fix history: until pulled up, this appeared
in 3.0, not 2.0.
2004-07-16 14:53:13 +00:00
dyoung e0ca220c2c Add wlanctl(8), a utility for examining 802.11 node tables. 2004-07-16 03:13:48 +00:00
mycroft 20e25f9518 Fix portability problems, per PR 5783. 2004-07-06 13:05:25 +00:00
uch bfd65ea205 add hpcsh 2004-07-04 15:55:35 +00:00
drochner f375ea19c6 -before adding a "partition", check for an ISO9660 filesystem,
and print out volume label and creation time
-if the drive cannot be open()ed read-write, try read-only and
 print the information
2004-07-04 14:11:44 +00:00
uch 0afeae9aa7 add hpcsh 2004-07-03 12:55:47 +00:00
agc b186672660 Now that we have SHA1 passwords, modify useradd(8) so that it will accept
an encrypted SHA1 password on the command line.
2004-07-02 12:01:00 +00:00
itojun e090b691c1 pflog if support for tcpdump. Peter Postma 2004-06-29 04:46:35 +00:00
heas ca470f56bb Carriage return missing in error message. 2004-06-27 02:59:46 +00:00
he 30a10ee7dd Since spamdb and it's man page is in the set lists, we ought to
descend into the subdirectory to build and install it as well.
2004-06-26 13:14:27 +00:00
dsl 4114f04963 Put altq back - which Itojun deleted for us in the same revision. 2004-06-25 18:57:37 +00:00
itojun 344e6a89ca spamdb(8) and spamd.conf(5). noted by Thomas Klausner 2004-06-25 16:25:00 +00:00
wiz 9eb2f51613 Document amd64; from Nicolas Joly in PR 26026. 2004-06-25 15:08:45 +00:00
wiz e6d8e1c083 -a cannot be specified with an interface; remove it from that part
of the usage. Closes PR 25917 by Kouichirou Hiratsuka.
2004-06-25 14:52:36 +00:00
itojun e3e62063f0 authpf from OpenBSD 3.5 PF 2004-06-25 00:06:09 +00:00
lukem be48f412fd Define FFS_MAXBSIZE to 65536 and use instead of MAXBSIZE.
Deprecate unused MAXINOPB.
Should fix PR [toolchain/25603].
2004-06-24 22:30:13 +00:00
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
itojun 166adfa9e5 sync w/ 20040617. 2004-06-17 03:42:55 +00:00
dbj 7223a7a4c2 when printing alternate superblocks, cast result of
fsbtodb() to (off_t) before multiplying by dev_bsize.
2004-06-14 07:22:04 +00:00
wiz d1625473fe though -> through. 2004-06-08 03:28:42 +00:00
snj 54ad3f67bb Spelling fixes, English tweaks, avoid using < and > directly. 2004-06-07 21:25:51 +00:00
fredb 6ff51429b0 Make this a shell script (invoking awk), rather than an awk script, to
make the option parsing work as expected. Patch submitted by Geoff Wing
in PR pkg/25553, which this closes.
2004-06-07 18:48:29 +00:00
itojun 62f70e2fb5 suppress -Wunused 2004-06-05 05:07:02 +00:00
thorpej ee3cac8241 Tweak the grammar so that conditional makeoptions work in files.* files
as intended.

Problem noted by itojun on tech-kern.
2004-06-05 03:21:53 +00:00
thorpej ea6a34247c vmunix -> netbsd 2004-06-04 23:44:35 +00:00
thorpej 7729811d27 One final place for strtolower() treatment. 2004-06-04 23:41:14 +00:00
thorpej 05c577b03f Use strtolower() in a couple more places. 2004-06-04 23:36:50 +00:00
thorpej 2d9180a3cc Add "conditional appending makeoptions". Syntax is:
makeoptions selector FOO+=bar

"selector" may be anything used as a key in the selecttab, i.e. an option,
a "device" name, an "attach" name, a file system, etc.

Semantics: FOO+=bar when the selector is set.  For example, if you have:

makeoptions pickle CPPFLAGS+=-I${S}/picklesrc

then "options PICKLE" will cause "CPPFLAGS+=-I${S}/picklesrc" to be
added to the Makefile.

Suggested by Matt Thomas.
2004-06-04 07:28:26 +00:00
thorpej b8ef2fe993 Add support for "appending makeoptions". The syntax in the config file is:
makeoptions FOO+=bar

Multiple appending makeoptions are allowed.  These are then emitted at
the %MAKEOPTIONSAPPEND token in the Makefile template.

Syntax suggested by Matt Thomas.
2004-06-04 04:38:27 +00:00
matt 84db866b89 Make the token be alphabetical (mostly) and each starting letter has
its own line(s).
2004-06-03 18:37:59 +00:00
wiz 996e601d13 One r in the option string is enough; from Jeff Ito. 2004-06-03 16:48:53 +00:00
uebayasi 5e494b866c Flags need Fl, not Ar. 2004-06-03 15:54:09 +00:00
wiz 50c34bcf41 Remove unhandled option letter c from option string, noted by Jeff Ito. 2004-06-03 15:47:04 +00:00
heas 4e29cf9d07 Reference rndc(8) instead of bind8's ndc(8).
ISC-Bugs #11509
2004-06-03 15:05:45 +00:00
wiz 856533536c Sync usage with man page.
From Kouichirou Hiratsuka in PR 25798.
2004-06-03 14:51:32 +00:00
uebayasi 14e27a0be3 Change "for ... `find ...`" to "find ... | while read ..." loop so that
save invocations of sed(1).

Reviewed By:	seb
2004-06-03 13:13:42 +00:00
uebayasi 165341b35c Delete superfluous `;'. 2004-06-03 12:50:37 +00:00
minskim 7f2ed1973b Bump to 20040601.
- Handle symlinks in a view correctly.
  - Remove superfluous escapes in BRE.
2004-06-01 16:17:22 +00:00
minskim 2972ec435c If symlink integrity check fails, try the target of the symlink. This
is needed when linkfarm creates a symlink to a symlink in the depot.
OK'ed by silence on tech-pkg@.
2004-06-01 16:15:31 +00:00
minskim e7f62cf2e3 Remove superfluous escapes in BRE. OK'ed by uebayasi@. 2004-06-01 16:08:10 +00:00
lukem 5e4b83e60b Use uint64_t instead of uint32_t to store a host inode when checking
for duplicate inodes, as Cygwin's stat(2) has a 64 bit st_ino.
Fix from Ian Lance Taylor in private email.
2004-05-31 22:24:51 +00:00
lukem bb07f837f4 minor typo 2004-05-31 22:21:12 +00:00