#
1.20 |
|
25-Dec-2023 |
kre |
Do away with the obsolete text(1) -a operator, use sh && instead. Prefer sh ! operator over test's ! (less question what it means). A few minor formatting changes.
|
Revision tags: netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
|
#
1.19 |
|
09-Aug-2019 |
rin |
little bit verbose for slow machines
|
Revision tags: netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
|
#
1.18 |
|
30-Oct-2016 |
riastradh |
branches: 1.18.14; 1.18.16; Handle variable expansion and comma/space separators in postconf.
From Timo Buhrmester: https://mail-index.netbsd.org/tech-userlevel/2016/08/20/msg010301.html
|
Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.17 |
|
23-Jul-2015 |
riz |
branches: 1.17.2; Implement "status" command for postfix - makes tools like ansible happier.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.16 |
|
15-Apr-2009 |
perry |
un-uppercase pseudodependency for the moment so as not to break pkgsrc
|
#
1.15 |
|
15-Apr-2009 |
perry |
uppercase pseudodependency
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 mjf-devfs2-base2 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
|
#
1.14 |
|
27-Aug-2007 |
pavel |
branches: 1.14.18; Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
|
Revision tags: matt-mips64-base netbsd-4-base
|
#
1.13 |
|
07-Sep-2006 |
christos |
branches: 1.13.2; 1.13.4; make postconf configurable
|
#
1.12 |
|
07-Sep-2006 |
christos |
- find the correct newaliases program from postconf (suggested by Geert Hendrickx) - only check for hash files.
|
#
1.11 |
|
05-Sep-2006 |
christos |
Find the alias file name from the postfix configuration. From our anonymous user.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.10 |
|
18-Jun-2006 |
christos |
PR/33760: dieter roelants: a default install can't send mail due to missing aliases.db
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.9 |
|
13-Aug-2004 |
mycroft |
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
#
1.8 |
|
08-Apr-2004 |
lukem |
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill Squier.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.7 |
|
31-Jan-2003 |
lukem |
Implement start_cmd as: start_cmd="${name} "'${rc_arg}' and stop_cmd & reload_cmd as: stop_cmd=$start_cmd reload_cmd=$start_cmd (Just to be tricky)
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.6 |
|
12-Feb-2002 |
lukem |
populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}. per suggestion from perry.
|
#
1.5 |
|
19-Sep-2000 |
lukem |
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems.
- take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script.
- improve the comments in rc.subr
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.4 |
|
13-May-2000 |
lukem |
branches: 1.4.4; Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
|
#
1.3 |
|
30-Apr-2000 |
lukem |
- use checkyesno in $start_precmd and change start_cmd to `postfix start' - use $extra_commands instead of passing "reload" to run_rc_command
|
#
1.2 |
|
27-Apr-2000 |
veego |
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd in an rc.d script.
|
#
1.1 |
|
26-Apr-2000 |
thorpej |
Provide rc.d support for the Postfix mail system. Committed to the base because there is no support for packages in rc.d, and Postfix is supposed to become part of the base system anyhow.
|
#
1.19 |
|
09-Aug-2019 |
rin |
little bit verbose for slow machines
|
Revision tags: netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
|
#
1.18 |
|
30-Oct-2016 |
riastradh |
Handle variable expansion and comma/space separators in postconf.
From Timo Buhrmester: https://mail-index.netbsd.org/tech-userlevel/2016/08/20/msg010301.html
|
Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.17 |
|
23-Jul-2015 |
riz |
branches: 1.17.2; Implement "status" command for postfix - makes tools like ansible happier.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.16 |
|
15-Apr-2009 |
perry |
un-uppercase pseudodependency for the moment so as not to break pkgsrc
|
#
1.15 |
|
15-Apr-2009 |
perry |
uppercase pseudodependency
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 mjf-devfs2-base2 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
|
#
1.14 |
|
27-Aug-2007 |
pavel |
branches: 1.14.18; Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
|
Revision tags: matt-mips64-base netbsd-4-base
|
#
1.13 |
|
07-Sep-2006 |
christos |
branches: 1.13.2; 1.13.4; make postconf configurable
|
#
1.12 |
|
07-Sep-2006 |
christos |
- find the correct newaliases program from postconf (suggested by Geert Hendrickx) - only check for hash files.
|
#
1.11 |
|
05-Sep-2006 |
christos |
Find the alias file name from the postfix configuration. From our anonymous user.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.10 |
|
18-Jun-2006 |
christos |
PR/33760: dieter roelants: a default install can't send mail due to missing aliases.db
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.9 |
|
13-Aug-2004 |
mycroft |
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
#
1.8 |
|
08-Apr-2004 |
lukem |
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill Squier.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.7 |
|
31-Jan-2003 |
lukem |
Implement start_cmd as: start_cmd="${name} "'${rc_arg}' and stop_cmd & reload_cmd as: stop_cmd=$start_cmd reload_cmd=$start_cmd (Just to be tricky)
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.6 |
|
12-Feb-2002 |
lukem |
populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}. per suggestion from perry.
|
#
1.5 |
|
19-Sep-2000 |
lukem |
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems.
- take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script.
- improve the comments in rc.subr
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.4 |
|
13-May-2000 |
lukem |
branches: 1.4.4; Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
|
#
1.3 |
|
30-Apr-2000 |
lukem |
- use checkyesno in $start_precmd and change start_cmd to `postfix start' - use $extra_commands instead of passing "reload" to run_rc_command
|
#
1.2 |
|
27-Apr-2000 |
veego |
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd in an rc.d script.
|
#
1.1 |
|
26-Apr-2000 |
thorpej |
Provide rc.d support for the Postfix mail system. Committed to the base because there is no support for packages in rc.d, and Postfix is supposed to become part of the base system anyhow.
|
Revision tags: pgoyette-localcount-20161104
|
#
1.18 |
|
30-Oct-2016 |
riastradh |
Handle variable expansion and comma/space separators in postconf.
From Timo Buhrmester: https://mail-index.netbsd.org/tech-userlevel/2016/08/20/msg010301.html
|
Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.17 |
|
23-Jul-2015 |
riz |
branches: 1.17.2; Implement "status" command for postfix - makes tools like ansible happier.
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.16 |
|
15-Apr-2009 |
perry |
un-uppercase pseudodependency for the moment so as not to break pkgsrc
|
#
1.15 |
|
15-Apr-2009 |
perry |
uppercase pseudodependency
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 mjf-devfs2-base2 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
|
#
1.14 |
|
27-Aug-2007 |
pavel |
branches: 1.14.18; Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
|
Revision tags: matt-mips64-base netbsd-4-base
|
#
1.13 |
|
07-Sep-2006 |
christos |
branches: 1.13.2; 1.13.4; make postconf configurable
|
#
1.12 |
|
07-Sep-2006 |
christos |
- find the correct newaliases program from postconf (suggested by Geert Hendrickx) - only check for hash files.
|
#
1.11 |
|
05-Sep-2006 |
christos |
Find the alias file name from the postfix configuration. From our anonymous user.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.10 |
|
18-Jun-2006 |
christos |
PR/33760: dieter roelants: a default install can't send mail due to missing aliases.db
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.9 |
|
13-Aug-2004 |
mycroft |
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
#
1.8 |
|
08-Apr-2004 |
lukem |
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill Squier.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.7 |
|
30-Jan-2003 |
lukem |
Implement start_cmd as: start_cmd="${name} "'${rc_arg}' and stop_cmd & reload_cmd as: stop_cmd=$start_cmd reload_cmd=$start_cmd (Just to be tricky)
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.6 |
|
11-Feb-2002 |
lukem |
populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}. per suggestion from perry.
|
#
1.5 |
|
19-Sep-2000 |
lukem |
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems.
- take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script.
- improve the comments in rc.subr
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.4 |
|
13-May-2000 |
lukem |
branches: 1.4.4; Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
|
#
1.3 |
|
29-Apr-2000 |
lukem |
- use checkyesno in $start_precmd and change start_cmd to `postfix start' - use $extra_commands instead of passing "reload" to run_rc_command
|
#
1.2 |
|
27-Apr-2000 |
veego |
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd in an rc.d script.
|
#
1.1 |
|
25-Apr-2000 |
thorpej |
Provide rc.d support for the Postfix mail system. Committed to the base because there is no support for packages in rc.d, and Postfix is supposed to become part of the base system anyhow.
|
#
1.17 |
|
23-Jul-2015 |
riz |
Implement "status" command for postfix - makes tools like ansible happier.
|
#
1.16 |
|
15-Apr-2009 |
perry |
un-uppercase pseudodependency for the moment so as not to break pkgsrc
|
#
1.15 |
|
15-Apr-2009 |
perry |
uppercase pseudodependency
|
#
1.14 |
|
27-Aug-2007 |
pavel |
branches: 1.14.18; Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
|
#
1.13 |
|
07-Sep-2006 |
christos |
branches: 1.13.2; 1.13.4; make postconf configurable
|
#
1.12 |
|
07-Sep-2006 |
christos |
- find the correct newaliases program from postconf (suggested by Geert Hendrickx) - only check for hash files.
|
#
1.11 |
|
05-Sep-2006 |
christos |
Find the alias file name from the postfix configuration. From our anonymous user.
|
#
1.10 |
|
18-Jun-2006 |
christos |
PR/33760: dieter roelants: a default install can't send mail due to missing aliases.db
|
#
1.9 |
|
13-Aug-2004 |
mycroft |
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
#
1.8 |
|
08-Apr-2004 |
lukem |
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill Squier.
|
#
1.7 |
|
30-Jan-2003 |
lukem |
Implement start_cmd as: start_cmd="${name} "'${rc_arg}' and stop_cmd & reload_cmd as: stop_cmd=$start_cmd reload_cmd=$start_cmd (Just to be tricky)
|
#
1.6 |
|
11-Feb-2002 |
lukem |
populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}. per suggestion from perry.
|
#
1.5 |
|
19-Sep-2000 |
lukem |
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems.
- take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script.
- improve the comments in rc.subr
|
#
1.4 |
|
13-May-2000 |
lukem |
branches: 1.4.4; Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
|
#
1.3 |
|
30-Apr-2000 |
lukem |
- use checkyesno in $start_precmd and change start_cmd to `postfix start' - use $extra_commands instead of passing "reload" to run_rc_command
|
#
1.2 |
|
27-Apr-2000 |
veego |
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd in an rc.d script.
|
#
1.1 |
|
25-Apr-2000 |
thorpej |
Provide rc.d support for the Postfix mail system. Committed to the base because there is no support for packages in rc.d, and Postfix is supposed to become part of the base system anyhow.
|
#
1.4.4.1 |
|
01-Oct-2000 |
lukem |
pull up rev 1.5 (approved by thorpej): - always use $rcvar to determine the name of the var to checkyesno - fix force*
|
#
1.13.4.1 |
|
03-Sep-2007 |
wrstuden |
Sync w/ NetBSD-4-RC_1
|
#
1.13.2.1 |
|
28-Aug-2007 |
ghen |
Pull up following revision(s) (requested by pavel in ticket #845): etc/rc.d/postfix: revision 1.14 etc/defaults/rc.conf: revision 1.90 Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail. This prevents starting two MTAs at once if one uses a custom MTA. As proposed on tech-userlevel, approved by martin.
|
#
1.14.18.1 |
|
13-May-2009 |
jym |
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|