summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlos Ratis <dastergon@gentoo.org>2015-01-08 19:36:24 +0000
committerPavlos Ratis <dastergon@gentoo.org>2015-01-08 19:36:24 +0000
commit1f14c7f0f66267cf691f7b771476b086dcf01bbf (patch)
treea25c3ba0b1e4d7b9c6ca7fc07eeb945c95398990 /app-crypt
parentMark stable (diff)
downloadgentoo-2-1f14c7f0f66267cf691f7b771476b086dcf01bbf.tar.gz
gentoo-2-1f14c7f0f66267cf691f7b771476b086dcf01bbf.tar.bz2
gentoo-2-1f14c7f0f66267cf691f7b771476b086dcf01bbf.zip
initial release
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x3A051746)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/gkeys/ChangeLog8
-rw-r--r--app-crypt/gkeys/gkeys-0.1.ebuild53
2 files changed, 59 insertions, 2 deletions
diff --git a/app-crypt/gkeys/ChangeLog b/app-crypt/gkeys/ChangeLog
index c9d222d1c0de..adceb9fd5a0d 100644
--- a/app-crypt/gkeys/ChangeLog
+++ b/app-crypt/gkeys/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/gkeys
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gkeys/ChangeLog,v 1.4 2015/01/01 22:15:34 dolsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gkeys/ChangeLog,v 1.5 2015/01/08 19:36:24 dastergon Exp $
+
+*gkeys-0.1 (08 Jan 2015)
+
+ 08 Jan 2015; Pavlos Ratis <dastergon@gentoo.org> +gkeys-0.1.ebuild:
+ initial release
01 Jan 2015; Brian Dolbec <dolsen@gentoo.org> gkeys-9999.ebuild:
Change default log location, set group, permissions.
@@ -16,4 +21,3 @@
24 Dec 2014; Brian Dolbec <dolsen@gentoo.org> +gkeys-9999.ebuild,
+metadata.xml:
Initial live ebuild for gkeys.
-
diff --git a/app-crypt/gkeys/gkeys-0.1.ebuild b/app-crypt/gkeys/gkeys-0.1.ebuild
new file mode 100644
index 000000000000..6b5061e59e12
--- /dev/null
+++ b/app-crypt/gkeys/gkeys-0.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2014-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gkeys/gkeys-0.1.ebuild,v 1.1 2015/01/08 19:36:24 dastergon Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=(python{2_7,3_3})
+
+inherit distutils-r1
+
+DESCRIPTION="An OpenPGP/GPG key management tool for seed files and keyrings"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Gentoo-keys"
+SRC_URI="http://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ app-crypt/gnupg
+ >=dev-python/pyGPG-0.1[${PYTHON_USEDEP}]
+ >=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}]
+ dev-python/snakeoil[${PYTHON_USEDEP}]
+ >=app-crypt/gentoo-keys-201501052117
+ "
+
+python_install_all() {
+ distutils-r1_python_install_all
+ keepdir /var/log/gkeys
+ fperms g+w /var/log/gkeys
+}
+
+pkg_preinst() {
+ chgrp users "${D}"/var/log/gkeys
+}
+
+pkg_postinst() {
+ einfo "Fetching Gentoo Developer seed file..."
+ gkeys fetch-seed -C gentoo-devs || die "Unable to fetch seeds"
+ einfo "This is experimental software."
+ einfo "The API's it installs should be considered unstable"
+ einfo "and are subject to change."
+ einfo
+ einfo "Please file any enhancement requests, or bugs"
+ einfo "at https://bugs.gentoo.org"
+ einfo "We are also on IRC @ #gentoo-keys of the Freenode network"
+ einfo
+ ewarn "There may be some Python 3 compatibility issues still."
+ ewarn "Please help us debug, fix and report them in Bugzilla."
+}