diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /mail-filter/spamdyke/spamdyke-4.3.0.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'mail-filter/spamdyke/spamdyke-4.3.0.ebuild')
-rw-r--r-- | mail-filter/spamdyke/spamdyke-4.3.0.ebuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/mail-filter/spamdyke/spamdyke-4.3.0.ebuild b/mail-filter/spamdyke/spamdyke-4.3.0.ebuild deleted file mode 100644 index 14aae8f1ea05..000000000000 --- a/mail-filter/spamdyke/spamdyke-4.3.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils autotools - -DESCRIPTION="A drop-in connection-time spam filter for qmail" -HOMEPAGE="http://www.spamdyke.org/" -SRC_URI="http://www.spamdyke.org/releases/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+ssl" - -DEPEND="ssl? ( dev-libs/openssl:0= )" -RDEPEND="${DEPEND} - virtual/qmail" - -S=${WORKDIR}/${P}/${PN} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc46.patch - echo "# Configuration option for ${PN}" > ${PN}.conf - if use ssl; then - echo "tls-certificate-file=/var/qmail/control/clientcert.pem" \ - >> ${PN}.conf - fi - echo "graylist-level=always-create-dir" >> ${PN}.conf - echo "graylist-dir=/var/tmp/${PN}/graylist" >> ${PN}.conf - echo "reject-empty-rdns" >> ${PN}.conf - echo "reject-unresolvable-rdns" >> ${PN}.conf - echo "dns-blacklist-entry=zen.spamhaus.org" >> ${PN}.conf - echo "local-domains-file=/var/qmail/control/rcpthosts" >> ${PN}.conf - sed -i \ - -e "/STRIP_CMD/d" \ - Makefile.in || die "sed on Makefile.in failed" - eautoreconf -} - -src_configure() { - econf \ - $(use_enable ssl tls) - cd ../utils - econf -} - -src_compile() { - emake CFLAGS="${CFLAGS}" - cd ../utils - emake CFLAGS="${CFLAGS}" -} - -src_install() { - dobin ${PN} - insinto /etc/${PN} - doins ${PN}.conf - dodir /var/tmp/${PN}/graylist - fowners -R qmaild /var/tmp/${PN}/graylist - cd ../utils - dobin domain2path - cd ../documentation - dodoc {Changelog,INSTALL,UPGRADING}.txt - dohtml FAQ.html \ - README.html \ - README_ip_file_format.html \ - README_rdns_directory_format.html \ - README_rdns_file_format.html -} - -pkg_postinst() { - elog "In /var/qmail/control/conf-smtpd insert the line:" - elog "QMAIL_SMTP_PRE=\"${QMAIL_SMTP_PRE} spamdyke -f /etc/${PN}/${PN}.conf\"" - elog "Run spamdyke with the '-h' flag to see the available options and" - elog "update /etc/spamdyke/spamdyke.conf accordingly" -} |