diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-10-16 08:21:41 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-10-16 08:21:41 +0200 |
commit | 31d3f3cfcaf6e41124c9ccb20756be5efb744bec (patch) | |
tree | c35e950bf9ca8fdae7e8105be4ea696bf29c5152 /mail-filter/opendmarc | |
parent | dev-tcltk/snack: remove ppc64 (diff) | |
download | gentoo-31d3f3cfcaf6e41124c9ccb20756be5efb744bec.tar.gz gentoo-31d3f3cfcaf6e41124c9ccb20756be5efb744bec.tar.bz2 gentoo-31d3f3cfcaf6e41124c9ccb20756be5efb744bec.zip |
mail-filter/opendmarc-1.3.2-r3: cleanup for security
Bug: https://bugs.gentoo.org/734158
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'mail-filter/opendmarc')
-rw-r--r-- | mail-filter/opendmarc/Manifest | 1 | ||||
-rw-r--r-- | mail-filter/opendmarc/opendmarc-1.3.2-r3.ebuild | 70 |
2 files changed, 0 insertions, 71 deletions
diff --git a/mail-filter/opendmarc/Manifest b/mail-filter/opendmarc/Manifest index 905f6981f434..d24d52d896e5 100644 --- a/mail-filter/opendmarc/Manifest +++ b/mail-filter/opendmarc/Manifest @@ -1,2 +1 @@ -DIST opendmarc-1.3.2.tar.gz 593448 BLAKE2B 80f47a82e38c6cdc5791a695485262c50e9363b81537a52d7af204bd6a830df6eea9e9b6f710b72b7934c3ab7df800def7d4b3e54f53b8908a7f1b42bcea2b2d SHA512 6045fb7d2be8f0ffdeca07324857d92908a41c6792749017c2fcc1058f05f55317b1919c67c780827dd7094ec8fff2e1fa4aeb5bab7ff7461537957af2652748 DIST opendmarc-1.3.3.tar.gz 575319 BLAKE2B 72dae5553fea9a51d860aaac6d85171a245584a74134df2249217a88f3da04c4eb518141f6342e281c6a9186345d69a34b585dc3ed18bdb53313374db505f4f5 SHA512 bb4bf8e3ad2d1732b07e55316819d4fd708e529b54a336d7d00763e13bfc62580bb1b30f132fa786dbca15e526e8dd5e146c7be454e1c42714a9f57126fc5e12 diff --git a/mail-filter/opendmarc/opendmarc-1.3.2-r3.ebuild b/mail-filter/opendmarc/opendmarc-1.3.2-r3.ebuild deleted file mode 100644 index 480100bb10f5..000000000000 --- a/mail-filter/opendmarc/opendmarc-1.3.2-r3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit user multilib systemd - -DESCRIPTION="Open source DMARC implementation " -HOMEPAGE="http://www.trusteddomain.org/opendmarc/" -SRC_URI="mirror://sourceforge/opendmarc/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 sparc x86" -IUSE="spf +reports static-libs" - -DEPEND="reports? ( dev-perl/DBI ) - || ( mail-filter/libmilter mail-mta/sendmail )" -RDEPEND="${DEPEND} - reports? ( - dev-perl/DBD-mysql - dev-perl/HTTP-Message - dev-perl/Switch - ) - spf? ( mail-filter/libspf2 )" - -PATCHES=( - "${FILESDIR}"/${P}-multiple-From.patch -) - -pkg_setup() { - enewgroup milter - enewuser milter -1 -1 /var/lib/milter milter -} - -src_prepare() { - default - if use !reports ; then - sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die - fi -} - -src_configure() { - econf \ - $(use_with spf) \ - $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \ - $(use_with spf spf2-lib "${EPREFIX}"/usr/$(get_libdir)) \ - $(use_enable static-libs static) -} - -src_install() { - default - - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.la - - newinitd "${FILESDIR}"/opendmarc.initd opendmarc - newconfd "${FILESDIR}"/opendmarc.confd opendmarc - systemd_dounit "${FILESDIR}/${PN}.service" - - dodir /etc/opendmarc - - # create config file - sed \ - -e 's:^# UserID .*$:UserID milter:' \ - -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \ - -e '/^# Socket /s:^# ::' \ - "${S}"/opendmarc/opendmarc.conf.sample \ - > "${ED}"/etc/opendmarc/opendmarc.conf \ - || die -} |