Commit Graph

7199 Commits

Author SHA1 Message Date
thorpej
5ecc953bdb config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin.  Move them
there.
2005-06-05 18:19:52 +00:00
wiz
51a21e357b Add hp700 to supported list. Bump date. 2005-06-03 20:22:45 +00:00
lukem
616bb5ee8e appease gcc -Wuninitialized 2005-06-02 11:29:01 +00:00
lukem
274427706d Rewrite method used to determine the ethernet address of the desired
interface to not use uninitalized variables.
Bug crept in in conversion to getifaddrs().
Detected with gcc -Wuninitalized.
2005-06-02 11:27:44 +00:00
lukem
311c22130d appease gcc -Wuninitialized 2005-06-02 09:47:37 +00:00
lukem
1fab072e48 appease gcc -Wuninitialized 2005-06-02 09:42:57 +00:00
lukem
14e2784ec2 Remove an effectively unused variable.
Appease gcc -Wuninitialized.
2005-06-02 09:41:12 +00:00
lukem
0fc9160967 appease gcc -Wuninitialized 2005-06-02 09:32:57 +00:00
lukem
677504d9ca Test the correct pointer 'rfl' rather than an uninitialized 'fl' when
determining whether the lock was a LOCK_V4 or not.
Detected with gcc -Wuninitialized.
2005-06-02 09:30:27 +00:00
lukem
f604dfed13 WARNS=3 2005-06-02 09:21:01 +00:00
lukem
2a7d51e439 appease gcc -Wuninitialized and WARNS=3 in one swoop. 2005-06-02 09:20:37 +00:00
lukem
90b888928b appease gcc -Wuninitialized 2005-06-02 09:18:14 +00:00
lukem
68b1911850 appease gcc -Wuninitialized 2005-06-02 06:54:02 +00:00
lukem
c8e07a4ef7 appease gcc -Wuninitialized 2005-06-02 05:58:24 +00:00
lukem
9b668c37e7 Ensure s is initialized before testing (none of the sockets may be ready
so it might not be setup).
Detected with gcc -Wuninitialized.
2005-06-02 05:57:03 +00:00
lukem
bbd17ef8af Don't attempt to use an uninitialized variable in a debug message.
Detected with gcc -Wuninitialized.
2005-06-02 05:54:44 +00:00
lukem
b38b7ffb5c Don't try to use an uninitialized variable.
Detected with gcc -Wuninitialized.
2005-06-02 05:12:41 +00:00
lukem
1363df60c1 Don't try to use an uninitialized variable.
Detected with gcc -Wuninitialized.
2005-06-02 05:10:22 +00:00
yamt
261b58bea9 allow QSTRING for make variable names for eg. "COPTS.somefile.c". 2005-06-01 12:32:57 +00:00
christos
4ac0cb602f add genassym 2005-06-01 03:22:56 +00:00
wiz
7a9582b62a Spread some more unsigned for less casts. 2005-05-31 22:29:41 +00:00
wiz
0ba4110751 Move unsigned to where it belongs, to remove a cast. 2005-05-31 21:03:58 +00:00
christos
99f2d4f70b Move genassym.sh.8 from src/share/man/man8 to here. 2005-05-31 11:35:54 +00:00
christos
857e3fb66b Add non-tool version of genassym. 2005-05-31 03:48:43 +00:00
wiz
8529448f16 Comment out too noisy warning. 2005-05-30 19:44:03 +00:00
wiz
1723911d3c Add ranges support to the pkg_* tools. See mail on tech-pkg or
pkg_info(1) for details.
Co-production with dillo@.
Bump PACKAGE_TOOLS_VERSION to 20050530.
2005-05-30 13:10:14 +00:00
christos
68a1fbb811 catch up with kernel's constification. 2005-05-30 07:24:31 +00:00
minskim
773938ed0f If a pattern does not have any suffix, assume that it matches both
".tbz" and ".tgz".  This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.

