ajacoutot
319900ebf3
Put _rc_err argument under quotes to respect the syntax we are passing.
10 years ago
ajacoutot
17144f935b
Fix reversed logic.
ok schwarze@
10 years ago
ajacoutot
4c9f4fe262
Drop uneeded parenthesis in usage().
ok schwarze@
10 years ago
ajacoutot
d47492b8a8
Drop unused variables.
10 years ago
ajacoutot
c7aa843432
In debug mode, make it clear when we are using the default flags when
none are set.
initial patch from me but reworked by schwarze@
ok schwarze@
10 years ago
ajacoutot
f2e3ccb3b3
In debug mode (`-d'), only print the flags relevant to the rc.d(8) we are
calling instead of all flags which makes it very difficult to see the
information we actually need.
ok schwarze@ robert@
10 years ago
deraadt
eb0d2e879c
Shrink this to the minimum, but reference /etc/examples/pf.conf
(someone should really sit down and flesh out the examples)
10 years ago
deraadt
b0315aca81
disable use of bind in base; in the base use nsd/unbound instead.
a proper & complete bind port will show up.
discussed with many for years
10 years ago
jsg
8183dcbb7a
Set the default nfsd flags to "-tun 4". Matches the comment
in rc.conf and the behaviour of the backwards compatibility
code in rc.subr for nfs_server=YES.
ok ajacoutot@
10 years ago
ajacoutot
8c90873b57
Drop sanitation, _rc_parse_conf does this for us already.
ok schwarze@
10 years ago
mikeb
3582d193e0
Remove userland bits related to the crypto(4) interface; ok deraadt
10 years ago
ajacoutot
cb1f54ae62
Execute /etc/netstart using sh(1) instead of sourcing it.
Committing early to make sure we have time to fix any side-effect.
ok deraadt@
10 years ago
ajacoutot
c6a40b7e7e
When running interactively, display the output of the "check" action
(ok or failed) like we do with all other actions.
ok jung@ rpe@
10 years ago
matthieu
975904f622
Add /usr/X11R6/share/X11/app-defaults
10 years ago
ajacoutot
753cf82d49
Typo.
ok kili@
10 years ago
kili
7d486d6dd1
Let _rc_parse_conf stick to parsing /etc/rc.conf and /etc/rc.conf.local
if it's invoked without parameters. It's simpler than adding adding
/etc/rc.conf and /etc/rc.conf.local parameters whereever _rc_parse_conf
is used (e.g. /etc/rc and /etc/netstart).
While here, replace a
for foo in "$@"; do something; done
by
for foo; do something; done
ok aja@
10 years ago
ajacoutot
24ff923c17
Make it possible to pass arguments to _rc_parse_conf().
ok robert@
10 years ago
reyk
546aea474c
Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".
ok florian@
10 years ago
reyk
9c4fe323e3
Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.
10 years ago
naddy
a34d9aff18
enable httpd; ok deraadt@
10 years ago
reyk
959cf4a8d9
Add HTTPS server example.
10 years ago
reyk
01f36f71a9
Change grammar from "log [style]" to "log style [style]".
10 years ago
reyk
ff7f5de360
The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.
10 years ago
reyk
12cf332beb
More examples, include FastCGI for php and cgi-bin and logging.
10 years ago
rpe
4e46003552
Don't return, just skip over non existing rc.conf or rc.conf.local file.
OK ajacoutot@ halex@
10 years ago
ajacoutot
f35ff6a688
In debug mode, properly sort and drop duplicates so that we don't end
up with a confusing output like:
multicast_host >NO<
<...>
multicast_host >YES<
Also properly evaluate values _after_ running _rc_quirks() because these
can modify flags.
ok robert@ halex@
10 years ago
ajacoutot
a3ad997f4b
Fix evil typo (multicast_hosts -> multicast_host).
10 years ago
reyk
1634d1e524
Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.
10 years ago
reyk
7e37bc43eb
Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.
ok deraadt@
10 years ago
reyk
9a741ea942
Add more examples. Requested by deraadt@
10 years ago
reyk
4d0f0c4818
httpd.conf can be installed 0644 instead of 0600 like relayd.conf.
ok ajacoutot@ benno@
10 years ago
ajacoutot
9842e10cd1
Add httpd.conf.
10 years ago
ajacoutot
58872ed577
Trailing whitespace.
10 years ago
sthen
0564a7b48d
add 5.7 firmware key
10 years ago
ajacoutot
4869b0e38c
Revert revisions 1.88-1.94 but keep recent relevant changes.
The `+' sign was added by mistake thinking it was doing something else.
ok schwarze@
10 years ago
reyk
bfcc4fcb27
Enable httpd(8) in the builds to get more testing, feedback and
improvements. It is not "finished" but serves static files.
ok deraadt@
10 years ago
deraadt
f3d3d691bf
Repair two deep targets mistakenly called as afterinstall, rather
than distribution. These would modify files in /etc, part of the base
set, but still... that makes it harder to discern their sets placement.
10 years ago
reyk
400400fa19
Add initial httpd.conf(5) example for httpd(8)
Requested by deraadt@
10 years ago
naddy
2bef40b225
net.inet6.ip6.accept_rtadv is gone
10 years ago
naddy
e7b9cb6c4c
5.7 packages key
10 years ago
deraadt
73df6cf923
5.7 base key
10 years ago
rpe
5392cda9b9
Stop using the (now) internal rc.subr functions _rc_do() and _rc_wait().
- no need to start spamd in background mode
- return from rc_start() in case spamd failed to start
- execute spamd-setup without explicitly waiting for spamd
prodded by, discussed with and OK ajacoutot@
10 years ago
deraadt
421312ed52
no longer play with /dev/log
10 years ago
bluhm
4a706e371e
Print a warning message if the files with the random seed are not
writeable during shutdown. This prevents ugly error messages when
the machine is rebooted from singe-user without mounting the file
systems read-write.
suggested by deraadt@
10 years ago
deraadt
83d1ab94c7
Since syslog messages are now sent via the sendsyslog(2) system call,
we no longer need the spread of dev/log AF_UNIX sockets all over the
various chroot spaces.
ok beck millert aja
10 years ago
deraadt
44d46ee4c5
ugly ugly whitespace
10 years ago
ajacoutot
da05e1169f
Follow the recent addition of /usr/local/lib/pkgconfig and add
/usr/local/share/pkgconfig
ok sthen@
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