ajacoutot
83e7c629b9
More sendmail removal.
ok matthieu@
10 years ago
matthieu
0059b4fd65
Remove sendmail specific files.
10 years ago
matthieu
76852e9bcd
Remove sendmail tentacles. ok krw@ ajacoutot@
10 years ago
rpe
19507eb6b6
Ensure proper group ID for chio.conf example.
Noted by and OK ajacoutot@
Positive feedback halex@
10 years ago
ajacoutot
cb402f72e9
Remove /etc/{hosts,myname} from etc.tgz.
Make the installer create the /etc/hosts template. While here, re-add a
missing 'echo' from install.sh.
ok miod@ krw@ halex@
10 years ago
matthieu
98f80f4060
No more /etc/rndc.key. ok sthen@
10 years ago
ajacoutot
812d1f29af
Make it possible to pass a specific error code to _rc_err().
ok robert@ schwarze@
10 years ago
ajacoutot
6c7d1d5a29
Move dhclient.conf(5) to examples.
no objections from todd@ millert@ rpe@
10 years ago
florian
4bbd9b7236
Nuke net.inet6.icmp6.rediraccept and allow redirects on interfaces
with autoconf enabled.
If one is doing SLAAC one does already trust link local icmp6 so the
policy for icmp6 redirects should be the same.
pointed out by & OK bluhm@; OK henning@
10 years ago
naddy
3092c08600
Add httpd default log files to the rotation.
ok reyk@ (who suggested these lines a while ago)
10 years ago
rpe
479bf4f73e
Create etc set during 'make build' and embed it in base set to make
it available during a regular install or upgrade so that it doesn't
need to be independently fetched.
Idea, directions and OK deraadt@
Feedback and Ok halex@ and aja@
10 years ago
robert
61c4b96090
usr.sbin
10 years ago
matthieu
01547c0bbf
No more /etc/X11/fs
10 years ago
reyk
80c77acf9d
Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).
Discussed with many, with input from halex@
OK halex@
10 years ago
halex
cb1bef6d29
snmpd cannot reload
ok reyk@
10 years ago
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