mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-crypt/loop-aes-losetup: add 2.41.1
Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://bugs.gentoo.org/965654 Part-of: https://github.com/gentoo/gentoo/pull/44530 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
parent
2959a4eabf
commit
ca50fbf5d6
@ -2,7 +2,11 @@ DIST loop-AES-v3.8c.tar.bz2 419257 BLAKE2B dd7fe8e4fbc3b58e11ef5440ea81b65d9a1e9
|
||||
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 loop-AES-v3.8g.tar.bz2 422019 BLAKE2B 075c0dc8df5336b6526a11b4b21d6e113e1752f14e1edcc5876c3f2c6f8ab20a380cc7a549be73cd6914a59b6de42f794d5c0d866b98f02a484e3b3ce08b39f3 SHA512 80a25302b3e541e577bc6f38777ac214b971a72380720707fe89ade10c9baf2565a2586e43230e31cfd6089de1e939a88abe054f618db5f224f56358ba9489f0
|
||||
DIST loop-AES-v3.8g.tar.bz2.sign 861 BLAKE2B 584bb2037617a44022c43f5ae4db17a3c9f9c6acdbcaf0dc89c656259ab30209919307e075bc485a82fc20044791ea80adb0d86d4ba7e93560a74b2856ad615b SHA512 7375e0a0a9f1c791b688e90ce100bdee120faf9e7a87b6e9ce582c88d24d9192c3a4513ac31cb0bc2d37494996056cd345ccec78ce7f22afb30453a31851da37
|
||||
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
|
||||
DIST util-linux-2.41.1.tar.sign 833 BLAKE2B ee9d199bf6e073d1c55ee99e9b8e997e59b0c7dd1cf0ee4fa1799540887c473e23a87704a2095c461fd52aea0c765e011504d19c87a681709a96475bd5bc3e35 SHA512 0cf22edee77269142738d6e7587381be3ddc443a1c524e398c1867849297919b27ef18f5bab0b721c890d7cad93cb6dbbe6c89b099d7aa688840711852867101
|
||||
DIST util-linux-2.41.1.tar.xz 9606156 BLAKE2B 0734e461837d825a8c0f770061cc005cef9238beea15dd900283481bcec66a971492a898cd44581e889fd1af25cf631e16a687d3f0df0a86a8caa15e7f45c935 SHA512 12cf37ab2d62d0378b16a40e0194ef7131ef1ad06737cca3f169cfc04b9da08a4233076c819b30705e8fb2c3b8d91a1d83aac4f036ce58b9cf5928f545e511a2
|
||||
|
||||
117
app-crypt/loop-aes-losetup/loop-aes-losetup-2.41.1.ebuild
Normal file
117
app-crypt/loop-aes-losetup/loop-aes-losetup-2.41.1.ebuild
Normal file
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2025 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.8g"
|
||||
|
||||
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
|
||||
verify-sig? (
|
||||
https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign
|
||||
https://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
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/os-headers
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? (
|
||||
app-text/po4a
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
local myeconfargs=(
|
||||
--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)
|
||||
)
|
||||
ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user