From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- mail-filter/libsrs_alt/Manifest | 1 + .../libsrs_alt/files/libsrs_alt-1.0-ftime.patch | 12 ++++++ mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild | 44 ++++++++++++++++++++++ mail-filter/libsrs_alt/metadata.xml | 11 ++++++ 4 files changed, 68 insertions(+) create mode 100644 mail-filter/libsrs_alt/Manifest create mode 100644 mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch create mode 100644 mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild create mode 100644 mail-filter/libsrs_alt/metadata.xml (limited to 'mail-filter/libsrs_alt') diff --git a/mail-filter/libsrs_alt/Manifest b/mail-filter/libsrs_alt/Manifest new file mode 100644 index 000000000000..b4b73c572799 --- /dev/null +++ b/mail-filter/libsrs_alt/Manifest @@ -0,0 +1 @@ +DIST libsrs_alt-1.0.tar.gz 337225 SHA256 97ee41246f55cb59b24a5b5ccb16af83b036e54502b1f9360a7f912866fba41e diff --git a/mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch b/mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch new file mode 100644 index 000000000000..290c90d6c5d9 --- /dev/null +++ b/mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch @@ -0,0 +1,12 @@ +diff --git a/configure.ac b/configure.ac +index 5a43896..d0e106c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -31,6 +31,7 @@ AC_FUNC_FORK + AC_TYPE_SIGNAL + AC_FUNC_STRNLEN + AC_CHECK_LIB(socket, bind) ++AC_CHECK_LIB(compat, ftime) + AC_CHECK_FUNCS([ftime memset socket strchr strdup strncasecmp]) + AC_TYPE_SIZE_T + diff --git a/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild b/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild new file mode 100644 index 000000000000..7077e5fe131c --- /dev/null +++ b/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils autotools + +MY_PV=${PV} +MY_RC=${PV} +S=${WORKDIR}/${PN}-${MY_PV} + +DESCRIPTION="Sender Rewriting Scheme library" +HOMEPAGE="http://srs.mirtol.com/" +SRC_URI="http://srs.mirtol.com/libsrs_alt-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="!dev-perl/Mail-SRS" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ftime.patch + eautoreconf +} + +src_compile() { + # add missing header + sed -i -e '/timeb.h>/ a #include ' test.c + + # 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 || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" + dodoc "${S}"/MTAs/README.EXIM +} diff --git a/mail-filter/libsrs_alt/metadata.xml b/mail-filter/libsrs_alt/metadata.xml new file mode 100644 index 000000000000..0064ac998f52 --- /dev/null +++ b/mail-filter/libsrs_alt/metadata.xml @@ -0,0 +1,11 @@ + + + +net-mail + +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). + + -- cgit v1.2.3-65-gdbad