mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
mail-filter/libsrs_alt: EAPI-bump, take maintainership, bug #697318
Closes: https://bugs.gentoo.org/697318 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libsrs_alt-1.0.tar.bz2 237984 BLAKE2B e55b01f28fdf240ccf2fea8b43e930bc02a78bfb82a2b9fe573c1c09e0839f89a0bdb51844dae237ed66e4bda925b5b3b93842462987e7f300f6f5d763adf382 SHA512 1e15f8b12c2174c8ee085fc5adae4cb267f69dd5656066d33af106ad4940769552e04cfc67af4ad9650eece2519c03ef383290f36a22df7d9e03fa2186262404
|
||||
DIST libsrs_alt-1.0.tar.gz 337225 BLAKE2B 1fb10130eb44c8edfc3757b9ba6d8a77659d1ba53fa620da2f7c5fe6cb01fe3f9c1ac0aac5a49db7d9f1b8308ac4c07778e03e4aa6ad9c0204a0871dff40047f SHA512 c202b2cbd28ce0b1296a8000b9f2ae19f4fff259a2d9ea43674cab11b947d0f85a0fdbb13e5fef2a52b1ae675a8fa35b492b233f97f5e365a9c076a337010629
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_PV=${PV}
|
||||
MY_RC=${PV}
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Sender Rewriting Scheme library for use with Exim"
|
||||
HOMEPAGE="http://opsec.eu/src/srs/"
|
||||
SRC_URI="https://opsec.eu/src/srs/libsrs_alt-${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="!dev-perl/Mail-SRS"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${P}-ftime.patch
|
||||
|
||||
# add missing header
|
||||
sed -i -e '/timeb.h>/ a #include <stdlib.h>' test.c
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Since the primary intended consumers of this library are MTAs,
|
||||
# use non-standard separator characters (--with-base64compat).
|
||||
# This breaks "SRS Compliancy", which is a rough standard at
|
||||
# best.
|
||||
econf --with-base64compat
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Makefile rules are h0rk3ned, but this is such a tiny package, that
|
||||
# it hardly makes sense to fix this.
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc "${S}"/MTAs/README.EXIM
|
||||
|
||||
use static-libs || rm "${ED}"/usr/$(get_libdir)/libsrs_alt.a
|
||||
}
|
||||
@@ -1,11 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>
|
||||
This is a complete standalone C implementation of the SRS (Sender Rewriting
|
||||
Scheme) and includes a command line utility and daemon, test utility and static
|
||||
and dynamic libraries. SRS is a stop-gap for users of SPF (Sender Policy
|
||||
Framework).
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<email>grobian@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
This is a complete standalone C implementation of the SRS
|
||||
(Sender Rewriting Scheme) and includes a command line utility
|
||||
and daemon, test utility and static and dynamic libraries.
|
||||
SRS is a stop-gap for users of SPF (Sender Policy Framework).
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user