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
This commit is contained in:
Alon Bar-Lev
2017-02-04 22:39:55 +02:00
parent 199f080869
commit 504959f42e
2 changed files with 52 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}