mail-filter/spampd: bump spampd
Add systemd unit file Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
parent
f30b04c2cf
commit
88c9d173cc
5
mail-filter/spampd/Manifest
Normal file
5
mail-filter/spampd/Manifest
Normal file
|
@ -0,0 +1,5 @@
|
|||
AUX conf 665 BLAKE2B 21638b47bcd8f90b5521c131aae983ec7ceb51fc470eb991f5fe1b670d267efc0314b787e8e6f094b793a08239717d0d183766a676b127320a59037ccd718c7b SHA512 f184a784261923b8e36279c5cca24783812617220d266f5f16f15e83e2e2f3b0f9c1b9a82b9b3ac7d297b28a15af78d858f9f250757171187e6ff2c885a3b741
|
||||
AUX init 544 BLAKE2B 1cf7c0013fc616cc1a628cda70d500dde4e215bc2f6359ce5393add529e5fbf15425d183e8c09f6d61f285f724900099de4c0618794bf245c2ff49262f5901b8 SHA512 bc343a616bb4ad7685d04e8f7b67c5ef097ecd7a51f77b10dbbe8efc500d8fda779d6b1ff1b9e5901e48474457038f708c873df05fb75e8b61c79b404071e20e
|
||||
DIST spampd-2.53.tar.gz 217945 BLAKE2B 64f460df55c6cefea68fd41a12cc53e8e994bc84eb0b9d41af2d590cadd72a22cc21d65929f1fa6b2af40e38b71ab19beeb9c07b3151b1d51b099973f892b28a SHA512 538d905359bd455916aa8dcad9f3d77ce0fbf6cb722608bb723d186679e04abab784c9ae2c372954028dc1454642d74f4cfd0f63f52dcf439f35406220979ef5
|
||||
EBUILD spampd-2.53.ebuild 703 BLAKE2B 6bc25f03e4bf91d75aa433d7d035d6a56e206364252d4254c978f1fd52564e554dff29b8046a56599482755993d5c980a22474259cb8f6f7ff922880672b4fbb SHA512 a969c1b6e5de2e25adc738f043f298c47f1a856b45518cd522b13b9b36c271ca76b6697f685c18778cb86c5aa4cd32f0ea0e4839395069dba84dac89e1649a62
|
||||
MISC metadata.xml 247 BLAKE2B 6e99b6d8d84d2165e1d927d94eddb3d8827ffa0b8c9baf1ff2e571167b997737d4a1bffb3da540b7d8237db37ef0ba15d2698c7c5275dfbff97a168bd64bb917 SHA512 2c3209cbb0b1c88fd242e69ec40e06a8aa16b4980203c20f9ce61fd5925cdefbed5b9ad9c19cc3baba68ca72565d6cae2cb404e291461ce9e607f0230ec99f3c
|
15
mail-filter/spampd/files/conf
Normal file
15
mail-filter/spampd/files/conf
Normal file
|
@ -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."
|
23
mail-filter/spampd/files/init
Normal file
23
mail-filter/spampd/files/init
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# 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 --interpreted \
|
||||
--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 --retry 60 --pidfile /run/spampd.pid
|
||||
eend $? "Failed to stop spampd"
|
||||
}
|
8
mail-filter/spampd/metadata.xml
Normal file
8
mail-filter/spampd/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">mpaperno/spampd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
25
mail-filter/spampd/spampd-2.53.ebuild
Normal file
25
mail-filter/spampd/spampd-2.53.ebuild
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="spampd is a program to scan messages for 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 spampd
|
||||
newconfd "${FILESDIR}"/conf spampd
|
||||
}
|
Loading…
Reference in a new issue