Bump version to 20050529.
2005-05-29 19:16:18 +00:00
kleink
bcbb5c6578 Include <sys/time.h> for struct timeval. 2005-05-20 18:01:46 +00:00
chs
2438f5c3ad add hp700 support. 2005-05-14 14:46:21 +00:00
rillig
360e66cfd6 Output the error string when renaming a dependency file fails. This has
happened to me when I had a misnamed directory in the pkgdb directory.
2005-05-10 00:06:57 +00:00
augustss
56cfb488eb Print serial number if there is one. 2005-05-08 08:12:45 +00:00
wiz
72bce79312 Update reference from Packages.txt to doc/pkgsrc.txt. 2005-05-07 22:43:21 +00:00
wiz
968dbe95c1 Instead of exec(2)ing rmdir(1), just use rmdir(2).
Reviewed by dillo.
2005-05-07 15:09:41 +00:00
wiz
0ae4504a04 Fix Dq argument, which somehow ended up on the next line. 2005-05-06 23:02:39 +00:00
wiz
756bc811ee Document the vulnerable subdir.
Reviewed by dillo and rillig.
Some minor fixes while I am here. Bump date.
2005-05-06 22:45:56 +00:00
lukem
c0b68cb4cf Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.
2005-05-01 07:26:29 +00:00
yamt
351efcca0f when checking timestamp, check tv_nsec as well. 2005-04-28 08:44:49 +00:00
perseant
127b043e58 Allow exports of LFS filesystems. 2005-04-27 20:32:41 +00:00
lukem
ea2bd1f523 If /etc/ssh/sshd_config contains the following deprecated options,
comment them out:
	rhostsauthentication
	verifyreversemapping
	reversemappingcheck
2005-04-26 01:07:35 +00:00
christos
f6a8412c23 Disable MAP_NIS and MAP_HESIOD. Set by a command line switch. 2005-04-23 18:53:52 +00:00
christos
beb4d24e39 Adjust to new am-utils. 2005-04-23 18:41:43 +00:00
tron
92570d0dfc Remove copy of manual page created during build. 2005-04-19 08:42:54 +00:00
christos
b971501348 make master() return void. 2005-04-19 03:40:00 +00:00
hubertf
a958e20048 For -L, mention that files that were dynamicallt created upon installation
(@exec, ...) are not listed.

Based on patch by Peter Bex <Peter.Bex@student.kun.nl>
2005-04-18 12:28:46 +00:00
lukem
8232ca0162 Tweaks for the move of postinstall from /etc to /usr/sbin 2005-04-17 23:12:40 +00:00
hannken
6cb4c22637 Support user controllable flags for the snapshot driver:
- Add FSSIOFSET and FSSIOFGET ioctl() to set/get the flags.
- Add FSS_UNCONFIG_ON_CLOSE flag to unconfigure the snapshot device
  on the last close.

Reviewed by: Jason R. Thorpe <thorpej@netbsd.org>
2005-04-17 16:28:26 +00:00
lukem
5cae62926d do_postinstall() is now unnecessary; remove it.
If extracting -s etc.tgz to a temporary directory, don't run the
embedded etc/postinstall since it doesn't exist anymore.

