Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-05 | Put the "su -c ..." command into an rcexec variable so that we can | Antoine Jacoutot | |
easily use it in rc scripts instead of copying/pasting the same huge command lines everywhere. ok robert@ sthen@ | |||
2011-01-04 | Check for a login class that match the rc script name and if we find one | Antoine Jacoutot | |
let's use it. If not, then fall back to using daemon. While here, do some reordering. "I like this" sthen@, ok robert@ | |||
2010-12-30 | Start shipping bsd.mp for hppa; ok miod | Theo de Raadt | |
2010-12-29 | After the recent changes, there is no need for an rc_conf function. | Antoine Jacoutot | |
As schwarze@ also stated, this will prevent anyone from calling it (which would be an error) and makes it clearer that rc.subr is not just a functions container. No functionnal change, unless you were calling rc_conf from an rc script which would have been wrong anyway. ok schwarze@ robert@ | |||
2010-12-28 | - add /usr/lib/pkgconfig/ | Jasper Lievisse Adriaanse | |
2010-12-27 | There is no point in calling rc_conf manually from each and every rc | Antoine Jacoutot | |
script; instead, rc.subr can call rc_conf itself right after reading in rc.conf. from schwarze@ (committing on his behalf) ok robert@ | |||
2010-12-24 | Fix a flaw in the rc.subr framework reported by stephan@ where | Antoine Jacoutot | |
local_rcconf would get overwritten by flags from the rc script itself. Based on an original idea and diff from robert@, create an rc_conf function that we add in the rc_script after the defaults daemon* variables. This way we can use defaults variables names in other part of the script (when defining a specific pexp for instance). While here, simplify setting up the default daemon variables so that we don't need to do any substitution in rc_start. rc scripts must include daemon variables before calling rc_conf. All other locally modified variables (pexp, rc_reload, local additions...) must come after. feedback from and works for sthen@ ok robert@ | |||
2010-12-22 | Consistantly use /dev/arandom for feeding entropy to the kernel. | Theo de Raadt | |
ok kjell otto miod | |||
2010-12-17 | allow default blowfish rounds to be tweakable by arch, no behavioral change | Ted Unangst | |
ok deraadt | |||
2010-12-16 | Add IANA officially assigned numbers for zabbix. | Antoine Jacoutot | |
ok sthen@ deraadt@ | |||
2010-12-13 | Prefer '-l' over '-' which is deprecated. | Antoine Jacoutot | |
Also noticed and agreed by eric@ ok robert@ | |||
2010-12-13 | simulate a full login with su, now that the environment is fine after | Robert Nagy | |
the last su(1) commit | |||
2010-12-13 | Only run tset for interactive shells. OK robert@ | Todd C. Miller | |
2010-12-11 | Make it possible to mark an rc action as unsupported by setting the | Antoine Jacoutot | |
corresponding variable to NO. e.g. rc_reload=NO This will save us the trouble of copying the same rc_reload() function (or others) all over the tree. ok robert@ | |||
2010-12-11 | Sanitise daemon_flags: remove multiple whitespaces from _rcflags. | Antoine Jacoutot | |
requested by okan@, ok robert@ | |||
2010-12-11 | Do not overwrite the settings in the rc scripts itself, so use the same | Robert Nagy | |
method to handle _class, _user and _shell as we do for _flags. discussed with and ok ajacoutot@ | |||
2010-12-10 | Add support for setting _user _class and _shell for a specific daemon, | Robert Nagy | |
and use su to start the daemons. By default if there is no class defined, daemon will be used. For a shell it defaults to /bin/sh. | |||
2010-12-02 | The awk's split() starts numbering array indices at 1 not 0. | Todd C. Miller | |
2010-11-28 | Update example filterset to include a basic IPv6 filterset. | Claudio Jeker | |
While there extend the current IPv4 filterset. OK sthen@, henning@ | |||
2010-11-26 | better line for net.inet.carp.log reflecing current reality; | Otto Moerbeek | |
ok mcbride@ claudio@ henning@ | |||
2010-11-26 | Do like in rc.local and print the daemon name before running rc_stop. | Antoine Jacoutot | |
ok robert@ | |||
2010-11-19 | regen | Miod Vallat | |
2010-11-19 | Sync MAKEDEV against conf.c, and both against GENERIC. | Miod Vallat | |
2010-11-17 | Consistency and remove the >50 spaces after 'do'... | Antoine Jacoutot | |
ok robert@ | |||
2010-11-11 | Add libXi doc dir | Matthieu Herrb | |
2010-11-08 | Don't print 'Null message body; hope that's ok' in the rc output if the | Antoine Jacoutot | |
call to rc.firstime doesn't output anything to mail(1). ok deraadt@ halex@ | |||
2010-11-05 | Print the daemon name _before_ starting the corresponding rc script. | Antoine Jacoutot | |
"makes sense" schwarze@, ok robert@ | |||
2010-11-02 | delete excessive ; use | Theo de Raadt | |
2010-11-01 | New doc directories for updated libs. remained by naddy@. thanks. | Matthieu Herrb | |
2010-10-28 | remove my debug printf | Robert Nagy | |
2010-10-28 | After discussing with Ingo and Antoine we decided to rename | Robert Nagy | |
files to not include -. This way we can easily overwrite daemon flags from rc.conf.local. | |||
2010-10-28 | add $ | Robert Nagy | |
2010-10-27 | let the readmes directory be standard | Marc Espie | |
2010-10-27 | Protect variable names, to be consistent with rc(8). | Antoine Jacoutot | |
ok robert@ | |||
2010-10-27 | Remove 'status', because 'check' is what is used internally and we don't | Robert Nagy | |
need two functions doing the same thing, and also allow check to run as non-root. | |||
2010-10-27 | Missing redirection to /dev/null in rc_start | Robert Nagy | |
2010-10-27 | quote $local_rcconf in [ ] and remove eval from rc_start() | Robert Nagy | |
2010-10-26 | Add a simple 'rc' system to base in order to start/stop/restart/reload | Robert Nagy | |
services installed by the ports system (for now). It only uses pgrep/pkill to handle these processes. A manual page will come later. 'put it in' deraadt@ | |||
2010-10-19 | grow i386 inside media a teeny bit | Theo de Raadt | |
2010-10-19 | There is no more groff in the base system, so use mandoc(1) to format | Ingo Schwarze | |
manuals on demand by man(1), even though a few manuals may still have formatting issues with mandoc, and a tiny fraction may still make mandoc error out. Also remove the .me and .ms _build rules: we don't support these formats any longer, and don't have any such manuals in base. OK deraadt@ sthen@ | |||
2010-10-18 | sync | Theo de Raadt | |
2010-10-18 | oops! we need to retain the usr/share/tmac directory until we figure | Theo de Raadt | |
out what to do with vgrind. | |||
2010-10-18 | The base no longer uses old groff -- it uses mandoc(1). The ports tree still | Theo de Raadt | |
sometimes needs groff, but there it is pulled in as a build-dependency, and it is the newer groff. We are able to do this now due to the hard work if ingo. | |||
2010-10-18 | Revert non-compatible and undocumented bullshit commited by 3 developers | Theo de Raadt | |
who decided to just do it on their own. henning, mcbride, jsing -- shame on you -- if you had shown this diff to just 1 other network developer, the astounding mistake in it would have been noticed. Start practicing inclusionary development instead of going alone. ok claudio | |||
2010-10-18 | no more misc set | Theo de Raadt | |
2010-10-18 | stop creating the stupid /usr/share/doc subdirs | Theo de Raadt | |
2010-10-17 | Add quirks support to operating system fingerprinting. tcpdump part | Joel Sing | |
by mcbride@. ok mcbride@ henning@ | |||
2010-10-13 | add a sample for "socket ... restricted", prompted by mail from | Stuart Henderson | |
Patrick Lamaiziere, ok henning@ | |||
2010-10-08 | install nsd.conf; ok jakob@ | David Krause | |
2010-10-08 | regen | Alexandre Ratchov | |