diff options
Diffstat (limited to 'app-crypt/onak')
-rw-r--r-- | app-crypt/onak/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/onak/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/onak/onak-0.5.0.ebuild | 50 |
3 files changed, 61 insertions, 0 deletions
diff --git a/app-crypt/onak/Manifest b/app-crypt/onak/Manifest new file mode 100644 index 000000000000..d7f223a61bf8 --- /dev/null +++ b/app-crypt/onak/Manifest @@ -0,0 +1,3 @@ +DIST onak-0.5.0.tar.xz 240764 BLAKE2B a42d9a97137ae7fb403d8a20f2a9a5b5060d216fca97447630c8e8659440d5baa0c6e0fbe983feec8b4061263decc1183868055fe53c0797d49dd1f2e4c141f8 SHA512 db38793acc82089089ac0b9fb6db9989b6bb8e94c35c14112d028d12f7bb7553b7409121378346625528c4916506d007bf40963f4a346483f51a23b670680a7d +EBUILD onak-0.5.0.ebuild 1012 BLAKE2B 4c065522f30cdb4c8d00593c0078b9ca13dd5fcfbc7b09096b42ca5ecd4ac33245129f6374291bff55b9f2f6ad77e8cd68d8a06c2800b3e7bae0237a14a5c336 SHA512 8eb3c1c777fb6d06c13ed3631095b7feebd40be33e176e822464a8b5ab61ee9186a3100d3946a0064c2eb967e70eb7b9a9c5476265a3f977e1cacc10247c1586 +MISC metadata.xml 246 BLAKE2B 569d634cc821d4a537880a58ca96bf709155b0af827d8153b9521d5ca29f174ec29629d11b9eb91ee1cbba5f1a823d5c621521105a00e9fbd6d9a27bc3740bde SHA512 8ac20e3524a896e77d186b34b589ffe4287593c43fca1d50bcc06cd27e8cb8f5c0da2087622413a748a1738177d5939a50bda7a1e5d0ba36fbf4fb6d7b9bb015 diff --git a/app-crypt/onak/metadata.xml b/app-crypt/onak/metadata.xml new file mode 100644 index 000000000000..4f6e28828f65 --- /dev/null +++ b/app-crypt/onak/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> + </maintainer> +</pkgmetadata> 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..f17d1f50f816 --- /dev/null +++ b/app-crypt/onak/onak-0.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |