Commit Graph

7022 Commits

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