summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:33:38 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:33:38 +0000
commit373514d973b4bdc9204191e786e1d8d3e79f27fe (patch)
tree53e4435ff0976887a2c27632a4855744becb793e /mail-filter
parentMoving to mail-filter/spampd (diff)
downloadgentoo-2-373514d973b4bdc9204191e786e1d8d3e79f27fe.tar.gz
gentoo-2-373514d973b4bdc9204191e786e1d8d3e79f27fe.tar.bz2
gentoo-2-373514d973b4bdc9204191e786e1d8d3e79f27fe.zip
Moved from net-mail/spampd to mail-filter/spampd.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spampd/ChangeLog23
-rw-r--r--mail-filter/spampd/Manifest7
-rw-r--r--mail-filter/spampd/files/conf15
-rw-r--r--mail-filter/spampd/files/digest-spampd-2.111
-rw-r--r--mail-filter/spampd/files/digest-spampd-2.11-r11
-rw-r--r--mail-filter/spampd/files/init24
-rw-r--r--mail-filter/spampd/spampd-2.11-r1.ebuild28
-rw-r--r--mail-filter/spampd/spampd-2.11.ebuild28
8 files changed, 127 insertions, 0 deletions
diff --git a/mail-filter/spampd/ChangeLog b/mail-filter/spampd/ChangeLog
new file mode 100644
index 000000000000..74a6f20c64f3
--- /dev/null
+++ b/mail-filter/spampd/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for net-mail/spampd
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/ChangeLog,v 1.1 2004/06/03 07:33:38 seemant Exp $
+
+*spampd-2.11 (03 Jun 2004)
+
+ 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +files/conf, +files/init,
+ +spampd-2.11-r1.ebuild, +spampd-2.11.ebuild:
+ Moved from net-mail/spampd to mail-filter/spampd.
+
+ 05 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> spampd-2.11-r1.ebuild,
+ spampd-2.11.ebuild:
+ fix bug #37284 and copyright headers
+
+*spampd-2.11-r1 (20 Nov 2003)
+
+ 20 Nov 2003; <mkennedy@gentoo.org> spampd-2.11-r1.ebuild, files/init:
+ fixed typo in init script which caused failure to shutdown
+
+*spampd-2.11 (28 Oct 2003)
+
+ 29 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> :
+ Initial import. Ebuild submitted by Matthew Kennedy <mkennedy@gentoo.org>.
diff --git a/mail-filter/spampd/Manifest b/mail-filter/spampd/Manifest
new file mode 100644
index 000000000000..8122d2db113b
--- /dev/null
+++ b/mail-filter/spampd/Manifest
@@ -0,0 +1,7 @@
+MD5 8dc3caf9e82a80473c41b5d1e64bbbd5 files/conf 665
+MD5 76116382e8e5f304fcfd822edd50f47c files/init 636
+MD5 17b3ddc9a6650576cdaddbc62052fe0b files/digest-spampd-2.11 62
+MD5 17b3ddc9a6650576cdaddbc62052fe0b files/digest-spampd-2.11-r1 62
+MD5 61191fbd9f98827c648e959713a07cc0 ChangeLog 677
+MD5 f51ba7c62bab5c9933b36ae93e69dd5a spampd-2.11-r1.ebuild 851
+MD5 85acfd3367763a76469c25030654dd48 spampd-2.11.ebuild 848
diff --git a/mail-filter/spampd/files/conf b/mail-filter/spampd/files/conf
new file mode 100644
index 000000000000..64abe21dd1b0
--- /dev/null
+++ b/mail-filter/spampd/files/conf
@@ -0,0 +1,15 @@
+# This is the configuration file that /etc/init.d/spampd sources when
+# started.
+
+# SPAMPD_OPTS defines the command-line arguments to be passed to the
+# spampd daemon upon start-up. A complete list of options can be
+# found in the documentation, or by issuing the command
+# "/usr/sbin/spampd --help"
+
+SPAMPD_OPTS="--host=localhost:10025 --relayhost=localhost:10026 --tagall"
+
+# Note: (from the Installation section in the spampd documentation)
+# "Note that spampd replaces spamd from the SpamAssassin distribution
+# in function. You do not need to run spamd in order for spampd to
+# work. This has apparently been the source of some confusion, so now
+# you know."
diff --git a/mail-filter/spampd/files/digest-spampd-2.11 b/mail-filter/spampd/files/digest-spampd-2.11
new file mode 100644
index 000000000000..32106a4b7529
--- /dev/null
+++ b/mail-filter/spampd/files/digest-spampd-2.11
@@ -0,0 +1 @@
+MD5 5f697879767ce39a24981030ce5c6c5c spampd-2.11.tar.gz 28401
diff --git a/mail-filter/spampd/files/digest-spampd-2.11-r1 b/mail-filter/spampd/files/digest-spampd-2.11-r1
new file mode 100644
index 000000000000..32106a4b7529
--- /dev/null
+++ b/mail-filter/spampd/files/digest-spampd-2.11-r1
@@ -0,0 +1 @@
+MD5 5f697879767ce39a24981030ce5c6c5c spampd-2.11.tar.gz 28401
diff --git a/mail-filter/spampd/files/init b/mail-filter/spampd/files/init
new file mode 100644
index 000000000000..b073854e8ced
--- /dev/null
+++ b/mail-filter/spampd/files/init
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/files/init,v 1.1 2004/06/03 07:33:38 seemant Exp $
+
+# Note: spampd configuration file is /etc/conf.d/spampd
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting spampd"
+ start-stop-daemon --start --quiet \
+ --exec /usr/sbin/spampd -- --pid=/var/run/spampd.pid \
+ ${SPAMPD_OPTS}
+ eend $? "Failed to start spampd"
+}
+
+stop() {
+ ebegin "Stopping spampd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/spampd.pid
+ eend $? "Failed to stop spampd"
+}
diff --git a/mail-filter/spampd/spampd-2.11-r1.ebuild b/mail-filter/spampd/spampd-2.11-r1.ebuild
new file mode 100644
index 000000000000..1533c7f1e042
--- /dev/null
+++ b/mail-filter/spampd/spampd-2.11-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/spampd-2.11-r1.ebuild,v 1.1 2004/06/03 07:33:38 seemant Exp $
+
+DESCRIPTION="spampd is a program used within an e-mail delivery system to scan messages for possible Unsolicited Commercial E-mail content."
+HOMEPAGE="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/perl
+ dev-perl/net-server
+ dev-perl/Mail-SpamAssassin"
+
+S=${WORKDIR}/${P}
+
+src_install() {
+ dosbin spampd
+ dodoc COPYING README.Gentoo changelog.txt spampd-rh-rc-script
+ dohtml spampd.html
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/init spampd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/conf spampd
+}
diff --git a/mail-filter/spampd/spampd-2.11.ebuild b/mail-filter/spampd/spampd-2.11.ebuild
new file mode 100644
index 000000000000..a2958eb6986e
--- /dev/null
+++ b/mail-filter/spampd/spampd-2.11.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/spampd-2.11.ebuild,v 1.1 2004/06/03 07:33:38 seemant Exp $
+
+DESCRIPTION="spampd is a program used within an e-mail delivery system to scan messages for possible Unsolicited Commercial E-mail content."
+HOMEPAGE="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/perl
+ dev-perl/net-server
+ dev-perl/Mail-SpamAssassin"
+
+S=${WORKDIR}/${P}
+
+src_install() {
+ dosbin spampd
+ dodoc COPYING README.Gentoo changelog.txt spampd-rh-rc-script
+ dohtml spampd.html
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/init spampd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/conf spampd
+}