Remember the original SRC_DIR passed in (e.g, "-s etc.tgz") and
display that in the suggested "fix" message, rather than a temporary
path to the extracted etc.tgz which won't be correct for the next run.
2005-04-17 15:38:34 +00:00
lukem
9358e88bbf Update for move to /usr/sbin.
Add a HISTORY.
2005-04-17 15:27:23 +00:00
lukem
5c5750a595 Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).
2005-04-17 15:15:48 +00:00
tron
20442260d4 Remove copy of manual page created during build. 2005-04-13 17:51:12 +00:00
jwise
58015a4d36 Finally, spamlogd -> pfspamlogd, for consistency. 2005-04-12 14:44:10 +00:00
jwise
f876c1012e spamd.conf is now pfspamd.conf. 2005-04-12 14:39:39 +00:00
jwise
200b4f7e06 Now that we can override the name of /etc/spamd.conf, make it /etc/pfspamd.conf. 2005-04-12 14:36:15 +00:00
jwise
88573cf3f3 Pass in path to /etc/spamd.conf in CPPFLAGS. 2005-04-12 14:34:57 +00:00
jwise
a8293ab76d Now that we can specify the chroot location, make it /var/chroot/pfspamd. 2005-04-12 14:23:26 +00:00
jwise
aac5bfbda9 Pass in a value for SPAMD_CHROOT in CPPFLAGS, to specify the path to the
chroot dir spamd will use.
2005-04-12 14:21:20 +00:00
jwise
d32dabfd88 Per discussion on tech-userlevel and tech-security, install `spamd',
`spamd-setup', and `spamdb' as `pfspamd', `pfspamd-setup', and `pfspamdb'.

To quote Steven M. Bellovin:

  This [having a program in basesrc with the same name as a widely used and
  completely different program in pkgsrc] is a seriously bad idea; it
  violates the rule of least surprise.  That's bad enough in normal
  situations; here, we're talking about security.  You do *not* want to
  confuse people about security features; they're hard enough to get right
  as is.
2005-04-11 22:34:18 +00:00
christos
2f3bdfce80 Don't ignore SIGCHLD, because we are not going to get kqueue notifications
about it if we do.
2005-04-09 20:14:55 +00:00
dsl
6b5922eb36 WARNS=3 seems to work for me 2005-04-09 13:13:32 +00:00
atatat
e45456b0af Remove the date from the generated resolv.conf file, since changes to
this file are tracked by /etc/security, making it (the backup) get
needlessly updated when you go to and from work every day.
2005-04-09 02:14:52 +00:00
atatat
26201c11b4 If the passwd entry is not found for a lastlog entry, cons up a fake
struct passwd where pw_name is the numeric uid in parentheses.

If -n is specified more than once, also print the user numerically
(ie, uid instead of username).
2005-04-09 02:13:20 +00:00
tron
9f15a6aa01 Fix bad format string which broke the build on LP64 platforms. 2005-04-07 20:22:40 +00:00
agc
8313edf555 Do some Common Subexpression Elimination when testing for valid characters
in login and group names.
2005-04-05 22:54:26 +00:00
peter
943430a954 Allow '_', '.' and '-' in group names, like in login names.
Fixes problem with groupadd(8) for _pflogd; pointed out by Jukka Salmi.

Approved by christos.
2005-04-05 22:03:57 +00:00
dmcmahill
ad90bf7a93 Fix a minor bug in the estimation of required disk space. In particular
make sure we use a data type which is big enough.  This fixes a problem
where pkg_add-ing of a binary package which is between 512 Mb and 1 Gb
failes because the estimated required disk space is negative due to over
flowing in the calculation
2005-04-05 16:37:50 +00:00
peter
6e4d82adbb Enable pflogd(8). 2005-04-04 19:11:18 +00:00
christos
b97cb66e62 - KNF
- Fix mmap call arguments and return value.
- Sprinkle const
2005-04-03 17:27:15 +00:00
christos
3348f64feb - KNF
- Sprinkle const
- Fix mmap call [MAP_PRIVATE], return [MAP_FAILED]
- Don't clobber errno.
- Use getprogname/setprogname
2005-04-03 17:21:29 +00:00
christos
71abc767dd Use SA_NOCLDWAIT instead of catching the signal and waiting. Avoids signal
races the easy way.
2005-03-30 15:19:10 +00:00
thorpej
630187918a No need to emit vfs_list_initial[] any more. 2005-03-29 02:42:09 +00:00
martin
58a5eedc83 If SMALLPROG is set, do not build in PAM support. While there, depend
USE_INET6 on SMALLPROG/SMALLPROG_INET6 like ftp does it.
This fixes the build of install media (pc532 and sparc64) that include
ppp support.
2005-03-22 22:20:27 +00:00
hubertf
ca150f1c8a Document where to get firmware binaries (pkgsrc!) 2005-03-21 20:53:07 +00:00
hubertf
be04a114e9 Bump PKGTOOLS_VERSION to today's date to allow telling in which version
PR 24744 was fixed (affects lib/ftpio.c).
2005-03-18 00:12:35 +00:00
hubertf
fdbe9a372b Address PR pkg/24744 by Jarmo Jaakkola <jarmo.jaakkola@iki.fi>:
* ftp.fi.netbsd.org returns "257" in return to a "cd" command, accept that
   (in addition to 250 and 550). Seems to be allowed per RFC 959.
 * Make buffer for reply bigger (not too big, as it may hit performance).
