OpenBSD CVS

CVS log for src/etc/rc.d/spamd


[BACK] Up to [local] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Sat May 21 12:42:21 2022 UTC (2 years ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

${rcexec} -> rc_exec

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 11 21:09:26 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

- change [] tests to [[]]
- change -a, -o to &&, || inside [[]]
- remove unecessary quoting inside [[]]
- remove X"" constructs inside [[]]
- remove \ (line continuation) in case of &&, || and pipes
- replace backticks with $()

discussed with and OK aja@
OK tb

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 11 19:52:12 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Change the shebang line from /bin/sh to /bin/ksh in all base rc.d
daemon scripts.

discussed with and OK aja@
OK tb

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 23 10:10:54 2017 UTC (7 years, 2 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.7: +5 -7 lines
Diff to previous 1.7 (colored)

Don't check for spamd_black twice in rc_pre and rc_start; just do everything
in rc_pre.

prodded by and ok jmc@, ok halex@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 15 13:50:54 2015 UTC (8 years, 10 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix base rc.d scripts after the recent rc.subr change.

ok halex@

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 20 08:37:07 2014 UTC (9 years, 10 months ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

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@

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 17 15:00:06 2014 UTC (9 years, 10 months ago) by ajacoutot
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

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@

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 17 09:19:45 2013 UTC (10 years, 5 months ago) by halex
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.3: +9 -1 lines
Diff to previous 1.3 (colored)

Run spamd-setup from within /etc/rc.d/spamd, and take $spamd_black
into consideration.
Diff from Maurice Janssen, thanks!

ok rpe@ giovanni@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 13 14:50:56 2013 UTC (10 years, 8 months ago) by okan
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

reload not supported; from Craig R. Skinner.

ok dcoppa ajacoutot

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 8 02:15:34 2011 UTC (12 years, 10 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Switch amd and spamlogd to rc scripts and make sure that the
rc_pre() functions are returning correctly. This change
also simplyfies the changes because false || return 1 can be replaced
with false if that's the last call. thanks halex@!

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 7 23:29:45 2011 UTC (12 years, 10 months ago) by robert
Branch: MAIN

add scripts for aucat and spamd and switch rc to use them

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.