1 |
commit: c0d86b7181c649a0a305e537040a3a9c0fdc7933 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 00:11:19 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 00:11:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=c0d86b71 |
7 |
|
8 |
Revert "app-crypt/gpgme: removed because dev-libs/pth is masked" |
9 |
|
10 |
This reverts commit 9da9b76148170f12e0dacdfbee04781d8688b921. |
11 |
|
12 |
app-crypt/gpgme/Manifest | 5 +++ |
13 |
app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch | 11 ++++++ |
14 |
.../gpgme-1.5.5-error_t-provided-by-argp_h.patch | 13 +++++++ |
15 |
app-crypt/gpgme/gpgme-1.5.5-r99.ebuild | 42 ++++++++++++++++++++++ |
16 |
app-crypt/gpgme/metadata.xml | 11 ++++++ |
17 |
5 files changed, 82 insertions(+) |
18 |
|
19 |
diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..e4c4a1f |
22 |
--- /dev/null |
23 |
+++ b/app-crypt/gpgme/Manifest |
24 |
@@ -0,0 +1,5 @@ |
25 |
+AUX gpgme-1.1.8-et_EE.patch 356 SHA256 dcf67057447f1f6316ebad2b61340bc24086eb470a9cb68cababcb709b329e7b SHA512 c9e898be4d4a0f19fb41e10e8511820cb78051a06941ef8e5d870ccafb71ce5650a1d5289f95506ca7123b021e510f01c2ed8a3062ad967b0415142bfec87799 WHIRLPOOL 2883d82bb0bc9bf9dae493dcf1f027139190cf76eaa7fc8be45cdf67de471940a8958f2811dabad383d1e58d92f38418f3cfccc3b37c85e649cdccef0337fd31 |
26 |
+AUX gpgme-1.5.5-error_t-provided-by-argp_h.patch 550 SHA256 7784cc1d1068d4c57d296dc9839351b83cb222673d6e78e97e8355662cae3786 SHA512 fb425bd0f244de111c8583b33bc84911159260aced69b83a9409cfbd8e954cb21ce3dc1b8c45ca8ac4b179444ae2500ac8c2e41323d68b914965e6e8d7f97b3f WHIRLPOOL fa66b97bc5b5bc83039c357f07f24f0701666d91eb4a9bf14f21dcc57baec02523f3805ae39d236578c73cc8e660322fa83d442dbf60c82620dc1fceac3d8bd6 |
27 |
+DIST gpgme-1.5.5.tar.bz2 976383 SHA256 0b3d3d5107680c594777aae65882a1ff6dd1ba629a83432e719c8b82a743c207 SHA512 a01b84c1ae2a7c647b2de793fc05d39c4bf4a2d1b7378934e437857823f11ca9e9c1f3b32302d69a3a84d0be1fee1e1c86874355031b8fa6b40f4ad56ecc72ad WHIRLPOOL f3ad4282a254cf1ab8d01184df787a773fa7963a42157da93bee11430263fa86166f12f051e2b11d13be99ce1f0939d565cb02a8fba93ab6afed73ca7b2c0041 |
28 |
+EBUILD gpgme-1.5.5-r99.ebuild 1033 SHA256 963d60a557903192365c40b1a289730312e10d5d55904ade7a7557d787890912 SHA512 03c97093750cd50b55afd071dca8372110606ad2e954270293ff14e2aeefda5357f0f9377c548cb1b3539c28d5275340f31406a388832b4f1ed2ac16f806ff28 WHIRLPOOL 800a8fee944dc24a38cafc0eecd9cf444558ffd8ceac39d15ddf6cc803acbeab2fb5c0a014b3953bae6c5e9c02dfb7cd4d481216afcdef6f4915a157598721f5 |
29 |
+MISC metadata.xml 315 SHA256 2090c9e52f91c000c11e53d0215dd327d8274ab13f3a4930340a608afe10c5e8 SHA512 502b5daf04f1b706514aba7d18cd454e1e99f63462159d3f5baebd1617bfa4760c7ea6fae9b7624fae2bc5943f8950211c6f4b326b6b62c3cf7eba4fc1255334 WHIRLPOOL dfd45c75e635ff36c55dd60b7c31a59ea22792fc07f6ba4cf493e99a4d55c3466e86cab704736a6b1547b9fb0b30670e839150f163643b1ebd9d98d6af814576 |
30 |
|
31 |
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 |
32 |
new file mode 100644 |
33 |
index 0000000..dc921ee |
34 |
--- /dev/null |
35 |
+++ b/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch |
36 |
@@ -0,0 +1,11 @@ |
37 |
+--- ./gpgme-1.1.8/src/gpgme-config.in.orig 2009-03-08 10:25:48.000000000 +1100 |
38 |
++++ ./gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:35:53.000000000 +1100 |
39 |
+@@ -64,7 +64,7 @@ |
40 |
+ while test $# -gt 0; do |
41 |
+ case "$1" in |
42 |
+ -*=*) |
43 |
+- optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` |
44 |
++ optarg=`echo "$1" | sed 's/[-_[:alnum:]]*=//'` |
45 |
+ ;; |
46 |
+ *) |
47 |
+ optarg= |
48 |
|
49 |
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 |
50 |
new file mode 100644 |
51 |
index 0000000..b7a55b6 |
52 |
--- /dev/null |
53 |
+++ b/app-crypt/gpgme/files/gpgme-1.5.5-error_t-provided-by-argp_h.patch |
54 |
@@ -0,0 +1,13 @@ |
55 |
+diff -Naur gpgme-1.5.5.orig/config.h.in gpgme-1.5.5/config.h.in |
56 |
+--- gpgme-1.5.5.orig/config.h.in 2015-06-08 09:04:08.000000000 -0400 |
57 |
++++ gpgme-1.5.5/config.h.in 2015-07-18 20:41:00.362340965 -0400 |
58 |
+@@ -253,9 +253,6 @@ |
59 |
+ /* Activate POSIX interface on MacOS X */ |
60 |
+ #undef _XOPEN_SOURCE |
61 |
+ |
62 |
+-/* Define to a type to use for `error_t' if it is not otherwise available. */ |
63 |
+-#undef error_t |
64 |
+- |
65 |
+ /* Define to `__inline__' or `__inline' if that's what the C compiler |
66 |
+ calls it, or to nothing if 'inline' is not supported under any name. */ |
67 |
+ #ifndef __cplusplus |
68 |
|
69 |
diff --git a/app-crypt/gpgme/gpgme-1.5.5-r99.ebuild b/app-crypt/gpgme/gpgme-1.5.5-r99.ebuild |
70 |
new file mode 100644 |
71 |
index 0000000..0e97d72 |
72 |
--- /dev/null |
73 |
+++ b/app-crypt/gpgme/gpgme-1.5.5-r99.ebuild |
74 |
@@ -0,0 +1,42 @@ |
75 |
+# Copyright 1999-2015 Gentoo Foundation |
76 |
+# Distributed under the terms of the GNU General Public License v2 |
77 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.5.5.ebuild,v 1.6 2015/07/07 05:28:00 jer Exp $ |
78 |
+ |
79 |
+EAPI="5" |
80 |
+ |
81 |
+inherit eutils libtool |
82 |
+ |
83 |
+DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" |
84 |
+HOMEPAGE="http://www.gnupg.org/related_software/gpgme" |
85 |
+SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2" |
86 |
+ |
87 |
+LICENSE="GPL-2 LGPL-2.1" |
88 |
+SLOT="1/11" # subslot = soname major version |
89 |
+KEYWORDS="amd64 arm ~mips ppc x86" |
90 |
+IUSE="common-lisp static-libs" |
91 |
+ |
92 |
+DEPEND="app-crypt/gnupg |
93 |
+ >=dev-libs/libassuan-2.0.2 |
94 |
+ >=dev-libs/libgpg-error-1.11" |
95 |
+RDEPEND="${DEPEND}" |
96 |
+ |
97 |
+src_prepare() { |
98 |
+ epatch "${FILESDIR}"/${P}-error_t-provided-by-argp_h.patch |
99 |
+ epatch "${FILESDIR}"/${PN}-1.1.8-et_EE.patch |
100 |
+ elibtoolize |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ econf \ |
105 |
+ --includedir="${EPREFIX}/usr/include/gpgme" \ |
106 |
+ $(use_enable static-libs static) |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ default |
111 |
+ prune_libtool_files |
112 |
+ |
113 |
+ if ! use common-lisp; then |
114 |
+ rm -fr "${ED}usr/share/common-lisp" |
115 |
+ fi |
116 |
+} |
117 |
|
118 |
diff --git a/app-crypt/gpgme/metadata.xml b/app-crypt/gpgme/metadata.xml |
119 |
new file mode 100644 |
120 |
index 0000000..89e9849 |
121 |
--- /dev/null |
122 |
+++ b/app-crypt/gpgme/metadata.xml |
123 |
@@ -0,0 +1,11 @@ |
124 |
+<?xml version="1.0" encoding="UTF-8"?> |
125 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
126 |
+<pkgmetadata> |
127 |
+ <maintainer type="project"> |
128 |
+ <email>crypto@g.o</email> |
129 |
+ <name>Crypto</name> |
130 |
+ </maintainer> |
131 |
+ <use> |
132 |
+ <flag name="common-lisp">Install common-lisp files</flag> |
133 |
+ </use> |
134 |
+</pkgmetadata> |