2005-03-18 00:01:11 +00:00
itojun
522016be88 plug memory leak. Patrick Latifi 2005-03-16 05:05:06 +00:00
xtraeme
cf66608ca4 Kill __P(), use ANSI function declarations; WARNS=3 2005-03-16 02:56:18 +00:00
xtraeme
baf27f3e61 Kill __P(), final round. 2005-03-16 02:55:10 +00:00
xtraeme
7e70b71d91 Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 02:53:55 +00:00
xtraeme
c6e5881985 Kill __P(), use ANSI function declarations; WARNS=3 2005-03-16 02:08:52 +00:00
xtraeme
4d3d91045c Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 02:04:51 +00:00
xtraeme
1107a12cd0 Kill __P(); WARNS=3 2005-03-16 01:44:46 +00:00
xtraeme
05b0c4c257 Kill __P(), use ANSI function declarations; WARNS=3 2005-03-16 01:43:06 +00:00
xtraeme
3ad824f936 Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 01:41:20 +00:00
xtraeme
f7c9c96acb Use ANSI function declarations, constify; WARNS=3 2005-03-16 01:34:11 +00:00
peter
9843641178 Change BINDIR to /sbin and support MKDYNAMICROOT. 2005-03-15 17:45:11 +00:00
peter
f08689a2d1 Add build glue for pflogd(8). 2005-03-15 16:32:47 +00:00
peter
3041afaec2 Add a small replacement for strtonum(). 2005-03-15 16:28:29 +00:00
peter
0a9aa9779a Install pf(4) examples. Reviewed by yamt@.
Thanks to hubertf@ for the reminder.
2005-03-15 16:05:03 +00:00
briggs
6089355b00 If -d (debug mode) is specified on the command line, include
LOG_PERROR in openlog() to send log output to stderr as well.
Suggested by Darrin Jewell.
2005-03-15 04:54:59 +00:00
rillig
b9387c8736 Never access argv[i+1] before you know that argv[i] != NULL. Approved
by wiz.
2005-03-11 22:52:04 +00:00
kleink
3652d706d4 Don't declare errno locally. 2005-03-09 22:09:36 +00:00
christos
192c2eccf6 Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:22 +00:00
agc
db4720ccb4 Clarify the "OS mismatch" message:
+ state that it is simply a warning
+ make it clearer what the mismatch is
2005-03-06 23:40:41 +00:00
jdolecek
a24b12baa6 make sure there is space between the username and next field when
username is longer than 9 characters
2005-03-05 14:46:29 +00:00
he
8e8728c45c Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications.  The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.
2005-03-04 20:41:08 +00:00
christos
cf31b04130 PR/10957: Ed Ravin: Cron does not execute the last line in crontab if
the trailing newline is missing. Fix by changing crontab(1) to not
allow installation of crontab files with missing trailing newlines.
2005-03-04 16:46:28 +00:00
wiz
d2a070c12b Prefer mdoc formatting to roff. 2005-03-04 16:10:00 +00:00
christos
6a39b4f823 PR/28904: Kimmo Suominen: Fix documentation deficiencies with respect to
lastlogx use.
2005-03-04 16:06:26 +00:00
wiz
773cef6c8c Explicitly mention where the canonical location
for these sources is, to avoid confusion when this file gets
copied somewhere else.
2005-03-01 13:19:51 +00:00
thorpej
43fd7267b1 YP -> NIS 2005-02-26 16:37:40 +00:00
thorpej
5b0ca568cb YP -> NIS 2005-02-26 16:33:46 +00:00
wiz
206fd5016f Bump date for previous. 2005-02-26 16:32:21 +00:00
wiz
835e5cd5bb Sort SEE ALSO, bump date for previous. 2005-02-26 16:32:04 +00:00
thorpej
afca2fb3d4 YP -> NIS 2005-02-26 16:25:05 +00:00
wiz
c642006970 Bump date for previous. 2005-02-26 16:24:24 +00:00
thorpej
44a9a41c35 YP -> NIS 2005-02-26 16:22:47 +00:00
wiz
b14dfa00d2 Sort SEE ALSO. 2005-02-26 16:20:36 +00:00
wiz
8197fef037 Sort SEE ALSO (first section, then name); bump date for previous. 2005-02-26 16:20:07 +00:00
wiz
48e5d8d4fa Sort SEE ALSO (first section, then name); new sentence, new line; bump date for previous. 2005-02-26 16:19:08 +00:00
thorpej
a303186ec8 YP -> NIS 2005-02-26 16:15:09 +00:00
grant
16133f304b mdoc fixes: use Sq and Dq instead of ' " and '' 2005-02-26 14:09:57 +00:00
he
b404dc79be Move -lcrypto to the end of the library list, so that this links
without undefined entry points for non-shlib platforms such as sun2.
2005-02-26 11:31:48 +00:00
manu
be15b99c92 Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu
3eda198fd5 Install racoon administrative socket in /var/run instead of /var/racoon 2005-02-23 14:44:41 +00:00
peter
1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
christos
bc42aa47c9 Add PAM hooks. 2005-02-22 00:34:27 +00:00
cube
88aa34aadf Include <bsd.own.mk> to get NETBSDSRCDIR definition before we use it in
.PATH.  Reported by Geoff Wing.
2005-02-21 06:41:20 +00:00
grant
196c8f5e9b initialise a variable before using it. pkg_info binpkg.tgz would pass
garbage on the command line to tar(1).
2005-02-20 14:41:05 +00:00
cube
44a5931b78 Add the compile hook for passwordfd plugin. 2005-02-20 11:14:37 +00:00
cube
f0a7dc0094 Make this use the new pppd version.
A few notes:
	o pppd/sys-bsd.c, pppdump/pppdump.h are local file, they're kept
	  here.  It is the case for the status plugin, too.
	o tdb.[ch] is the TDB implementation we will use, from previous
	  pppd versions.
