public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libp11/files/, dev-libs/libp11/
@ 2016-10-29  8:54 Alon Bar-Lev
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2016-10-29  8:54 UTC (permalink / raw
  To: gentoo-commits

commit:     69c46b51bc046b7d2213a06f145ac11c074562fa
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 08:52:34 2016 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 08:54:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c46b51

dev-libs/libp11: ebuild cleanups

fix parallel build issue and manage bindist USE

Bug: 598408

Package-Manager: portage-2.3.0

 dev-libs/libp11/files/libp11-0.4.2-build.patch | 29 ++++++++++++++++++++++++++
 dev-libs/libp11/libp11-0.4.2.ebuild            | 15 ++++++++++---
 2 files changed, 41 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libp11/files/libp11-0.4.2-build.patch b/dev-libs/libp11/files/libp11-0.4.2-build.patch
new file mode 100644
index 00000000..ebbb38e
--- /dev/null
+++ b/dev-libs/libp11/files/libp11-0.4.2-build.patch
@@ -0,0 +1,29 @@
+From 74b7c656b0a5325c8198ee137bac05878c99d585 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Sat, 29 Oct 2016 11:39:29 +0300
+Subject: [PATCH] build: fix symlink installation
+
+this fixes incorrect fix b313f00cc of symlink installation
+by adding dependency instead of overwriting automake behavior.
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ src/Makefile.am | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 2aa5195..d0dd37e 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -48,7 +48,7 @@ pkcs11_la_LDFLAGS = $(AM_LDFLAGS) -module -shared -shrext $(SHARED_EXT) \
+ check-local: $(LTLIBRARIES)
+ 	cd .libs && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
+-install-exec-hook:
++install-exec-hook: install-enginesLTLIBRARIES
+ 	cd '$(DESTDIR)$(enginesdir)' && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
+ 
+ if WIN32
+ # def file required for MS users to build library
+-- 
+2.7.3
+

diff --git a/dev-libs/libp11/libp11-0.4.2.ebuild b/dev-libs/libp11/libp11-0.4.2.ebuild
index 8a4218a..2451b3e 100644
--- a/dev-libs/libp11/libp11-0.4.2.ebuild
+++ b/dev-libs/libp11/libp11-0.4.2.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="6"
 
-inherit eutils
+inherit autotools eutils
 
 DESCRIPTION="Abstraction layer to simplify PKCS#11 API"
 HOMEPAGE="https://github.com/opensc/libp11/wiki"
@@ -13,15 +13,24 @@ SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="libressl doc static-libs"
+IUSE="libressl bindist doc static-libs"
 
 RDEPEND="
-	!libressl? ( dev-libs/openssl:0= )
+	!libressl? ( dev-libs/openssl:0=[bindist] )
 	libressl? ( dev-libs/libressl:0= )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )"
 
