aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-05-31 20:11:19 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-05-31 20:11:19 -0400
commitc0d86b7181c649a0a305e537040a3a9c0fdc7933 (patch)
tree309e5cd4bdbe17aed99f6a509641ade326bc23e6 /app-crypt
parentdev-lang/ruby: bump to 2.0.0_p648 (diff)
downloadmusl-c0d86b7181c649a0a305e537040a3a9c0fdc7933.tar.gz
musl-c0d86b7181c649a0a305e537040a3a9c0fdc7933.tar.bz2
musl-c0d86b7181c649a0a305e537040a3a9c0fdc7933.zip
Revert "app-crypt/gpgme: removed because dev-libs/pth is masked"
This reverts commit 9da9b76148170f12e0dacdfbee04781d8688b921.
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/gpgme/Manifest5
-rw-r--r--app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch11
-rw-r--r--app-crypt/gpgme/files/gpgme-1.5.5-error_t-provided-by-argp_h.patch13
-rw-r--r--app-crypt/gpgme/gpgme-1.5.5-r99.ebuild42
-rw-r--r--app-crypt/gpgme/metadata.xml11
5 files changed, 82 insertions, 0 deletions
diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest
new file mode 100644
index 00000000..e4c4a1f4
--- /dev/null
+++ b/app-crypt/gpgme/Manifest
@@ -0,0 +1,5 @@
+AUX gpgme-1.1.8-et_EE.patch 356 SHA256 dcf67057447f1f6316ebad2b61340bc24086eb470a9cb68cababcb709b329e7b SHA512 c9e898be4d4a0f19fb41e10e8511820cb78051a06941ef8e5d870ccafb71ce5650a1d5289f95506ca7123b021e510f01c2ed8a3062ad967b0415142bfec87799 WHIRLPOOL 2883d82bb0bc9bf9dae493dcf1f027139190cf76eaa7fc8be45cdf67de471940a8958f2811dabad383d1e58d92f38418f3cfccc3b37c85e649cdccef0337fd31
+AUX gpgme-1.5.5-error_t-provided-by-argp_h.patch 550 SHA256 7784cc1d1068d4c57d296dc9839351b83cb222673d6e78e97e8355662cae3786 SHA512 fb425bd0f244de111c8583b33bc84911159260aced69b83a9409cfbd8e954cb21ce3dc1b8c45ca8ac4b179444ae2500ac8c2e41323d68b914965e6e8d7f97b3f WHIRLPOOL fa66b97bc5b5bc83039c357f07f24f0701666d91eb4a9bf14f21dcc57baec02523f3805ae39d236578c73cc8e660322fa83d442dbf60c82620dc1fceac3d8bd6
+DIST gpgme-1.5.5.tar.bz2 976383 SHA256 0b3d3d5107680c594777aae65882a1ff6dd1ba629a83432e719c8b82a743c207 SHA512 a01b84c1ae2a7c647b2de793fc05d39c4bf4a2d1b7378934e437857823f11ca9e9c1f3b32302d69a3a84d0be1fee1e1c86874355031b8fa6b40f4ad56ecc72ad WHIRLPOOL f3ad4282a254cf1ab8d01184df787a773fa7963a42157da93bee11430263fa86166f12f051e2b11d13be99ce1f0939d565cb02a8fba93ab6afed73ca7b2c0041
+EBUILD gpgme-1.5.5-r99.ebuild 1033 SHA256 963d60a557903192365c40b1a289730312e10d5d55904ade7a7557d787890912 SHA512 03c97093750cd50b55afd071dca8372110606ad2e954270293ff14e2aeefda5357f0f9377c548cb1b3539c28d5275340f31406a388832b4f1ed2ac16f806ff28 WHIRLPOOL 800a8fee944dc24a38cafc0eecd9cf444558ffd8ceac39d15ddf6cc803acbeab2fb5c0a014b3953bae6c5e9c02dfb7cd4d481216afcdef6f4915a157598721f5
+MISC metadata.xml 315 SHA256 2090c9e52f91c000c11e53d0215dd327d8274ab13f3a4930340a608afe10c5e8 SHA512 502b5daf04f1b706514aba7d18cd454e1e99f63462159d3f5baebd1617bfa4760c7ea6fae9b7624fae2bc5943f8950211c6f4b326b6b62c3cf7eba4fc1255334 WHIRLPOOL dfd45c75e635ff36c55dd60b7c31a59ea22792fc07f6ba4cf493e99a4d55c3466e86cab704736a6b1547b9fb0b30670e839150f163643b1ebd9d98d6af814576
diff --git a/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch b/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch
new file mode 100644
index 00000000..dc921eec
--- /dev/null
+++ b/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch
@@ -0,0 +1,11 @@
+--- ./gpgme-1.1.8/src/gpgme-config.in.orig 2009-03-08 10:25:48.000000000 +1100
++++ ./gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:35:53.000000000 +1100
+@@ -64,7 +64,7 @@
+ while test $# -gt 0; do
+ case "$1" in
+ -*=*)
+- optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
++ optarg=`echo "$1" | sed 's/[-_[:alnum:]]*=//'`
+ ;;
+ *)
+ optarg=
diff --git a/app-crypt/gpgme/files/gpgme-1.5.5-error_t-provided-by-argp_h.patch b/app-crypt/gpgme/files/gpgme-1.5.5-error_t-provided-by-argp_h.patch
new file mode 100644
index 00000000..b7a55b6f
--- /dev/null
+++ b/app-crypt/gpgme/files/gpgme-1.5.5-error_t-provided-by-argp_h.patch
@@ -0,0 +1,13 @@
+diff -Naur gpgme-1.5.5.orig/config.h.in gpgme-1.5.5/config.h.in
+--- gpgme-1.5.5.orig/config.h.in 2015-06-08 09:04:08.000000000 -0400
++++ gpgme-1.5.5/config.h.in 2015-07-18 20:41:00.362340965 -0400
+@@ -253,9 +253,6 @@
+ /* Activate POSIX interface on MacOS X */
+ #undef _XOPEN_SOURCE
+
+-/* Define to a type to use for `error_t' if it is not otherwise available. */
+-#undef error_t
+-
+ /* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+ #ifndef __cplusplus
diff --git a/app-crypt/gpgme/gpgme-1.5.5-r99.ebuild b/app-crypt/gpgme/gpgme-1.5.5-r99.ebuild
new file mode 100644
index 00000000..0e97d72b
--- /dev/null
+++ b/app-crypt/gpgme/gpgme-1.5.5-r99.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.5.5.ebuild,v 1.6 2015/07/07 05:28:00 jer Exp $
+
+EAPI="5"
+
+inherit eutils libtool
+
+DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
+HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
+SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="1/11" # subslot = soname major version
+KEYWORDS="amd64 arm ~mips ppc x86"
+IUSE="common-lisp static-libs"
+
+DEPEND="app-crypt/gnupg
+ >=dev-libs/libassuan-2.0.2
+ >=dev-libs/libgpg-error-1.11"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-error_t-provided-by-argp_h.patch
+ epatch "${FILESDIR}"/${PN}-1.1.8-et_EE.patch
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --includedir="${EPREFIX}/usr/include/gpgme" \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+
+ if ! use common-lisp; then
+ rm -fr "${ED}usr/share/common-lisp"
+ fi
+}
diff --git a/app-crypt/gpgme/metadata.xml b/app-crypt/gpgme/metadata.xml
new file mode 100644
index 00000000..89e98495
--- /dev/null
+++ b/app-crypt/gpgme/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name="common-lisp">Install common-lisp files</flag>
+ </use>
+</pkgmetadata>