public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/volume_key/files/, dev-libs/volume_key/
@ 2018-11-13 14:21 Lars Wendler
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler @ 2018-11-13 14:21 UTC (permalink / raw
  To: gentoo-commits

commit:     bb202d7a9e24f7116d83132e8ff1bff9d154548d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 14:20:57 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Nov 13 14:20:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb202d7a

dev-libs/volume_key: Removed old.

Closes: https://bugs.gentoo.org/668442
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 dev-libs/volume_key/Manifest                       |   2 -
 .../files/volume_key-0.3.10-find_python.patch      |  55 ----
 .../files/volume_key-0.3.9-config.h.diff           |  27 --
 .../files/volume_key-0.3.9-cryptsetup2.patch       | 331 ---------------------
 .../files/volume_key-0.3.9-find_python.patch       |  56 ----
 dev-libs/volume_key/volume_key-0.3.10.ebuild       |  48 ---
 dev-libs/volume_key/volume_key-0.3.9.ebuild        |  52 ----
 7 files changed, 571 deletions(-)

diff --git a/dev-libs/volume_key/Manifest b/dev-libs/volume_key/Manifest
index c308e80769e..300bb83d487 100644
--- a/dev-libs/volume_key/Manifest
+++ b/dev-libs/volume_key/Manifest
@@ -1,4 +1,2 @@
-DIST volume_key-0.3.10.tar.xz 474720 BLAKE2B 726252263976b63c3e73dc42bd0166aa1c05df7a61715ca19921e9cd92abf1f8c84347127c94f724e385e0a36411ffae92341d91d06d679c052c83edb5ab6c49 SHA512 b050d333e021bc3721f5e72c1d2498adea3265afe7f702e1b1e859546755745ac70dcffc194739a4833d4b0b77168506f7fe90fde382d8aab4df2af7b635932b
 DIST volume_key-0.3.11.tar.xz 484936 BLAKE2B f7bde79d290617a82de60a2105b6374dd03c2203804e3748336c8d09fbf749bf47157cf5e6b856477475d0074f3e4475dc85e0765308d60b9c6d0525685f73ea SHA512 b9da00578b31c96231ebde55fd91c9aafbd663e541c560460fb6c3305e1a0e1fb3115a95682dc4713027d084e14ffa39d638653384a18d69f5dc892fc4855a97
 DIST volume_key-0.3.12.tar.xz 490432 BLAKE2B 4a0424d51878855c69bdf969b616f3a563074976ad7b07aa848140266d97f66de9c52e1a6ed8913df93077d5966c3ab99afc78c3b22c410f1eadf5447ca2f416 SHA512 d056154c9b9d23e4eb661946dd59ed97e116903a3afcff9d9e29258408082f33dcbb69958724143f6bf191a3da488a03b6c02af287790990ed6459e29d66553c
-DIST volume_key-0.3.9.tar.xz 445092 BLAKE2B b9cec52ca02e331501d378482484535413f3ef7675b6592b9f26f272d36448a2ffee1a0ca1c7a552764324ab20cd6dac98447914faafbea96e4c526796bec587 SHA512 bc0e690997b9fa1c9fff361d04e7eddcac4cac09779d7a1f9e161be117f5c589a7e444ac16dab25fb3e3ce201591f7dc937595ddf2745d7daa625d4ab0a255e0

diff --git a/dev-libs/volume_key/files/volume_key-0.3.10-find_python.patch b/dev-libs/volume_key/files/volume_key-0.3.10-find_python.patch
deleted file mode 100644
index 2e76c1d937d..00000000000
--- a/dev-libs/volume_key/files/volume_key-0.3.10-find_python.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From ab21d82bc0186627451d16be45568fcf2b590817 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Tue, 22 May 2018 15:08:44 +0200
-Subject: [PATCH] Use pkgconfig to find python
-
-otherwise linkage and include of python fails if python is not in
-default (python$(PYTHON_VERSION)) location.
----
- Makefile.am  | 4 ++--
- configure.ac | 7 +++++--
- 2 files changed, 7 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 68560b1..0bc1a5b 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4
- AM_CPPFLAGS = $(blkid_CFLAGS) $(glib_CFLAGS) $(GPGME_CFLAGS) \
- 	$(libcryptsetup_CFLAGS) $(nss_CFLAGS)
- LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
--PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
-+PYTHON_CPPFLAGS = $(PYTHON_CFLAGS)
- 
- ## Targets
- SUBDIRS = po
-@@ -65,7 +65,7 @@ lib_libvolume_key_la_LIBADD = $(blkid_LIBS) $(glib_LIBS) $(GPGME_LIBS) \
- python__volume_key_la_SOURCES = python/volume_key_wrap.c
- python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
- python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
--python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
-+python__volume_key_la_LIBADD = lib/libvolume_key.la $(PYTHON_LIBS) \
- 	$(glib_LIBS) $(nss_LIBS)
- 
- src_volume_key_SOURCES = src/volume_key.c
-diff --git a/configure.ac b/configure.ac
-index 40c3906..c9680e4 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -28,8 +28,11 @@ AC_PROG_CC
- AM_PROG_CC_C_O
- AM_PROG_AR
- LT_INIT([disable-static])
--AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2 python, [Python is required])
--AM_PATH_PYTHON([2.6], [], AC_MSG_ERROR([Python 2.6 or 2.7 is required]))
-+PKG_PROG_PKG_CONFIG
-+PKG_CHECK_MODULES(PYTHON, [python], [
-+	AM_PATH_PYTHON
-+	], AC_MSG_ERROR([Python is required])
-+)
- 
- AC_PATH_PROG([GPG], [gpg2])
- AC_ARG_VAR([GPG])
--- 
-2.17.0
-

