diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
commit | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch) | |
tree | 8ac67e26b45f34d71c5aab3621813b100a0d5f00 /app-crypt/loop-aes-losetup | |
parent | f516638b7fe9592837389826a6152a7e1b251c54 (diff) |
gentoo resync : 13.06.2020
Diffstat (limited to 'app-crypt/loop-aes-losetup')
-rw-r--r-- | app-crypt/loop-aes-losetup/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild | 81 | ||||
-rw-r--r-- | app-crypt/loop-aes-losetup/metadata.xml | 9 |
3 files changed, 93 insertions, 2 deletions
diff --git a/app-crypt/loop-aes-losetup/Manifest b/app-crypt/loop-aes-losetup/Manifest index 572aa7d7fb74..40289d75fedd 100644 --- a/app-crypt/loop-aes-losetup/Manifest +++ b/app-crypt/loop-aes-losetup/Manifest @@ -1,4 +1,7 @@ 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 EBUILD loop-aes-losetup-2.28.2.ebuild 2393 BLAKE2B cb7536c3d6c5114fe346c1e37e1164595e31e8b3e6eeff751214d9739b21ed196e68838a7b82acc71ae50a1571cb249be00508f99ba631f4c641c40889fdcc41 SHA512 0fcf7848050017c32d1d570463187522f20b84a5f9fe6f534a72144e0e1039ac3ed4cbe0255637b3f2ffc2a12f9ce164b5777ff60b236cad492771178d797224 -MISC metadata.xml 245 BLAKE2B fd79e41fa297a3b58dc8ff27190cf2ab9bcc28d34e15eccaa176e2638761f6dd98499016f3eb2ade9785947c08bc881db8dd8d90bb7bd87e24661b73467d1429 SHA512 df5fe2c09cd46dcfecbdbe3712375aa0488dc79cbfc077cc3bf97376799609764e387a2cd6c2b0eaf60dc3c247aaa602c3197aedc119d29a79f99ae4c4e2bee6 +EBUILD loop-aes-losetup-2.35.2.ebuild 2178 BLAKE2B 107eeffbd0719d1d89a8ffba218ab9859c9b5ff06a9338d55a6feacd91126a3ebee2419ca781fa870db0c8cc2bd5dc5874cb55ccf6730efbdb964faa335e4922 SHA512 34cdf0cc74b9646bfc2b2d47d1c6c8f35cf051505db1fab8ed7285c86bd633189d29a255e7de1a874412045e7c9770d58fc6035bc2c0bcf079c5a1fdec72fd92 +MISC metadata.xml 444 BLAKE2B 0c31c7861ba6458dd10ef779ca1d7b5a71dceb156e762b8cbed70960766043aa206338561244da09335973f0e03f9b08e6fa5f1b61edf601033c434beb5b562c SHA512 b2f7754872e47e627cf7cefa9ccb1bfc70e7d2c9b36f5b9adbb3094e28b5945436381c9bbef60ba34188a029c3cfe8cadade00fa563e6e4f89afcc0f6516bb81 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 000000000000..1c85353f16ee --- /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 || 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 +} diff --git a/app-crypt/loop-aes-losetup/metadata.xml b/app-crypt/loop-aes-losetup/metadata.xml index 52df7fac7210..41aceca13764 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> |