+PATCHES=(
+	"${FILESDIR}/${P}-build.patch"
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
 src_configure() {
 	econf \
 		--enable-shared \


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libp11/files/, dev-libs/libp11/
@ 2017-03-18 19:03 Alon Bar-Lev
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2017-03-18 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     42dfb7b165bc447a7de7fd5b9cf2f0fa5e49b04b
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 18 11:31:52 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 11:31:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42dfb7b1

dev-libs/libp11: cleanup

Bug: 611508

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libp11/Manifest                           |   2 -
 dev-libs/libp11/files/libp11-0.2.8-no-ltdl.patch   | 196 ---------------------
 .../files/libp11-0.2.8-variable-buffer-size.patch  | 114 ------------
 dev-libs/libp11/files/libp11-0.4.2-build.patch     |  29 ---
 dev-libs/libp11/libp11-0.2.8-r3.ebuild             |  40 -----
 dev-libs/libp11/libp11-0.2.8-r4.ebuild             |  42 -----
 dev-libs/libp11/libp11-0.4.2.ebuild                |  43 -----
 7 files changed, 466 deletions(-)

diff --git a/dev-libs/libp11/Manifest b/dev-libs/libp11/Manifest
index 328210d2718..7dad1fbcd9d 100644
--- a/dev-libs/libp11/Manifest
+++ b/dev-libs/libp11/Manifest
@@ -1,3 +1 @@
-DIST libp11-0.2.8.tar.gz 377508 SHA256 a4121015503ade98074b5e2a2517fc8a139f8b28aed10021db2bb77283f40691 SHA512 917c6623942c83e7657c9b9c4ce0482ffc4539fc29edec9ace412dcece640be3785bf82e09e344c0866b55619ea011ab829ef3d4f8205f2019121d837b1d6c17 WHIRLPOOL fe4f8c6ce952e8a0985bf90af1413c0ba2c2ac84309b1cad55c12f65aa77655e4b9154e1af53d55ba968f9c88a960efd44a4033bcbaa309958f35327eeeac0d9
-DIST libp11-0.4.2.tar.gz 438887 SHA256 e2c3614a314b452a9b57e2914252df3ffee59e262dfb75b4fc73a2247f8ddebe SHA512 086845e8d1094ada8c301776e0231904e3cdaa28df6e8621490f8cbb0925ae8f8d9381ae1000f60686effa89bfbb34ccc013a77156d15718f269495260f125a2 WHIRLPOOL ddcc49a2ec00fcf8dbcb0bf3a915946c0d8f126be74d5bb2942cf9667b8fbe549031ed75839e57731fec96febeb02a03a129707ee01456b70a06bb008babe5bf
 DIST libp11-0.4.4.tar.gz 450709 SHA256 93d2741df04f7f1561962746943a056ca81582fecb59d0c4304e7e97a0902722 SHA512 12d1e39981e62d758dc12a39c2ed5b6967a6e8c1db706c491db2c9aa0394fac278fa47dd4c64aa961e3b5ea98c1799b4ef7ef617ac076a414d88a6e29d5f0c4b WHIRLPOOL eb0d43ef0097098c010c5896b4f207569c403e1b459968ba8c9b1a720edfabbf1093ffd6d32d6f330bbbaf8080bdfa2ba4ae4e880bc0b1bc16c1eb9e37f178f9

diff --git a/dev-libs/libp11/files/libp11-0.2.8-no-ltdl.patch b/dev-libs/libp11/files/libp11-0.2.8-no-ltdl.patch
deleted file mode 100644
index f3997ba65ba..00000000000
--- a/dev-libs/libp11/files/libp11-0.2.8-no-ltdl.patch
+++ /dev/null
@@ -1,196 +0,0 @@
-patch from upstream
-
-From 1c872a3e9c4cbf3cbd485168a7e98b589bbad57a Mon Sep 17 00:00:00 2001
-From: alonbl <alonbl@6d86ddd8-19ff-0310-a323-aa2ba648d307>
-Date: Wed, 14 Dec 2011 10:46:45 +0000
-Subject: [PATCH] Remove ltdl usage
-
-Use native POSIX/Windows
-
-
-git-svn-id: http://www.opensc-project.org/svn/libp11/trunk@202 6d86ddd8-19ff-0310-a323-aa2ba648d307
----
- configure.ac     |   23 +++++------------------
- src/Makefile.am  |    4 ++--
- src/Makefile.mak |    7 ++-----
- src/libpkcs11.c  |   52 +++++++++++++++++++++++++++++++++++++++-------------
- 4 files changed, 48 insertions(+), 38 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 679b8da..9fa96bf 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -180,25 +180,14 @@ if test "${svn_checkout}" = "yes"; then
- 	fi
- fi
- 
--AC_ARG_VAR([LTLIB_CFLAGS], [C compiler flags for libltdl])
--AC_ARG_VAR([LTLIB_LIBS], [linker flags for libltdl])
--if test -z "${LTLIB_LIBS}"; then
-+if test "${WIN32}" != "yes"; then
- 	AC_CHECK_LIB(
--		[ltdl],
--		[lt_dlopen],
--		[LTLIB_LIBS="-lltdl"],
--		[AC_MSG_ERROR([ltdl not found, please install libltdl and/or libtool])]
-+		[dl],
-+		[dlopen],
-+		,
-+		[AC_MSG_ERROR([libdl required])]
- 	)
--
- fi
--saved_CFLAGS="${CFLAGS}"
--CFLAGS="${CFLAGS} ${LTLIB_CFLAGS}"
--AC_CHECK_HEADER(
--	[ltdl.h],
--	,
--	[AC_MSG_ERROR([ltdl.h not found, please install libltdl and/or libtool])]
--)
--CFLAGS="${saved_CFLAGS}"
- 
- PKG_CHECK_MODULES(
- 	[OPENSSL],
-@@ -273,8 +262,6 @@ Compiler flags:          ${CFLAGS}
- Linker flags:            ${LDFLAGS}
- Libraries:               ${LIBS}
- 
--LTLIB_CFLAGS:            ${LTLIB_CFLAGS}
--LTLIB_LIBS:              ${LTLIB_LIBS}
- OPENSSL_CFLAGS:          ${OPENSSL_CFLAGS}
- OPENSSL_LIBS:            ${OPENSSL_LIBS}
- 
-diff --git a/src/Makefile.am b/src/Makefile.am
-index c66a8cd..0910f44 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -16,8 +16,8 @@ libp11_la_SOURCES += versioninfo.rc
- else
- dist_noinst_DATA = versioninfo.rc
- endif
--libp11_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) $(LTLIB_CFLAGS)
--libp11_la_LIBADD = $(OPENSSL_LIBS) $(LTLIB_LIBS)
-+libp11_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS)
-+libp11_la_LIBADD = $(OPENSSL_LIBS)
- libp11_la_LDFLAGS = $(AM_LDFLAGS) \
- 	-version-info @LIBP11_LT_CURRENT@:@LIBP11_LT_REVISION@:@LIBP11_LT_AGE@ \
- 	-export-symbols "$(srcdir)/libp11.exports" \
-diff --git a/src/Makefile.mak b/src/Makefile.mak
-index 73b5428..fa0809c 100644
---- a/src/Makefile.mak
-+++ b/src/Makefile.mak
-@@ -1,10 +1,7 @@
--LIBLTDL_INC =    # E.g. /IC:\libtool-1.5.8-lib\include
--LIBLTDL_LIB =     # E.g. C:\libtool-1.5.8-lib\lib\libltdl.lib
--
- OPENSSL_INC = /IC:\openssl\include
- OPENSSL_LIB = C:\openssl\out32dll\libeay32.lib
- 
--COPTS = /Zi /MD /nologo /I..\ /I. $(OPENSSL_INC) $(LIBLTDL_INC) /D_WIN32_WINNT=0x0400 /DWIN32 /DWIN32_LEAN_AND_MEAN
-+COPTS = /Zi /MD /nologo /I..\ /I. $(OPENSSL_INC) /D_WIN32_WINNT=0x0400 /DWIN32 /DWIN32_LEAN_AND_MEAN
- LINKFLAGS = /DEBUG /NOLOGO /INCREMENTAL:NO /MACHINE:IX86
- 
- TARGET                  = libp11.dll
-@@ -28,6 +25,6 @@ $(TARGET): $(OBJECTS) versioninfo.res
- 	echo EXPORTS >> $*.def
- 	type $*.exports >> $*.def
- 	link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) \
--		$(OBJECTS) $(OPENSSL_LIB) $(LIBLTDL_LIB) versioninfo.res
-+		$(OBJECTS) $(OPENSSL_LIB) versioninfo.res
- 	if EXIST $*.dll.manifest mt -manifest $*.dll.manifest -outputresource:$*.dll;2
- 
-diff --git a/src/libpkcs11.c b/src/libpkcs11.c
-index a146361..93584d9 100644
---- a/src/libpkcs11.c
-+++ b/src/libpkcs11.c
-@@ -27,14 +27,18 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
--#include <ltdl.h>
-+#ifdef WIN32
-+#include <windows.h>
-+#else
-+#include <dlfcn.h>
-+#endif
- #include "libp11-int.h"
- 
- #define MAGIC			0xd00bed00
- 
- struct sc_pkcs11_module {
- 	unsigned int _magic;
--	lt_dlhandle handle;
-+	void *handle;
- };
- typedef struct sc_pkcs11_module sc_pkcs11_module_t;
- 
-@@ -52,19 +56,40 @@ C_LoadModule(const char *mspec, CK_FUNCTION_LIST_PTR_PTR funcs)
- 	if (mspec == NULL)
- 		return NULL;
- 
--	if (lt_dlinit() != 0)
--		return NULL;
--
- 	mod = (sc_pkcs11_module_t *) calloc(1, sizeof(*mod));
- 	mod->_magic = MAGIC;
- 
--	mod->handle = lt_dlopen(mspec);
-+#ifdef WIN32
-+	mod->handle = LoadLibraryA(mspec);
-+#else
-+	mod->handle = dlopen(mspec, RTLD_NOW);
-+#endif
-+
- 	if (mod->handle == NULL)
- 		goto failed;
- 
--	/* Get the list of function pointers */
--	c_get_function_list = (CK_RV (*)(CK_FUNCTION_LIST_PTR_PTR))
--				lt_dlsym(mod->handle, "C_GetFunctionList");
-+#ifdef WIN32
-+	c_get_function_list = (CK_C_GetFunctionList)GetProcAddress (
-+		mod->handle,
-+		"C_GetFunctionList"
-+	);
-+#else
-+	{
-+		/*
-+		 * Make compiler happy!
-+		 */
-+		void *p = dlsym(
-+			mod->handle,
-+			"C_GetFunctionList"
-+		);
-+		memmove(
-+			&c_get_function_list, 
-+			&p,
-+			sizeof(void *)
-+		);
-+	}
-+#endif
-+
- 	if (!c_get_function_list)
- 		goto failed;
- 	rv = c_get_function_list(funcs);
-@@ -89,13 +114,14 @@ C_UnloadModule(void *module)
- 	if (!mod || mod->_magic != MAGIC)
- 		return CKR_ARGUMENTS_BAD;
- 
--	if (lt_dlclose(mod->handle) < 0)
--		return CKR_FUNCTION_FAILED;
-+#ifdef WIN32
-+	FreeLibrary(mod->handle);
-+#else
-+	dlclose(mod->handle);
-+#endif
- 
- 	memset(mod, 0, sizeof(*mod));
- 	free(mod);
- 
--	lt_dlexit();
--
- 	return CKR_OK;
- }
--- 
-1.7.6.1
-

