diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/milter-regex/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/milter-regex/files/milter-regex-init | 7 | ||||
-rw-r--r-- | mail-filter/milter-regex/milter-regex-1.7-r1.ebuild (renamed from mail-filter/milter-regex/milter-regex-1.7.ebuild) | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/mail-filter/milter-regex/ChangeLog b/mail-filter/milter-regex/ChangeLog index 957bf6de018f..1f6d07cfa0b5 100644 --- a/mail-filter/milter-regex/ChangeLog +++ b/mail-filter/milter-regex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/milter-regex # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/ChangeLog,v 1.5 2009/08/15 12:41:17 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/ChangeLog,v 1.6 2009/08/19 20:32:46 mrness Exp $ + +*milter-regex-1.7-r1 (19 Aug 2009) + + 19 Aug 2009; Alin Năstac <mrness@gentoo.org> files/milter-regex-init, + -milter-regex-1.7.ebuild, +milter-regex-1.7-r1.ebuild: + Remove stale socket file on startup (#281197). 15 Aug 2009; Alin Năstac <mrness@gentoo.org> milter-regex-1.7.ebuild: Set /var/lib/milter as home directory for milter user (#280571). diff --git a/mail-filter/milter-regex/files/milter-regex-init b/mail-filter/milter-regex/files/milter-regex-init index 9c95d562fc41..d1b1dae546a5 100644 --- a/mail-filter/milter-regex/files/milter-regex-init +++ b/mail-filter/milter-regex/files/milter-regex-init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/files/milter-regex-init,v 1.1 2008/02/18 10:34:54 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/files/milter-regex-init,v 1.2 2009/08/19 20:32:46 mrness Exp $ depend() { use dns logger net @@ -22,6 +22,11 @@ check_cfg() { start() { check_cfg || return 1 + # Remove stalled Unix socket if no other process is using it + if [ -S "${SOCKET}" ] && ! fuser -s "${SOCKET}"; then + rm "${SOCKET}" + fi + ebegin "Starting milter-regex" start-stop-daemon --start --exec /usr/bin/milter-regex -- \ -u "${USER}" -p "${SOCKET}" -c "${CONFIG}" diff --git a/mail-filter/milter-regex/milter-regex-1.7.ebuild b/mail-filter/milter-regex/milter-regex-1.7-r1.ebuild index 371aa438aae5..2ddd7bfefcae 100644 --- a/mail-filter/milter-regex/milter-regex-1.7.ebuild +++ b/mail-filter/milter-regex/milter-regex-1.7-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/milter-regex-1.7.ebuild,v 1.5 2009/08/15 12:41:17 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/milter-regex-1.7-r1.ebuild,v 1.1 2009/08/19 20:32:46 mrness Exp $ EAPI="2" |