diff options
author | Eray Aslan <eras@gentoo.org> | 2014-04-20 14:17:22 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2014-04-20 14:17:22 +0000 |
commit | 8512775689bba0a9b38638ef0268d95a3e263860 (patch) | |
tree | 047d546975f48a8738f29bf24d925f6893bb434b /mail-filter/spampd | |
parent | Stable ppc ppc64, bug #508228 (diff) | |
download | gentoo-2-8512775689bba0a9b38638ef0268d95a3e263860.tar.gz gentoo-2-8512775689bba0a9b38638ef0268d95a3e263860.tar.bz2 gentoo-2-8512775689bba0a9b38638ef0268d95a3e263860.zip |
Version bump - bug #507186
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'mail-filter/spampd')
-rw-r--r-- | mail-filter/spampd/ChangeLog | 7 | ||||
-rwxr-xr-x | mail-filter/spampd/files/init-r1 | 24 | ||||
-rw-r--r-- | mail-filter/spampd/spampd-2.42.ebuild | 26 |
3 files changed, 56 insertions, 1 deletions
diff --git a/mail-filter/spampd/ChangeLog b/mail-filter/spampd/ChangeLog index 49dd70ba780f..104c19c1a2af 100644 --- a/mail-filter/spampd/ChangeLog +++ b/mail-filter/spampd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/spampd # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/ChangeLog,v 1.14 2014/04/20 11:11:35 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/ChangeLog,v 1.15 2014/04/20 14:17:22 eras Exp $ + +*spampd-2.42 (20 Apr 2014) + + 20 Apr 2014; Eray Aslan <eras@gentoo.org> +files/init-r1, +spampd-2.42.ebuild: + Version bump - bug #507186 20 Apr 2014; Eray Aslan <eras@gentoo.org> files/init: need net -> use net in init script diff --git a/mail-filter/spampd/files/init-r1 b/mail-filter/spampd/files/init-r1 new file mode 100755 index 000000000000..8e903e9a29a5 --- /dev/null +++ b/mail-filter/spampd/files/init-r1 @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/files/init-r1,v 1.1 2014/04/20 14:17:22 eras Exp $ + +# Note: spampd configuration file is /etc/conf.d/spampd + +depend() { + use net +} + +start() { + ebegin "Starting spampd" + start-stop-daemon --start --quiet \ + --exec /usr/sbin/spampd.pl -- --pid=/run/spampd.pid \ + ${SPAMPD_OPTS} + eend $? "Failed to start spampd" +} + +stop() { + ebegin "Stopping spampd" + start-stop-daemon --stop --quiet --pidfile /run/spampd.pid + eend $? "Failed to stop spampd" +} diff --git a/mail-filter/spampd/spampd-2.42.ebuild b/mail-filter/spampd/spampd-2.42.ebuild new file mode 100644 index 000000000000..49c5f060e23a --- /dev/null +++ b/mail-filter/spampd/spampd-2.42.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/spampd-2.42.ebuild,v 1.1 2014/04/20 14:17:22 eras Exp $ + +EAPI=5 + +DESCRIPTION="spampd is a program to scan messages for possible Unsolicited Commercial E-mail content." +HOMEPAGE="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm" +SRC_URI="https://github.com/mpaperno/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-lang/perl + dev-perl/net-server + mail-filter/spamassassin" +DEPEND="${RDEPEND}" + +src_install() { + dosbin spampd.pl + dodoc changelog.txt misc/spampd-rh-rc-script.sh misc/spampd.service + dohtml spampd.html + newinitd "${FILESDIR}"/init-r1 spampd + newconfd "${FILESDIR}"/conf spampd +} |