diff --git a/dev-libs/libp11/files/libp11-0.2.8-variable-buffer-size.patch b/dev-libs/libp11/files/libp11-0.2.8-variable-buffer-size.patch
deleted file mode 100644
index 8cee3fb3f05..00000000000
--- a/dev-libs/libp11/files/libp11-0.2.8-variable-buffer-size.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-3 year old upstream proposal https://www.opensc-project.org/opensc/ticket/350
-
-The fixed buffers allocated in pkcs11_init_cert are too small to hold the
-output data for some certificates. It causes a "Buffer too small" error
-to be returned from pkcs11_getattr_var.
-
-Fix from Chromium OS:
-Use heap instead of stack for variable length data when reading
-certificate attributes.
-
-Patch by Paul Stewart <pstew@chromium.org>
-
---- a/src/libp11-int.h
-+++ b/src/libp11-int.h
-@@ -136,6 +136,8 @@
- 			      unsigned int, void *, size_t *);
- extern int pkcs11_getattr_bn(PKCS11_TOKEN *, CK_OBJECT_HANDLE,
- 			     unsigned int, BIGNUM **);
-+extern void *pkcs11_getattr_alloc(PKCS11_TOKEN *, CK_OBJECT_HANDLE,
-+				  unsigned int, size_t *);
- 
- #define key_getattr(key, t, p, s) \
- 	pkcs11_getattr(KEY2TOKEN((key)), PRIVKEY((key))->object, (t), (p), (s))
---- a/src/p11_attr.c
-+++ b/src/p11_attr.c
-@@ -98,6 +98,32 @@
- 	return *bn ? 0 : -1;
- }
- 
-+void *
-+pkcs11_getattr_alloc(PKCS11_TOKEN * token, CK_OBJECT_HANDLE object,
-+		     unsigned int type, size_t *size_out)
-+{
-+	size_t size = 0;
-+	void *data = NULL;
-+
-+	if (pkcs11_getattr_var(token, object, type, NULL, &size))
-+		return NULL;
-+
-+	data = malloc(size);
-+	if (data == NULL)
-+		return NULL;
-+
-+	memset(data, 0, size);
-+	if (pkcs11_getattr_var(token, object, type, data, &size)) {
-+		free(data);
-+		return NULL;
-+	}
-+
-+	if (size_out != NULL)
-+		*size_out = size;
-+
-+	return data;
-+}
-+
- /*
-  * Add attributes to template
-  */
---- a/src/p11_cert.c
-+++ b/src/p11_cert.c
-@@ -136,10 +136,9 @@
- 	PKCS11_TOKEN_private *tpriv;
- 	PKCS11_CERT_private *kpriv;
- 	PKCS11_CERT *cert, *tmp;
--	char label[256], data[2048];
--	unsigned char id[256];
- 	CK_CERTIFICATE_TYPE cert_type;
- 	size_t size;
-+	void *data;
- 
- 	size = sizeof(cert_type);
- 	if (pkcs11_getattr_var(token, obj, CKA_CERTIFICATE_TYPE, &cert_type, &size))
-@@ -165,18 +164,32 @@
- 	kpriv->object = obj;
- 	kpriv->parent = token;
- 
--	if (!pkcs11_getattr_s(token, obj, CKA_LABEL, label, sizeof(label)))
--		cert->label = BUF_strdup(label);
--	size = sizeof(data);
--	if (!pkcs11_getattr_var(token, obj, CKA_VALUE, data, &size)) {
--		const unsigned char *p = (unsigned char *) data;
-+	data = pkcs11_getattr_alloc(token, obj, CKA_LABEL, &size);
-+	if (data != NULL) {
-+		char *label = data;
-+		/* Fix any null-termination issues with the label */
-+		if (label[size - 1] != '\0') {
-+			label = realloc(label, size + 1);
-+			if (label == NULL) {
-+				free(data);
-+				return -1;
-+			}
-+			label[size] = '\0';
-+		}
-+		cert->label = label;
-+	}
- 
-+	data = pkcs11_getattr_alloc(token, obj, CKA_VALUE, &size);
-+	if (data != NULL) {
-+		const unsigned char *p = data;
- 		cert->x509 = d2i_X509(NULL, &p, size);
-+		free(data);
- 	}
--	cert->id_len = sizeof(id);
--	if (!pkcs11_getattr_var(token, obj, CKA_ID, id, &cert->id_len)) {
--		cert->id = (unsigned char *) malloc(cert->id_len);
--		memcpy(cert->id, id, cert->id_len);
-+	data = pkcs11_getattr_alloc(token, obj, CKA_ID, &cert->id_len);
-+	if (data != NULL) {
-+		cert->id = data;
-+	} else {
-+		cert->id_len = 0;
- 	}
- 
- 	/* Initialize internal information */

diff --git a/dev-libs/libp11/files/libp11-0.4.2-build.patch b/dev-libs/libp11/files/libp11-0.4.2-build.patch
deleted file mode 100644
index ebbb38e911c..00000000000
--- a/dev-libs/libp11/files/libp11-0.4.2-build.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 74b7c656b0a5325c8198ee137bac05878c99d585 Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Sat, 29 Oct 2016 11:39:29 +0300
-Subject: [PATCH] build: fix symlink installation
-
-this fixes incorrect fix b313f00cc of symlink installation
-by adding dependency instead of overwriting automake behavior.
-
-Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
----
- src/Makefile.am | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 2aa5195..d0dd37e 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -48,7 +48,7 @@ pkcs11_la_LDFLAGS = $(AM_LDFLAGS) -module -shared -shrext $(SHARED_EXT) \
- check-local: $(LTLIBRARIES)
- 	cd .libs && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
--install-exec-hook:
-+install-exec-hook: install-enginesLTLIBRARIES
- 	cd '$(DESTDIR)$(enginesdir)' && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
- 
- if WIN32
- # def file required for MS users to build library
--- 
-2.7.3
-

diff --git a/dev-libs/libp11/libp11-0.2.8-r3.ebuild b/dev-libs/libp11/libp11-0.2.8-r3.ebuild
deleted file mode 100644
index b5b0e32751f..00000000000
--- a/dev-libs/libp11/libp11-0.2.8-r3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils autotools
-
-DESCRIPTION="A library implementing a layer on top of PKCS#11 API to make using PKCS#11 implementations easier"
-HOMEPAGE="https://github.com/opensc/libp11/wiki"
-SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
-IUSE="doc"
-
-RDEPEND="dev-libs/openssl:0"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-no-ltdl.patch
-	epatch "${FILESDIR}"/${P}-variable-buffer-size.patch
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		--docdir="/usr/share/doc/${PF}" \
-		--htmldir="/usr/share/doc/${PF}/html" \
-		--enable-shared --disable-static \
-		--enable-doc \
-		$(use_enable doc api-doc)
-}
-
-src_install() {
-	default
-	prune_libtool_files
-}

diff --git a/dev-libs/libp11/libp11-0.2.8-r4.ebuild b/dev-libs/libp11/libp11-0.2.8-r4.ebuild
deleted file mode 100644
index 78f51263008..00000000000
--- a/dev-libs/libp11/libp11-0.2.8-r4.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils autotools
-
-DESCRIPTION="Abstraction layer to simplify PKCS#11 API"
-HOMEPAGE="https://github.com/opensc/libp11/wiki"
-SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="libressl doc"
-
-RDEPEND="
-	!libressl? ( dev-libs/openssl:0= )
-	libressl? ( dev-libs/libressl:0= )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-no-ltdl.patch
-	epatch "${FILESDIR}"/${P}-variable-buffer-size.patch
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		--docdir="/usr/share/doc/${PF}" \
-		--htmldir="/usr/share/doc/${PF}/html" \
-		--enable-shared --disable-static \
-		--enable-doc \
-		$(use_enable doc api-doc)
-}
-
-src_install() {
-	default
-	prune_libtool_files
-}

diff --git a/dev-libs/libp11/libp11-0.4.2.ebuild b/dev-libs/libp11/libp11-0.4.2.ebuild
deleted file mode 100644
index 3802d8552bd..00000000000
--- a/dev-libs/libp11/libp11-0.4.2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools eutils
-
-DESCRIPTION="Abstraction layer to simplify PKCS#11 API"
-HOMEPAGE="https://github.com/opensc/libp11/wiki"
-SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="libressl bindist doc static-libs"
-
-RDEPEND="
-	!libressl? ( dev-libs/openssl:0=[bindist=] )
-	libressl? ( dev-libs/libressl:0= )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-PATCHES=(
-	"${FILESDIR}/${P}-build.patch"
-)
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		--enable-shared \
-		$(use_enable static-libs static) \
-		$(use_enable doc api-doc)
-}
-
-src_install() {
-	default
-	prune_libtool_files
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-18 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-18 19:03 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libp11/files/, dev-libs/libp11/ Alon Bar-Lev
  -- strict thread matches above, loose matches on Subject: below --
2016-10-29  8:54 Alon Bar-Lev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox