summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-12-10 12:26:32 +0000
committerEray Aslan <eras@gentoo.org>2013-12-10 12:26:32 +0000
commitf9a4d39ba756a4666016c876bebef06737a53d4f (patch)
treeb7dbcad9f6495157bb2eb45972171cf0b98c7a31 /mail-filter
parentVersion bump. (diff)
downloadhistorical-f9a4d39ba756a4666016c876bebef06737a53d4f.tar.gz
historical-f9a4d39ba756a4666016c876bebef06737a53d4f.tar.bz2
historical-f9a4d39ba756a4666016c876bebef06737a53d4f.zip
Version bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/opendkim/ChangeLog7
-rw-r--r--mail-filter/opendkim/Manifest32
-rw-r--r--mail-filter/opendkim/opendkim-2.9.0.ebuild190
3 files changed, 213 insertions, 16 deletions
diff --git a/mail-filter/opendkim/ChangeLog b/mail-filter/opendkim/ChangeLog
index 214ea4d75eef..4aad4e59fac4 100644
--- a/mail-filter/opendkim/ChangeLog
+++ b/mail-filter/opendkim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/opendkim
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.72 2013/09/19 13:32:18 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.73 2013/12/10 12:26:21 eras Exp $
+
+*opendkim-2.9.0 (10 Dec 2013)
+
+ 10 Dec 2013; Eray Aslan <eras@gentoo.org> +opendkim-2.9.0.ebuild:
+ Version bump
19 Sep 2013; Sven Vermeulen <swift@gentoo.org> opendkim-2.8.3.ebuild,
opendkim-2.8.4.ebuild:
diff --git a/mail-filter/opendkim/Manifest b/mail-filter/opendkim/Manifest
index 0760c1039190..66f5f076c6bc 100644
--- a/mail-filter/opendkim/Manifest
+++ b/mail-filter/opendkim/Manifest
@@ -5,24 +5,26 @@ AUX opendkim-2.8.0-unbreak_upgrade.patch 1042 SHA256 5c115fa185bc9a64fe847599e2c
AUX opendkim.init.r3 1545 SHA256 63f316ef776ad1a9fe87cff7748fac4574c2355b6205e3ef21285ddb84c8cb33 SHA512 c28b93f230b65ba483302dbb0f6cba0d8b2cf29cce0309521e67f6aa0e4c041b0dd69eaca8152d6b0b1b02dbe1ff9634fef0840856c8e192f17a1c24ffac7166 WHIRLPOOL f42cb79de47d2fdac26ef4a45132e996640da824aadaf0c3e66182160e941322ff78a37c18a32ca50efb0bb4fbf11b622a1ce5931146c47a06156c256d568b81
DIST opendkim-2.8.3.tar.gz 1182214 SHA256 eb36003b0d2d7514312c65db2b45afd9ce4d02744fbf4b2fe6f8e1e2893ce989 SHA512 bf2b824a4b8c7b32755fefa0d6a5fd608da59f254722d2ad52b6eda4a8710e4d22b95cfe2a85df711e3e9a0b62fd319f88afa7a86d319be4568d0de0f9c6634f WHIRLPOOL 52ad1d85fb4087c8f1a9afb4ec8cc8550016f85b7578954f1ddc02204c3440c742e3d8175560eebb514180c1deb128d500bd4fa6848fe37f3acae628a38307aa
DIST opendkim-2.8.4.tar.gz 1177118 SHA256 d6ea32f60e750530359841da1e1bd644e6ccb0d228ad5e0633be6dfb8434b30a SHA512 a65e2cbe46878707072aceb5fa60d70d527fda9679aac5c9083b24f1697ba6fe566d9bd7bfca6a23443f639fc27b843e098b5a6b1750347c045f028dd76dc21d WHIRLPOOL b93310e27bfa38326f431ae44ab88d1c6ffddec2d81be1acfce5e3f275ea0e9f8b67eb25715ffb8d5b2c5311766a8ec0236e1e7ee4dc2ee3d0910946654cb550
+DIST opendkim-2.9.0.tar.gz 1134646 SHA256 dc1559d6302bf0f3963b93c399d18728431b5c6fb2f0a1bbebd8651a1998e497 SHA512 102224bf232197974b86c251e7463843032d87610c6c35c1ee494fa4648a0cca5b1eda684b56784b70ad6cbd6f8de6e8163b0513c6487a3fdb79639b05535735 WHIRLPOOL 40c15435e5da994b55b5197f79d7fae15df0c9d5bb6eaf29d6c627ffbaf5f5f21da9a4f08a519a036d8219094cbadab08deaccb816ff6c787f2dcc6c9c8a6723
EBUILD opendkim-2.8.3.ebuild 6180 SHA256 fcc228e86094dc764f35d34dd531b3e6e16b272f0202e448a6128ef9be9d0dd8 SHA512 b66f1058127da147146ba0113e8afc6b0eb92e16998d04636bb2fc12674935e1e52e30b4c8622737de5a40a1876b1288a513d8b1e7b2ce91f6535e50fda0102e WHIRLPOOL 7977141d202070e84368b8de43b1f449b52aae45a58a6594e08f8c0b985acbb11175da3f69bad0e28666617ff8bc2dd9a00b6884311de97bb49e75a4f9cf032f
EBUILD opendkim-2.8.4.ebuild 6165 SHA256 508d53555a2cc88bf5396c27a3b9edf8f6c109fec4e7cad9703128a1968a49a1 SHA512 977f6ac3f3b30091859d3e477ec72d34541ac598e8c8ede3d41d1c54c4555d6c260b48622b4913a5fa5c607520b14b2566beaca544cddd12c729e256187742c3 WHIRLPOOL eec69a73f3bf4acf5817e7575173237d3d63b5c8579542f8796418c7cf5705d44ebbe0f0b030c9625f84206aa6e0ee2708f550fa2ec7a329a650012c8e14abbd
-MISC ChangeLog 12888 SHA256 44131a4cbc550e9945d33123dd0cabc1523958453f09f41169465570d915e2da SHA512 441e7ef2748d9942d50d1da6a0edb014380e7d2142cba6b1d79705f814455f38d0fd495e157ca2826d647260a5f9b946b919529e1ca29610e9e25beffb35e715 WHIRLPOOL 0fd99cbe72535d3141be3d858df59ff2bb30e8e45920c556604aa4f473bee290adcbec57cf5b51c3c0857345be67e732d2f18a3de817d3d30f19856fc17b8b27
+EBUILD opendkim-2.9.0.ebuild 6040 SHA256 52bc8517a49b1af387e7abac1fc5849c1d42479816772123e01249e71a38870e SHA512 4a9c6beb2440a3fc1c669ec5cca1ba1642f49660b1236a331e6aefe51978d2f536841f0ff3915e0990397e670f6ad2a9d85f15b56af6ab623d76d7c18dd3dd55 WHIRLPOOL bae2f9c05c50e30d9f5ec2447a9e973273b865eff4083c0f511d431b9cc2cd40de5be51abd10c98edd9e821ae2a5dd82d41cde5a54af5308d9999a7bdc439e84
+MISC ChangeLog 13002 SHA256 f07374b33a65e28283e22e34561603301521bc15bd9abf6bf5a4c5d9401ea23e SHA512 e894a2b2b274078851ae2303a0ceff0bc5060a38c9b4b282cec07adc9d54409f510a0fd6e47df7cadc49694329fdb71f3f268e3a29099abbe07f830f1f76c0fa WHIRLPOOL 03370e31f894182059dadfe8a8fd2ce2d3a2907bda34490ad7b7c3fcb194aa12ae53d956b3b472df153d875ceb9b141f338db34a1ade27ff876d07ae8b229b26
MISC metadata.xml 1332 SHA256 c1e6b0840b71e1fd07b10d983e414abfce8307095c3ff990362fc571d5b2f01d SHA512 2245a94573171993bb958f2beb6a5dfc738ef9878b7795747e3e0bf689801af756540f561b5d0bd7c93ce02fe66efad7a9b018976a81c7bdaf3849b634f22ec2 WHIRLPOOL a3b25a8495638a9815347ccb297848b8ebde0a9f0cf4093507750784c2732995fc0cd048a051197dc4f6d9acd3115d0c2cbb7fa2321933f8c0ab11158feadfd1
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJSOvznAAoJEC7dUkA7aK9H6WwP/R4Hoy+WI6Ksdsmdscow6m2u
-iN5R/tqmOiCP0A5gfeM40ex8RqvfFlsLFFjA7x9ck03tV5yIsYq0FhpP1Tj84Ad1
-iR16OxECEXyOdtMuknvvgU94ciRegrhAy/Ts4QPWy+WBgCDQkIqDfSqcCtGuTGFE
-Fy+UWo8XroSH7aVlF8/cnCfVM7qUaEHD3HHPSA55p9q9wZcGL4deXE9XIHoSur9e
-Vq8rgSDCyl8E8UOKjvQo2FOxvds7pirLOJ44UiMZOHKas3FTgmQnCe//8wmiqkQR
-54OfxejVLR4GsYGOLyUJW1YvXaaHde9/GsEdbu2Drvq4Fg1sGo8iEXYPjFZiMXdx
-LDd3ry6mD22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EOLNzOf
+exbPtUAPImOSijhrYT6F
+=wfWJ
-----END PGP SIGNATURE-----
diff --git a/mail-filter/opendkim/opendkim-2.9.0.ebuild b/mail-filter/opendkim/opendkim-2.9.0.ebuild
new file mode 100644
index 000000000000..a23529f8a040
--- /dev/null
+++ b/mail-filter/opendkim/opendkim-2.9.0.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.9.0.ebuild,v 1.1 2013/12/10 12:26:21 eras Exp $
+
+EAPI=5
+inherit autotools db-use eutils user
+
+# for betas
+#MY_P=${P/_b/.B}
+#S=${WORKDIR}/${PN}-2.8.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"
+
+LICENSE="Sendmail-Open-Source BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+berkdb gnutls ldap lua memcached opendbx poll sasl selinux +ssl static-libs unbound"
+
+DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
+ dev-libs/libbsd
+ ssl? ( >=dev-libs/openssl-0.9.8 )
+ berkdb? ( >=sys-libs/db-3.2 )
+ opendbx? ( >=dev-db/opendbx-1.4.0 )
+ lua? ( dev-lang/lua )
+ ldap? ( net-nds/openldap )
+ memcached? ( dev-libs/libmemcached )
+ sasl? ( dev-libs/cyrus-sasl )
+ selinux? ( sec-policy/selinux-dkim )
+ unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )
+ !unbound? ( net-libs/ldns )
+ gnutls? ( >=net-libs/gnutls-2.11.7 )"
+
+RDEPEND="${DEPEND}
+ sys-process/psmisc"
+
+REQUIRED_USE="sasl? ( ldap )"
+
+pkg_setup() {
+ enewgroup milter
+ # mail-milter/spamass-milter creates milter user with this home directory
+ # For consistency reasons, milter user must be created here with this home directory
+ # even though this package doesn't need a home directory for this user (#280571)
+ enewuser milter -1 -1 /var/lib/milter milter
+}
+
+src_prepare() {
+ sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
+ -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
+ -e 's:/etc/mail:/etc/opendkim:g' \
+ -e 's:mailnull:milter:g' \
+ -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
+ opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
+ stats/opendkim-reportstats{,.in} || die
+
+ sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
+ || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ if use berkdb ; then
+ myconf=$(db_includedir)
+ myconf="--with-db-incdir=${myconf#-I}"
+ myconf+=" --enable-popauth"
+ myconf+=" --enable-query_cache"
+ myconf+=" --enable-stats"
+ fi
+ if use unbound; then
+ myconf+=" --with-unbound"
+ else
+ myconf+=" --with-ldns"
+ fi
+ if use ldap; then
+ myconf+=" $(use_with sasl)"
+ fi
+ econf \
+ $(use_with berkdb db) \
+ $(use_with opendbx odbx) \
+ $(use_with lua) \
+ $(use_enable lua rbl) \
+ $(use_with ldap openldap) \
+ $(use_enable poll) \
+ $(use_enable static-libs static) \
+ $(use_with gnutls) \
+ $(use_with memcached libmemcached) \
+ ${myconf} \
+ --docdir=/usr/share/doc/${PF} \
+ --htmldir=/usr/share/doc/${PF}/html \
+ --enable-filter \
+ --enable-adsp_lists \
+ --enable-atps \
+ --enable-identity_header \
+ --enable-rate_limit \
+ --enable-resign \
+ --enable-replace_rules \
+ --enable-default_sender \
+ --enable-sender_macro \
+ --enable-vbr \
+ --disable-rpath \
+ --disable-live-testing \
+ --with-test-socket=/tmp/opendkim-$(echo ${RANDOM})-S
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dosbin stats/opendkim-reportstats
+ newinitd "${FILESDIR}/opendkim.init.r3" opendkim
+ dodir /etc/opendkim /var/lib/opendkim
+ fowners milter:milter /var/lib/opendkim
+
+ # default configuration
+ if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
+ grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
+ > "${D}"/etc/opendkim/opendkim.conf
+ if use unbound; then
+ echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
+ fi
+ echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
+ if use berkdb; then
+ echo Statistics /var/lib/opendkim/stats.dat >> \
+ "${D}"/etc/opendkim/opendkim.conf
+ fi
+ fi
+
+ use static-libs || find "${D}" -name "*.la" -delete
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSION} ]]; then
+ elog "If you want to sign your mail messages and need some help"
+ elog "please run:"
+ elog " emerge --config ${CATEGORY}/${PN}"
+ elog "It will help you create your key and give you hints on how"
+ elog "to configure your DNS and MTA."
+
+ ewarn "Make sure your MTA has r/w access to the socket file."
+ ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
+ ewarn "to milter group or you can simply set UMask to 000."
+ fi
+}
+
+pkg_config() {
+ local selector keysize pubkey
+
+ read -p "Enter the selector name (default ${HOSTNAME}): " selector
+ [[ -n "${selector}" ]] || selector=${HOSTNAME}
+ if [[ -z "${selector}" ]]; then
+ eerror "Oddly enough, you don't have a HOSTNAME."
+ return 1
+ fi
+ if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
+ ewarn "The private key for this selector already exists."
+ else
+ keysize=1024
+ # generate the private and public keys
+ opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
+ -s ${selector} -d '(your domain)' && \
+ chown milter:milter \
+ "${ROOT}"etc/opendkim/"${selector}".private || \
+ { eerror "Failed to create private and public keys." ; return 1; }
+ chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
+ fi
+
+ # opendkim selector configuration
+ echo
+ einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
+ einfo " Keyfile /etc/opendkim/${selector}.private"
+ einfo " Selector ${selector}"
+
+ # MTA configuration
+ echo
+ einfo "If you are using Postfix, add following lines to your main.cf:"
+ einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
+ einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
+ einfo " and read http://www.postfix.org/MILTER_README.html"
+
+ # DNS configuration
+ einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
+ cat "${ROOT}"etc/opendkim/${selector}.txt
+ einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
+ einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
+ einfo
+ einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
+}