2005-02-20 11:12:42 +00:00
manu
32f1c835de Don't make racoonctl.8 here, it's already done in src/usr.sbin/racoonctl 2005-02-20 10:44:15 +00:00
grant
f079891560 cast return value of min_free() to uint64_t. 2005-02-20 09:04:18 +00:00
manu
f232e7a4c6 Add missing racoonctl(8), build with libradius 2005-02-20 01:17:41 +00:00
thorpej
33f19ef5cf Additional cleanup pass. 2005-02-19 17:05:02 +00:00
thorpej
354f2a1004 Switch to ipsec-tools for libipsec, setkey, and racoon. From
Emmanuel Dreyfus, with some small changes by me.
2005-02-19 16:55:02 +00:00
agc
2d2a9f331d Also display package name when having trouble displaying package
information with show_index().
2005-02-16 08:35:26 +00:00
agc
26747df972 Make show_file() take an extra argument, that of the package name, and
display the package name with every warning message when displaying the
contents of metadata files.

Whilst I'm here, correct the function name in another warning message.
2005-02-14 16:16:24 +00:00
yamt
0aad0f2269 copyright notice. 2005-02-13 22:29:37 +00:00
grant
37ca47b551 rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

	- when the pkg argument is path (absolute or relative) to a
	  binary pkg, pkg_info operates on it.
	- when no pkg argument is given, or the argument is not a
	  binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.
