summaryrefslogtreecommitdiff
path: root/app-crypt/seahorse
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/seahorse
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/seahorse')
-rw-r--r--app-crypt/seahorse/Manifest7
-rw-r--r--app-crypt/seahorse/files/seahorse-3.20.0-gnupg-configure.patch32
-rw-r--r--app-crypt/seahorse/metadata.xml33
-rw-r--r--app-crypt/seahorse/seahorse-3.20.0-r1.ebuild67
-rw-r--r--app-crypt/seahorse/seahorse-3.20.0.ebuild68
5 files changed, 207 insertions, 0 deletions
diff --git a/app-crypt/seahorse/Manifest b/app-crypt/seahorse/Manifest
new file mode 100644
index 000000000000..41c5823029bf
--- /dev/null
+++ b/app-crypt/seahorse/Manifest
@@ -0,0 +1,7 @@
+AUX seahorse-3.20.0-gnupg-configure.patch 896 SHA256 c0632a5d53d5c98e4eef56a90f2be1c3ad5e6aa1579da172513dc62a290e0f51 SHA512 3708d606e3ce468ca202d7ff35f65b934385816243e009fb16ff81e4ded6cb990d1c896b70457edcde39e690b79b744e9042c3cf728734597bfd229df612f1f5 WHIRLPOOL 33c57e18803ae309290f2f56420697cd0083bb5435a534dbba23785bb9183f50d51a628d14ba15d2bfdc363037e0a13cdef5e904e4c75141b696fd1967921166
+DIST seahorse-3.20.0.tar.xz 1556556 SHA256 e2b07461ed54a8333e5628e9b8e517ec2b731068377bf376570aad998274c6df SHA512 a02d3da7af95256941ef065ac024bd5bfb53a026767b951fa2e26446fb0eed23707e69f72f6e8ebfa7d538823fa41411709fa2bebad4fbd662af1e81bc15ab82 WHIRLPOOL 79691f59771387af8f18fb2bbfb96a5830f41d1f538be0216d218f53ebc273fd00b1d455f595e4a70a3c5104d024d85b6ee279d416e94d93d800133179bfd47d
+EBUILD seahorse-3.20.0-r1.ebuild 1571 SHA256 918f718bf29d0cb21313ef1439da8c260af7b6373f48a08c264df43611efff50 SHA512 aaf9bf8f78be64a138dc281d7e7215ec6a21492fc0360db392735ceb5c5375d2b9af14ea70fca7a637c9deaa4591c29079138b26455f6df49eed806195fa67be WHIRLPOOL 120d234cd9a40b3cd96bdbc953eb18967726868ba36535e632d798489678bb19b24c1fb5f72b165b07dedb5b4945b01e089b53dfeaa3980dd41e7a6640553145
+EBUILD seahorse-3.20.0.ebuild 1628 SHA256 839c986f98627b39b4210a537dd0919122a27ca70dd13bca5e9fcfde23c72db5 SHA512 d53d488ab47a2681e075df1894288e81e7c32d05c28b027a091fb91d903da3275e235774e3d0f0caf18dca51d077afce63c2ed40ad5af9a319682956521b593e WHIRLPOOL a115ba5c584c8b4e833b2c84e949caabae5eaeac2e9d6bbffa865a096adee728fc446283ec32366910fdca337c5e639d01947fb3b75b67d64394f39b5eb90b41
+MISC ChangeLog 4139 SHA256 d6a799df38e82d3177f0ca49f902ea3d2cc316099b72d55ad6547ffc23f6de0a SHA512 ba14b5b7d85055367f9527c2e1ef94cfc8b534fe7d66220b1761a100a784dd23a02be1b66f442fcbdc745bf7a18983a11a161735e14ff5763b5b9f58a3f7ca48 WHIRLPOOL 4f5cedb88fc42109e2b9f373e9da96e8c99cd9be122f51a071da844fabdb25f2509a6daa11cae77708272681215144ac85d1a199dcb7cabbaee4783ee6119dfd
+MISC ChangeLog-2015 28438 SHA256 05f4561b4b67e40aafc2de52eb0ce4d039bd0b69eb828efec6e39a206ac743f5 SHA512 c7134126db504efafcc5533098f5495881ff42c23178feca8f7fe8b8a545916961ac890e7075568265a78b544f1449be8cc9cb69a93215c9f7500983fffa7d10 WHIRLPOOL 256242ee451262a3c38dceb67fbfadf2f78e33eb2d59ed8a31bffaa5353e3b14074513ca5381e2a0f68af6de20d9b7f3ad14a92fb454a16df69886a378b1094c
+MISC metadata.xml 871 SHA256 7c94194cfccfda3a6ea088d9c055e1165d633076a8870bdb032f83ef60b2da06 SHA512 3e4844cf29c6343c93ee51a9d5643464256f7ad884e6af946166c251004d3cbbf6d1aaa6771faf27b1a531939a8401413b52aa84a6bee8a2a4365775b09e8514 WHIRLPOOL e5f844d1a5c12cd3d5eae3734302c7020d7348110afd82b88ac6d987f7fe36c0854d5424e3b458da27455f66a6a48cde5a11806c1c11f088d8e7753d2222fd8b
diff --git a/app-crypt/seahorse/files/seahorse-3.20.0-gnupg-configure.patch b/app-crypt/seahorse/files/seahorse-3.20.0-gnupg-configure.patch
new file mode 100644
index 000000000000..6c81974c4fd3
--- /dev/null
+++ b/app-crypt/seahorse/files/seahorse-3.20.0-gnupg-configure.patch
@@ -0,0 +1,32 @@
+From 31a9a6ffc10f9737e70d7f0051ff590ff284ad07 Mon Sep 17 00:00:00 2001
+From: Rico Tzschichholz <ricotz@ubuntu.com>
+Date: Tue, 5 Sep 2017 00:01:16 +0200
+Subject: Accept GnuPG 2.2.x as supported version
+
+https://git.gnome.org/browse/seahorse/commit/?id=31a9a6ffc10f9737e70d7f0051ff590ff284ad07
+https://git.gnome.org/browse/seahorse/patch/?id=31a9a6ffc10f9737e70d7f0051ff590ff284ad07
+
+Note: had to change GPGME_REQUIRED=1.7.0 to GPGME_REQUIRED=1.0.0 for
+3.20.0 for patch to apply
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index fc4493c..723b46f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9,7 +9,7 @@ GCR_REQUIRED=3.11.91
+ GTK_REQ=3.4.0
+ GTK_MAX=GTK_VERSION_3_4
+
+-GNUPG_ACCEPTED="2.0.12 2.1.4"
++GNUPG_ACCEPTED="2.0.12 2.1.4 2.2.0"
+ GPGME_REQUIRED=1.0.0
+ LIBSECRET_REQUIRED=0.16
+ AVAHI_GLIB_REQUIRED=0.6
+--
+cgit v0.12
+
+
diff --git a/app-crypt/seahorse/metadata.xml b/app-crypt/seahorse/metadata.xml
new file mode 100644
index 000000000000..6789dec723b8
--- /dev/null
+++ b/app-crypt/seahorse/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+<use>
+ <flag name="ldap">Enable seahorse to manipulate GPG keys on a LDAP server.</flag>
+</use>
+<longdescription>Seahorse is a Gnome interface for GnuPG. It's main purpose is to be a PGP/GPG Key Manager, though
+it has other components including a text editor and file manager.
+
+Key Manager Features:
+Generating a key
+Deleting a key
+Importing keys from text or a file
+Exporting a key to text or a file
+View key properties
+
+Key Properties Features:
+Show key info
+Change owner trust
+Change primary key's expiration date
+Change passphrase
+Export key
+Delete Key
+
+Plugins:
+Nautilus Integration
+Gedit plugin
+</longdescription>
+</pkgmetadata>
diff --git a/app-crypt/seahorse/seahorse-3.20.0-r1.ebuild b/app-crypt/seahorse/seahorse-3.20.0-r1.ebuild
new file mode 100644
index 000000000000..3b0fd9101ded
--- /dev/null
+++ b/app-crypt/seahorse/seahorse-3.20.0-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+inherit gnome2
+
+DESCRIPTION="A GNOME application for managing encryption keys"
+HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="0"
+IUSE="debug ldap zeroconf"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+COMMON_DEPEND="
+ >=app-crypt/gcr-3.11.91:=
+ >=app-crypt/gnupg-2.0.12
+ >=app-crypt/gpgme-1
+ >=app-crypt/libsecret-0.16
+ >=dev-libs/glib-2.10:2
+ >=net-libs/libsoup-2.33.92:2.4
+ net-misc/openssh
+ >=x11-libs/gtk+-3.4:3
+ x11-misc/shared-mime-info
+
+ ldap? ( net-nds/openldap:= )
+ zeroconf? ( >=net-dns/avahi-0.6:= )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/yelp-tools
+ dev-util/gdbus-codegen
+ >=dev-util/intltool-0.35
+ dev-util/itstool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+# Need seahorse-plugins git snapshot
+RDEPEND="${COMMON_DEPEND}
+ !<app-crypt/seahorse-plugins-2.91.0_pre20110114
+"
+
+src_prepare() {
+ # Bug #629864
+ eapply "${FILESDIR}/seahorse-3.20.0-gnupg-configure.patch"
+
+ # Do not mess with CFLAGS with USE="debug"
+ sed -e '/CFLAGS="$CFLAGS -g/d' \
+ -e '/CFLAGS="$CFLAGS -O0/d' \
+ -i.bak configure.ac || die "sed 1 failed"
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # bindir is needed due to bad macro expansion in desktop file, bug #508610
+ gnome2_src_configure \
+ --bindir=/usr/bin \
+ --enable-pgp \
+ --enable-ssh \
+ --enable-pkcs11 \
+ --enable-hkp \
+ $(use_enable debug) \
+ $(use_enable ldap) \
+ $(use_enable zeroconf sharing) \
+ VALAC=$(type -P true)
+}
diff --git a/app-crypt/seahorse/seahorse-3.20.0.ebuild b/app-crypt/seahorse/seahorse-3.20.0.ebuild
new file mode 100644
index 000000000000..3a5351bb36e0
--- /dev/null
+++ b/app-crypt/seahorse/seahorse-3.20.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="A GNOME application for managing encryption keys"
+HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="0"
+IUSE="debug ldap zeroconf"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+
+COMMON_DEPEND="
+ >=app-crypt/gcr-3.11.91:=
+ >=dev-libs/glib-2.10:2
+ >=x11-libs/gtk+-3.4:3
+ >=app-crypt/libsecret-0.16
+ >=net-libs/libsoup-2.33.92:2.4
+ x11-misc/shared-mime-info
+
+ net-misc/openssh
+ >=app-crypt/gpgme-1
+ >=app-crypt/gnupg-2.0.12
+
+ ldap? ( net-nds/openldap:= )
+ zeroconf? ( >=net-dns/avahi-0.6:= )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/yelp-tools
+ dev-util/gdbus-codegen
+ >=dev-util/intltool-0.35
+ dev-util/itstool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+# Need seahorse-plugins git snapshot
+RDEPEND="${COMMON_DEPEND}
+ !<app-crypt/seahorse-plugins-2.91.0_pre20110114
+"
+
+src_prepare() {
+ # Do not mess with CFLAGS with USE="debug"
+ sed -e '/CFLAGS="$CFLAGS -g/d' \
+ -e '/CFLAGS="$CFLAGS -O0/d' \
+ -i configure.ac configure || die "sed 1 failed"
+
+ # Accept GnuPG 2.2.0
+ sed -e 's/GNUPG_ACCEPTED="2.0.12 2.1.4"/GNUPG_ACCEPTED="2.0.12 2.1.4 2.2.0"/g' \
+ -i configure.ac configure || die "sed failed"
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # bindir is needed due to bad macro expansion in desktop file, bug #508610
+ gnome2_src_configure \
+ --bindir=/usr/bin \
+ --enable-pgp \
+ --enable-ssh \
+ --enable-pkcs11 \
+ --enable-hkp \
+ $(use_enable debug) \
+ $(use_enable ldap) \
+ $(use_enable zeroconf sharing) \
+ VALAC=$(type -P true)
+}