summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-08 09:18:57 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-08 09:18:57 +0000
commit1c28c6aad0bc392d916541c2a3473cd8aa0a9aeb (patch)
tree90f9498cf2ebb4f72c994fbc736f6ed5cee8ba06 /mail-filter/libmilter
parentold (diff)
downloadgentoo-2-1c28c6aad0bc392d916541c2a3473cd8aa0a9aeb.tar.gz
gentoo-2-1c28c6aad0bc392d916541c2a3473cd8aa0a9aeb.tar.bz2
gentoo-2-1c28c6aad0bc392d916541c2a3473cd8aa0a9aeb.zip
Version bump.
(Portage version: 2.1.4.4)
Diffstat (limited to 'mail-filter/libmilter')
-rw-r--r--mail-filter/libmilter/ChangeLog7
-rw-r--r--mail-filter/libmilter/libmilter-8.14.3.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/mail-filter/libmilter/ChangeLog b/mail-filter/libmilter/ChangeLog
index 506e2498ac3d..11e6ece8102c 100644
--- a/mail-filter/libmilter/ChangeLog
+++ b/mail-filter/libmilter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/libmilter
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v 1.8 2008/02/17 15:21:33 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v 1.9 2008/06/08 09:18:57 mrness Exp $
+
+*libmilter-8.14.3 (08 Jun 2008)
+
+ 08 Jun 2008; Alin Năstac <mrness@gentoo.org> +libmilter-8.14.3.ebuild:
+ Version bump.
17 Feb 2008; Alin Năstac <mrness@gentoo.org> -libmilter-8.14.1-r1.ebuild,
libmilter-8.14.2.ebuild:
diff --git a/mail-filter/libmilter/libmilter-8.14.3.ebuild b/mail-filter/libmilter/libmilter-8.14.3.ebuild
new file mode 100644
index 000000000000..3c2db1bddde2
--- /dev/null
+++ b/mail-filter/libmilter/libmilter-8.14.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/libmilter-8.14.3.ebuild,v 1.1 2008/06/08 09:18:57 mrness Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="The Sendmail Filter API (Milter)"
+HOMEPAGE="http://www.sendmail.org/"
+SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${PV}.tar.gz"
+
+LICENSE="Sendmail"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ipv6 poll"
+
+DEPEND="!mail-mta/sendmail"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/sendmail-${PV}"
+
+src_unpack() {
+ unpack ${A}
+
+ local ENVDEF="-DNETUNIX -DNETINET"
+ use ipv6 && ENVDEF="${ENVDEF} -DNETINET6"
+ use poll && ENVDEF="${ENVDEF} -DSM_CONF_POLL=1"
+
+ sed -e "s:@@CFLAGS@@:${CFLAGS}:" -e "s:@@ENVDEF@@:${ENVDEF}:" \
+ "${FILESDIR}/gentoo.config.m4" > "${S}/devtools/Site/site.config.m4" \
+ || die "failed to generate site.config.m4"
+}
+
+src_compile() {
+ pushd libmilter
+ emake -j1 CC="$(tc-getCC)" || die "libmilter compilation failed"
+ popd
+}
+
+src_install () {
+ local MY_LIBDIR=/usr/$(get_libdir)
+ dodir "${MY_LIBDIR}" /usr/include/libmilter
+ emake DESTDIR="${D}" LIBDIR="${MY_LIBDIR}" MANROOT=/usr/share/man/man \
+ SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \
+ LIBOWN=root LIBGRP=root GBINOWN=root GBINGRP=root \
+ MANOWN=root MANGRP=root INCOWN=root INCGRP=root \
+ MSPQOWN=root CFOWN=root CFGRP=root \
+ install -C obj.*/libmilter \
+ || die "install failed"
+
+ dodoc libmilter/README
+ dohtml libmilter/docs/*
+}