2005-02-10 22:52:31 +00:00
jmc
ee72647bf0 Re-order includes so bcopy->memcpy macro redef doesn't cause prototype errors
on older gcc compilers (like gcc2 that vax is using)
2005-02-07 06:50:42 +00:00
perry
d34cc2ba13 de-__P, ANSIfy function declarations, remove obsolete "register" declarations 2005-02-06 05:00:46 +00:00
perry
9cdb3caf29 remove obsolete register declarations. 2005-02-06 04:56:27 +00:00
perry
d777c795fa ANSIfy function declaration, remove register declarations, and some
minor KNFing.
2005-02-06 04:52:53 +00:00
perry
1ef7bd2aae de-__P, ANSIfy function declarations, remove an obsolete register declaration. 2005-02-06 04:48:58 +00:00
wiz
c81aaebd36 New sentence, new line. 2005-02-05 15:28:46 +00:00
wiz
e6ef4830c4 Be consistent in -r argument naming. 2005-02-05 15:26:50 +00:00
jmmv
bc6cd262e3 Add the -r flag to groupadd; it can be used to specify a gid range in which
new groups should be created.  This is similar to useradd's -r flag.

Closes my own PR bin/22791.  Patch by URA Hiroshi with some minor changes
by me.

No objections in tech-userlevel@ for multiple days.
2005-02-05 10:43:14 +00:00
wiz
cc7ac0e40f Use Aq instead of \*[Lt]\*[Gt]. 2005-02-04 15:01:41 +00:00
wiz
9e0eb6c274 Minor macro usage improvements. 2005-02-04 14:58:59 +00:00
drochner
cbb74e46c2 make this build with WARNS=2 2005-02-04 12:13:18 +00:00
jlam
a0ff816c39 Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and
PKG_REFCOUNT_DBDIR in the environment when running the +* scripts.
PKG_METADATA_DIR is the location of the +* files after the package is
registered.  PKG_REFCOUNT_DBDIR is the location of the reference counts
database directory.  If PKG_REFCOUNT_DBDIR is left unset, then it
defaults the the location of the package database directory with
".refcount" appended to the path, e.g. /var/db/pkg.refcount.

pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell
environment to ensure that all packages will use the same refcount
database.

These changes allow the +INSTALL and +DEINSTALL script to keep state
in +* files within ${PKG_METADATA_DIR}, and to store reference counts
in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of
${LOCALBASE}.

Bump the pkg_install version to 20050204.
2005-02-04 09:03:02 +00:00
wiz
1f875a68df Give Dd the full month name as argument. 2005-02-01 13:39:43 +00:00
hannken
372dee1a5d Note file system internal snapshots. 2005-01-31 22:08:55 +00:00
hubertf
aa98afa3a9 Update description so "man -k wireless" finds this useful too.
Hinted at by Kefren on #NetBSD (IRCnet).
2005-01-27 21:01:18 +00:00
wiz
e914608b88 Put dot at end of sentence instead of in the middle; sort option descriptions. 2005-01-27 18:43:51 +00:00
drochner
9f230230dc There is no point in passing "/netbsd" as namelist to kvm_open.
libkvm knows better.
2005-01-27 18:12:47 +00:00
cube
c8f95d9a61 Add 'd' to usage, sort options in usage, sort options in getopt() call. 2005-01-23 20:55:57 +00:00
peter
94124fb58c * fix strdup() with conditional nlines++
* no need to call strdup() in the return pointer of ftp_base
* simplify release version fixup and add support for -current

