summaryrefslogtreecommitdiff
path: root/mail-filter/spampd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-filter/spampd
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-filter/spampd')
-rw-r--r--mail-filter/spampd/Manifest10
-rw-r--r--mail-filter/spampd/files/conf15
-rw-r--r--mail-filter/spampd/files/init23
-rw-r--r--mail-filter/spampd/files/init-r123
-rw-r--r--mail-filter/spampd/metadata.xml11
-rw-r--r--mail-filter/spampd/spampd-2.30.ebuild23
-rw-r--r--mail-filter/spampd/spampd-2.42.ebuild25
7 files changed, 130 insertions, 0 deletions
diff --git a/mail-filter/spampd/Manifest b/mail-filter/spampd/Manifest
new file mode 100644
index 000000000000..660fd16c1882
--- /dev/null
+++ b/mail-filter/spampd/Manifest
@@ -0,0 +1,10 @@
+AUX conf 665 SHA256 efce536ae345412cf963e561ffe4682b226f9ddb50be2c0d9541dfddc7734fc9 SHA512 f184a784261923b8e36279c5cca24783812617220d266f5f16f15e83e2e2f3b0f9c1b9a82b9b3ac7d297b28a15af78d858f9f250757171187e6ff2c885a3b741 WHIRLPOOL 75077e5d3f384a8d1275e204d21a4938a4d288fee97c0b65cf079fb385c17b1a2818ec800135ed2daf78803830e95a0bd85f0b2b3eca036c7b8f4567bfd6c666
+AUX init 526 SHA256 60d9720da3345495160d8fa433265476bf284e2bc1cdb1e40d51e1c27ada697d SHA512 bae9152a51e07f702649b64f0d44b12d115242dd9b44bc12b2695647eaedd635180d6cff31c26a203df7ce0ae7623db274c64d2c3eb80258aa0c6a92f31cb55f WHIRLPOOL b16160ee4796e51b0ce00f79c68ff57e3703387aa9e21bf29ac685e7ebe635fdc26df01dbc9b06da02d45cc89f871ff7c681b89c38756f90a3ba40459c72ace9
+AUX init-r1 521 SHA256 23f04352ad394b255f8fdf552e56ff7f31749a131e3958edbe5ac4e5ca31aa11 SHA512 fc32a28811b9d7f0d6f6d3d53b10df1b49b8ec68aaa058f5309809aa4c1e4ac17b5823b3b0f46b0823297b00548c45acff54acdb9c5f8e612260462fde2f8d72 WHIRLPOOL 3c07e2e0df6423cbfa09496c1d03bff075606da5ad90e296d37ff2e4ce8523e28e9658c7879bcbfeb772bbfa8ef1be3f42ab9ce6eab955b82aee42e722630b21
+DIST spampd-2.30.tar.gz 25001 SHA256 6885544f4d1b339ebe3ad58068434397280a6526f682e78f7d0246aef6a09979 SHA512 6f45016ef449e914bd23ddc1b9de508e7d068f198e587038de5b54dddb6ce4de451eca7f7e63a91e6a51423765fd971107a39a39c4f64e0ad1a37d5a885775f9 WHIRLPOOL 1d59bd2af47f546484f2aeecf02b3f151c579b9cb52daf423d28c56beb942a5f6c0dd2439f24a119703d035d4bfe313ec7b5951c6dd0ce7bbaa0e52c99151a64
+DIST spampd-2.42.tar.gz 202504 SHA256 c6dcef8df0c471b3982e777bcccfe343f1f6f921113c2b369a76144724b1d15d SHA512 5c44b5902efd6c628fb62887b755012b137940d7d687f5d9489e5f96623d6eeca5f3641a76fe3b2ce8585040c3661e19df981c612cdb1a767b4a46fec982fa4e WHIRLPOOL 6cd3ad9feac99d7bdd02d0824a7cb067a83c86f64552aa59ee9dabd021499bd75ff9e79bd10191e74f5887d8b6e461699970c61b832c7ee48976df61d191f54d
+EBUILD spampd-2.30.ebuild 665 SHA256 a67a4ea30e41cf1664599ad1614f741eead76cb90d47ae3af9b32e39d38f57c9 SHA512 31616d626c0606ed6448e941675e077816d074aac107392d35dd5a740473d605fff7dcb9e3b5d577e8f4e9b4d1ccc918106b2e4d57a7f485cf62a8aa97937aa5 WHIRLPOOL 043bb6e6f151ab23271098a1489ace8d7138344aad42016e4bba674bcfb753a209b2fadf2eba9e2cb1a5f777709efc82564f56e28835fba64b30ebab8f6bf113
+EBUILD spampd-2.42.ebuild 718 SHA256 5a4ce218bfcc4e63f1c7474d7fc3e015a3b73eb060616bfa171f88a33981baa0 SHA512 e8362a3e3760674e25b1260d9f693f73c57bf760eff08de24c3afa702ad5731bd0d975397d222b4a28f67ef1fba560a82e9344d385548b4728bb9e82429d5330 WHIRLPOOL bbe0e6934ec53faf564f66d140b983062b22c3b3d100f6d2f0d8baf05f30edf60d25ef9bbcada6ed561778e7cfc6164c8d5cc856f3a51fb7516d3fa98b60f65f
+MISC ChangeLog 2944 SHA256 86a08472235f5fcc13a74dde5f0379caf6be4f718b81c241878c1175bea56b45 SHA512 53c4810c570d74e19958894768040f82ad121e9b123a549746230d9f3b1c1b91ccfb50a8914fc6b6acfacc11179b384a3b17b7f6af4063fa3dd10ad4d7f67860 WHIRLPOOL 1cbf6197d06fd6f330046164b57f23d3833537f78c3691fc1a0276fe2fc6e3898a2da96cded170ef086326acc4601c2ecf45ef1c21700be5b237a688915dcbbc
+MISC ChangeLog-2015 2454 SHA256 09f4a041222e99c41b4a3a35a049f4695108f8eb90ece88235b6d9ecbf16bde8 SHA512 b44bac6689418560e31332e5f419110e8918c7920c09a9efd78fb7e413df69f754c7b990f6fccda82a9db777ad1b59ccc2dcf4bc546eec8737169eefa65b599a WHIRLPOOL 4bffe81b34a526cce673bd5cc7f4680144c07ff79142ca46d741f9d00aac85df13cec2f3b29a7b99fee10ee892577187ac647f5e2483acd56d0a06000a9be27a
+MISC metadata.xml 324 SHA256 c0942038879594ceff6e057b1c93e8475b0f17fe19986156d08eb81cfcb208ae SHA512 a31c89117ac8aa7eb2f9879c0fc84bfb3b0033d04332ecf589c220de55b6d8616809fb94961902e3f3dfd52d7ac257240bc6a368618ff085731b5cf4b9c2b36d WHIRLPOOL af262a3648132d7aeb37e48d83456b9422633f8012ce25576816a6ddb8cddf3a23256714b13e77bd3f5fee86dbdc691cfb0502ddb483497aa9a955aa063ef3e2
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/init b/mail-filter/spampd/files/init
new file mode 100644
index 000000000000..7a5171e46034
--- /dev/null
+++ b/mail-filter/spampd/files/init
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# 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 -- --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/files/init-r1 b/mail-filter/spampd/files/init-r1
new file mode 100644
index 000000000000..b6402e4b5b55
--- /dev/null
+++ b/mail-filter/spampd/files/init-r1
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# 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/metadata.xml b/mail-filter/spampd/metadata.xml
new file mode 100644
index 000000000000..d3033f57f726
--- /dev/null
+++ b/mail-filter/spampd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mpaperno/spampd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mail-filter/spampd/spampd-2.30.ebuild b/mail-filter/spampd/spampd-2.30.ebuild
new file mode 100644
index 000000000000..63b30d6a9061
--- /dev/null
+++ b/mail-filter/spampd/spampd-2.30.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="http://www.worlddesign.com/Content/rd/mta/${PN}/${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
+ dodoc changelog.txt spampd-rh-rc-script
+ dohtml spampd.html
+ newinitd "${FILESDIR}"/init spampd
+ newconfd "${FILESDIR}"/conf 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..cc46ce177c5e
--- /dev/null
+++ b/mail-filter/spampd/spampd-2.42.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}