ajacoutot
da05e1169f
Follow the recent addition of /usr/local/lib/pkgconfig and add
/usr/local/share/pkgconfig
ok sthen@
10 years ago
matthew
c4eeb8ba1e
Remove "const" from the lsearch(3) manual's synopsis too.
Reminded by Rafael Neves
10 years ago
jmc
df5413a7ec
zap trailing whitespace;
10 years ago
matthew
3d494c5a79
Change lsearch()'s "base" argument to require a non-const pointer to
align with POSIX and other systems.
Pointed out by Elliott Hughes on tech
ok deraadt
10 years ago
deraadt
19c7eca85b
Seperate arc4random's os-dependent parts into static inline functions,
making it much easier for libressl -portable to fill in the gaps.
ok bcook beck
10 years ago
deraadt
e95464400c
it is 2014, and we still need to encourage people away from srand()
and random(). Sigh.
10 years ago
deraadt
05894e184c
match current permissions
10 years ago
deraadt
5df94fa40d
sh netstart, instead of using .
We don't want any of the variables created inside netstart to infect the
rc script.
ok claudio sthen aja
10 years ago
ajacoutot
a8aa89637a
Unbreak after the rc_do->_rc_do and rc_wait->_rc_wait renaming.
If someone wants to take a shot a modifying this rc script so that it does
not use internal rc.subr functions, be my guest...
spotted by jsg@
10 years ago
deraadt
a4e31d35a0
"Race-free because we're running single-threaded in a new
address space, and once allocated rs is never deallocated."
document the forkhandler to save reviewers time, with matthew
10 years ago
deraadt
0b9011095e
add optional keywords all over the place, and some missing files.
likely to be more changes here to match the new layout.
ok ingo aja
10 years ago
ajacoutot
cbf7f83338
No more /var/db/sysmerge
10 years ago
deraadt
0f6d37afe3
remove ancient unused NOGZIP support
10 years ago
ajacoutot
7e9e3c9dce
Handle the sysmerge move.
10 years ago
okan
29a91aa8aa
prefer ln -f over rm + ln
OK deraadt
10 years ago
okan
e0cf8941d0
use /bin/sh instead of /bin/ksh and add cvs id.
OK deraadt
10 years ago
kettenis
2c152452b6
Only call getauxval(3) if HAVE_GETAUXVAL is defined. Fixes build on older
Linux (such as Ubuntu 12.04LTS) that don't have it yet. Seems the AT_XXX
defines are pulled in by <link.h> now.
ok beck@
10 years ago
deraadt
74870fb90f
Yes /etc/disklabels/ is a good practice for placing labels of disks
in case of catastropy. But it is so poorly documented that any admin
is more likely to store the labels elsewhere, so let's stop bothering
with providing the directory. Discussed a bit, no objections.
10 years ago
deraadt
31e43b4033
mixerctl.conf wsconsctl.conf can properly become examples.
As discussed a few days ago with aja
10 years ago
deraadt
73c26eea40
the files listed under BIN1 are not binaries in any way. Let's call
them what they are: MUTABLE, as in these are the specific files that
admins do edit in /etc
10 years ago
deraadt
49f512458d
create examples/pf.conf which is a clone of the existing file. Now
the existing file can start losing... examples...
10 years ago
deraadt
0fff1a2399
BIN2 is now just motd; install it direct without the abstractions. While
there, let's make it operator writeable. Or let's do a commit changing it
to operator writeable and see the pro and con camps rise up.
10 years ago
deraadt
0110a70449
lynx has left the tree, and let's be honest noone will find these html
files in their installed system. this extended documentation experience
is available better on the net using a browser installed with pkg_add.
(also note that two of the subsystems involved in this issue are heading
to the bit bucket sometime soon)
10 years ago
deraadt
8841ad7d7c
more lynx bits
10 years ago
deraadt
761d542408
another piece of lynx hides here
10 years ago
deraadt
9c21f5c33d
#ifdef wrap the _rs_forkhandler
10 years ago
bcook
fca7f5a866
added handler for an atfork hook from kettenis@
ok deraadt@ beck@ kettenis@
10 years ago
deraadt
52e978a9d8
tidy up the script
10 years ago
miod
d1cf88ea26
Apparently people updating this no longer fix the DOW and the minute and
seconds values in the announcement timestamps. Damn youngsters.
10 years ago
deraadt
c3a6ab0d79
crank to 5.6-beta
10 years ago
miod
0627e39b9d
Remove ppi (hp300 leftover)
10 years ago
sthen
df49f6c562
add port entries for quagga from the documentation, ok ajacoutot@
/etc/services file moved from etc to base so is no longer really
user-editable as changes will be overwritten at update time
10 years ago
sthen
afb116c353
conserver moved port, ok ajacoutot@
10 years ago
deraadt
63edfe2d88
BSD.local.dist went away
10 years ago
ajacoutot
d65c2f0adb
/var/db/sysmerge -> /usr/share/sysmerge
ok deraadt@
10 years ago
espie
c0a8ea5276
folded back into 4.4BSD.dist
removed to unconfuse devs
okay aja, theo
10 years ago
deraadt
51fcfd90fc
new dir /usr/share/sysmerge
10 years ago
deraadt
d5c05ae2f9
correct dir
10 years ago
sthen
03593f6125
add /usr/local/lib/pkgconfig to mtree, ok espie@ jasper@
10 years ago
deraadt
8d60b9304c
sysctl.conf moves to etc/examples
10 years ago
ajacoutot
71b35ac49d
Add shebang to make it clear these files are shell scripts (they are
explicitely executed by sh(1)).
discussed with deraadt@
10 years ago
ajacoutot
d7bed9d58a
quiet /etc/rc.shutdown, it may not exist.
ok deraadt@
10 years ago
ajacoutot
f6d70a88c8
This isn't C.
10 years ago
ajacoutot
7edabab9f8
Only set kern.securelevel=1 if it was not lowered nor bumped by
rc.securelevel,
with deraadt@
10 years ago
ajacoutot
60cf083fe4
Consistency.
10 years ago
ajacoutot
85bae20714
Do not output anything by default, to be consistent with the other
site-specific rc.* files, the comment is enough.
ok deraadt@
10 years ago
ajacoutot
7648d2dc9b
/etc/rc already takes care of creating /var/run/utmp.
ok deraadt@ giovanni@
10 years ago
deraadt
68f7c0883b
rc.{local,securelevel,shutdown} become examples. If versions of them
are created in /etc, they are executed (they used to be sourced) to
avoid polluting the rc variable space. The powerdown= and securelevel=
features are removed; they are likely only used by 2 people. the
secureleve is now always raised; this is the only sensible default.
ok ajacoutot
10 years ago
pelikan
c78cad8ccc
international currency locale rules as per POSIX.1-2008
required for libc++
ok guenther afresh1
10 years ago
guenther
fbc71be3ba
Update for arc4random and syslog changes
10 years ago