public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2015-12-23 11:16 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2015-12-23 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     7ccec8d4d9fdebc92175da741b801817fb3ac5e9
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 11:15:16 2015 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 11:15:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccec8d4

app-crypt/loop-aes-losetup: version bump

Package-Manager: portage-2.2.24

 app-crypt/loop-aes-losetup/Manifest                |  2 +
 .../loop-aes-losetup/loop-aes-losetup-2.26.ebuild  | 74 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index 95c520a..4cd35f9 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,2 +1,4 @@
 DIST util-linux-2.21-20120228.diff.bz2 43809 SHA256 fc28d4f0e2737b53a4db59072ab0fcf4180a8ece28c79219a21780124798572a SHA512 94135ed18699efd949f5937576da2721957177bbef9be8234ae48ee34f30f4cb65361a541f79c636ed6d6bb5c2786e1096d096407834e1421d82ee78ae0790e9 WHIRLPOOL ba23dccc56fc49d7ad9075537317ad4580ace2a4cd8f6b0250f42035c03ba910f3cafa8e8b1da4c7e5a0960d74c42f2706fda579a3b4a6cadc61dccd2fff3ff0
 DIST util-linux-2.21.tar.xz 2954504 SHA256 5192e8ba7dcf3cf0dc447f07b3d177f6cb3fb49dfae54ac45d6c8c7d86eeab0f SHA512 aab384db2d1a3e08fd560a3e4d7ed7d6b2ceac61386db94eecae65bd540200a8549e141b99d8dad5c6f96587940b574d0544984acef6a35d1f24870e0072c552 WHIRLPOOL 1968ddd63fd21ef9542bb8afc77292ed2bad6f83e1cd67aa4159db8b320abd80ee0d20a062df35ae2ad91e0bc9068168b9f9e44aa39eaf4861d436dd855bea5d
