summaryrefslogtreecommitdiff
path: root/app-crypt/gkeys
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/gkeys
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/gkeys')
-rw-r--r--app-crypt/gkeys/Manifest6
-rw-r--r--app-crypt/gkeys/gkeys-0.2.ebuild57
-rw-r--r--app-crypt/gkeys/gkeys-9999.ebuild66
-rw-r--r--app-crypt/gkeys/metadata.xml8
4 files changed, 137 insertions, 0 deletions
diff --git a/app-crypt/gkeys/Manifest b/app-crypt/gkeys/Manifest
new file mode 100644
index 000000000000..45d72bc86f2b
--- /dev/null
+++ b/app-crypt/gkeys/Manifest
@@ -0,0 +1,6 @@
+DIST gkeys-0.2.tar.bz2 47726 SHA256 5e890992e5992ab168b34d9a731b75b2638ab35cf466b1c7615725a3b19646cc SHA512 0c594b5f451329e5e85998bb96243812e0c6e7ef7fa4db0f276a870148adffcf41acc31631fb28c44c473690f154e130ddcb10b986d4546ca19e2cc8cda95036 WHIRLPOOL 458c38e97cd3dccf3eec834bc0e7ead5a2b83e148999b087940dd66accf178bb2ee1c4daceecdcf8f79469fc69c1313cdbbe00f1ddb9defb0b676ce1c794e0ac
+EBUILD gkeys-0.2.ebuild 1695 SHA256 d20137c7cb056a52529aa45a84e39efd18f650e8239ff68bfc9749cbc44ad643 SHA512 5d5f50b3b660fa70a73df0c31c290280d7995bc6474a0cfaa48fba0778e4f5b00a29bcae8af3a267e04b08e0e93cf500e940a6ad3b64179a3f4415fe392f6496 WHIRLPOOL c584a7bd5f89561dfabd35b267bebce1ab488b2d1bbedc4f87d5446ec5a9590bee2d9d3dac28b6a1ee400cd41dc4e84b817c7922ce90fb135b15463ff3ffd230
+EBUILD gkeys-9999.ebuild 1610 SHA256 dac000dc0f6915afc26841b56032cd1c4bc01a9a524acec774334448194662f8 SHA512 2b5dbde064a50f4b507c5458f8b63f1c00d24a80d88209ef87dfa52ece79a41ab8f5225bfe88cfe5898069d8e1a3a62236888381e02fce298935ac209bdfd322 WHIRLPOOL f8860d6005ab6ddb3236cc3854b433f4aaa3920683b142a93931ed18fa1971c89b0de35780af34677142e00b73f5f99a3e3298aa173b1e5abd3a5f7be9019512
+MISC ChangeLog 2970 SHA256 bce5abd800923a02dac58e863b60bcd625ded1a34179b40f2345038e467268f9 SHA512 fcec9a7fc7be689c65c21563e3b734f8f3ec308da67992e4ee500ca6062555c3a690e20f36fd15961bc7e40510615edb2a9c8121c9725a48840c87a1c9d7b300 WHIRLPOOL dcdf58fbed78bc36250015b700f5ec6d1b12abb6d6392ebd8a3c4771b3a84d1c06dde93af0c1b8a59a76dbd8535d11972d3e3cd2122593469eb06eec3f95ec4c
+MISC ChangeLog-2015 1484 SHA256 211138d810a1acc3a47d9cbca1d41ceb3af51f578b6f55ca6b0ea81af4ce3a2f SHA512 e2e5a6494592d6ad0bee2d3063631f2f59a872d264a27cc69dfbea9c248d4251059dec4caefd05b2cb4f70d75ebb5e7cf0dbcbb1b56639a1242a862682e2ba0d WHIRLPOOL c8aea1bf4853322c39d7e6cf6209345dff661fce145ca4ce478e767645e2985ce5e6524820e8c8215f4ee4148cc5beea7160a46b8f9eed0f1ee354cf1b5b5c44
+MISC metadata.xml 257 SHA256 c9e4a7ec0cf5e1bfe6ce98475f7859dfdc7a7618f5349f77fb3cf156b20c16aa SHA512 62e56bca988936416042bb794e7c8dad9930a46c1f81f51c60a22f3f43e2d0babaacdbef430a6f8ecc8ea7d949effa6136b6d066dabb0a80fde55c36ea3c080c WHIRLPOOL cbfa473855550538c0928e9d652ac5c52443e2536498234c9a894eb3efe1a1daf708fdbb39b180858fea9d1a35c9ce0cbc9b82e9b6ac22094f3c3c87df7b0320
diff --git a/app-crypt/gkeys/gkeys-0.2.ebuild b/app-crypt/gkeys/gkeys-0.2.ebuild
new file mode 100644
index 000000000000..82fd2a17cd93
--- /dev/null
+++ b/app-crypt/gkeys/gkeys-0.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+
+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="https://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ app-crypt/gnupg
+ >=dev-python/pyGPG-0.2[${PYTHON_USEDEP}]
+ >=dev-python/ssl-fetch-0.4[${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 "This is experimental software."
+ einfo "The API's it installs should be considered unstable"
+ einfo "and are subject to change."
+ einfo
+ einfo "This version includes a new gkeys-gpg command"
+ einfo "It can be used as an alternate gpg command for git"
+ einfo "It will set the correct keyring to verify signed commits"
+ einfo "provided the key it needs to verify against is part of the gkeys"
+ einfo "keyring system. It only works for verification, any other call "
+ einfo "to it will re-direct directly to the normal gpg command."
+ 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."
+}
diff --git a/app-crypt/gkeys/gkeys-9999.ebuild b/app-crypt/gkeys/gkeys-9999.ebuild
new file mode 100644
index 000000000000..e79d59e06bc8
--- /dev/null
+++ b/app-crypt/gkeys/gkeys-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+
+#EGIT_PROJECT="gentoo-keys.git"
+EGIT_BRANCH="master"
+
+inherit distutils-r1 git-r3
+
+EGIT_REPO_URI="git://anongit.gentoo.org/proj/gentoo-keys.git"
+
+DESCRIPTION="An OpenPGP/GPG key management tool and python libs"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Gentoo-keys"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+KEYWORDS=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ app-crypt/gnupg
+ =dev-python/pyGPG-9999[${PYTHON_USEDEP}]
+ =dev-python/ssl-fetch-9999[${PYTHON_USEDEP}]
+ >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
+ >=app-crypt/gentoo-keys-201501052117
+ "
+
+S="${WORKDIR}/$P/gkeys"
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ # copy these 2 into our subdir from the master level
+ cp ../LICENSE ./ || die "cp LICENSE failed"
+ cp ../README.md ./ || die "cp README.me failed"
+ cp -R ../py2man ./ || die "cp-R py2man failed"
+}
+
+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
+ 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 debug/fix/report them in bugzilla."
+}
diff --git a/app-crypt/gkeys/metadata.xml b/app-crypt/gkeys/metadata.xml
new file mode 100644
index 000000000000..1937e8c82b4b
--- /dev/null
+++ b/app-crypt/gkeys/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>gkeys@gentoo.org</email>
+ <name>Gentoo-keys Project Team</name>
+ </maintainer>
+</pkgmetadata>