summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-10 11:13:25 +0000
committerEray Aslan <eras@gentoo.org>2011-06-10 11:13:25 +0000
commit2ea7c0a7dffda69f9579bc86325a8f0a90631b91 (patch)
treed9c2a135dc0f05db591de1ce7bf4c6c2acfa576b /mail-filter/libdomainkeys
parentFix circular dependency on gsl, bump to EAPI2 for USE dependency. Thanks to K... (diff)
downloadgentoo-2-2ea7c0a7dffda69f9579bc86325a8f0a90631b91.tar.gz
gentoo-2-2ea7c0a7dffda69f9579bc86325a8f0a90631b91.tar.bz2
gentoo-2-2ea7c0a7dffda69f9579bc86325a8f0a90631b91.zip
version bump
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/libdomainkeys')
-rw-r--r--mail-filter/libdomainkeys/ChangeLog9
-rw-r--r--mail-filter/libdomainkeys/libdomainkeys-0.69.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/mail-filter/libdomainkeys/ChangeLog b/mail-filter/libdomainkeys/ChangeLog
index f8fae6c4414e..deae52d77351 100644
--- a/mail-filter/libdomainkeys/ChangeLog
+++ b/mail-filter/libdomainkeys/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/libdomainkeys
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libdomainkeys/ChangeLog,v 1.17 2010/07/10 22:12:47 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libdomainkeys/ChangeLog,v 1.18 2011/06/10 11:13:25 eras Exp $
+
+*libdomainkeys-0.69 (10 Jun 2011)
+
+ 10 Jun 2011; Eray Aslan <eras@gentoo.org> +libdomainkeys-0.69.ebuild:
+ version bump
*libdomainkeys-0.68-r2 (10 Jul 2010)
diff --git a/mail-filter/libdomainkeys/libdomainkeys-0.69.ebuild b/mail-filter/libdomainkeys/libdomainkeys-0.69.ebuild
new file mode 100644
index 000000000000..1b7ce5098fa5
--- /dev/null
+++ b/mail-filter/libdomainkeys/libdomainkeys-0.69.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libdomainkeys/libdomainkeys-0.69.ebuild,v 1.1 2011/06/10 11:13:25 eras Exp $
+
+EAPI=4
+
+inherit eutils multilib
+
+DESCRIPTION="libdomainkeys is a library usable by MTAs to verify and create signatures of e-mail headers."
+HOMEPAGE="http://domainkeys.sourceforge.net/"
+SRC_URI="mirror://sourceforge/domainkeys/${P}.tar.gz"
+
+# Licensed under the Yahoo! DomainKeys Public License Agreement v1.1
+LICENSE="libdomainkeys-1.1"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-devel/libtool-1.4.1-r8
+ dev-libs/openssl"
+RDEPEND=""
+
+src_prepare() {
+ # fix libs, dump hardcoded vars to respect CC (bug #244142) and CFLAGS (bug #240782)
+ sed -i -e 's:-lcrypto:-lcrypto -lresolv:' \
+ -e 's:^CC=:#CC=:' -e 's:^CFLAGS=:#CFLAGS=:' \
+ -e "s:\$(CFLAGS):\$(CFLAGS) \$(LDFLAGS):g" \
+ "${S}"/Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="-DBIND_8_COMPAT ${CFLAGS}"
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)
+ doins libdomainkeys.a
+
+ insinto /usr/include
+ doins domainkeys.h
+ doins dktrace.h
+
+ dobin dknewkey dktest
+ dodoc README CHANGES *.html
+
+ # remove unwanted doc files
+ rm -rf "${S}"/testcases/CVS
+ rm -rf "${S}"/testcases/*~
+ docinto /testcases
+ dodoc testcases/*
+}