summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-02-04 22:39:55 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2017-02-04 23:40:18 +0200
commit504959f42efb0304c58f0529f1ba7df2c8dacbc9 (patch)
treedde2e235776f68bc81d3086536bf6981d53216d8 /app-crypt
parentnet-im/telegram-desktop-bin: Cleanup old (diff)
downloadgentoo-504959f42efb0304c58f0529f1ba7df2c8dacbc9.tar.gz
gentoo-504959f42efb0304c58f0529f1ba7df2c8dacbc9.tar.bz2
gentoo-504959f42efb0304c58f0529f1ba7df2c8dacbc9.zip
app-crypt/onak: version bump
Not actually tested but clean up from previous use the installation of pacakge as-is. Package-Manager: portage-2.3.3
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/onak/Manifest1
-rw-r--r--app-crypt/onak/onak-0.5.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/app-crypt/onak/Manifest b/app-crypt/onak/Manifest
index 6aaef69d56bf..2c3e04d0f329 100644
--- a/app-crypt/onak/Manifest
+++ b/app-crypt/onak/Manifest
@@ -1 +1,2 @@
DIST onak-0.4.0.tar.gz 230996 SHA256 e402042d2cbcbe34cfac1d737a564054fea84ad5c00386ab0c877698c3076ecd SHA512 0cf8960652cda242fde2e834953581312431136fe380076bc3b76b42ef11ff1c83975d6d4fc8463466ce37b84c71c83fbbdfb08cd5eefb9928814b550c08ce67 WHIRLPOOL 7a56f17a856e297853e3872ac7b7f712c07e44d071d71f198785ddd5e61300b471e70b6829193ec0c01fb883f5668151f157f229d979df883ae9178cb3834177
+DIST onak-0.5.0.tar.xz 240764 SHA256 24cc12b41dec9f8a53baeeaf9ab6f9f82e7d6ea795c48c37421e8d7184a8b1fa SHA512 db38793acc82089089ac0b9fb6db9989b6bb8e94c35c14112d028d12f7bb7553b7409121378346625528c4916506d007bf40963f4a346483f51a23b670680a7d WHIRLPOOL 85cebf7807922d3c1d8c85cce23c960078971c8c74ac29ecfa9379b55fb1f8a9a8333f775935566aa2dfa27636a02d09700642e10d6605f204ab1c984ef47ccf
diff --git a/app-crypt/onak/onak-0.5.0.ebuild b/app-crypt/onak/onak-0.5.0.ebuild
new file mode 100644
index 000000000000..c2d93118a0b3
--- /dev/null
+++ b/app-crypt/onak/onak-0.5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+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.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="berkdb postgres"
+
+DEPEND="berkdb? ( >=sys-libs/db-4 )
+ postgres? ( dev-db/postgresql[server] )"
+
+DOCS=(
+ apache2 README LICENSE onak.sql
+)
+
+# it tries to use all backends?
+RESTRICT="test"
+
+src_prepare() {
+ default
+ 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 --localstatedir=/var --enable-backend="${backend}"
+}
+
+src_install() {
+ default
+ insinto /etc
+ doins onak.ini
+ keepdir /var/lib/onak
+ dodir /usr/lib/cgi-bin/pks
+ insinto /usr/lib/cgi-bin/pks
+ doins add gpgwww lookup
+}