peter
960f4edd01
The default hops is not 30, but is taken from the net.inet.ip.ttl sysctl
...
variable. Fixes PR/30209 from Jed Davis.
2005-06-14 13:55:59 +00:00
dyoung
00218a63cc
Oops, straggler: #include <nbinclude/sys/disklabel.h> if we're
...
building a host-tool.
XXX In hp300_setboot, quiet -Wunitialized: initialize secsize to
XXX HP300_SECTSIZE. Is this correct?
2005-06-12 21:38:12 +00:00
dyoung
dba4661556
Build hp300 support into installboot(8).
2005-06-12 20:25:26 +00:00
dyoung
a039894d70
For portability, use 'unsigned int' instead of 'uint'.
2005-06-12 20:21:20 +00:00
he
46892c9e37
Initialize class and node in modify_single(), as their initial assignment
...
appears to depend on the passed function parameters.
2005-06-11 18:42:56 +00:00
lukem
b3a34b7256
Support MKINET6=no building after the -Wuninitalized fix.
...
Noted by Jukka Salmi in email.
2005-06-07 22:21:57 +00:00
he
07950b9fb6
Add initialization of a local variable to appease -Wuninitialized.
...
Marked with XXXGCC for hpcarm (found while compiling for it).
It appears that the reason is that gcc for this target is not able
to determine unchanging complementary conditionals and sort out the
corresponding assignment / use.
2005-06-07 14:01:49 +00:00
he
e670882cec
Initialize a local variable in ufs_getlbns() to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:54:55 +00:00
he
0590642883
Initialize a local variable (bbinfop) to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:49:31 +00:00
he
63104d4c13
Initialize s, name and name_end in load_env() to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:43:52 +00:00
he
7cc15c3097
Initialize various local variables (clinfo, fltrinfo) to appease
...
-Wuninitialized. Found while compiling for sun2.
Reviewed by lukem.
2005-06-07 13:39:37 +00:00
chs
7bbdd188e1
appease gcc -Wuninitialized on hp700.
2005-06-05 19:08:28 +00:00
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