From d956e0e3f2520b65b257a37065c17ffaeee7bc7a Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Sat, 28 Feb 2009 15:13:52 +0000 Subject: Add myself as maintainer. Version bump. (Portage version: 2.1.6.4/cvs/Linux 2.6.25-gentoo-r6 x86_64) --- mail-filter/sid-milter/ChangeLog | 10 ++++- mail-filter/sid-milter/metadata.xml | 8 +++- mail-filter/sid-milter/sid-milter-0.2.14.ebuild | 6 +-- mail-filter/sid-milter/sid-milter-1.0.0.ebuild | 56 +++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 6 deletions(-) create mode 100644 mail-filter/sid-milter/sid-milter-1.0.0.ebuild (limited to 'mail-filter') diff --git a/mail-filter/sid-milter/ChangeLog b/mail-filter/sid-milter/ChangeLog index 54eec441ccb9..8dc694ed53f9 100644 --- a/mail-filter/sid-milter/ChangeLog +++ b/mail-filter/sid-milter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/sid-milter -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.7 2008/01/29 18:35:06 mrness Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.8 2009/02/28 15:13:52 mrness Exp $ + +*sid-milter-1.0.0 (28 Feb 2009) + + 28 Feb 2009; Alin Năstac metadata.xml, + sid-milter-0.2.14.ebuild, +sid-milter-1.0.0.ebuild: + Add myself as maintainer. Version bump. 29 Jan 2008; Alin Năstac sid-milter-0.2.14.ebuild: Remove libmilter atom from run-time dependencies. diff --git a/mail-filter/sid-milter/metadata.xml b/mail-filter/sid-milter/metadata.xml index dda87916e233..48fef38be8dc 100644 --- a/mail-filter/sid-milter/metadata.xml +++ b/mail-filter/sid-milter/metadata.xml @@ -2,5 +2,11 @@ net-mail -net-mail@gentoo.org + + mrness@gentoo.org + Alin Năstac + +A milter-based application that implements and enforces +the merged Caller-ID/SPF specification from the IETF MARID working group, +currently dubbed "Sender-ID" diff --git a/mail-filter/sid-milter/sid-milter-0.2.14.ebuild b/mail-filter/sid-milter/sid-milter-0.2.14.ebuild index 5f73a70bd418..9391d381210b 100644 --- a/mail-filter/sid-milter/sid-milter-0.2.14.ebuild +++ b/mail-filter/sid-milter/sid-milter-0.2.14.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-0.2.14.ebuild,v 1.4 2008/01/29 18:35:06 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-0.2.14.ebuild,v 1.5 2009/02/28 15:13:52 mrness Exp $ inherit eutils toolchain-funcs @@ -24,7 +24,7 @@ pkg_setup() { } src_unpack() { - unpack "${A}" + unpack ${A} cd "${S}" || die "source dir not found" diff --git a/mail-filter/sid-milter/sid-milter-1.0.0.ebuild b/mail-filter/sid-milter/sid-milter-1.0.0.ebuild new file mode 100644 index 000000000000..9d71c328314f --- /dev/null +++ b/mail-filter/sid-milter/sid-milter-1.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-1.0.0.ebuild,v 1.1 2009/02/28 15:13:52 mrness Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="A milter-based application to provide Sender-ID verification service" +HOMEPAGE="http://sourceforge.net/projects/sid-milter/" +SRC_URI="mirror://sourceforge/sid-milter/${P}.tar.gz" + +LICENSE="Sendmail-Open-Source" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl + >=sys-libs/db-3.2" +DEPEND="${RDEPEND} + || ( mail-filter/libmilter mail-mta/sendmail )" # libmilter is a static library + +pkg_setup() { + enewgroup milter + enewuser milter -1 -1 -1 milter +} + +src_unpack() { + unpack ${A} + + cd "${S}" || die "source dir not found" + + sed -e "s:@@CFLAGS@@:${CFLAGS}:" \ + "${FILESDIR}/gentoo.config.m4" > "${S}/devtools/Site/site.config.m4" \ + || die "failed to generate site.config.m4" +} + +src_compile() { + emake -j1 CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dodir /usr/bin + emake -j1 DESTDIR="${D}" SUBDIRS=sid-filter \ + SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \ + install || die "make install failed" + + newinitd "${FILESDIR}/sid-filter.init" sid-filter \ + || die "newinitd failed" + newconfd "${FILESDIR}/sid-filter.conf" sid-filter \ + || die "newconfd failed" + + # man build is broken; do man page installation by hand + doman */*.8 || die "failed to install man pages" + + # some people like docs + dodoc RELEASE_NOTES *.txt sid-filter/README || die "failed to install docs" +} -- cgit v1.2.3-65-gdbad