Commit Graph

7007 Commits

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