diff options
author | Eray Aslan <eras@gentoo.org> | 2011-06-10 10:56:58 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-06-10 10:56:58 +0000 |
commit | a2fa8eb8e79e96ddae77e2edfe4c5bd003afefc6 (patch) | |
tree | 57481f7fb149aa5d08d2c6b5a557e6e62691ba12 /mail-filter | |
parent | Revision bump to add multilib support (bug #370795). (diff) | |
download | gentoo-2-a2fa8eb8e79e96ddae77e2edfe4c5bd003afefc6.tar.gz gentoo-2-a2fa8eb8e79e96ddae77e2edfe4c5bd003afefc6.tar.bz2 gentoo-2-a2fa8eb8e79e96ddae77e2edfe4c5bd003afefc6.zip |
version bump
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/libmilter/ChangeLog | 9 | ||||
-rw-r--r-- | mail-filter/libmilter/libmilter-1.0.2.ebuild | 66 |
2 files changed, 73 insertions, 2 deletions
diff --git a/mail-filter/libmilter/ChangeLog b/mail-filter/libmilter/ChangeLog index 9e5e2dc0f53c..61d0285ec048 100644 --- a/mail-filter/libmilter/ChangeLog +++ b/mail-filter/libmilter/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/libmilter -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v 1.21 2009/09/20 08:28:21 mrness Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/ChangeLog,v 1.22 2011/06/10 10:56:58 eras Exp $ + +*libmilter-1.0.2 (10 Jun 2011) + + 10 Jun 2011; Eray Aslan <eras@gentoo.org> +libmilter-1.0.2.ebuild: + Version bump *libmilter-1.0.1-r1 (20 Sep 2009) diff --git a/mail-filter/libmilter/libmilter-1.0.2.ebuild b/mail-filter/libmilter/libmilter-1.0.2.ebuild new file mode 100644 index 000000000000..8fdc49a97924 --- /dev/null +++ b/mail-filter/libmilter/libmilter-1.0.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/libmilter/libmilter-1.0.2.ebuild,v 1.1 2011/06/10 10:56:58 eras Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +# This library is part of sendmail, but it does not share the version number with it. +# In order to find the right libmilter version number, check SMFI_VERSION definition +# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines). +# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001. +SENDMAIL_VER=8.14.5 + +DESCRIPTION="The Sendmail Filter API (Milter)" +HOMEPAGE="http://www.sendmail.org/" +SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${SENDMAIL_VER}.tar.gz" + +LICENSE="Sendmail" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="ipv6 poll" + +DEPEND="!mail-mta/sendmail" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/sendmail-${SENDMAIL_VER}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-build-system.patch + epatch "${FILESDIR}"/${PN}-sharedlib.patch + + local CC="$(tc-getCC)" + local ENVDEF="-DNETUNIX -DNETINET" + use ipv6 && ENVDEF="${ENVDEF} -DNETINET6" + use poll && ENVDEF="${ENVDEF} -DSM_CONF_POLL=1" + + sed -e "s:@@CFLAGS@@:${CFLAGS}:" \ + -e "s:@@LDFLAGS@@:${LDFLAGS}:" \ + -e "s:@@CC@@:${CC}:" \ + -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 MILTER_SOVER=${PV} || die "libmilter compilation failed" + popd +} + +src_install () { + local MY_LIBDIR=/usr/$(get_libdir) + dodir "${MY_LIBDIR}" + 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 \ + MILTER_SOVER=${PV} \ + install -C obj.*/libmilter \ + || die "install failed" + + dodoc libmilter/README + dohtml libmilter/docs/* +} |