diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-crypt/onak | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-crypt/onak')
-rw-r--r-- | app-crypt/onak/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch | 13 | ||||
-rw-r--r-- | app-crypt/onak/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/onak/onak-0.4.0.ebuild | 56 |
4 files changed, 78 insertions, 0 deletions
diff --git a/app-crypt/onak/Manifest b/app-crypt/onak/Manifest new file mode 100644 index 000000000000..6aaef69d56bf --- /dev/null +++ b/app-crypt/onak/Manifest @@ -0,0 +1 @@ +DIST onak-0.4.0.tar.gz 230996 SHA256 e402042d2cbcbe34cfac1d737a564054fea84ad5c00386ab0c877698c3076ecd SHA512 0cf8960652cda242fde2e834953581312431136fe380076bc3b76b42ef11ff1c83975d6d4fc8463466ce37b84c71c83fbbdfb08cd5eefb9928814b550c08ce67 WHIRLPOOL 7a56f17a856e297853e3872ac7b7f712c07e44d071d71f198785ddd5e61300b471e70b6829193ec0c01fb883f5668151f157f229d979df883ae9178cb3834177 diff --git a/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch b/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch new file mode 100644 index 000000000000..e30c8c7a1488 --- /dev/null +++ b/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/319677 + +--- configure.ac ++++ configure.ac +@@ -17,7 +17,7 @@ + printf "#include <db.h>\nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c + set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2" + AC_MSG_RESULT($v.$vv) +-if test "$v" -eq 4; then ++if test "$v" -ge 4; then + for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do + AC_MSG_CHECKING(for db_create in lib$db) + oldLIBS="$LIBS" diff --git a/app-crypt/onak/metadata.xml b/app-crypt/onak/metadata.xml new file mode 100644 index 000000000000..f08d14f4a08f --- /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> +<herd>crypto</herd> +<maintainer> + <email>robbat2@gentoo.org</email> +</maintainer> +</pkgmetadata> 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..8275c1c33100 --- /dev/null +++ b/app-crypt/onak/onak-0.4.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +} |