+DIST util-linux-2.26-20150310.diff.bz2 41017 SHA256 18d88810d5d6e95313c23162566bcf7e1a7b785bed5dd395127c144127c9e9ef SHA512 c8e7d7a4795d2ed75af5e0513c19510ca649682df86655ecabe1563586bdb46f32bb9abd6cfb09df230f935cfa396e0d63b1545a40a5f4ce47524a82e7dd7ca6 WHIRLPOOL 2ca00b9ec52b64ce1e083b9a706003d1f0445fb5d7f391e28b698c684dba5cb8bc2a590565dcc23ac6527b8099838435b86e7a78097ab8a19491fe14b6c50ca6
+DIST util-linux-2.26.tar.xz 3847960 SHA256 a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489 SHA512 af07d49a433fce683da7bdf9aea5693ad108aa16166e0147716175bd779fe5090029617dd7db153bc0f5efcf7bdd377761a616efd4cca90a87bf317132ede88c WHIRLPOOL 4f7c9463bfe1523819671824de26e051c496c86884ca34b25208762179345c799fe61e566228ebfcbca2f2b63163539e37b06e438a58f562cf7b53f954564150

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
new file mode 100644
index 0000000..e416962
--- /dev/null
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs flag-o-matic
+
+MY_PV="${PV/_/-}"
+MY_P="util-linux-${MY_PV}"
+LOOPAES_PV="${PV}-20150310"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Various useful Linux utilities"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
+SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
+	http://loop-aes.sourceforge.net/updates/util-linux-${LOOPAES_PV}.diff.bz2"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
+SLOT="0"
+IUSE="nls selinux static"
+
+RDEPEND="selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )
+	virtual/os-headers"
+
+src_prepare() {
+	epatch "${WORKDIR}"/util-linux-*.diff
+	elibtoolize
+}
+
+lfs_fallocate_test() {
+	# Make sure we can use fallocate with LFS #300307
+	cat <<-EOF > "${T}"/fallocate.${ABI}.c
+		#define _GNU_SOURCE
+		#include <fcntl.h>
+		main() { return fallocate(0, 0, 0, 0); }
+	EOF
+	append-lfs-flags
+	$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \
+		|| export ac_cv_func_fallocate=no
+	rm -f "${T}"/fallocate.${ABI}.c
+}
+
+src_configure() {
+	lfs_fallocate_test
+	# The scanf test in a run-time test which fails while cross-compiling.
+	# Blindly assume a POSIX setup since we require libmount, and libmount
+	# itself fails when the scanf test fails. #531856
+	tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
+	# We manually set --libdir to the default since on prefix, econf will set it to
+	# a value which the configure script does not recognize.  This makes it set the
+	# usrlib_execdir to a bad value. bug #518898#c2, fixed upstream for >2.25
+	ECONF_SOURCE=${S} \
+	econf \
+		--libdir='${prefix}/'"$(get_libdir)" \
+		--disable-all-programs \
+		--enable-libsmartcols \
+		--enable-losetup \
+		--without-ncurses \
+		--without-udev \
+		$(use_enable nls) \
+		$(use_with selinux) \
+		$(tc-has-tls || echo --disable-tls) \
+		$(use static && echo --enable-static-programs=losetup)
+}
+
+src_install() {
+	emake install DESTDIR="${T}/root"
+	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
+	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2015-12-24 17:10 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2015-12-24 17:10 UTC (permalink / raw
  To: gentoo-commits

commit:     1174eac79cd2d34ef48883e31e14e24c72da0c9a
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 24 17:09:45 2015 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Dec 24 17:10:00 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1174eac7

app-crypt/loop-aes-losetup: inherit libtool

Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
index e416962..afc58a7 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils toolchain-funcs flag-o-matic
+inherit eutils toolchain-funcs libtool flag-o-matic
 
 MY_PV="${PV/_/-}"
 MY_P="util-linux-${MY_PV}"


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2017-01-13 19:16 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2017-01-13 19:16 UTC (permalink / raw
  To: gentoo-commits

commit:     55f5f49df581d2eb61e38c35a4c5ca3e4fba3661
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 02:00:09 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 02:00:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f5f49d

app-crypt/loop-aes-losetup: fix description

Bug: 605602

Package-Manager: portage-2.3.0

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.21.ebuild | 4 ++--
 app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.21.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.21.ebuild
index 5a5d530..5607877 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.21.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ MY_P="util-linux-${MY_PV}"
 LOOPAES_PV="${PV}-20120228"
 S="${WORKDIR}/${MY_P}"
 
-DESCRIPTION="Various useful Linux utilities"
+DESCRIPTION="Loop-AES losetup utility"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
 SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
 	http://loop-aes.sourceforge.net/updates/util-linux-${LOOPAES_PV}.diff.bz2"

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
index afc58a7..92ce342 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ MY_P="util-linux-${MY_PV}"
 LOOPAES_PV="${PV}-20150310"
 S="${WORKDIR}/${MY_P}"
 
-DESCRIPTION="Various useful Linux utilities"
+DESCRIPTION="Loop-AES losetup utility"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
 SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
 	http://loop-aes.sourceforge.net/updates/util-linux-${LOOPAES_PV}.diff.bz2"


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2017-02-04  1:31 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2017-02-04  1:31 UTC (permalink / raw
  To: gentoo-commits

commit:     da3be359baefb8e4284e6edef03b3172f8ca6206
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 00:59:41 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 01:30:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3be359

app-crypt/loop-aes-losetup: eapi bump

Package-Manager: portage-2.3.3

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
index 92ce342..706c0fc 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit eutils toolchain-funcs libtool flag-o-matic
 
@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
 	virtual/os-headers"
 
 src_prepare() {
+	default
 	epatch "${WORKDIR}"/util-linux-*.diff
 	elibtoolize
 }


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2017-03-05  9:19 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2017-03-05  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     5f20468c4820ddec0781f2b12f1608e5eeb6ee95
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 09:17:58 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 09:18:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f20468c

app-crypt/loop-aes-losetup: version bump

Bug: 611770

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/loop-aes-losetup/Manifest                           |  4 ++--
 ...aes-losetup-2.26.ebuild => loop-aes-losetup-2.28.2.ebuild} | 11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index c8bf1eb9c38..06879036175 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,2 +1,2 @@
-DIST util-linux-2.26-20150310.diff.bz2 41017 SHA256 18d88810d5d6e95313c23162566bcf7e1a7b785bed5dd395127c144127c9e9ef SHA512 c8e7d7a4795d2ed75af5e0513c19510ca649682df86655ecabe1563586bdb46f32bb9abd6cfb09df230f935cfa396e0d63b1545a40a5f4ce47524a82e7dd7ca6 WHIRLPOOL 2ca00b9ec52b64ce1e083b9a706003d1f0445fb5d7f391e28b698c684dba5cb8bc2a590565dcc23ac6527b8099838435b86e7a78097ab8a19491fe14b6c50ca6
-DIST util-linux-2.26.tar.xz 3847960 SHA256 a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489 SHA512 af07d49a433fce683da7bdf9aea5693ad108aa16166e0147716175bd779fe5090029617dd7db153bc0f5efcf7bdd377761a616efd4cca90a87bf317132ede88c WHIRLPOOL 4f7c9463bfe1523819671824de26e051c496c86884ca34b25208762179345c799fe61e566228ebfcbca2f2b63163539e37b06e438a58f562cf7b53f954564150
+DIST loop-AES-v3.7j.tar.bz2 326818 SHA256 67ede839d4cac657359c39b05eac46f6991054768a7e1096bef5b92edb3b8aba SHA512 e1b59680680e2b40bb42cad9f1e89a344c7bfd0ee01fdc26151e9edea64b5111744588bc05c672de16c76ae0a3e4d6a8d4c4c9c09709a9f93bfc62a2f64ba7c7 WHIRLPOOL a3798edc3f1393ddf97aeada84c1c5a6e74b8cef94e72629774c4db70001206d5cd429df61035a215131f0281ef284469751eefad1f7ee3fd7cf24153b57077d
+DIST util-linux-2.28.2.tar.xz 4149700 SHA256 b89d37146f20bede93a42c847bce881a17e6dbd8066ff2db2bee733fa409f0cd SHA512 ac1c2d4c92bbc4eabed464cb0334c1d9b21e58df0f07f0b26e7adcfa188879de8632d195b65a4358c5e11e14ac6e09a1c6206265bbf1fab4ce122414bee7e940 WHIRLPOOL 1735e33620dba30cc1f42e60b707adb72234006b7fea242ac98c389295617bd0225563bcffa76b9d0753dfa100775dd9a2b73614843645ce667db5536842e308

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
similarity index 89%
rename from app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
rename to app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
index f147458398c..db63e936089 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.26.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
@@ -3,17 +3,17 @@
 
 EAPI="6"
 
-inherit eutils toolchain-funcs libtool flag-o-matic
+inherit eutils autotools toolchain-funcs libtool flag-o-matic
 
 MY_PV="${PV/_/-}"
 MY_P="util-linux-${MY_PV}"
-LOOPAES_PV="${PV}-20150310"
+LOOPAES_P="loop-AES-v3.7j"
 S="${WORKDIR}/${MY_P}"
 
 DESCRIPTION="Loop-AES losetup utility"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
 SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	http://loop-aes.sourceforge.net/updates/util-linux-${LOOPAES_PV}.diff.bz2"
+	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
 
 LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
@@ -27,8 +27,8 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
 	default
-	epatch "${WORKDIR}"/util-linux-*.diff
-	elibtoolize
+	epatch "${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
+	eautoreconf
 }
 
 lfs_fallocate_test() {
@@ -57,6 +57,7 @@ src_configure() {
 	econf \
 		--libdir='${prefix}/'"$(get_libdir)" \
 		--disable-all-programs \
+		--disable-pylibmount \
 		--enable-libsmartcols \
 		--enable-losetup \
 		--without-ncurses \


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2017-03-18 11:21 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2017-03-18 11:21 UTC (permalink / raw
  To: gentoo-commits

commit:     cdfb6ad88c0d46274fb9ef99487c68cdcf2dbb34
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 18 11:20:54 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 11:21:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfb6ad8

app-crypt/loop-aes-losetup: install man page

Bug: 595990
Thanks: Hank Leininger

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
index db63e936089..eea8ff610b1 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
@@ -71,5 +71,6 @@ src_configure() {
 src_install() {
 	emake install DESTDIR="${T}/root"
 	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
+	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
 	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
 }


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2017-03-25 21:46 Alon Bar-Lev
  0 siblings, 0 replies; 23+ messages in thread
From: Alon Bar-Lev @ 2017-03-25 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     de00f599f4880d6734a09ce45576c7884c13bc2c
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 21:37:15 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 21:46:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de00f599

app-crypt/loop-aes-losetup: remove eutils

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
index eea8ff610b1..abeaf0b775d 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-inherit eutils autotools toolchain-funcs libtool flag-o-matic
+inherit autotools toolchain-funcs libtool flag-o-matic
 
 MY_PV="${PV/_/-}"
 MY_P="util-linux-${MY_PV}"
@@ -25,9 +25,12 @@ DEPEND="${RDEPEND}
 	nls? ( sys-devel/gettext )
 	virtual/os-headers"
 
+PATCHES=(
+	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
+)
+
 src_prepare() {
 	default
-	epatch "${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
 	eautoreconf
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2020-06-08 13:41 Joonas Niilola
  0 siblings, 0 replies; 23+ messages in thread
From: Joonas Niilola @ 2020-06-08 13:41 UTC (permalink / raw
  To: gentoo-commits

commit:     3d49e66c5689d506a4dce3c485979b7534cb24d7
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Mon Jun  8 00:58:00 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 13:41:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d49e66c

app-crypt/loop-aes-losetup: Added myself as proxy maintainer.

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/loop-aes-losetup/metadata.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-crypt/loop-aes-losetup/metadata.xml b/app-crypt/loop-aes-losetup/metadata.xml
index 52df7fac721..41aceca1376 100644
--- a/app-crypt/loop-aes-losetup/metadata.xml
+++ b/app-crypt/loop-aes-losetup/metadata.xml
@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>hlein@korelogic.com</email>
+		<name>Hank Leininger</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="sourceforge">loop-aes</remote-id>
 	</upstream>


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2020-06-08 13:41 Joonas Niilola
  0 siblings, 0 replies; 23+ messages in thread
From: Joonas Niilola @ 2020-06-08 13:41 UTC (permalink / raw
  To: gentoo-commits

commit:     ac6e6bfd04b067cc0d3527b58c41e00a517a9083
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Mon Jun  8 06:37:09 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 13:41:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6e6bfd

app-crypt/loop-aes-losetup: Version bump to 2.35.2

This package loosely tracks util-linux, plus a patchset from the
loop-aes upstream. This version bumps to the current upstream patch,
and current util-linux version.

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |  2 +
 .../loop-aes-losetup-2.35.2.ebuild                 | 81 ++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index 1d6c648f256..bb8987d2ab7 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,2 +1,4 @@
 DIST loop-AES-v3.7j.tar.bz2 326818 BLAKE2B ca2db3162298e2e28dcc6feb5e6ba885a08097acafb9937a69898e6944c62cbb1c0ef601e13c0547550721430bf770f187ee71bc5e642d6107c982fae9d03462 SHA512 e1b59680680e2b40bb42cad9f1e89a344c7bfd0ee01fdc26151e9edea64b5111744588bc05c672de16c76ae0a3e4d6a8d4c4c9c09709a9f93bfc62a2f64ba7c7
+DIST loop-AES-v3.7q.tar.bz2 376027 BLAKE2B 7f3206196fcb7ecc928bda4cd127042f61cd5ac7f39e483fb91db388572be1c8e252d5c4adb653e6fd00ff6a7ba4c1406c35f2b2659e9cb38fd817f1bdb2a15f SHA512 103869695f6b18bcc765804865468db4b24fc2fcce3ec97d8468fdc0bd37c480386960730e280cd93c707026dddc5e79d8d25e2601c3678330e016835166ad20
 DIST util-linux-2.28.2.tar.xz 4149700 BLAKE2B da38a047b4a7dc867ba72aea149d515665375089d880d43c40f6d19a09ee33023d64b95c15073d6a83a36ee58ff6d47ef08671ab841b533bb747a337c5da6c02 SHA512 ac1c2d4c92bbc4eabed464cb0334c1d9b21e58df0f07f0b26e7adcfa188879de8632d195b65a4358c5e11e14ac6e09a1c6206265bbf1fab4ce122414bee7e940
+DIST util-linux-2.35.2.tar.xz 5150488 BLAKE2B 93eb90ab33db7795b46425ec4ec87f8a2d3d6e0dad671345375ea02efd654bf72041932d30b41bea494e4b62952e2fd14ea9f9e6c738d4eb4b050bd170b9bb0e SHA512 59e038ba71aa74c9af6f927b357483a965f675ab3ffcd25cf0c1b043656312d2d2d07c55659fd3da69ede165bec313e0ae7e1cd73758e49681ae610604b399a2

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
new file mode 100644
index 00000000000..0e0be564b39
--- /dev/null
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs flag-o-matic
+
+MY_PV="${PV/_/-}"
+MY_P="util-linux-${MY_PV}"
+LOOPAES_P="loop-AES-v3.7q"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Loop-AES losetup utility"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
+SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
+	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
+SLOT="0"
+IUSE="nls selinux static"
+
+RDEPEND="selinux? ( >=sys-libs/libselinux-2.2.2-r4 )"
+BDEPEND="
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+DEPEND="
+	${RDEPEND}
+	virtual/os-headers
+"
+
+PATCHES=(
+	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+lfs_fallocate_test() {
+	# Make sure we can use fallocate with LFS #300307
+	cat <<-EOF > "${T}"/fallocate.${ABI}.c
+		#define _GNU_SOURCE
+		#include <fcntl.h>
+		main() { return fallocate(0, 0, 0, 0); }
+	EOF
+	append-lfs-flags
+	$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \
+		|| export ac_cv_func_fallocate=no
+	rm -f "${T}"/fallocate.${ABI}.c || die
+}
+
+src_configure() {
+	lfs_fallocate_test
+	# The scanf test in a run-time test which fails while cross-compiling.
+	# Blindly assume a POSIX setup since we require libmount, and libmount
+	# itself fails when the scanf test fails. #531856
+	tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
+
+	ECONF_SOURCE=${S} \
+	econf \
+		--disable-all-programs \
+		--disable-pylibmount \
+		--enable-libsmartcols \
+		--enable-losetup \
+		--without-ncurses \
+		--without-udev \
+		$(use_enable nls) \
+		$(use_with selinux) \
+		$(tc-has-tls || echo --disable-tls) \
+		$(use static && echo --enable-static-programs=losetup)
+}
+
+src_install() {
+	emake install DESTDIR="${T}/root"
+	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
+	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
+	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2020-06-08 13:41 Joonas Niilola
  0 siblings, 0 replies; 23+ messages in thread
From: Joonas Niilola @ 2020-06-08 13:41 UTC (permalink / raw
  To: gentoo-commits

commit:     abff3a81d1fb0f6094b1354e6beff11ee14ec3eb
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 13:16:50 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 13:41:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abff3a81

app-crypt/loop-aes-losetup: add die guard, etc

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
index 0e0be564b39..1c85353f16e 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
@@ -41,15 +41,15 @@ src_prepare() {
 
 lfs_fallocate_test() {
 	# Make sure we can use fallocate with LFS #300307
-	cat <<-EOF > "${T}"/fallocate.${ABI}.c
+	cat <<-EOF > "${T}"/fallocate.${ABI}.c || die
 		#define _GNU_SOURCE
 		#include <fcntl.h>
 		main() { return fallocate(0, 0, 0, 0); }
 	EOF
 	append-lfs-flags
-	$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \
+	$( $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 || die) \
 		|| export ac_cv_func_fallocate=no
-	rm -f "${T}"/fallocate.${ABI}.c || die
+	rm "${T}"/fallocate.${ABI}.c || die
 }
 
 src_configure() {


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2022-08-17 11:54 Andreas Sturmlechner
  0 siblings, 0 replies; 23+ messages in thread
From: Andreas Sturmlechner @ 2022-08-17 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     dc9b52aeb2cd9230c2073753ea8947b71b9e1463
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 16 20:51:41 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 11:53:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9b52ae

app-crypt/loop-aes-losetup: drop 2.28.2, EAPI-6--

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |  2 -
 .../loop-aes-losetup-2.28.2.ebuild                 | 79 ----------------------
 2 files changed, 81 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index bb8987d2ab7f..c0368113e3f3 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,4 +1,2 @@
-DIST loop-AES-v3.7j.tar.bz2 326818 BLAKE2B ca2db3162298e2e28dcc6feb5e6ba885a08097acafb9937a69898e6944c62cbb1c0ef601e13c0547550721430bf770f187ee71bc5e642d6107c982fae9d03462 SHA512 e1b59680680e2b40bb42cad9f1e89a344c7bfd0ee01fdc26151e9edea64b5111744588bc05c672de16c76ae0a3e4d6a8d4c4c9c09709a9f93bfc62a2f64ba7c7
 DIST loop-AES-v3.7q.tar.bz2 376027 BLAKE2B 7f3206196fcb7ecc928bda4cd127042f61cd5ac7f39e483fb91db388572be1c8e252d5c4adb653e6fd00ff6a7ba4c1406c35f2b2659e9cb38fd817f1bdb2a15f SHA512 103869695f6b18bcc765804865468db4b24fc2fcce3ec97d8468fdc0bd37c480386960730e280cd93c707026dddc5e79d8d25e2601c3678330e016835166ad20
-DIST util-linux-2.28.2.tar.xz 4149700 BLAKE2B da38a047b4a7dc867ba72aea149d515665375089d880d43c40f6d19a09ee33023d64b95c15073d6a83a36ee58ff6d47ef08671ab841b533bb747a337c5da6c02 SHA512 ac1c2d4c92bbc4eabed464cb0334c1d9b21e58df0f07f0b26e7adcfa188879de8632d195b65a4358c5e11e14ac6e09a1c6206265bbf1fab4ce122414bee7e940
 DIST util-linux-2.35.2.tar.xz 5150488 BLAKE2B 93eb90ab33db7795b46425ec4ec87f8a2d3d6e0dad671345375ea02efd654bf72041932d30b41bea494e4b62952e2fd14ea9f9e6c738d4eb4b050bd170b9bb0e SHA512 59e038ba71aa74c9af6f927b357483a965f675ab3ffcd25cf0c1b043656312d2d2d07c55659fd3da69ede165bec313e0ae7e1cd73758e49681ae610604b399a2

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
deleted file mode 100644
index f7f3ff682a4c..000000000000
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.28.2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools toolchain-funcs flag-o-matic
-
-MY_PV="${PV/_/-}"
-MY_P="util-linux-${MY_PV}"
-LOOPAES_P="loop-AES-v3.7j"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Loop-AES losetup utility"
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
-SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
-SLOT="0"
-IUSE="nls selinux static"
-
-RDEPEND="selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
-	nls? ( sys-devel/gettext )
-	virtual/os-headers"
-
-PATCHES=(
-	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
-)
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
-lfs_fallocate_test() {
-	# Make sure we can use fallocate with LFS #300307
-	cat <<-EOF > "${T}"/fallocate.${ABI}.c
-		#define _GNU_SOURCE
-		#include <fcntl.h>
-		main() { return fallocate(0, 0, 0, 0); }
-	EOF
-	append-lfs-flags
-	$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \
-		|| export ac_cv_func_fallocate=no
-	rm -f "${T}"/fallocate.${ABI}.c
-}
-
-src_configure() {
-	lfs_fallocate_test
-	# The scanf test in a run-time test which fails while cross-compiling.
-	# Blindly assume a POSIX setup since we require libmount, and libmount
-	# itself fails when the scanf test fails. #531856
-	tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
-	# We manually set --libdir to the default since on prefix, econf will set it to
-	# a value which the configure script does not recognize.  This makes it set the
-	# usrlib_execdir to a bad value. bug #518898#c2, fixed upstream for >2.25
-	ECONF_SOURCE=${S} \
-	econf \
-		--libdir='${prefix}/'"$(get_libdir)" \
-		--disable-all-programs \
-		--disable-pylibmount \
-		--enable-libsmartcols \
-		--enable-losetup \
-		--without-ncurses \
-		--without-udev \
-		$(use_enable nls) \
-		$(use_with selinux) \
-		$(tc-has-tls || echo --disable-tls) \
-		$(use static && echo --enable-static-programs=losetup)
-}
-
-src_install() {
-	emake install DESTDIR="${T}/root"
-	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
-	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
-	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
-}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-02-01  8:28 Joonas Niilola
  0 siblings, 0 replies; 23+ messages in thread
From: Joonas Niilola @ 2024-02-01  8:28 UTC (permalink / raw
  To: gentoo-commits

commit:     82d17ecf3c2a5544c4a29a75702f403251bbdd58
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Sun Dec  3 23:43:34 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb  1 08:28:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d17ecf

app-crypt/loop-aes-losetup: add 2.39.2

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://bugs.gentoo.org/870745
Closes: https://github.com/gentoo/gentoo/pull/34121
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |  2 +
 .../loop-aes-losetup-2.39.2.ebuild                 | 71 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index c0368113e3f3..8fcc8786a4f9 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,2 +1,4 @@
 DIST loop-AES-v3.7q.tar.bz2 376027 BLAKE2B 7f3206196fcb7ecc928bda4cd127042f61cd5ac7f39e483fb91db388572be1c8e252d5c4adb653e6fd00ff6a7ba4c1406c35f2b2659e9cb38fd817f1bdb2a15f SHA512 103869695f6b18bcc765804865468db4b24fc2fcce3ec97d8468fdc0bd37c480386960730e280cd93c707026dddc5e79d8d25e2601c3678330e016835166ad20
 DIST util-linux-2.35.2.tar.xz 5150488 BLAKE2B 93eb90ab33db7795b46425ec4ec87f8a2d3d6e0dad671345375ea02efd654bf72041932d30b41bea494e4b62952e2fd14ea9f9e6c738d4eb4b050bd170b9bb0e SHA512 59e038ba71aa74c9af6f927b357483a965f675ab3ffcd25cf0c1b043656312d2d2d07c55659fd3da69ede165bec313e0ae7e1cd73758e49681ae610604b399a2
+DIST util-linux-2.39.2.tar.xz 8362220 BLAKE2B 963c257b86f8a025a3452f102656f479382b9e03dd8ce39b9561302b484c595005aa0bbce9b91422d9be038037143772483363c2a1eec569355316fc8d5d5765 SHA512 cebecdd62749d0aeea2c4faf7ad1606426eff03ef3b15cd9c2df1126f216a4ed546d8fc3218c649fa95944eb87a98bb6a7cdd0bea31057c481c5cf608ffc19a3
+DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
new file mode 100644
index 000000000000..7551cf619b3e
--- /dev/null
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs libtool flag-o-matic
+
+MY_PV="${PV/_/-}"
+MY_P="util-linux-${MY_PV}"
+LOOPAES_P="loop-AES-v3.8b"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Loop-AES losetup utility"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
+SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
+	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
+SLOT="0"
+IUSE="nls selinux static"
+
+RDEPEND="selinux? ( >=sys-libs/libselinux-2.2.2-r4 )"
+BDEPEND="
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+DEPEND="
+	${RDEPEND}
+	virtual/os-headers
+"
+
+PATCHES=(
+	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
+)
+
+src_prepare() {
+	default
+	elibtoolize
+}
+
+src_configure() {
+	append-lfs-flags
+
+	# The scanf test in a run-time test which fails while cross-compiling.
+	# Blindly assume a POSIX setup since we require libmount, and libmount
+	# itself fails when the scanf test fails. #531856
+	tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
+
+	ECONF_SOURCE=${S} \
+	econf \
+		--disable-all-programs \
+		--disable-libmount-mountfd-support \
+		--disable-pylibmount \
+		--enable-libsmartcols \
+		--enable-losetup \
+		--without-ncurses \
+		--without-udev \
+		$(use_enable nls) \
+		$(use_with selinux) \
+		$(tc-has-tls || echo --disable-tls) \
+		$(use_enable static) \
+		$(use static && echo --enable-static-programs=losetup)
+}
+
+src_install() {
+	emake install DESTDIR="${T}/root"
+	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
+	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
+	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-03-04  7:53 Joonas Niilola
  0 siblings, 0 replies; 23+ messages in thread
From: Joonas Niilola @ 2024-03-04  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     5cce989d926d63e83706cdcdd09679009f10c308
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Tue Feb  6 23:41:44 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 07:53:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cce989d

app-crypt/loop-aes-losetup: drop 2.35.2

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://github.com/gentoo/gentoo/pull/35207
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |  4 +-
 .../loop-aes-losetup-2.35.2.ebuild                 | 81 ----------------------
 2 files changed, 1 insertion(+), 84 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index 8fcc8786a4f9..f562291f8628 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,4 +1,2 @@
-DIST loop-AES-v3.7q.tar.bz2 376027 BLAKE2B 7f3206196fcb7ecc928bda4cd127042f61cd5ac7f39e483fb91db388572be1c8e252d5c4adb653e6fd00ff6a7ba4c1406c35f2b2659e9cb38fd817f1bdb2a15f SHA512 103869695f6b18bcc765804865468db4b24fc2fcce3ec97d8468fdc0bd37c480386960730e280cd93c707026dddc5e79d8d25e2601c3678330e016835166ad20
-DIST util-linux-2.35.2.tar.xz 5150488 BLAKE2B 93eb90ab33db7795b46425ec4ec87f8a2d3d6e0dad671345375ea02efd654bf72041932d30b41bea494e4b62952e2fd14ea9f9e6c738d4eb4b050bd170b9bb0e SHA512 59e038ba71aa74c9af6f927b357483a965f675ab3ffcd25cf0c1b043656312d2d2d07c55659fd3da69ede165bec313e0ae7e1cd73758e49681ae610604b399a2
-DIST util-linux-2.39.2.tar.xz 8362220 BLAKE2B 963c257b86f8a025a3452f102656f479382b9e03dd8ce39b9561302b484c595005aa0bbce9b91422d9be038037143772483363c2a1eec569355316fc8d5d5765 SHA512 cebecdd62749d0aeea2c4faf7ad1606426eff03ef3b15cd9c2df1126f216a4ed546d8fc3218c649fa95944eb87a98bb6a7cdd0bea31057c481c5cf608ffc19a3
 DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661
+DIST util-linux-2.39.2.tar.xz 8362220 BLAKE2B 963c257b86f8a025a3452f102656f479382b9e03dd8ce39b9561302b484c595005aa0bbce9b91422d9be038037143772483363c2a1eec569355316fc8d5d5765 SHA512 cebecdd62749d0aeea2c4faf7ad1606426eff03ef3b15cd9c2df1126f216a4ed546d8fc3218c649fa95944eb87a98bb6a7cdd0bea31057c481c5cf608ffc19a3

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
deleted file mode 100644
index 1c85353f16ee..000000000000
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs flag-o-matic
-
-MY_PV="${PV/_/-}"
-MY_P="util-linux-${MY_PV}"
-LOOPAES_P="loop-AES-v3.7q"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Loop-AES losetup utility"
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
-SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
-SLOT="0"
-IUSE="nls selinux static"
-
-RDEPEND="selinux? ( >=sys-libs/libselinux-2.2.2-r4 )"
-BDEPEND="
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )
-"
-DEPEND="
-	${RDEPEND}
-	virtual/os-headers
-"
-
-PATCHES=(
-	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
-)
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
-lfs_fallocate_test() {
-	# Make sure we can use fallocate with LFS #300307
-	cat <<-EOF > "${T}"/fallocate.${ABI}.c || die
-		#define _GNU_SOURCE
-		#include <fcntl.h>
-		main() { return fallocate(0, 0, 0, 0); }
-	EOF
-	append-lfs-flags
-	$( $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 || die) \
-		|| export ac_cv_func_fallocate=no
-	rm "${T}"/fallocate.${ABI}.c || die
-}
-
-src_configure() {
-	lfs_fallocate_test
-	# The scanf test in a run-time test which fails while cross-compiling.
-	# Blindly assume a POSIX setup since we require libmount, and libmount
-	# itself fails when the scanf test fails. #531856
-	tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
-
-	ECONF_SOURCE=${S} \
-	econf \
-		--disable-all-programs \
-		--disable-pylibmount \
-		--enable-libsmartcols \
-		--enable-losetup \
-		--without-ncurses \
-		--without-udev \
-		$(use_enable nls) \
-		$(use_with selinux) \
-		$(tc-has-tls || echo --disable-tls) \
-		$(use static && echo --enable-static-programs=losetup)
-}
-
-src_install() {
-	emake install DESTDIR="${T}/root"
-	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
-	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
-	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
-}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-05-25  6:47 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-05-25  6:47 UTC (permalink / raw
  To: gentoo-commits

commit:     346ff8a2ad1cda68f1b6c4fd79371de15d60f51a
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Sat May 25 05:42:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 06:46:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346ff8a2

app-crypt/loop-aes-losetup: add 2.40.1

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |   4 +
 .../loop-aes-losetup-2.40.1.ebuild                 | 113 +++++++++++++++++++++
 app-crypt/loop-aes-losetup/metadata.xml            |   1 +
 3 files changed, 118 insertions(+)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index f562291f8628..ea32142a9e07 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,2 +1,6 @@
 DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661
+DIST loop-AES-v3.8c.tar.bz2 419257 BLAKE2B dd7fe8e4fbc3b58e11ef5440ea81b65d9a1e92e71a81020b9664ae2387dd36da327fddab85bfc27b23ac2f546b7622526ded1424e2c6cd3659e8998f914151db SHA512 d22b4773f42d47a8f499e3234f64a880248ea6a2c7e96b598ec11d3d674fca09d989ef9bbee254b384c9fe17adb009115bcfb932081a326400120c1c4c828779
+DIST loop-AES-v3.8c.tar.bz2.sign 861 BLAKE2B aa6c3e2b1e0ab604d92ae6c09fed992f629c7f61b7b62e6d073600f72973ace430e5e0964174a40b63eb703ede4f53098c6deb8af13d663e0bb147a2138a6635 SHA512 44ca990fdf55e8c03e85139dfc07dde5ad1cbd3944060ee2c15b3ce54656b7836e7a8839d237a53361c3ba7bdafda39cbbab0f03bd1952e679d1a3a3c2f0930b
 DIST util-linux-2.39.2.tar.xz 8362220 BLAKE2B 963c257b86f8a025a3452f102656f479382b9e03dd8ce39b9561302b484c595005aa0bbce9b91422d9be038037143772483363c2a1eec569355316fc8d5d5765 SHA512 cebecdd62749d0aeea2c4faf7ad1606426eff03ef3b15cd9c2df1126f216a4ed546d8fc3218c649fa95944eb87a98bb6a7cdd0bea31057c481c5cf608ffc19a3
+DIST util-linux-2.40.1.tar.sign 833 BLAKE2B 2f8537cd4f52e0c203360d081a91f17c2db13c0f6054ef02f967e8fdf03099bb8c42604864003bfb911ea7804033f4020e2f56a933667fc84ac9c4b8d01e9ed5 SHA512 ab73a27fc8601041bf7b8a088586b78c49ca83cf9c8cfe5877280c0b5c607e95695512804335a8c0ac1d243e4433595f44256407fdbfb053451b8ab40d605502
+DIST util-linux-2.40.1.tar.xz 8823784 BLAKE2B a51fcf9b63c033e470da4f4f0094f0f923fdeb5a649a5c59d2d44888e5e741dfd95e589247355296e050d9ec8dc4334c5898453af055abcb30082af6b835a3e3 SHA512 58ec6eb41d4b6bfc544a80e95c71b5f3798ab4d2a9435d3ee9e5edd56f9b3f09bcb154bdd70e002dc018938937e2e946ae731dcda0f86b362fc43423689e41fc

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
new file mode 100644
index 000000000000..a893df776342
--- /dev/null
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs libtool flag-o-matic verify-sig
+
+MY_PV="${PV/_/-}"
+MY_P="util-linux-${MY_PV}"
+LOOPAES_P="loop-AES-v3.8c"
+
+DESCRIPTION="Loop-AES losetup utility"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
+SRC_URI="
+	https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
+	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2
+	verify-sig? (
+		https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign
+		http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2.sign
+	)
+"
+S="${WORKDIR}/${MY_P}"
+LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE="nls selinux static"
+
+RDEPEND="
+	selinux? ( >=sys-libs/libselinux-2.2.2-r4 )
+	verify-sig? (
+		>=sec-keys/openpgp-keys-karelzak-20230517
+		>=sec-keys/openpgp-keys-jariruusu-20240521
+	)
+"
+BDEPEND="
+	virtual/pkgconfig
+	nls? (
+		app-text/po4a
+		sys-devel/gettext
+	)
+"
+DEPEND="
+	${RDEPEND}
+	virtual/os-headers
+"
+
+PATCHES=(
+	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
+)
+
+src_unpack() {
+
+	if use verify-sig ; then
+		mkdir "${T}"/verify-sig || die
+		pushd "${T}"/verify-sig &>/dev/null || die
+
+		# Upstream sign the decompressed .tar
+		# Let's do it separately in ${T} then cleanup to avoid external
+		# effects on normal unpack.
+		cp "${DISTDIR}"/${MY_P}.tar.xz . || die
+		xz -d ${MY_P}.tar.xz || die
+		verify-sig_verify_detached ${MY_P}.tar "${DISTDIR}"/${MY_P}.tar.sign /usr/share/openpgp-keys/karelzak.asc
+
+		popd &>/dev/null || die
+		rm -r "${T}"/verify-sig || die
+
+		verify-sig_verify_detached "${DISTDIR}"/${LOOPAES_P}.tar.bz2{,.sign}
+	fi
+
+	default
+}
+
+src_prepare() {
+	default
+	elibtoolize
+}
+
+src_configure() {
+	append-lfs-flags
+
+	ECONF_SOURCE=${S} \
+	econf \
+		--disable-all-programs \
+		--disable-libmount-mountfd-support \
+		--disable-liblastlog2 \
+		--disable-pam-lastlog2 \
+		--disable-pylibmount \
+		--enable-libsmartcols \
+		--enable-losetup \
+		--without-btrfs \
+		--without-libz \
+		--without-libmagic \
+		--without-ncurses \
+		--without-ncursesw \
+		--without-python \
+		--without-readline \
+		--without-systemd \
+		--without-tinfo \
+		--without-udev \
+		--without-util \
+		$(use_enable nls) \
+		$(use_with selinux) \
+		$(tc-has-tls || echo --disable-tls) \
+		$(use_enable static) \
+		$(use static && echo --enable-static-programs=losetup)
+}
+
+src_install() {
+	emake install DESTDIR="${T}/root"
+	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
+	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
+	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
+}

diff --git a/app-crypt/loop-aes-losetup/metadata.xml b/app-crypt/loop-aes-losetup/metadata.xml
index 51566655bb4b..d1f684c0460f 100644
--- a/app-crypt/loop-aes-losetup/metadata.xml
+++ b/app-crypt/loop-aes-losetup/metadata.xml
@@ -10,6 +10,7 @@
 		<name>Proxy Maintainers</name>
 	</maintainer>
 	<upstream>
+		<remote-id type="github">util-linux/util-linux</remote-id>
 		<remote-id type="sourceforge">loop-aes</remote-id>
 	</upstream>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-05-25  6:47 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-05-25  6:47 UTC (permalink / raw
  To: gentoo-commits

commit:     fe60141870ef7485a1337d4cf8b42aea4597de75
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 06:45:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 06:46:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe601418

app-crypt/loop-aes-losetup: misc tweaks

* Respect BROOT in src_unpack for util-linux portion
* Move verify-sig deps from RDEPEND to BDEPEND
* Style tweaks

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild  | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
index fbd85c5d3ba5..b26e9ece0c23 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -20,6 +20,7 @@ SRC_URI="
 	)
 "
 S="${WORKDIR}/${MY_P}"
+
 LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
@@ -27,10 +28,10 @@ IUSE="nls selinux static"
 
 RDEPEND="
 	selinux? ( >=sys-libs/libselinux-2.2.2-r4 )
-	verify-sig? (
-		>=sec-keys/openpgp-keys-karelzak-20230517
-		>=sec-keys/openpgp-keys-jariruusu-20240521
-	)
+"
+DEPEND="
+	${RDEPEND}
+	virtual/os-headers
 "
 BDEPEND="
 	virtual/pkgconfig
@@ -38,10 +39,10 @@ BDEPEND="
 		app-text/po4a
 		sys-devel/gettext
 	)
-"
-DEPEND="
-	${RDEPEND}
-	virtual/os-headers
+	verify-sig? (
+		>=sec-keys/openpgp-keys-karelzak-20230517
+		>=sec-keys/openpgp-keys-jariruusu-20240521
+	)
 "
 
 PATCHES=(
@@ -49,7 +50,6 @@ PATCHES=(
 )
 
 src_unpack() {
-
 	if use verify-sig ; then
 		mkdir "${T}"/verify-sig || die
 		pushd "${T}"/verify-sig &>/dev/null || die
@@ -59,7 +59,7 @@ src_unpack() {
 		# effects on normal unpack.
 		cp "${DISTDIR}"/${MY_P}.tar.xz . || die
 		xz -d ${MY_P}.tar.xz || die
-		verify-sig_verify_detached ${MY_P}.tar "${DISTDIR}"/${MY_P}.tar.sign /usr/share/openpgp-keys/karelzak.asc
+		verify-sig_verify_detached ${MY_P}.tar "${DISTDIR}"/${MY_P}.tar.sign "${BROOT}"/usr/share/openpgp-keys/karelzak.asc
 
 		popd &>/dev/null || die
 		rm -r "${T}"/verify-sig || die


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-05-25  6:47 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-05-25  6:47 UTC (permalink / raw
  To: gentoo-commits

commit:     2bf61980a228c4f237c5eb3d6798e6d4fd58609a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 06:43:13 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 06:46:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf61980

app-crypt/loop-aes-losetup: use HTTPS

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild | 2 +-
 app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
index 7551cf619b3e..594a38dc10d4 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}"
 DESCRIPTION="Loop-AES losetup utility"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
 SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
+	https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
 
 LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
index a893df776342..fbd85c5d3ba5 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -13,10 +13,10 @@ DESCRIPTION="Loop-AES losetup utility"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
 SRC_URI="
 	https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2
+	https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2
 	verify-sig? (
 		https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign
-		http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2.sign
+		https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2.sign
 	)
 "
 S="${WORKDIR}/${MY_P}"


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-05-25  6:50 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-05-25  6:50 UTC (permalink / raw
  To: gentoo-commits

commit:     7db184358684bfec937b32ff644ef3be658ff56e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 06:49:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 06:49:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db18435

app-crypt/loop-aes-losetup: add loop-aes to HOMEPAGE too

... not just util-linux.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
index b26e9ece0c23..9cb4fc9a0d47 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -10,7 +10,7 @@ MY_P="util-linux-${MY_PV}"
 LOOPAES_P="loop-AES-v3.8c"
 
 DESCRIPTION="Loop-AES losetup utility"
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
+HOMEPAGE="https://sourceforge.net/projects/loop-aes/ https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
 SRC_URI="
 	https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
 	https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-05-25  7:35 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-05-25  7:35 UTC (permalink / raw
  To: gentoo-commits

commit:     4485e599f6d4938581a8baa2ea338f2a6f72a62a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 07:34:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 07:34:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4485e599

app-crypt/loop-aes-losetup: fix verify-sig key path

Closes: https://bugs.gentoo.org/932714
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
index 9cb4fc9a0d47..3d63e7cb0604 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/jariruusu.asc"
 inherit toolchain-funcs libtool flag-o-matic verify-sig
 
 MY_PV="${PV/_/-}"


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-06-20 10:31 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-06-20 10:31 UTC (permalink / raw
  To: gentoo-commits

commit:     341b9bf36b212a4de56cc82c490e3aa4ddcbd480
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 20 10:30:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 20 10:30:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341b9bf3

app-crypt/loop-aes-losetup: optimize src_unpack

As just done in util-linux & btrfs-progs.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../loop-aes-losetup-2.40.1.ebuild                 | 23 ++++++++--------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
index 3d63e7cb0604..d73e67c758ad 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -51,24 +51,17 @@ PATCHES=(
 )
 
 src_unpack() {
-	if use verify-sig ; then
-		mkdir "${T}"/verify-sig || die
-		pushd "${T}"/verify-sig &>/dev/null || die
-
-		# Upstream sign the decompressed .tar
-		# Let's do it separately in ${T} then cleanup to avoid external
-		# effects on normal unpack.
-		cp "${DISTDIR}"/${MY_P}.tar.xz . || die
-		xz -d ${MY_P}.tar.xz || die
-		verify-sig_verify_detached ${MY_P}.tar "${DISTDIR}"/${MY_P}.tar.sign "${BROOT}"/usr/share/openpgp-keys/karelzak.asc
-
-		popd &>/dev/null || die
-		rm -r "${T}"/verify-sig || die
+	# Upstream sign the decompressed .tar
+	if use verify-sig; then
+		einfo "Unpacking ${MY_P}.tar.xz ..."
+		verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \
+			< <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -x)) "${BROOT}"/usr/share/openpgp-keys/karelzak.asc
+		assert "Unpack failed"
 
 		verify-sig_verify_detached "${DISTDIR}"/${LOOPAES_P}.tar.bz2{,.sign}
+	else
+		default
 	fi
-
-	default
 }
 
 src_prepare() {


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-06-20 16:22 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-06-20 16:22 UTC (permalink / raw
  To: gentoo-commits

commit:     784c18a35d781b60e90f873ce5543301c523a32a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 20 16:21:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 20 16:21:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=784c18a3

app-crypt/loop-aes-losetup: fix unpacking patch

Closes: https://bugs.gentoo.org/934611
Fixes: 341b9bf36b212a4de56cc82c490e3aa4ddcbd480
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
index d73e67c758ad..467544ceb089 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.1.ebuild
@@ -59,6 +59,7 @@ src_unpack() {
 		assert "Unpack failed"
 
 		verify-sig_verify_detached "${DISTDIR}"/${LOOPAES_P}.tar.bz2{,.sign}
+		unpack ${LOOPAES_P}.tar.bz2
 	else
 		default
 	fi


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-11-13  5:56 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-11-13  5:56 UTC (permalink / raw
  To: gentoo-commits

commit:     01ae34499b9c129d68341a8d098dbafbc6271df0
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Wed Nov  6 18:11:14 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 05:55:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ae3449

app-crypt/loop-aes-losetup: drop 2.39.2

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://github.com/gentoo/gentoo/pull/38949
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |  2 -
 .../loop-aes-losetup-2.39.2.ebuild                 | 71 ----------------------
 2 files changed, 73 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index 9164713b4151..6aee700429c1 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,9 +1,7 @@
-DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661
 DIST loop-AES-v3.8c.tar.bz2 419257 BLAKE2B dd7fe8e4fbc3b58e11ef5440ea81b65d9a1e92e71a81020b9664ae2387dd36da327fddab85bfc27b23ac2f546b7622526ded1424e2c6cd3659e8998f914151db SHA512 d22b4773f42d47a8f499e3234f64a880248ea6a2c7e96b598ec11d3d674fca09d989ef9bbee254b384c9fe17adb009115bcfb932081a326400120c1c4c828779
 DIST loop-AES-v3.8c.tar.bz2.sign 861 BLAKE2B aa6c3e2b1e0ab604d92ae6c09fed992f629c7f61b7b62e6d073600f72973ace430e5e0964174a40b63eb703ede4f53098c6deb8af13d663e0bb147a2138a6635 SHA512 44ca990fdf55e8c03e85139dfc07dde5ad1cbd3944060ee2c15b3ce54656b7836e7a8839d237a53361c3ba7bdafda39cbbab0f03bd1952e679d1a3a3c2f0930b
 DIST loop-AES-v3.8e.tar.bz2 419394 BLAKE2B 6051efde9c58ecc56231cc1671ed51a238b829098b0f91fe69a63d6080e7c6c87ce9510db25661058493a0e9f51382b7391509f4d146d491a0c7d20dda4eb05c SHA512 6191dbf2c4f2312c5caa14d124353894856fa9b97807c357ff916a81e8633cd8c9eeeb23d08fb7fb532dae02e0ecf03328f48e75227714e1ad9d1fc8ce27d224
 DIST loop-AES-v3.8e.tar.bz2.sign 861 BLAKE2B b220acdbd0c9aadd27abcc7c17818d38e791d3dd9c8f007af09a7fbb3bbcd1e6045fa31a3a13d82f5acfb3da1b6a41da6b6631c130abcd665bf3aa896583cc08 SHA512 2c62886e8be40849b8aa44cd36328c121e35428398f742ea3fad1a5cf445e131fe211ed4faeae4c1d2f702a2e4a050a4a5c4ac3eb341b2b5910cb9ce79c5c184
-DIST util-linux-2.39.2.tar.xz 8362220 BLAKE2B 963c257b86f8a025a3452f102656f479382b9e03dd8ce39b9561302b484c595005aa0bbce9b91422d9be038037143772483363c2a1eec569355316fc8d5d5765 SHA512 cebecdd62749d0aeea2c4faf7ad1606426eff03ef3b15cd9c2df1126f216a4ed546d8fc3218c649fa95944eb87a98bb6a7cdd0bea31057c481c5cf608ffc19a3
 DIST util-linux-2.40.1.tar.sign 833 BLAKE2B 2f8537cd4f52e0c203360d081a91f17c2db13c0f6054ef02f967e8fdf03099bb8c42604864003bfb911ea7804033f4020e2f56a933667fc84ac9c4b8d01e9ed5 SHA512 ab73a27fc8601041bf7b8a088586b78c49ca83cf9c8cfe5877280c0b5c607e95695512804335a8c0ac1d243e4433595f44256407fdbfb053451b8ab40d605502
 DIST util-linux-2.40.1.tar.xz 8823784 BLAKE2B a51fcf9b63c033e470da4f4f0094f0f923fdeb5a649a5c59d2d44888e5e741dfd95e589247355296e050d9ec8dc4334c5898453af055abcb30082af6b835a3e3 SHA512 58ec6eb41d4b6bfc544a80e95c71b5f3798ab4d2a9435d3ee9e5edd56f9b3f09bcb154bdd70e002dc018938937e2e946ae731dcda0f86b362fc43423689e41fc
 DIST util-linux-2.40.2.tar.sign 833 BLAKE2B 10aae23d25c1364bac0034d6862df5738c7a405d52198fba1e4e9173a1b2ba9f3d994dacb881d920c3339c0f1018c7dd1c97c7752bdf0e8e634f54235c2b3f5c SHA512 e4ace52333df0c8dd7c8ffc3b813020615c456e06a6978e06c8183ec29896be5af7c25f59e65fc2c2849750d8d7b43043775b8504d6d01f626f1adf296493ce1

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
deleted file mode 100644
index 594a38dc10d4..000000000000
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.39.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs libtool flag-o-matic
-
-MY_PV="${PV/_/-}"
-MY_P="util-linux-${MY_PV}"
-LOOPAES_P="loop-AES-v3.8b"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Loop-AES losetup utility"
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
-SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
-SLOT="0"
-IUSE="nls selinux static"
-
-RDEPEND="selinux? ( >=sys-libs/libselinux-2.2.2-r4 )"
-BDEPEND="
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )
-"
-DEPEND="
-	${RDEPEND}
-	virtual/os-headers
-"
-
-PATCHES=(
-	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
-)
-
-src_prepare() {
-	default
-	elibtoolize
-}
-
-src_configure() {
-	append-lfs-flags
-
-	# The scanf test in a run-time test which fails while cross-compiling.
-	# Blindly assume a POSIX setup since we require libmount, and libmount
-	# itself fails when the scanf test fails. #531856
-	tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
-
-	ECONF_SOURCE=${S} \
-	econf \
-		--disable-all-programs \
-		--disable-libmount-mountfd-support \
-		--disable-pylibmount \
-		--enable-libsmartcols \
-		--enable-losetup \
-		--without-ncurses \
-		--without-udev \
-		$(use_enable nls) \
-		$(use_with selinux) \
-		$(tc-has-tls || echo --disable-tls) \
-		$(use_enable static) \
-		$(use static && echo --enable-static-programs=losetup)
-}
-
-src_install() {
-	emake install DESTDIR="${T}/root"
-	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
-	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
-	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
-}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-11-13  5:56 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-11-13  5:56 UTC (permalink / raw
  To: gentoo-commits

commit:     e1f34500f285c11c4a14af2b3c55b4d9b2c419f3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 05:55:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 05:55:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f34500

app-crypt/loop-aes-losetup: use HTTPS again

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild
index 519b56b1f4bf..ef31499c390b 100644
--- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild
@@ -15,10 +15,10 @@ DESCRIPTION="Loop-AES losetup utility"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
 SRC_URI="
 	https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
-	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2
+	https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2
 	verify-sig? (
 		https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign
-		http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2.sign
+		https://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2.sign
 	)
 "
 S="${WORKDIR}/${MY_P}"


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/
@ 2024-11-13  5:56 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2024-11-13  5:56 UTC (permalink / raw
  To: gentoo-commits

commit:     9683ff07a02f3749aeb9bcba21d137e684bdf9af
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Wed Nov  6 18:08:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 05:55:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9683ff07

app-crypt/loop-aes-losetup: add 2.40.2, various fixes

Sync against newer upstream util-linux and loop-aes.
Fix keyring selection when USE=verify-sig.
Updated signature checking logic to match current util-linux package.
Also build loop-aes-mount{,.static} for times when that is needed.
Fix Automake issues.

Closes: https://bugs.gentoo.org/942097
Closes: https://bugs.gentoo.org/942927
Closes: https://bugs.gentoo.org/939689
Closes: https://bugs.gentoo.org/936055
Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/loop-aes-losetup/Manifest                |   4 +
 .../loop-aes-losetup-2.40.2.ebuild                 | 115 +++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest
index ea32142a9e07..9164713b4151 100644
--- a/app-crypt/loop-aes-losetup/Manifest
+++ b/app-crypt/loop-aes-losetup/Manifest
@@ -1,6 +1,10 @@
 DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661
 DIST loop-AES-v3.8c.tar.bz2 419257 BLAKE2B dd7fe8e4fbc3b58e11ef5440ea81b65d9a1e92e71a81020b9664ae2387dd36da327fddab85bfc27b23ac2f546b7622526ded1424e2c6cd3659e8998f914151db SHA512 d22b4773f42d47a8f499e3234f64a880248ea6a2c7e96b598ec11d3d674fca09d989ef9bbee254b384c9fe17adb009115bcfb932081a326400120c1c4c828779
 DIST loop-AES-v3.8c.tar.bz2.sign 861 BLAKE2B aa6c3e2b1e0ab604d92ae6c09fed992f629c7f61b7b62e6d073600f72973ace430e5e0964174a40b63eb703ede4f53098c6deb8af13d663e0bb147a2138a6635 SHA512 44ca990fdf55e8c03e85139dfc07dde5ad1cbd3944060ee2c15b3ce54656b7836e7a8839d237a53361c3ba7bdafda39cbbab0f03bd1952e679d1a3a3c2f0930b
+DIST loop-AES-v3.8e.tar.bz2 419394 BLAKE2B 6051efde9c58ecc56231cc1671ed51a238b829098b0f91fe69a63d6080e7c6c87ce9510db25661058493a0e9f51382b7391509f4d146d491a0c7d20dda4eb05c SHA512 6191dbf2c4f2312c5caa14d124353894856fa9b97807c357ff916a81e8633cd8c9eeeb23d08fb7fb532dae02e0ecf03328f48e75227714e1ad9d1fc8ce27d224
+DIST loop-AES-v3.8e.tar.bz2.sign 861 BLAKE2B b220acdbd0c9aadd27abcc7c17818d38e791d3dd9c8f007af09a7fbb3bbcd1e6045fa31a3a13d82f5acfb3da1b6a41da6b6631c130abcd665bf3aa896583cc08 SHA512 2c62886e8be40849b8aa44cd36328c121e35428398f742ea3fad1a5cf445e131fe211ed4faeae4c1d2f702a2e4a050a4a5c4ac3eb341b2b5910cb9ce79c5c184
 DIST util-linux-2.39.2.tar.xz 8362220 BLAKE2B 963c257b86f8a025a3452f102656f479382b9e03dd8ce39b9561302b484c595005aa0bbce9b91422d9be038037143772483363c2a1eec569355316fc8d5d5765 SHA512 cebecdd62749d0aeea2c4faf7ad1606426eff03ef3b15cd9c2df1126f216a4ed546d8fc3218c649fa95944eb87a98bb6a7cdd0bea31057c481c5cf608ffc19a3
 DIST util-linux-2.40.1.tar.sign 833 BLAKE2B 2f8537cd4f52e0c203360d081a91f17c2db13c0f6054ef02f967e8fdf03099bb8c42604864003bfb911ea7804033f4020e2f56a933667fc84ac9c4b8d01e9ed5 SHA512 ab73a27fc8601041bf7b8a088586b78c49ca83cf9c8cfe5877280c0b5c607e95695512804335a8c0ac1d243e4433595f44256407fdbfb053451b8ab40d605502
 DIST util-linux-2.40.1.tar.xz 8823784 BLAKE2B a51fcf9b63c033e470da4f4f0094f0f923fdeb5a649a5c59d2d44888e5e741dfd95e589247355296e050d9ec8dc4334c5898453af055abcb30082af6b835a3e3 SHA512 58ec6eb41d4b6bfc544a80e95c71b5f3798ab4d2a9435d3ee9e5edd56f9b3f09bcb154bdd70e002dc018938937e2e946ae731dcda0f86b362fc43423689e41fc
+DIST util-linux-2.40.2.tar.sign 833 BLAKE2B 10aae23d25c1364bac0034d6862df5738c7a405d52198fba1e4e9173a1b2ba9f3d994dacb881d920c3339c0f1018c7dd1c97c7752bdf0e8e634f54235c2b3f5c SHA512 e4ace52333df0c8dd7c8ffc3b813020615c456e06a6978e06c8183ec29896be5af7c25f59e65fc2c2849750d8d7b43043775b8504d6d01f626f1adf296493ce1
+DIST util-linux-2.40.2.tar.xz 8854820 BLAKE2B 8306d651f27db6665e91a937c9f1970938fec5b069636fea3c2688afddebd1a3424f0b0802a034eab049cf7692dd435cf93e82aa5f4a40cc8064d60b4ca59535 SHA512 ffe20b915a518a150401d429b0338bc7022190e4ca0ef91a6d9eea345db8c1e11ad01784163b8fcf978506f3f5cad473f29d5d4ef93a4c66a5ae0ebd9fb0c8f2

diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild
new file mode 100644
index 000000000000..519b56b1f4bf
--- /dev/null
+++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.40.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jariruusu.asc
+UTIL_LINUX_VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/karelzak.asc
+inherit autotools flag-o-matic toolchain-funcs verify-sig
+
+MY_PV="${PV/_/-}"
+MY_P="util-linux-${MY_PV}"
+LOOPAES_P="loop-AES-v3.8e"
+
+DESCRIPTION="Loop-AES losetup utility"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux"
+SRC_URI="
+	https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
+	http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2
+	verify-sig? (
+		https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign
+		http://loop-aes.sourceforge.net/loop-AES/${LOOPAES_P}.tar.bz2.sign
+	)
+"
+S="${WORKDIR}/${MY_P}"
+LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE="nls selinux static"
+
+RDEPEND="
+	selinux? ( >=sys-libs/libselinux-2.2.2-r4 )
+	verify-sig? (
+		>=sec-keys/openpgp-keys-karelzak-20230517
+		>=sec-keys/openpgp-keys-jariruusu-20240521
+	)
+"
+BDEPEND="
+	virtual/pkgconfig
+	nls? (
+		app-text/po4a
+		sys-devel/gettext
+	)
+"
+DEPEND="
+	${RDEPEND}
+	virtual/os-headers
+"
+
+PATCHES=(
+	"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
+)
+
+src_unpack() {
+
+	# Upstream sign the decompressed .tar
+	if use verify-sig ; then
+		einfo "Unpacking ${MY_P}.tar.xz ..."
+		verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign "${UTIL_LINUX_VERIFY_SIG_OPENPGP_KEY_PATH}" \
+			< <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -))
+		assert "Unpack failed"
+		verify-sig_verify_detached "${DISTDIR}"/${LOOPAES_P}.tar.bz2{,.sign}
+		unpack ${LOOPAES_P}.tar.bz2
+	else
+		default
+	fi
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	append-lfs-flags
+
+	ECONF_SOURCE=${S} \
+	econf \
+		--disable-all-programs \
+		--disable-libmount-mountfd-support \
+		--disable-liblastlog2 \
+		--disable-pam-lastlog2 \
+		--disable-pylibmount \
+		--disable-uuidd \
+		--enable-libblkid \
+		--enable-libmount \
+		--enable-libsmartcols \
+		--enable-losetup \
+		--enable-mount \
+		--without-btrfs \
+		--without-libz \
+		--without-libmagic \
+		--without-ncurses \
+		--without-ncursesw \
+		--without-python \
+		--without-readline \
+		--without-systemd \
+		--without-tinfo \
+		--without-udev \
+		--without-util \
+		$(use_enable nls) \
+		$(use_with selinux) \
+		$(tc-has-tls || echo --disable-tls) \
+		$(use_enable static) \
+		$(use static && echo --enable-static-programs=losetup,mount)
+}
+
+src_install() {
+	emake install DESTDIR="${T}/root"
+	newsbin "${T}/root/sbin/losetup" loop-aes-losetup
+	newbin "${T}/root/bin/mount" loop-aes-mount
+	newman "${T}/root/usr/share/man/man8/losetup.8" loop-aes-losetup.8
+	newman "${T}/root/usr/share/man/man8/mount.8" loop-aes-mount.8
+	use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
+	use static && newbin "${T}/root/bin/mount.static" loop-aes-mount.static
+}


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

end of thread, other threads:[~2024-11-13  5:56 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25  6:47 [gentoo-commits] repo/gentoo:master commit in: app-crypt/loop-aes-losetup/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13  5:56 Sam James
2024-11-13  5:56 Sam James
2024-11-13  5:56 Sam James
2024-06-20 16:22 Sam James
2024-06-20 10:31 Sam James
2024-05-25  7:35 Sam James
2024-05-25  6:50 Sam James
2024-05-25  6:47 Sam James
2024-05-25  6:47 Sam James
2024-03-04  7:53 Joonas Niilola
2024-02-01  8:28 Joonas Niilola
2022-08-17 11:54 Andreas Sturmlechner
2020-06-08 13:41 Joonas Niilola
2020-06-08 13:41 Joonas Niilola
2020-06-08 13:41 Joonas Niilola
2017-03-25 21:46 Alon Bar-Lev
2017-03-18 11:21 Alon Bar-Lev
2017-03-05  9:19 Alon Bar-Lev
2017-02-04  1:31 Alon Bar-Lev
2017-01-13 19:16 Alon Bar-Lev
2015-12-24 17:10 Alon Bar-Lev
2015-12-23 11:16 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