diff --git a/dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff b/dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff
deleted file mode 100644
index 138e92ee8f6..00000000000
--- a/dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff
+++ /dev/null
@@ -1,27 +0,0 @@
-From 8f8698aba19b501f01285e9eec5c18231fc6bcea Mon Sep 17 00:00:00 2001
-From: Vratislav Podzimek <vpodzime@redhat.com>
-Date: Tue, 6 Jan 2015 13:06:52 +0100
-Subject: Do not include config.h in libvolume_key.h
-
-The library's header file distributed in the devel package cannot include
-the config.h file that is only available during build otherwise it's not
-possible to use the library outside of the volume_key build process.
-
-Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
-
-diff --git a/lib/libvolume_key.h b/lib/libvolume_key.h
-index 657b626..513f923 100644
---- a/lib/libvolume_key.h
-+++ b/lib/libvolume_key.h
-@@ -18,8 +18,6 @@ Author: Miloslav Trmač <mitr@redhat.com> */
- #ifndef LIBVOLUME_KEY_H__
- #define LIBVOLUME_KEY_H__
- 
--#include <config.h>
--
- #include <cert.h>
- #include <glib.h>
- 
--- 
-cgit v0.10.2
-

diff --git a/dev-libs/volume_key/files/volume_key-0.3.9-cryptsetup2.patch b/dev-libs/volume_key/files/volume_key-0.3.9-cryptsetup2.patch
deleted file mode 100644
index 2798e882345..00000000000
--- a/dev-libs/volume_key/files/volume_key-0.3.9-cryptsetup2.patch
+++ /dev/null
@@ -1,331 +0,0 @@
-From ecef526a51c5a276681472fd6df239570c9ce518 Mon Sep 17 00:00:00 2001
-From: Miloslav Trmač <mitr@redhat.com>
-Date: Nov 07 2017 15:55:55 +0000
-Subject: Stop using crypt_get_error
-
-
-Instead of crypt_get_error, which has been removed in cryptsetup 2.0,
-set up a log callback, which is available in both older and newer
-versions.
-
-Fixes #13.
-
----
-
-diff --git a/lib/volume_luks.c b/lib/volume_luks.c
-index 14794d7..f4bf2c8 100644
---- a/lib/volume_luks.c
-+++ b/lib/volume_luks.c
-@@ -61,17 +61,13 @@ my_strerror (int err_no)
- }
- 
- /* Set ERROR based on libcryptsetup error state after returning RES.
--   Use CODE. */
-+   Use CODE and LAST_LOG_ENTRY. */
- static void
--error_from_cryptsetup (GError **error, LIBVKError code, int res)
-+error_from_cryptsetup (GError **error, LIBVKError code, int res,
-+		       char *last_log_entry)
- {
--  /* It's not possible to get the error message length from libcryptsetup, just
--     guess. */
--  char crypt_msg[4096];
--
--  crypt_get_error (crypt_msg, sizeof (crypt_msg));
--  if (crypt_msg[0] != '\0')
--    g_set_error (error, LIBVK_ERROR, code, "%s", crypt_msg);
-+  if (last_log_entry != NULL && last_log_entry[0] != '\0')
-+    g_set_error (error, LIBVK_ERROR, code, "%s", last_log_entry);
-   else
-     {
-       char *s;
-@@ -82,17 +78,33 @@ error_from_cryptsetup (GError **error, LIBVKError code, int res)
-     }
- }
- 
-+static void
-+record_cryptsetup_log_entry (int level, const char *msg, void *usrptr)
-+{
-+  char **last_log_entry = usrptr;
-+
-+  if (level == CRYPT_LOG_ERROR)
-+    {
-+      g_free (*last_log_entry);
-+      *last_log_entry = g_strdup (msg);
-+    }
-+}
-+
- /* Open volume PATH and load its header.
-+   Set up *LAST_LOG_ENTRY to be updated to the last logged message for the
-+   device.  The caller must g_free(*LAST_LOG_ENTRY) after closing the device.
-    Return the volume, or NULL on error. */
- static struct crypt_device *
--open_crypt_device (const char *path, GError **error)
-+open_crypt_device (const char *path, char **last_log_entry, GError **error)
- {
-   struct crypt_device *cd;
-   int r;
- 
-+  *last_log_entry = NULL;
-   r = crypt_init (&cd, path);
-   if (r < 0)
-     goto err;
-+  crypt_set_log_callback(cd, record_cryptsetup_log_entry, last_log_entry);
-   r = crypt_load (cd, CRYPT_LUKS1, NULL);
-   if (r < 0)
-     goto err_cd;
-@@ -101,9 +113,12 @@ open_crypt_device (const char *path, GError **error)
-  err_cd:
-   crypt_free (cd);
-  err:
--  error_from_cryptsetup (error, LIBVK_ERROR_VOLUME_UNKNOWN_FORMAT, r);
-+  error_from_cryptsetup (error, LIBVK_ERROR_VOLUME_UNKNOWN_FORMAT, r,
-+			 *last_log_entry);
-   g_prefix_error (error, _("Error getting information about volume `%s': "),
- 		  path);
-+  g_free (*last_log_entry);
-+  *last_log_entry = NULL;
-   return NULL;
- }
- 
-@@ -173,10 +188,11 @@ luks_volume_open (struct libvk_volume *vol, const char *path, GError **error)
- {
-   struct luks_volume *luks;
-   struct crypt_device *cd;
-+  char *last_log_entry;
-   const char *uuid;
- 
-   (void)vol;
--  cd = open_crypt_device (path, error);
-+  cd = open_crypt_device (path, &last_log_entry, error);
-   if (cd == NULL)
-     return NULL;
-   /* A bit of paranoia */
-@@ -187,6 +203,7 @@ luks_volume_open (struct libvk_volume *vol, const char *path, GError **error)
- 		   _("UUID mismatch between libblkid and libcryptsetup: `%s' "
- 		     "vs. `%s'"), vol->uuid, uuid);
-       crypt_free (cd);
-+      g_free (last_log_entry);
-       return NULL;
-     }
- 
-@@ -195,6 +212,7 @@ luks_volume_open (struct libvk_volume *vol, const char *path, GError **error)
-   luks->cipher_mode = g_strdup (crypt_get_cipher_mode (cd));
-   luks->key_bytes = crypt_get_volume_key_size (cd);
-   crypt_free (cd);
-+  g_free (last_log_entry);
- 
-   luks->key = NULL;
-   luks->passphrase = NULL;
-@@ -256,7 +274,7 @@ luks_get_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
- 		 const struct libvk_ui *ui, GError **error)
- {
-   struct crypt_device *cd;
--  char *passphrase;
-+  char *last_log_entry, *passphrase;
-   void *key;
-   size_t key_length;
-   int slot;
-@@ -276,7 +294,7 @@ luks_get_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
- 		   _("Encryption information type unsupported in LUKS"));
-       goto err;
-     }
--  cd = open_crypt_device (vol->path, error);
-+  cd = open_crypt_device (vol->path, &last_log_entry, error);
-   if (cd == NULL)
-     goto err;
-   key_length = crypt_get_volume_key_size (cd);
-@@ -303,7 +321,7 @@ luks_get_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
-       g_free_passphrase (passphrase);
-       if (r != -EPERM)
- 	{
--	  error_from_cryptsetup (error, LIBVK_ERROR_FAILED, r);
-+	  error_from_cryptsetup (error, LIBVK_ERROR_FAILED, r, last_log_entry);
- 	  g_prefix_error (error, _("Error getting LUKS data encryption key: "));
- 	  goto err_prompt;
- 	}
-@@ -322,12 +340,14 @@ luks_get_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
-   vol->v.luks->passphrase_slot = slot;
-   g_free (prompt);
-   crypt_free (cd);
-+  g_free (last_log_entry);
-   return 0;
- 
-  err_prompt:
-   g_free (prompt);
-   g_free_key (key, key_length);
-   crypt_free (cd);
-+  g_free (last_log_entry);
-  err:
-   return -1;
- }
-@@ -383,11 +403,12 @@ luks_load_packet (struct libvk_volume *vol, const struct libvk_volume *packet,
-   if (packet->v.luks->key != NULL)
-     {
-       struct crypt_device *cd;
-+      char *last_log_entry;
-       int r;
- 
-       g_return_val_if_fail (vol->v.luks->key_bytes == packet->v.luks->key_bytes,
- 			    -1);
--      cd = open_crypt_device (vol->path, error);
-+      cd = open_crypt_device (vol->path, &last_log_entry, error);
-       if (cd == NULL)
- 	return -1;
-       r = crypt_volume_key_verify (cd, packet->v.luks->key,
-@@ -395,21 +416,25 @@ luks_load_packet (struct libvk_volume *vol, const struct libvk_volume *packet,
-       crypt_free (cd);
-       if (r < 0)
- 	{
--	  error_from_cryptsetup (error, LIBVK_ERROR_PACKET_VOLUME_MISMATCH, r);
-+	  error_from_cryptsetup (error, LIBVK_ERROR_PACKET_VOLUME_MISMATCH, r,
-+				 last_log_entry);
- 	  g_prefix_error (error, _("LUKS data encryption key in packet is "
- 				   "invalid: "));
-+	  g_free (last_log_entry);
- 	  return -1;
- 	}
-+      g_free (last_log_entry);
-       luks_replace_key (vol, packet->v.luks->key);
-     }
-   if (packet->v.luks->passphrase != NULL)
-     {
-       struct crypt_device *cd;
-+      char *last_log_entry;
-       void *key;
-       size_t key_size;
-       int r;
- 
--      cd = open_crypt_device (vol->path, error);
-+      cd = open_crypt_device (vol->path, &last_log_entry, error);
-       if (cd == NULL)
- 	return -1;
-       key_size = crypt_get_volume_key_size (cd);
-@@ -420,10 +445,13 @@ luks_load_packet (struct libvk_volume *vol, const struct libvk_volume *packet,
-       crypt_free (cd);
-       if (r < 0)
- 	{
--	  error_from_cryptsetup (error, LIBVK_ERROR_PACKET_VOLUME_MISMATCH, r);
-+	  error_from_cryptsetup (error, LIBVK_ERROR_PACKET_VOLUME_MISMATCH, r,
-+				 last_log_entry);
- 	  g_prefix_error (error, _("LUKS passphrase in packet is invalid: "));
-+	  g_free (last_log_entry);
- 	  return -1;
- 	}
-+      g_free (last_log_entry);
-       luks_replace_passphrase (vol, packet->v.luks->passphrase);
-       vol->v.luks->passphrase_slot = r;
-       if (packet->v.luks->key == NULL)
-@@ -446,7 +474,7 @@ luks_apply_secret (struct libvk_volume *vol, const struct libvk_volume *packet,
- 		   GError **error)
- {
-   struct crypt_device *cd;
--  char *prompt, *prompt2, *error_prompt, *passphrase;
-+  char *last_log_entry, *prompt, *prompt2, *error_prompt, *passphrase;
-   unsigned failed;
-   int res;
- 
-@@ -498,7 +526,7 @@ luks_apply_secret (struct libvk_volume *vol, const struct libvk_volume *packet,
-   goto err_prompts;
- 
-  got_passphrase:
--  cd = open_crypt_device (vol->path, error);
-+  cd = open_crypt_device (vol->path, &last_log_entry, error);
-   if (cd == NULL)
-     goto err_passphrase;
-   res = crypt_keyslot_add_by_volume_key (cd, CRYPT_ANY_SLOT,
-@@ -508,10 +536,12 @@ luks_apply_secret (struct libvk_volume *vol, const struct libvk_volume *packet,
-   crypt_free (cd);
-   if (res < 0)
-     {
--      error_from_cryptsetup (error, LIBVK_ERROR_FAILED, res);
-+      error_from_cryptsetup (error, LIBVK_ERROR_FAILED, res, last_log_entry);
-       g_prefix_error (error, _("Error adding a LUKS passphrase"));
-+      g_free (last_log_entry);
-       goto err_passphrase;
-     }
-+  g_free (last_log_entry);
- 
-   g_return_val_if_fail (vol->v.luks->key_bytes == packet->v.luks->key_bytes,
- 			-1);
-@@ -542,6 +572,7 @@ luks_add_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
- 		 const void *secret, size_t size, GError **error)
- {
-   struct crypt_device *cd;
-+  char *last_log_entry;
-   int res;
- 
-   if (secret_type != LIBVK_SECRET_PASSPHRASE)
-@@ -562,7 +593,7 @@ luks_add_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
- 		   _("The passphrase must be a string"));
-       return -1;
-     }
--  cd = open_crypt_device (vol->path, error);
-+  cd = open_crypt_device (vol->path, &last_log_entry, error);
-   if (cd == NULL)
-     return -1;
-   res = crypt_keyslot_add_by_volume_key (cd, CRYPT_ANY_SLOT, vol->v.luks->key,
-@@ -570,10 +601,12 @@ luks_add_secret (struct libvk_volume *vol, enum libvk_secret secret_type,
-   crypt_free (cd);
-   if (res < 0)
-     {
--      error_from_cryptsetup (error, LIBVK_ERROR_FAILED, res);
-+      error_from_cryptsetup (error, LIBVK_ERROR_FAILED, res, last_log_entry);
-       g_prefix_error (error, _("Error adding a LUKS passphrase"));
-+      g_free (last_log_entry);
-       return -1;
-     }
-+  g_free (last_log_entry);
- 
-   luks_replace_passphrase (vol, secret);
-   vol->v.luks->passphrase_slot = res;
-@@ -823,12 +856,13 @@ luks_open_with_packet (struct libvk_volume *vol,
- 		       GError **error)
- {
-   struct crypt_device *cd;
-+  char *last_log_entry;
-   void *to_free;
-   const void *key;
-   int r;
-   size_t key_size;
- 
--  cd = open_crypt_device (vol->path, error);
-+  cd = open_crypt_device (vol->path, &last_log_entry, error);
-   if (cd == NULL)
-     goto err;
-   if (packet->v.luks->key != NULL)
-@@ -846,7 +880,7 @@ luks_open_with_packet (struct libvk_volume *vol,
- 				strlen (packet->v.luks->passphrase));
-       if (r < 0)
- 	{
--	  error_from_cryptsetup (error, LIBVK_ERROR_FAILED, r);
-+	  error_from_cryptsetup (error, LIBVK_ERROR_FAILED, r, last_log_entry);
- 	  g_prefix_error (error, _("Error getting LUKS data encryption key: "));
- 	  goto err_to_free;
- 	}
-@@ -862,7 +896,7 @@ luks_open_with_packet (struct libvk_volume *vol,
-   r = crypt_activate_by_volume_key (cd, name, key, key_size, 0);
-   if (r < 0)
-     {
--      error_from_cryptsetup (error, LIBVK_ERROR_FAILED, r);
-+      error_from_cryptsetup (error, LIBVK_ERROR_FAILED, r, last_log_entry);
-       g_prefix_error (error, _("Error opening LUKS volume: "));
-       goto err_to_free;
-     }
-@@ -870,6 +904,7 @@ luks_open_with_packet (struct libvk_volume *vol,
-   if (to_free != NULL)
-     g_free_key (to_free, key_size);
-   crypt_free (cd);
-+  g_free (last_log_entry);
-   return 0;
- 
-  err_to_free:
-@@ -877,6 +912,7 @@ luks_open_with_packet (struct libvk_volume *vol,
-     g_free_key (to_free, key_size);
-  err_cd:
-   crypt_free (cd);
-+  g_free (last_log_entry);
-  err:
-   return -1;
- }
-

diff --git a/dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch b/dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch
deleted file mode 100644
index 00ca74fdc78..00000000000
--- a/dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 67fbdb6133b6d37548250514eeaf8a4e239e4768 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Mon, 22 May 2017 14:29:44 +0200
-Subject: [PATCH] Use pkgconfig to find python
-
-otherwise linkage and include of python fails if python is not in
-default (python$(PYTHON_VERSION)) location.
----
- Makefile.am  | 4 ++--
- configure.ac | 8 +++++++-
- 2 files changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 4569bbf..445a64c 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4
- AM_CPPFLAGS = $(blkid_CFLAGS) $(glib_CFLAGS) $(GPGME_CFLAGS) \
- 	$(libcryptsetup_CFLAGS) $(nss_CFLAGS)
- LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
--PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
-+PYTHON_CPPFLAGS = $(PYTHON_CFLAGS)
- 
- ## Targets
- SUBDIRS = po
-@@ -65,7 +65,7 @@ lib_libvolume_key_la_LIBADD = $(blkid_LIBS) $(glib_LIBS) $(GPGME_LIBS) \
- python__volume_key_la_SOURCES = python/volume_key_wrap.c
- python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
- python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
--python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
-+python__volume_key_la_LIBADD = lib/libvolume_key.la $(PYTHON_LIBS) \
- 	$(glib_LIBS) $(nss_LIBS)
- 
- src_volume_key_SOURCES = src/volume_key.c
-diff --git a/configure.ac b/configure.ac
-index 5dbb326..71e407e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -28,7 +28,13 @@ AC_PROG_CC
- AM_PROG_CC_C_O
- AM_PROG_AR
- LT_INIT([disable-static])
--AM_PATH_PYTHON
-+
-+PKG_CHECK_MODULES([PYTHON], [python], [has_python=yes], [])
-+AS_IF([test "x$has_python" = "xyes"], [
-+    AM_PATH_PYTHON
-+    AC_SUBST([PYTHON_CFLAGS])
-+    AC_SUBST([PYTHON_LIBS])
-+])
- 
- dnl Not gpg2, it cannot receive passphrases from gpgme
- AC_PATH_PROG([GPG], [gpg])
--- 
-2.13.0
-

diff --git a/dev-libs/volume_key/volume_key-0.3.10.ebuild b/dev-libs/volume_key/volume_key-0.3.10.ebuild
deleted file mode 100644
index 6b38bad452e..00000000000
--- a/dev-libs/volume_key/volume_key-0.3.10.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{4,5,6} )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
-HOMEPAGE="https://pagure.io/volume_key"
-SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-	app-crypt/gpgme
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	sys-apps/util-linux
-	sys-fs/cryptsetup:=
-"
-DEPEND="
-	${RDEPEND}
-	sys-devel/gettext
-	test? ( dev-libs/nss[utils] )
-	"
-
-RESTRICT="test" # possible gpgme issue
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.3.10-find_python.patch
-)
-
-pkg_setup() {
-	python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	default
-	eautoreconf
-}

diff --git a/dev-libs/volume_key/volume_key-0.3.9.ebuild b/dev-libs/volume_key/volume_key-0.3.9.ebuild
deleted file mode 100644
index 85b9d832162..00000000000
--- a/dev-libs/volume_key/volume_key-0.3.9.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{4,5,6} )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
-HOMEPAGE="https://pagure.io/volume_key"
-SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sparc x86"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-	app-crypt/gpgme
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	sys-apps/util-linux
-	sys-fs/cryptsetup:=
-"
-DEPEND="
-	${RDEPEND}
-	sys-devel/gettext
-	test? ( dev-libs/nss[utils] )
-	"
-
-RESTRICT="test" # possible gpgme issue
-
-PATCHES=(
-	"${FILESDIR}"/${P}-config.h.diff
-	"${FILESDIR}"/${PN}-0.3.9-find_python.patch
-
-	# Patches from upstream (can usually be removed with next version bump)
-	"${FILESDIR}/${P}-cryptsetup2.patch"
-)
-
-pkg_setup() {
-	python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	default
-	eautoreconf
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/volume_key/files/, dev-libs/volume_key/
@ 2021-01-07 12:34 Lars Wendler
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler @ 2021-01-07 12:34 UTC (permalink / raw
  To: gentoo-commits

commit:     9ddf1017294aa912660bfbbf52c918bc260ea396
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  7 12:30:42 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 12:34:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ddf1017

dev-libs/volume_key: Revbump fixing python3 lookup

Thanks-to: Mike Frysinger <vapier <AT> gentoo.org>
Closes: https://bugs.gentoo.org/764230
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../files/volume_key-0.3.12-find_python3.patch     | 27 ++++++++++
 dev-libs/volume_key/volume_key-0.3.12-r3.ebuild    | 61 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/dev-libs/volume_key/files/volume_key-0.3.12-find_python3.patch b/dev-libs/volume_key/files/volume_key-0.3.12-find_python3.patch
new file mode 100644
index 00000000000..3f7d6da6936
--- /dev/null
+++ b/dev-libs/volume_key/files/volume_key-0.3.12-find_python3.patch
@@ -0,0 +1,27 @@
+From d64fcc43ad740c91f4f1e1a6827663b2485f127a Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Thu, 7 Jan 2021 13:23:28 +0100
+Subject: [PATCH] configure.ac: Don't look for old python3 versions
+
+Gentoo-bug: https://bugs.gentoo.org/764230
+Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4eda5eb..2dce575 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -101,7 +101,7 @@ if test "x$use_python3" = xno; then
+ else
+     AC_MSG_RESULT([testing])
+     # Try to find Python 3 interpreter:
+-    AC_PATH_PROGS([PYTHON3], [python3.6 python3.5 python3 python], [no])
++    AC_PATH_PROGS([PYTHON3], [python3], [no])
+     if test "x$PYTHON3" != xno; then
+         AC_MSG_CHECKING([whether $PYTHON3 version is >= 3.5])
+         python3_found=old
+-- 
+2.30.0
+

diff --git a/dev-libs/volume_key/volume_key-0.3.12-r3.ebuild b/dev-libs/volume_key/volume_key-0.3.12-r3.ebuild
new file mode 100644
index 00000000000..1ff596ac27b
--- /dev/null
+++ b/dev-libs/volume_key/volume_key-0.3.12-r3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
+HOMEPAGE="https://pagure.io/volume_key"
+SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-crypt/gpgme
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	sys-apps/util-linux
+	sys-fs/cryptsetup:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	test? ( dev-libs/nss[utils] )
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-support_higher_LUKS_versions.patch"
+	"${FILESDIR}/${PN}-0.3.12-find_python3.patch" #764230
+)
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+	eautoreconf #764230
+}
+
+src_configure() {
+	# --without-python disables python2
+	econf --without-python --with-python3
+}
+
+src_install() {
+	default
+	find "${ED}" -type f -name "*.la" -delete || die
+
+	python_optimize
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/volume_key/files/, dev-libs/volume_key/
@ 2020-11-26  8:24 Lars Wendler
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler @ 2020-11-26  8:24 UTC (permalink / raw
  To: gentoo-commits

commit:     f47895050be6398fb90fc0b9e16886e1628606d2
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 08:22:30 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 08:24:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4789505

dev-libs/volume_key: Revbump for python3_9 support

added support for higher LUKS versions

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 ...e_key-0.3.12-support_higher_LUKS_versions.patch | 33 +++++++++++++
 dev-libs/volume_key/volume_key-0.3.12-r2.ebuild    | 55 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/dev-libs/volume_key/files/volume_key-0.3.12-support_higher_LUKS_versions.patch b/dev-libs/volume_key/files/volume_key-0.3.12-support_higher_LUKS_versions.patch
new file mode 100644
index 00000000000..6f5aec1dfe5
--- /dev/null
+++ b/dev-libs/volume_key/files/volume_key-0.3.12-support_higher_LUKS_versions.patch
@@ -0,0 +1,33 @@
+From 26c09768662d8958debe8c9410dae9fda02292c3 Mon Sep 17 00:00:00 2001
+From: Jiri Kucera <jkucera@redhat.com>
+Date: Jan 23 2019 13:35:52 +0000
+Subject: Add support for higher versions of LUKS
+
+
+---
+
+diff --git a/lib/volume_luks.c b/lib/volume_luks.c
+index f4bf2c8..d1c5d47 100644
+--- a/lib/volume_luks.c
++++ b/lib/volume_luks.c
+@@ -30,6 +30,10 @@ Author: Miloslav Trmač <mitr@redhat.com> */
+ #include "volume.h"
+ #include "volume_luks.h"
+ 
++#ifndef CRYPT_LUKS
++#define CRYPT_LUKS NULL
++#endif
++
+ /* LUKS - specific code */
+ 
+ /* Return an error message for ERR_NO, for g_free (). */
+@@ -105,7 +109,7 @@ open_crypt_device (const char *path, char **last_log_entry, GError **error)
+   if (r < 0)
+     goto err;
+   crypt_set_log_callback(cd, record_cryptsetup_log_entry, last_log_entry);
+-  r = crypt_load (cd, CRYPT_LUKS1, NULL);
++  r = crypt_load (cd, CRYPT_LUKS, NULL);
+   if (r < 0)
+     goto err_cd;
+   return cd;
+

diff --git a/dev-libs/volume_key/volume_key-0.3.12-r2.ebuild b/dev-libs/volume_key/volume_key-0.3.12-r2.ebuild
new file mode 100644
index 00000000000..90c67ed022e
--- /dev/null
+++ b/dev-libs/volume_key/volume_key-0.3.12-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit python-single-r1
+
+DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
+HOMEPAGE="https://pagure.io/volume_key"
+SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-crypt/gpgme
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	sys-apps/util-linux
+	sys-fs/cryptsetup:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	test? ( dev-libs/nss[utils] )
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-support_higher_LUKS_versions.patch"
+)
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_configure() {
+	# --without-python disables python2
+	econf --without-python --with-python3
+}
+
+src_install() {
+	default
+	find "${ED}" -type f -name "*.la" -delete || die
+
+	python_optimize
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/volume_key/files/, dev-libs/volume_key/
@ 2017-07-06  9:49 Lars Wendler
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler @ 2017-07-06  9:49 UTC (permalink / raw
  To: gentoo-commits

commit:     a1f1e3e691b2018c4866b52d0ba2a7aaa49d2410
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  6 08:27:39 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jul  6 09:48:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f1e3e6

dev-libs/volume_key: Initital commit.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/volume_key/Manifest                       |  1 +
 .../files/volume_key-0.3.9-config.h.diff           | 27 +++++++++++
 .../files/volume_key-0.3.9-find_python.patch       | 56 ++++++++++++++++++++++
 dev-libs/volume_key/metadata.xml                   |  8 ++++
 dev-libs/volume_key/volume_key-0.3.9.ebuild        | 50 +++++++++++++++++++
 5 files changed, 142 insertions(+)

diff --git a/dev-libs/volume_key/Manifest b/dev-libs/volume_key/Manifest
new file mode 100644
index 00000000000..40667307efa
--- /dev/null
+++ b/dev-libs/volume_key/Manifest
@@ -0,0 +1 @@
+DIST volume_key-0.3.9.tar.xz 445092 SHA256 450a54fe9bf56acec6850c1e71371d3e4913c9ca1ef0cdc3a517b4b6910412a6 SHA512 bc0e690997b9fa1c9fff361d04e7eddcac4cac09779d7a1f9e161be117f5c589a7e444ac16dab25fb3e3ce201591f7dc937595ddf2745d7daa625d4ab0a255e0 WHIRLPOOL 928279511717a8fcd94a13b52c1450770f8f22aed4334a4dc87440cf3ffa706e99de6dac21ac8a7e6db990570525e4cf5f163b92351239d95dcf0b3f2b7cd8c7

diff --git a/dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff b/dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff
new file mode 100644
index 00000000000..138e92ee8f6
--- /dev/null
+++ b/dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff
@@ -0,0 +1,27 @@
+From 8f8698aba19b501f01285e9eec5c18231fc6bcea Mon Sep 17 00:00:00 2001
+From: Vratislav Podzimek <vpodzime@redhat.com>
+Date: Tue, 6 Jan 2015 13:06:52 +0100
+Subject: Do not include config.h in libvolume_key.h
+
+The library's header file distributed in the devel package cannot include
+the config.h file that is only available during build otherwise it's not
+possible to use the library outside of the volume_key build process.
+
+Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
+
+diff --git a/lib/libvolume_key.h b/lib/libvolume_key.h
+index 657b626..513f923 100644
+--- a/lib/libvolume_key.h
++++ b/lib/libvolume_key.h
+@@ -18,8 +18,6 @@ Author: Miloslav Trmač <mitr@redhat.com> */
+ #ifndef LIBVOLUME_KEY_H__
+ #define LIBVOLUME_KEY_H__
+ 
+-#include <config.h>
+-
+ #include <cert.h>
+ #include <glib.h>
+ 
+-- 
+cgit v0.10.2
+

diff --git a/dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch b/dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch
new file mode 100644
index 00000000000..00ca74fdc78
--- /dev/null
+++ b/dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch
@@ -0,0 +1,56 @@
+From 67fbdb6133b6d37548250514eeaf8a4e239e4768 Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Mon, 22 May 2017 14:29:44 +0200
+Subject: [PATCH] Use pkgconfig to find python
+
+otherwise linkage and include of python fails if python is not in
+default (python$(PYTHON_VERSION)) location.
+---
+ Makefile.am  | 4 ++--
+ configure.ac | 8 +++++++-
+ 2 files changed, 9 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 4569bbf..445a64c 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4
+ AM_CPPFLAGS = $(blkid_CFLAGS) $(glib_CFLAGS) $(GPGME_CFLAGS) \
+ 	$(libcryptsetup_CFLAGS) $(nss_CFLAGS)
+ LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
+-PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
++PYTHON_CPPFLAGS = $(PYTHON_CFLAGS)
+ 
+ ## Targets
+ SUBDIRS = po
+@@ -65,7 +65,7 @@ lib_libvolume_key_la_LIBADD = $(blkid_LIBS) $(glib_LIBS) $(GPGME_LIBS) \
+ python__volume_key_la_SOURCES = python/volume_key_wrap.c
+ python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
+ python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
+-python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
++python__volume_key_la_LIBADD = lib/libvolume_key.la $(PYTHON_LIBS) \
+ 	$(glib_LIBS) $(nss_LIBS)
+ 
+ src_volume_key_SOURCES = src/volume_key.c
+diff --git a/configure.ac b/configure.ac
+index 5dbb326..71e407e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -28,7 +28,13 @@ AC_PROG_CC
+ AM_PROG_CC_C_O
+ AM_PROG_AR
+ LT_INIT([disable-static])
+-AM_PATH_PYTHON
++
++PKG_CHECK_MODULES([PYTHON], [python], [has_python=yes], [])
++AS_IF([test "x$has_python" = "xyes"], [
++    AM_PATH_PYTHON
++    AC_SUBST([PYTHON_CFLAGS])
++    AC_SUBST([PYTHON_LIBS])
++])
+ 
+ dnl Not gpg2, it cannot receive passphrases from gpgme
+ AC_PATH_PROG([GPG], [gpg])
+-- 
+2.13.0
+

diff --git a/dev-libs/volume_key/metadata.xml b/dev-libs/volume_key/metadata.xml
new file mode 100644
index 00000000000..c7be278b645
--- /dev/null
+++ b/dev-libs/volume_key/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="person">
+    <email>polynomial-c@gentoo.org</email>
+    <name>Lars Wendler</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/dev-libs/volume_key/volume_key-0.3.9.ebuild b/dev-libs/volume_key/volume_key-0.3.9.ebuild
new file mode 100644
index 00000000000..178d87ac1cf
--- /dev/null
+++ b/dev-libs/volume_key/volume_key-0.3.9.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
+HOMEPAGE="https://pagure.io/volume_key"
+SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+COMMON_DEPEND="
+	dev-libs/glib:2
+	dev-libs/nss
+	sys-apps/util-linux
+	sys-devel/gettext
+"
+DEPEND="
+	${COMMON_DEPEND}
+	app-crypt/gpgme
+	sys-devel/autoconf:2.63
+	sys-fs/cryptsetup
+	test? ( dev-libs/nss[utils] )
+	"
+RDEPEND="
+	${COMMON_DEPEND}
+"
+
+RESTRICT="test" # possible gpgme issue
+
+PATCHES=(
+	"${FILESDIR}"/${P}-config.h.diff
+	"${FILESDIR}"/${PN}-0.3.9-find_python.patch
+)
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}


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

end of thread, other threads:[~2021-01-07 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-13 14:21 [gentoo-commits] repo/gentoo:master commit in: dev-libs/volume_key/files/, dev-libs/volume_key/ Lars Wendler
  -- strict thread matches above, loose matches on Subject: below --
2021-01-07 12:34 Lars Wendler
2020-11-26  8:24 Lars Wendler
2017-07-06  9:49 Lars Wendler

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