* [gentoo-commits] gentoo-x86 commit in mail-filter/dkim-milter: ChangeLog dkim-milter-2.3.0-r1.ebuild
@ 2007-10-09 20:25 Alin Nastac (mrness)
0 siblings, 0 replies; only message in thread
From: Alin Nastac (mrness) @ 2007-10-09 20:25 UTC (permalink / raw
To: gentoo-commits
mrness 07/10/09 20:25:32
Modified: ChangeLog
Added: dkim-milter-2.3.0-r1.ebuild
Log:
Build with user selected CFLAGS. Cleanup the ebuild code. Add ~x86 keyword. Add approx-regex local USE flag.
(Portage version: 2.1.3.9)
Revision Changes Path
1.3 mail-filter/dkim-milter/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/ChangeLog?r1=1.2&r2=1.3
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog 8 Oct 2007 08:43:36 -0000 1.2
+++ ChangeLog 9 Oct 2007 20:25:31 -0000 1.3
@@ -1,6 +1,14 @@
# ChangeLog for mail-filter/dkim-milter
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/ChangeLog,v 1.2 2007/10/08 08:43:36 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/ChangeLog,v 1.3 2007/10/09 20:25:31 mrness Exp $
+
+*dkim-milter-2.3.0-r1 (09 Oct 2007)
+
+ 09 Oct 2007; Alin Năstac <mrness@gentoo.org>
+ +files/dkim-milter-2.3.0-gentoo.patch, files/dkim-filter.conf,
+ +dkim-milter-2.3.0-r1.ebuild:
+ Build with user selected CFLAGS. Cleanup the ebuild code. Add ~x86 keyword.
+ Add approx-regex local USE flag.
*dkim-milter-2.3.0 (08 Oct 2007)
1.1 mail-filter/dkim-milter/dkim-milter-2.3.0-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/dkim-milter-2.3.0-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/dkim-milter-2.3.0-r1.ebuild?rev=1.1&content-type=text/plain
Index: dkim-milter-2.3.0-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/dkim-milter-2.3.0-r1.ebuild,v 1.1 2007/10/09 20:25:31 mrness Exp $
inherit eutils toolchain-funcs
DESCRIPTION="A milter-based application to provide DomainKeys Identified Mail (DKIM) service"
HOMEPAGE="http://sourceforge.net/projects/dkim-milter/"
SRC_URI="mirror://sourceforge/dkim-milter/${P}.tar.gz"
LICENSE="Sendmail-Open-Source"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="approx-regex"
RDEPEND="dev-libs/openssl
>=sys-libs/db-3.2
|| ( mail-filter/libmilter mail-mta/sendmail )
approx-regex? ( dev-libs/tre )"
DEPEND="${RDEPEND}"
pkg_setup() {
enewgroup milter
enewuser milter -1 -1 -1 milter
}
src_unpack() {
unpack ${A}
cd "${S}" || die "source dir not found"
cp site.config.m4.dist devtools/Site/site.config.m4 || \
die "failed to generate site.config.m4"
epatch "${FILESDIR}/${P}-gentoo.patch"
sed -i -e "s:@@CFLAGS@@:${CFLAGS}:" \
devtools/Site/site.config.m4
}
src_compile() {
local MY_LIBS
use approx-regex && MY_LIBS="-ltre"
emake -j1 CC="$(tc-getCC)" LIBADD="${MY_LIBS}" || die "emake failed"
}
src_test() {
emake -j1 OPTIONS=check \
|| die "./Build check failed"
}
src_install() {
# prepare directory for private keys.
dodir /etc/mail/dkim-filter
fowners milter:milter /etc/mail/dkim-filter
fperms 700 /etc/mail/dkim-filter
# prepare directory for PID file
dodir /var/run/dkim-filter
fowners milter:milter /var/run/dkim-filter
dodir /usr/bin /usr/share/man/man{3,5,8}
emake -j1 DESTDIR="${D}" \
MANROOT=/usr/share/man/man MANOWN=root MANGRP=root \
install || die "make install failed"
dobin "$FILESDIR"/dkim-gettxt.sh || die "dobin failed"
newinitd "${FILESDIR}/dkim-filter.init" dkim-filter \
|| die "newinitd failed"
newconfd "${FILESDIR}/dkim-filter.conf" dkim-filter \
|| die "newconfd failed"
}
pkg_postinst() {
pkg_setup # create milter user
einfo "You might want to run dkim-gettxt.sh to generate"
einfo "the necessary keys to use with dkim-filter if you have"
einfo "not done so already."
}
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-09 20:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09 20:25 [gentoo-commits] gentoo-x86 commit in mail-filter/dkim-milter: ChangeLog dkim-milter-2.3.0-r1.ebuild Alin Nastac (mrness)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox