summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2010-03-22 05:39:30 +0000
committerDaniel Black <dragonheart@gentoo.org>2010-03-22 05:39:30 +0000
commitb8f68f40bce13d9e2e6e3b3ad96b576839bbaffe (patch)
tree37f78dc1c0dc7a087d3470550913a3427be8a71c /mail-filter
parentVersion bump wrt #310623, #282279, #295758 and #300412. (diff)
downloadhistorical-b8f68f40bce13d9e2e6e3b3ad96b576839bbaffe.tar.gz
historical-b8f68f40bce13d9e2e6e3b3ad96b576839bbaffe.tar.bz2
historical-b8f68f40bce13d9e2e6e3b3ad96b576839bbaffe.zip
bug fix release from upstream. License offically changed to BSD-3. Fixed old ones to BSD-4 like they should of been. removed old version
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/opendkim/ChangeLog10
-rw-r--r--mail-filter/opendkim/Manifest11
-rw-r--r--mail-filter/opendkim/files/opendkim-1.1.2-test73.patch11
-rw-r--r--mail-filter/opendkim/opendkim-1.2.2-r1.ebuild4
-rw-r--r--mail-filter/opendkim/opendkim-2.0.0.ebuild4
-rw-r--r--mail-filter/opendkim/opendkim-2.0.1.ebuild (renamed from mail-filter/opendkim/opendkim-1.1.2.ebuild)76
6 files changed, 69 insertions, 47 deletions
diff --git a/mail-filter/opendkim/ChangeLog b/mail-filter/opendkim/ChangeLog
index 5bbbdc7433ad..79442f877a23 100644
--- a/mail-filter/opendkim/ChangeLog
+++ b/mail-filter/opendkim/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for mail-filter/opendkim
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.11 2010/03/16 09:57:54 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.12 2010/03/22 05:39:28 dragonheart Exp $
+
+*opendkim-2.0.1 (22 Mar 2010)
+
+ 22 Mar 2010; Daniel Black <dragonheart@gentoo.org> -opendkim-1.1.2.ebuild,
+ -files/opendkim-1.1.2-test73.patch, opendkim-1.2.2-r1.ebuild,
+ opendkim-2.0.0.ebuild, +opendkim-2.0.1.ebuild:
+ bug fix release from upstream. License offically changed to BSD-3. Fixed
+ old ones to BSD-4 like they should of been. removed old version
16 Mar 2010; Daniel Black <dragonheart@gentoo.org>
files/opendkim-2.0.0-lua-ldap.patch:
diff --git a/mail-filter/opendkim/Manifest b/mail-filter/opendkim/Manifest
index 3dfcf9792126..278c82900c08 100644
--- a/mail-filter/opendkim/Manifest
+++ b/mail-filter/opendkim/Manifest
@@ -1,12 +1,11 @@
-AUX opendkim-1.1.2-test73.patch 309 RMD160 2caaf1bb4f1547c6f59c94733f4cc5cf6389ad52 SHA1 da98246f608c7bb3ed65bc327ee3ba039c66b29c SHA256 16084f7b5bccb3d82614d93fc43912009ca33c4bf2f471d9ab8352345cbdc2b0
AUX opendkim-1.2.2-repcalc.patch 240 RMD160 ed9f5f87d51ef6deb622ebac3e83a7d3261357c1 SHA1 f4e1fd1076bdd2fee78649f2f427844b787051da SHA256 ca0ba7cedcfbf99bef753ae3d9eeb8ae67947e5ce15d02eab66b38c876345fd1
AUX opendkim-2.0.0-lua-ldap.patch 635 RMD160 737ad31d82afac92e492d90815bfcac60be1e314 SHA1 b97952bae1f77d8b15c0e8b834900ecfa8ee8d25 SHA256 1eb5e3fb8ac2f295dc633cf735bb8326e191c301af985a516e463f2e7a2df94c
AUX opendkim.init 1417 RMD160 df83c4df3b5a6eaa86ff21f8557bcb41fe5cbf2a SHA1 5d70122b00fd11f2a1b26537faca50bda7647f45 SHA256 a79ff9fed5ee3834aa905f6df613035b1121a3b3e264362a74558d315d3c30d9
-DIST opendkim-1.1.2.tar.gz 856455 RMD160 c79918192ed26f771286f1c88efe29ac71e66d73 SHA1 1609c6ffb201e0aa99ddb6c3194f252916074abd SHA256 5f11526c9a490b6649794b0e5910cb6e6c9b3fe815cf8b731dbed8ddb077d078
DIST opendkim-1.2.2.tar.gz 879000 RMD160 662bd8abad2c798f0fc4b6769b82b953f1274f66 SHA1 daee04bf5e755c6e910068e56ea38caba16f67de SHA256 dc123a9e1546ec404535a57ecf717728e5cf89681f7cf749ad27ec0942857b06
DIST opendkim-2.0.0.tar.gz 986884 RMD160 d85a88e4d493f86e0e14af8cec350f532b282aaf SHA1 bb33854bac14409a0b68539c38c2e5e2b9b07ccf SHA256 1d8b96760949821eaaae40aefa5a1b0b3194dfcd0cfaa76d630ff3d1488824ca
-EBUILD opendkim-1.1.2.ebuild 4978 RMD160 60f9c9d991c192797740c81d9ac886b954281bb8 SHA1 df683fb692d2ee36f9c5d031796f7498da9dc340 SHA256 9362279db968010a95e7e4ebc59646e480cbda64df5c723306936d7c70336f13
-EBUILD opendkim-1.2.2-r1.ebuild 5358 RMD160 d619d2d89ff7a4fc8c42f2a9d43ee84ae71bd67a SHA1 3ad33d92f77ef417765d500ffb2b1ebf5c66d392 SHA256 69e8898ff0b9a8d5afb15046244b5f4332677926133fe3b0f9926bf6ac75dd89
-EBUILD opendkim-2.0.0.ebuild 5723 RMD160 d14dd7631481a5b8d07a2d686c74908b34801029 SHA1 cee3415fa8020e4fb0275fbbba2a1094d8a0015a SHA256 ab319dd3ebc8d4f9fbdacf88263aedc2ededad17207cf99c185cee4e26438921
-MISC ChangeLog 2824 RMD160 be8976fab8ed0ae2bc5e658c79bbddd103b619ce SHA1 03012c337268c9912668b9e590ee4fab50a97a37 SHA256 f34199a3c8f411553cbb85f94eb02ac2656f5722daf8dea9e6477ce01e86c341
+DIST opendkim-2.0.1.tar.gz 959199 RMD160 ab8c19d85b795045dd24a699726d565cb3878c1d SHA1 f6aea1c27e563d1025a96c1d13d3f68430608a6d SHA256 267b1c14d261e8224682a7e0e3ded241b6f73da3f03b64fdddbe0df2bb602be6
+EBUILD opendkim-1.2.2-r1.ebuild 5360 RMD160 e6b00eaf843d1856e0658da4ea36bf20083ee758 SHA1 77d96b2c7b6bb01e2fca74cf63706deeea7686c7 SHA256 95ee0ce8ef8aeaa586176555c5577e191bdad0d2cdd8be2c7169883bc9ebb60a
+EBUILD opendkim-2.0.0.ebuild 5725 RMD160 301ada3629785a6f9eaa28b63b8ff7a80b6309bc SHA1 3646562c165f595a07c41bde103793b719526214 SHA256 7100f1267132b864bb6ba06008c344e6d8a5bc3a25ba9508d7c2955b2d379309
+EBUILD opendkim-2.0.1.ebuild 5658 RMD160 432402adf9a0e908c9b28ed16411d676d03687ea SHA1 77fd27729e7702a80364fd108b9d197a48aea289 SHA256 93f5375a6780bde778d5ce348ab2e7560e4d9adc9f8fde4c8f2d4102df670cdb
+MISC ChangeLog 3187 RMD160 690eda3657745fb89eb47fa2ebb523c8b62203ad SHA1 8966efb7df3deae445b56e584c7184ad50db6488 SHA256 6eaed35423431da99affaadc33ab47e465e9d041d36212db83e5507720214f43
MISC metadata.xml 1539 RMD160 1438790c2a0bc128c1c6507a809cc7c6ff5bc73f SHA1 7741e2479eb53be17f0bd6e56472858efda88f96 SHA256 40dc33309c39a2ed9cac66c82ccd2b26038a5c8f4b9e03c43f06e4a364385c37
diff --git a/mail-filter/opendkim/files/opendkim-1.1.2-test73.patch b/mail-filter/opendkim/files/opendkim-1.1.2-test73.patch
deleted file mode 100644
index ea69c2bd8485..000000000000
--- a/mail-filter/opendkim/files/opendkim-1.1.2-test73.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- opendkim-1.1.2/libopendkim/t-test73.c.orig 2009-11-02 09:32:50.000000000 +1100
-+++ opendkim-1.1.2/libopendkim/t-test73.c 2009-11-02 09:34:32.000000000 +1100
-@@ -18,7 +18,7 @@
-
-
- /* libopendkim includes */
--#include "dkim.h"
-+#include "dkim-internal.h"
- #include "t-testdata.h"
-
- #define MAXHEADER 4096
diff --git a/mail-filter/opendkim/opendkim-1.2.2-r1.ebuild b/mail-filter/opendkim/opendkim-1.2.2-r1.ebuild
index 6a52b245ee65..c20c49e70495 100644
--- a/mail-filter/opendkim/opendkim-1.2.2-r1.ebuild
+++ b/mail-filter/opendkim/opendkim-1.2.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-1.2.2-r1.ebuild,v 1.1 2010/01/21 01:53:34 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-1.2.2-r1.ebuild,v 1.2 2010/03/22 05:39:28 dragonheart Exp $
EAPI="2"
@@ -10,7 +10,7 @@ DESCRIPTION="A milter-based application to provide DKIM signing and verification
HOMEPAGE="http://opendkim.org"
SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-LICENSE="Sendmail-Open-Source BSD"
+LICENSE="Sendmail-Open-Source BSD-4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+db asyncdns opendbx unbound"
diff --git a/mail-filter/opendkim/opendkim-2.0.0.ebuild b/mail-filter/opendkim/opendkim-2.0.0.ebuild
index c371a1c1a4f8..3f2a922e8870 100644
--- a/mail-filter/opendkim/opendkim-2.0.0.ebuild
+++ b/mail-filter/opendkim/opendkim-2.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.0.0.ebuild,v 1.2 2010/03/09 00:43:12 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.0.0.ebuild,v 1.3 2010/03/22 05:39:28 dragonheart Exp $
EAPI="2"
@@ -15,7 +15,7 @@ DESCRIPTION="A milter-based application to provide DKIM signing and verification
HOMEPAGE="http://opendkim.org"
SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-LICENSE="Sendmail-Open-Source BSD"
+LICENSE="Sendmail-Open-Source BSD-4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="asyncdns +db opendbx ldap lua sasl unbound"
diff --git a/mail-filter/opendkim/opendkim-1.1.2.ebuild b/mail-filter/opendkim/opendkim-2.0.1.ebuild
index 779e4c18632d..2649f0cda96b 100644
--- a/mail-filter/opendkim/opendkim-1.1.2.ebuild
+++ b/mail-filter/opendkim/opendkim-2.0.1.ebuild
@@ -1,11 +1,16 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-1.1.2.ebuild,v 1.2 2009/11/01 23:38:50 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.0.1.ebuild,v 1.1 2010/03/22 05:39:28 dragonheart Exp $
EAPI="2"
inherit eutils
+# for betas
+#MY_P=${P/_b/.B}
+#S=${WORKDIR}/${PN}-2.0.0
+#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
+
DESCRIPTION="A milter-based application to provide DKIM signing and verification"
HOMEPAGE="http://opendkim.org"
SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
@@ -13,14 +18,20 @@ SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
LICENSE="Sendmail-Open-Source BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+db diffheaders asyncdns multiplesigs"
+IUSE="asyncdns +db opendbx ldap lua sasl unbound"
-# FUTURE: unbound (dnssec lib) - bug #223103
+# FUTURE: diffheaders (libtre error) - bug #296813
DEPEND="dev-libs/openssl
db? ( >=sys-libs/db-3.2 )
|| ( mail-filter/libmilter mail-mta/sendmail )
- diffheaders? ( dev-libs/tre )"
+ opendbx? ( >=dev-db/opendbx-1.4.0 )
+ lua? ( dev-lang/lua )
+ ldap? ( net-nds/openldap
+ sasl? ( dev-libs/cyrus-sasl )
+ )
+ unbound? ( >=net-dns/unbound-1.4.1 )"
+# diffheaders? ( dev-libs/tre )
RDEPEND="${DEPEND}"
pkg_setup() {
@@ -32,52 +43,67 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-test73.patch
sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
-e 's:/etc/mail:/etc/opendkim:g' \
opendkim/opendkim.conf.sample
}
src_configure() {
- econf $(use_enable db bodylengthdb) \
+ local conf
+ if use asyncdns ; then
+ if use unbound; then
+ conf=$(use_with unbound)
+ else
+ conf="$(use_enable asyncdns arlib) $(use_enable asyncdns dnsupgrade)"
+ fi
+ else
+ conf="$(use_with unbound) $(use_enable asyncdns arlib) $(use_enable asyncdns dnsupgrade)"
+ fi
+ if use ldap; then
+ conf="${conf} $(use_with sasl)"
+ fi
+ econf $(use_enable db bodylength_db) \
$(use_enable db popauth) \
- $(use_enable db querycache) \
- $(use_enable db reportintervals) \
+ $(use_enable db query_cache) \
+ $(use_enable db report_intervals) \
$(use_enable db stats) \
- $(use_enable diffheaders) \
- $(use_enable asyncdns arlib) \
- $(use_enable asyncdns dnsupgrade) \
- $(use_enable multiplesigs multiplesigs) \
+ $(use_with opendbx odbx) \
+ $(use_with lua) \
+ $(use_with ldap openldap) \
+ ${conf} \
+ --docdir=/usr/share/doc/${PF} \
--without-domainkeys \
- --enable-captureerrors \
- --enable-dkimreputation \
- --enable-identityheader \
+ --enable-capture_unknown_errors \
+ --enable-dkim_reputation \
+ --enable-identity_header \
--enable-redirect \
- --enable-replacerules \
- --enable-selectcanon \
- --enable-selectorheader \
- --enable-sendermacro \
+ --enable-resign \
+ --enable-replace_rules \
+ --enable-select_canonicalization \
+ --enable-selector_header \
+ --enable-sender_macro \
--enable-vbr \
--enable-ztags
+# $(use_enable diffheaders) \
}
src_install() {
emake DESTDIR="${D}" install
# file collision
rm "${D}"/usr/share/man/man3/ar.3
+ #mv "${D}"/usr/share/doc/opendkim "${D}"/usr/share/doc/${PF}
- mv "${D}"/usr/share/doc/opendkim "${D}"/usr/share/doc/${PF}
newinitd "${FILESDIR}/opendkim.init" opendkim
dodir /etc/opendkim /var/run/opendkim /var/lib/opendkim
fowners milter:milter /var/run/opendkim /etc/opendkim /var/lib/opendkim
# default configuration
- if [ ! -f /etc/opendkim/opendkim.conf ]; then
+ if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
grep ^[^#] "${S}"/opendkim/opendkim.conf.sample \
> "${D}"/etc/opendkim/opendkim.conf
echo \# Socket local:/var/run/opendkim/opendkim.sock >> \
"${D}"/etc/opendkim/opendkim.conf
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
+ echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf.basic
if use db; then
echo Statistics /var/lib/opendkim/stats.db >> \
"${D}"/etc/opendkim/opendkim.conf
@@ -121,7 +147,7 @@ pkg_config() {
# generate the private and public keys
opendkim-genkey.sh -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} && \
+ -s ${selector} -d '(your domain)' && \
chown milter:milter \
"${ROOT}"etc/opendkim/"${selector}".private || \
{ eerror "Failed to create private and public keys." ; return 1; }
@@ -130,7 +156,7 @@ pkg_config() {
# opendkim selector configuration
echo
- einfo "Make sure you have the following settings in your dkim-filter.conf:"
+ einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
einfo " Keyfile /etc/opendkim/${selector}.private"
einfo " Selector ${selector}"