summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-11-07 23:33:35 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-11-07 23:33:35 +0000
commit68a5e94ffd90f6f9c9d2022c57c266cdfd020794 (patch)
treebccbe2d84d3ca4c35aed8380bad7e1da732e1b01 /app-crypt
parentVersion bump, bug #371641. (diff)
downloadgentoo-2-68a5e94ffd90f6f9c9d2022c57c266cdfd020794.tar.gz
gentoo-2-68a5e94ffd90f6f9c9d2022c57c266cdfd020794.tar.bz2
gentoo-2-68a5e94ffd90f6f9c9d2022c57c266cdfd020794.zip
Version bump, bug #379311.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/onak/ChangeLog9
-rw-r--r--app-crypt/onak/onak-0.4.0.ebuild56
2 files changed, 63 insertions, 2 deletions
diff --git a/app-crypt/onak/ChangeLog b/app-crypt/onak/ChangeLog
index cd56a3603896..3bce705446af 100644
--- a/app-crypt/onak/ChangeLog
+++ b/app-crypt/onak/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/onak
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/onak/ChangeLog,v 1.9 2010/07/14 11:56:37 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/onak/ChangeLog,v 1.10 2011/11/07 23:33:35 robbat2 Exp $
+
+*onak-0.4.0 (07 Nov 2011)
+
+ 07 Nov 2011; Robin H. Johnson <robbat2@gentoo.org> +onak-0.4.0.ebuild:
+ Version bump, bug #379311.
14 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> onak-0.3.7.ebuild,
+files/onak-0.3.7-berkdb-5.0.patch:
diff --git a/app-crypt/onak/onak-0.4.0.ebuild b/app-crypt/onak/onak-0.4.0.ebuild
new file mode 100644
index 000000000000..01bcf0fa2fb8
--- /dev/null
+++ b/app-crypt/onak/onak-0.4.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/onak/onak-0.4.0.ebuild,v 1.1 2011/11/07 23:33:35 robbat2 Exp $
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="onak is an OpenPGP keyserver"
+HOMEPAGE="http://www.earth.li/projectpurple/progs/onak.html"
+SRC_URI="http://www.earth.li/projectpurple/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="berkdb postgres"
+
+DEPEND="berkdb? ( >=sys-libs/db-4 )
+ postgres? ( dev-db/postgresql-server )"
+
+src_prepare() {
+ # Merged upstream
+ #epatch "${FILESDIR}"/${P}-berkdb-5.0.patch
+ eautoreconf
+}
+
+src_configure() {
+ local backend="fs"
+ use berkdb && backend="db4"
+ use postgres && backend="pg"
+ if use berkdb && use postgres; then
+ ewarn "berkdb and postgres requested, postgres was preferred"
+ fi
+ econf --enable-backend="${backend}"
+}
+
+src_install() {
+ keepdir /var/lib/onak
+ dosbin onak maxpath sixdegrees onak-mail.pl
+ dobin splitkeys stripkey
+ doman *.[1-8]
+ insinto /etc
+ doins onak.conf
+ dodir /var/lib/onak/doc
+ insinto /var/lib/onak/doc
+ doins apache2 README LICENSE onak.sql
+ dodir /usr/lib/cgi-bin/pks
+ insinto /usr/lib/cgi-bin/pks
+ doins add gpgwww lookup
+
+ sed -i \
+ -e 's,^www_port 11371,www_port 0,g' \
+ -e 's,^db_dir /var/lib/lib/onak,db_dir /var/lib/onak,g' \
+ -e 's,^logfile /var/lib/log/onak.log,logfile /var/log/onak.log,g' \
+ -e 's,^max_last 1,max_last 0,g' \
+ "${D}/etc/onak.conf"
+}