Commit Graph

6989 Commits

Author SHA1 Message Date
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