summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-05-06 06:41:15 +0000
committerEray Aslan <eras@gentoo.org>2013-05-06 06:41:15 +0000
commit1bd001ec586d5ce549d3bd35fd95819a5c571cd2 (patch)
tree203fd704dc5f1b6e984b8240f229a09b2fc45cc4 /mail-filter/opendkim
parentVersion bump (diff)
downloadhistorical-1bd001ec586d5ce549d3bd35fd95819a5c571cd2.tar.gz
historical-1bd001ec586d5ce549d3bd35fd95819a5c571cd2.tar.bz2
historical-1bd001ec586d5ce549d3bd35fd95819a5c571cd2.zip
Version bump
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-filter/opendkim')
-rw-r--r--mail-filter/opendkim/ChangeLog8
-rw-r--r--mail-filter/opendkim/Manifest32
-rw-r--r--mail-filter/opendkim/metadata.xml3
-rw-r--r--mail-filter/opendkim/opendkim-2.8.3.ebuild194
4 files changed, 220 insertions, 17 deletions
diff --git a/mail-filter/opendkim/ChangeLog b/mail-filter/opendkim/ChangeLog
index beb120d92afd..ce47b440a19e 100644
--- a/mail-filter/opendkim/ChangeLog
+++ b/mail-filter/opendkim/ChangeLog
@@ -1,6 +1,12 @@
# 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.65 2013/03/29 08:51:01 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.66 2013/05/06 06:41:04 eras Exp $
+
+*opendkim-2.8.3 (06 May 2013)
+
+ 06 May 2013; Eray Aslan <eras@gentoo.org> +opendkim-2.8.3.ebuild,
+ metadata.xml:
+ Version bump
*opendkim-2.8.2 (29 Mar 2013)
diff --git a/mail-filter/opendkim/Manifest b/mail-filter/opendkim/Manifest
index 1b540c6df63e..c2678589407f 100644
--- a/mail-filter/opendkim/Manifest
+++ b/mail-filter/opendkim/Manifest
@@ -11,27 +11,29 @@ DIST opendkim-2.7.4.tar.gz 1158496 SHA256 fa66f7ca52dd3fa94cd869e8fe9e8f849ab83d
DIST opendkim-2.8.0.tar.gz 1175377 SHA256 a7b369b2182031d53257cbbac7ed99d70b00ebc442dfb832dc7d78d5d7b0c31c SHA512 35730e100307e5bdca9fd1c79e13371bd46e73b6a97f7244edaa4fe1bc693a0825ed2bab349155af11d472da7e0635e558f1c755468efdddeef073b3abc0041b WHIRLPOOL a85a69e31eef3eb4e37cc5c6285ef189367d4d4e3ceef6966ccde008d99d897ca862950316cec9e42ad0566fc9814e2cbd6a9f7dbfc2fdc2cf6909bfd83699b8
DIST opendkim-2.8.1.tar.gz 1176501 SHA256 4fefda01a7fd7ecf37d3cd309c05ba714d97ac61a4eda145b6213bf8e4b536e8 SHA512 c6970ef51a822a6ae2eecca6704f95a307319dd087d9e1b4930f1a7b1f7db49043930f5ef1a62aaf3af0a366094339b2b811b2f585f9f4601c95cb382dc21af3 WHIRLPOOL 5d5ae9e703bbbddf6e0779f9625ed807074affffec03e07e32d41926fe5e1079f6928e4a937f38b7cef3950354fc4a3496dd237917a3e37aa9dd43f95448ea7d
DIST opendkim-2.8.2.tar.gz 1181815 SHA256 6ccb6a4a8906e18e2c487669bf0a24e7b8e7fd791da38ff45a5ab25264f071bc SHA512 4e3315407092472f06f34af31a440fa2cb4533b73ce19446ed0999251c327610918a6a31fc785aafc4043d01e168b705339e287a758ae655019226f783834776 WHIRLPOOL 82edbb68fa8a4bd8ff3661a8b47b6b05cee5321283d7b9d899719a438a43970b8801d7047478dac5c881a10660ccaa0eb46d9ffb21760efec4b1da5e0a8b3e4f
+DIST opendkim-2.8.3.tar.gz 1182214 SHA256 eb36003b0d2d7514312c65db2b45afd9ce4d02744fbf4b2fe6f8e1e2893ce989 SHA512 bf2b824a4b8c7b32755fefa0d6a5fd608da59f254722d2ad52b6eda4a8710e4d22b95cfe2a85df711e3e9a0b62fd319f88afa7a86d319be4568d0de0f9c6634f WHIRLPOOL 52ad1d85fb4087c8f1a9afb4ec8cc8550016f85b7578954f1ddc02204c3440c742e3d8175560eebb514180c1deb128d500bd4fa6848fe37f3acae628a38307aa
EBUILD opendkim-2.7.4-r1.ebuild 6135 SHA256 8254b24c351dd750cad24c36622e0ced17bdf5eff0fc3407f068c28c92c7a816 SHA512 da2633e235431cdf6f496a07bdfde3435878120c7c3e838cf2766920197a54ba62ceb8bb4ed3dc1f936911768ac3c1f10c727bb9e1dfda21a888a3857ecf087f WHIRLPOOL 01df0472e302dda26923157c311ff6aaf90d78e4ca295ead74983ed063cc02868977ea47c918efdd1e8757bfdcb08001864ee4163c85bdee93c6f58fe6f1c5f6
EBUILD opendkim-2.8.0-r1.ebuild 6198 SHA256 03687582317507bc7ebe711dbcf1262531b7622b8ee856a4beac432d1d8e8b83 SHA512 8707024a6fd283a8aa6278cbbbaf78d4ec4632197ccb4f7a2dad5dc2a2b91282a55e26adc3aea4c02621c203d823f0e24089c2e7d7cf1c7f4d1ed33d76bd165f WHIRLPOOL 5eaeb92acc9884e4f19b15485527452e2d377292ddcbf1cad07a5c408f3ef4e885f35d2805e0c6467a3486c506c4e51e44a5d26ab96f32abfc8042ba089f5403
EBUILD opendkim-2.8.0.ebuild 6144 SHA256 95556dda451ef7676e445bd75824b28ea52e9aa47b1ab69cf2bb1038053e5ac6 SHA512 d532de8f9f4d595bada1169f139904f7946f22a4fbd4ee37b910af336a338b015d0ad560e73bb2bfd22ad78ca6a78e391f8b71cc9a554a3bbee6c6429f01b43b WHIRLPOOL a2406e9bf001dd0fbd1c10a32ab44e0d071e54baad1e8973ad858f69ca3b28c6f7dc288a6bc3c9fd3726c3296713deb01cc00e77f3341b1e7ace2e42b449b824
EBUILD opendkim-2.8.1.ebuild 6144 SHA256 975f379bb898affc9147b962c4bc10321480008229d380c6c93c5937660f78b4 SHA512 7ad3b250b70b6af8b96572193af5a5e7267b9947818761d1f1761f5ccb0b0a4dd30f62eb21487d31d698a4ea9d6c0e4bca19d573b2fa6fce0524a2f5cc0e8e97 WHIRLPOOL 3ffb017687e5ad37bab57eeb5f218892b5b71214b32444a0ea5001c1d8d426f73177f8e67908c595575aa9a6d3887b3ae7db11ca5577019ae9f357165e52cb81
EBUILD opendkim-2.8.2.ebuild 6144 SHA256 e1fe233e1bbb50a6d189882f9a6856966af5dd66ae71cfd302ebf9276701f8b0 SHA512 39fef45003f24e0bbef8a0628b95e7e2009843f70062258b0ebe460b7d56d2839114a200ad37c30f18a77d3fa27f23e7c82aadfbf52999c51b8ef5cb72771f5d WHIRLPOOL 1d2cb3c6a57f7812fd86ced81f50ada2754b7b28a5201a1edf39281c632ca1f461608480aac510f5d50e4bbeabd30c3ad3d20a0f1beff01c6d09408695aab22a
-MISC ChangeLog 11778 SHA256 4e756c2e94e024bd456e918b53daee8687667d08c8b20d05b77527e4415e47d4 SHA512 15fe74559e160d78b6e97affe471fa1c1918287c09b8833180b897bbbf9c4c6f88b3e1c3668c73beb7abacaa1d2f2f0b8ddd4f20c4d205baa61e163744b833a1 WHIRLPOOL fc37f8821709b2b479a03800d36c0c526875afd5955df21efec40a7b9708fce8c2c0be55b4866e3cb8a9696b0790f67f4c0285c652ee9758d23cfba219e804fa
-MISC metadata.xml 1245 SHA256 3b854e66f72c45f87e959cf70e606154ac932e08b9a81f5299915ce1ebb68333 SHA512 b2538e90b379f37b4b4ea0999f111e7c2d8152935fce91335b0acc068fe706a6d7838a2aeabd33e4cfbf1274f16e9f6dbc2148a6bf745349f99a3aef3af2a028 WHIRLPOOL 231c181382b82e4a209b88b9284203f05e4e017fed77caa5036996360c8e0794e652616c363354d8dad57bd49f0d1807f50c0928e001ca500541aecfe23cc792
+EBUILD opendkim-2.8.3.ebuild 6135 SHA256 d51200039190e35d20134cc9351b9a16433f8e736251cee4afa68a6c8e094ceb SHA512 99a61e469da57af5ec756e359acc712a85ed655c9c5fb54b51c3413d6e5acd9683b13cc58e2c25b96c9d76cadf8551869291fd0c55f0bec319ab77a815381ab3 WHIRLPOOL 934463d072eebfba6af452070d58f33aa14c19f2e8ee5bf4f001307a9ae8c71f33d094d249e7ea46c0dcf7c6efa4b10cc85b3fd4bb0b09d589498078bb7c0d31
+MISC ChangeLog 11909 SHA256 08c194b2fea0c8a48c327a37ea2fd4c37143137a352556e62cfff20aa8f7fbd4 SHA512 4678494a2644eb65034212bd980d9d2aeb23cdff6f60c24f74fa3e157c0f763ef319f0f3c159b29634f3f1c0c0c2eb6bec5a5f0c3452410d1d8976f99d122ee7 WHIRLPOOL b06f0749bcf3884f77f10827bd56fc53c368401fe4606b11eb8fb72b1656eeb15227d9eea182096b1d16a6f13e8c48fb857c30471f82d12ac1df26232daf6afd
+MISC metadata.xml 1332 SHA256 c1e6b0840b71e1fd07b10d983e414abfce8307095c3ff990362fc571d5b2f01d SHA512 2245a94573171993bb958f2beb6a5dfc738ef9878b7795747e3e0bf689801af756540f561b5d0bd7c93ce02fe66efad7a9b018976a81c7bdaf3849b634f22ec2 WHIRLPOOL a3b25a8495638a9815347ccb297848b8ebde0a9f0cf4093507750784c2732995fc0cd048a051197dc4f6d9acd3115d0c2cbb7fa2321933f8c0ab11158feadfd1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJRVVX/AAoJEHfx8XVYajsfS5wP/0lBzLlMc33Pq/b/kPhy4qfK
-xiqr0Sv6spYa6r53J+k60tIYjPvkjI0pmy/cXLFEIYsxPHiX+JjxwIWM8jmm8nRN
-s2bs1NZAatFqiuQB+J7+qkDOluTYmE0sc+Y5os876i29Q4DWHIlxDWQJEkAMq6uo
-cpsQ/y08WlNEf6T9mQgddnzhvWht7y/madAs3ReVFN3+uo2yM+JwttzIRmvsffJj
-ejaodm97dyaRUYD3i4yhEumGawpR3nUC6IInXj+E/UIxAvbIWbZ7dnsIkKoVlWVM
-ZQfLqJpL591AjLoxgGl0uATNkOe++T6uc3bRmJPj5ik4gEkhf8hhhT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xG0/wbu6xhemvriPm
+dmDgU5xGwkJlg8SbvLMc
+=utY2
-----END PGP SIGNATURE-----
diff --git a/mail-filter/opendkim/metadata.xml b/mail-filter/opendkim/metadata.xml
index 9ba37c7ac712..f1056cddca64 100644
--- a/mail-filter/opendkim/metadata.xml
+++ b/mail-filter/opendkim/metadata.xml
@@ -21,6 +21,7 @@ using the DKIM standard. This is a fork of Sendmail's DKIM-milter</longdescripti
policy to be controlled by user defined lua scripts.</flag>
<flag name='poll'>Use poll() instead of select() for the provided
asynchronous resolver library.</flag>
-
+ <flag name='memcached'>Add support for using <pkg>dev-libs/libmemcached</pkg>
+ </flag>
</use>
</pkgmetadata>
diff --git a/mail-filter/opendkim/opendkim-2.8.3.ebuild b/mail-filter/opendkim/opendkim-2.8.3.ebuild
new file mode 100644
index 000000000000..e4576094d048
--- /dev/null
+++ b/mail-filter/opendkim/opendkim-2.8.3.ebuild
@@ -0,0 +1,194 @@
+# 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.8.3.ebuild,v 1.1 2013/05/06 06:41:04 eras Exp $
+
+EAPI=5
+WANT_AUTOMAKE="1.12"
+inherit eutils db-use autotools 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 +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 )
+ 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 || die
+
+ sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
+ || die
+
+ epatch "${FILESDIR}/${PN}-2.8.0-unbreak_upgrade.patch"
+ 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-dkim_reputation \
+ --enable-identity_header \
+ --enable-rate_limit \
+ --enable-redirect \
+ --enable-resign \
+ --enable-replace_rules \
+ --enable-default_sender \
+ --enable-sender_macro \
+ --enable-vbr \
+ --disable-rpath \
+ --disable-live-testing \
+ --with-libxml2 \
+ --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"
+}