summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-10-12 22:04:47 +0000
committerAlin Năstac <mrness@gentoo.org>2007-10-12 22:04:47 +0000
commite452d264c5398784a9364aba280b4e578a57faf1 (patch)
treec550c56cbc740c48195693193ae2423e155d03f1 /mail-filter/sid-milter
parentversion bump (diff)
downloadgentoo-2-e452d264c5398784a9364aba280b4e578a57faf1.tar.gz
gentoo-2-e452d264c5398784a9364aba280b4e578a57faf1.tar.bz2
gentoo-2-e452d264c5398784a9364aba280b4e578a57faf1.zip
Version bump (#178501)
(Portage version: 2.1.3.9)
Diffstat (limited to 'mail-filter/sid-milter')
-rw-r--r--mail-filter/sid-milter/ChangeLog13
-rw-r--r--mail-filter/sid-milter/files/digest-sid-milter-0.2.133
-rw-r--r--mail-filter/sid-milter/files/digest-sid-milter-0.2.143
-rw-r--r--mail-filter/sid-milter/files/gentoo.config.m43
-rw-r--r--mail-filter/sid-milter/files/sid-milter-0.2.14-postfix-queueID.patch (renamed from mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch)0
-rw-r--r--mail-filter/sid-milter/files/site.config.m42
-rw-r--r--mail-filter/sid-milter/sid-milter-0.2.13.ebuild64
-rw-r--r--mail-filter/sid-milter/sid-milter-0.2.14.ebuild58
8 files changed, 75 insertions, 71 deletions
diff --git a/mail-filter/sid-milter/ChangeLog b/mail-filter/sid-milter/ChangeLog
index 98b46974505d..2d5cfd60251d 100644
--- a/mail-filter/sid-milter/ChangeLog
+++ b/mail-filter/sid-milter/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for mail-filter/sid-milter
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.3 2006/07/30 16:25:35 swegener Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.4 2007/10/12 22:04:46 mrness Exp $
+
+*sid-milter-0.2.14 (12 Oct 2007)
+
+ 12 Oct 2007; Alin Năstac <mrness@gentoo.org>
+ -files/sid-milter-0.2.13-queueID.patch,
+ +files/sid-milter-0.2.14-postfix-queueID.patch, +files/gentoo.config.m4,
+ -files/site.config.m4, -sid-milter-0.2.13.ebuild,
+ +sid-milter-0.2.14.ebuild:
+ Version bump, thanks to Jan Oravec <jan dot oravec at 6com dot sk> (#178501).
19 Jul 2006; Tuấn Văn <langthang@gentoo.org>
files/sid-milter-0.2.13-queueID.patch:
diff --git a/mail-filter/sid-milter/files/digest-sid-milter-0.2.13 b/mail-filter/sid-milter/files/digest-sid-milter-0.2.13
deleted file mode 100644
index 2f7ff613225e..000000000000
--- a/mail-filter/sid-milter/files/digest-sid-milter-0.2.13
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0cad0d5315827c6176130b9c3f9bce51 sid-milter-0.2.13.tar.gz 340623
-RMD160 7ade12202212e479a0b14fb11df9358cabd31607 sid-milter-0.2.13.tar.gz 340623
-SHA256 346d143449f9daef75a4f1cea77116024c6913e331c780379863fe6a18951736 sid-milter-0.2.13.tar.gz 340623
diff --git a/mail-filter/sid-milter/files/digest-sid-milter-0.2.14 b/mail-filter/sid-milter/files/digest-sid-milter-0.2.14
new file mode 100644
index 000000000000..6d45b3b4303b
--- /dev/null
+++ b/mail-filter/sid-milter/files/digest-sid-milter-0.2.14
@@ -0,0 +1,3 @@
+MD5 7586ae52b10f0ed2a0e994eb7c655310 sid-milter-0.2.14.tar.gz 341800
+RMD160 9ec66020cea15d7f3c2148e8965a2d4b07f233db sid-milter-0.2.14.tar.gz 341800
+SHA256 018ccf8276245e1311f91d305c563cec6c40430430376b8151bb6a473d8cd90e sid-milter-0.2.14.tar.gz 341800
diff --git a/mail-filter/sid-milter/files/gentoo.config.m4 b/mail-filter/sid-milter/files/gentoo.config.m4
new file mode 100644
index 000000000000..0ac0ecd1355a
--- /dev/null
+++ b/mail-filter/sid-milter/files/gentoo.config.m4
@@ -0,0 +1,3 @@
+define(`confNO_MAN_BUILD',`')
+define(`confOPTIMIZE', `@@CFLAGS@@')
+define(`bld_USE_ARLIB', `true')
diff --git a/mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch b/mail-filter/sid-milter/files/sid-milter-0.2.14-postfix-queueID.patch
index b91202ddffa5..b91202ddffa5 100644
--- a/mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch
+++ b/mail-filter/sid-milter/files/sid-milter-0.2.14-postfix-queueID.patch
diff --git a/mail-filter/sid-milter/files/site.config.m4 b/mail-filter/sid-milter/files/site.config.m4
deleted file mode 100644
index 20dd5abce625..000000000000
--- a/mail-filter/sid-milter/files/site.config.m4
+++ /dev/null
@@ -1,2 +0,0 @@
-define(`confCCOPTS', `@@confCCOPTS@@')
-APPENDDEF(`confINCDIRS', `@@conf_libmilter_INCDIRS@@')
diff --git a/mail-filter/sid-milter/sid-milter-0.2.13.ebuild b/mail-filter/sid-milter/sid-milter-0.2.13.ebuild
deleted file mode 100644
index 7bd050246311..000000000000
--- a/mail-filter/sid-milter/sid-milter-0.2.13.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2006 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.13.ebuild,v 1.2 2007/07/15 02:43:38 mr_bones_ Exp $
-
-inherit eutils
-
-DESCRIPTION="A milter-based application provide Sender-ID service"
-
-HOMEPAGE="http://sourceforge.net/projects/sid-milter/"
-
-SRC_URI="mirror://sourceforge/sid-milter/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source"
-
-SLOT="0"
-
-KEYWORDS="~x86"
-
-IUSE=""
-
-DEPEND="dev-libs/openssl
- >=sys-libs/db-3.2
- mail-filter/libmilter"
-
-S=${WORKDIR}/${P}
-
-pkg_setup() {
- enewgroup milter
- enewuser milter -1 -1 -1 milter
-}
-
-src_unpack() {
- unpack "${A}" && cd "${S}"
-
- # Postfix queue ID patch. See MILTER_README.html#workarounds
- epatch "${FILESDIR}/"${P}-queueID.patch
-
- confCCOPTS="${CFLAGS}"
- conf_libmilter_INCDIRS="-I/usr/include/libmilter"
- sed -e "s:@@confCCOPTS@@:${confCCOPTS}:" \
- -e "s:@@conf_libmilter_INCDIRS@@:${conf_libmilter_INCDIRS}:" \
- "${FILESDIR}"/site.config.m4 > "${S}"/devtools/Site/site.config.m4 \
- || die "sed failed"
-}
-
-src_install() {
- OBJDIR="obj.`uname -s`.`uname -r`.`arch`"
-
- dodir /usr/bin /usr/share/man/man8
- make DESTDIR=${D} MANROOT=/usr/share/man/man \
- install -C "${OBJDIR}"/sid-filter \
- || die "make install failed"
- doman sid-filter/sid-filter.8
-
- newinitd "${FILESDIR}/sid-filter.init" sid-filter \
- || die "newinitd failed"
- newconfd "${FILESDIR}/sid-filter.conf" sid-filter \
- || die "newconfd failed"
-}
-
-pkg_postinst() {
- enewgroup milter
- enewuser milter -1 -1 -1 milter
-}
diff --git a/mail-filter/sid-milter/sid-milter-0.2.14.ebuild b/mail-filter/sid-milter/sid-milter-0.2.14.ebuild
new file mode 100644
index 000000000000..85be509c33d0
--- /dev/null
+++ b/mail-filter/sid-milter/sid-milter-0.2.14.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 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.1 2007/10/12 22:04:46 mrness Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A milter-based application provide Sender-ID 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
+ || ( mail-filter/libmilter mail-mta/sendmail )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewgroup milter
+ enewuser milter -1 -1 -1 milter
+}
+
+src_unpack() {
+ unpack "${A}"
+
+ 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() {
+ newinitd "${FILESDIR}/sid-filter.init" sid-filter \
+ || die "newinitd failed"
+ newconfd "${FILESDIR}/sid-filter.conf" sid-filter \
+ || die "newconfd failed"
+
+ dodir /usr/bin
+ emake -j1 DESTDIR="${D}" SUBDIRS=sid-filter \
+ SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \
+ install || die "make install failed"
+
+ # man build is broken; do man page installation by hand
+ doman */*.8
+
+ # some people like docs
+ dodoc RELEASE_NOTES *.txt
+}
+
+pkg_postinst() {
+ pkg_setup # create milter user
+}