Reviewed by garbled.
2005-01-18 18:07:21 +00:00
wiz
c10c98a855 Add -n and -N to usage. 2005-01-17 15:20:35 +00:00
wiz
70ac99c9d7 Add -N to SYNOPSIS; bump date for new -N flag; sort options. 2005-01-17 15:20:09 +00:00
thorpej
f82a7cafe9 Don't exit if we can't read the exports file; we can still reload it
after a SIGHUP.
2005-01-14 16:16:28 +00:00
thorpej
a25a23d58b Add a -N option that causes all exports to have "-noresvport -noresvmnt"
added to them.
2005-01-14 16:12:46 +00:00
martin
112b49392d Avoid a NULL pointer dereference. From Karim Ayad in PR bin/28958. 2005-01-14 07:41:34 +00:00
peter
51cfa88873 Add a message to the catalog. 2005-01-12 17:53:45 +00:00
peter
273a7df369 Use bailout() to exit (restores the screen).
Close the message catalog in bailout.
2005-01-12 17:47:07 +00:00
peter
138a7b7812 s/select/poll/ 2005-01-12 17:41:56 +00:00
peter
cc5f6766b3 ANSIfy & KNF. No functional changes. 2005-01-12 17:38:40 +00:00
wiz
1c849ffcd5 New sentence, new line; add an article. 2005-01-12 14:50:36 +00:00
peter
c6a8ff8f46 Open the message catalog before calling parse_config, we might need it there.
parse_config: Check return values, simplify some code, realloc with correct
size, remove a redundant malloc, initialize searchpaths to NULL.
2005-01-12 00:05:20 +00:00
peter
643d5451e5 de-__P 2005-01-11 23:11:05 +00:00
peter
16da96235b Fix some typos. 2005-01-11 23:07:12 +00:00
peter
fba8313e60 If a description is too long in a form, then show which one it is. 2005-01-11 22:51:26 +00:00
skrll
70f6d0ab0f NetBSD RCSID 2005-01-11 18:49:05 +00:00
skrll
9c6591fd9c Descend into iwictl 2005-01-11 18:31:12 +00:00
skrll
a597ec910b iwictl(8) - configure Intel PRO/Wireless 2200AG/2915ABG (iwi(4)) network
adapter.

Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/
2005-01-11 18:28:37 +00:00
lukem
1e281ed227 Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
lukem
a390dfa659 Only #define WANT_IPV6 if ${USE_INET6} != "no".
(Otherwise #define ISC_PLATFORM_NEEDIN6ADDRANY.)
2005-01-10 03:03:28 +00:00
lukem
b3ead83e1c Only #define WANT_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:01:18 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
d2c46a1477 remove unnecessary comment 2005-01-10 02:45:35 +00:00
christos
de883a09a8 Abolish the magic 7, and count iovectors explicitly. 2005-01-09 00:07:27 +00:00
agc
3697624477 Always echo the command about to be executed to standard output, not
just when the verbose flag is specified - we are, after all, normally
executing these commands as root.

Bump version to 20050106
2005-01-06 11:59:35 +00:00
agc
524f4f2bcf Address PR 28826 from Tyler Retzlaff - when extracting files from a binary
package addition by ftp, preserve the modes of the entries in the binary
package.
2005-01-06 11:56:39 +00:00
martti
b8573ca389 Install ipmon.5 2005-01-05 10:00:29 +00:00
martin
a0b2159af7 On sparc64 u_quad_t (unsigned long) and %qd (long long int) are not
printf-format-compatible according to gcc. Add -Wno-error for printstate.c.
2005-01-03 20:49:06 +00:00
lukem
772de66405 Set -Wno-error on a per-source basis instead of the NOGCCERROR sledgehammer. 2005-01-01 13:56:21 +00:00
grant
52d13a428a when generating maps, use -n argument to stdhosts(1) so ipv6 addresses
are allowed.
2004-12-29 13:08:24 +00:00
agc
6e58e2a640 Introduce a new abstraction in the C code, called MaxPathSize. All
previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed
to use MaxPathSize instead.

If MAXPATHLEN is not defined, then assume a default value of 1024
(this is primarily for use on the Hurd).

The reason for this is that some older platforms define FILENAME_MAX
to be 14, although MAXPATHLEN is 1024. On BSD-derived systems,
FILENAME_MAX And MAXPATHLEN are both 1024.

Bump pkg_install version to 20041226.

These modifications have been tested so far on a NetBSD-current bulk
build.
2004-12-29 11:34:59 +00:00
christos
36e8d2b792 PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core
in crontab -l.
The problem is that the skip_header code has a side effect of trying to
write to the new temporary cron tab if we run out of comments. Since we
don't have an output file in -l, we core-dump trying to fputc to NULL.
Simplify the logic so that we don't write in the skip_header function,
and we always return the first character after the comment lines to the
caller, skipping the '\n'.
2004-12-22 00:49:14 +00:00
christos
03cbcf1149 check error return from malloc and bail. 2004-12-21 16:20:09 +00:00
christos
ce14df22e4 Get rid of the data resource limit, since we are going to be using a lot
of memory.
2004-12-21 16:19:50 +00:00
christos
ff8b4faf02 Use strdup() instead of home-grown version and exit on error. 2004-12-21 16:19:09 +00:00
jmc
2406596e11 Refactor the filesystem specific portions out of makefs.c/makefs.h completely.
Instead of extending fsinfo_t it now holds a void * to file system specific
data. This is then setup/cleaned up by the additional of 2 additional
callbacks. Makes adding new filesystems simpler as almost no code has
to be updated in the generic makefs code now.
2004-12-20 20:51:42 +00:00
christos
b30695cd1d Use the array of dtype names instead of hand-rolling our own. 2004-12-18 08:43:35 +00:00
agc
bdb22860c3 Attempt to improve the English in one sentence. 2004-12-15 17:20:25 +00:00
wiz
513f71684b Use more markup. 2004-12-15 17:17:51 +00:00
wiz
2183efae3e Bump date for double -u. Update paths to use 2.0 as release name
instead of 1.5. New sentence, new line. Fix a typo.
2004-12-15 17:12:09 +00:00
christos
31c88148c1 PR/23971: Greg A. Woods: Fix quotacheck infinite loop with uid == UINT32_MAX.
While I am there, pass WARNS=3
2004-12-12 05:57:03 +00:00
erh
6c1b54e56a Sync with pkgsrc to get double -u feature. Bump version to 20041209.
Add note in README explaining that changes should be made here first,
then merged to pkgsrc.
2004-12-10 21:49:31 +00:00
snj
edb93b858a Bump date for last, new sentence, new line, and kill an extra space. 2004-12-09 06:57:19 +00:00
matt
d337725eb3 When dumping the file entry, print the usecount and iflags too. 2004-12-09 01:14:59 +00:00
matt
c7914c97fe Make syslogd automatically recover from full disks by noticing that the
write error was ENOSPC and either wait for a successfull write or a
different errno.
2004-12-09 00:56:47 +00:00
christos
37d722af2b Now that ppp is a cloning interface, detect if we have support for it in
the kernel by examining if it is in the list of cloning devices.
2004-12-05 04:16:22 +00:00
lukem
24e1167471 In replacenode(), don't strunvis() a NULL pointer. (Fixes bug in previous.) 2004-12-01 23:27:36 +00:00
christos
ce1320fc34 use cloning bpf. 2004-12-01 23:18:20 +00:00
christos
70ab7c8528 Mention cloning device. 2004-12-01 23:16:02 +00:00
christos
c438716d36 Use cloning bpf. 2004-12-01 23:15:08 +00:00
christos
fb5ec6aa33 Use cloning /dev/bpf 2004-12-01 23:13:09 +00:00
christos
5b59015f94 remove backwards compatibility with non-cloning bpf. 2004-12-01 23:12:11 +00:00