From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA53515838C for ; Sat, 20 Jan 2024 20:18:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D5FCE29CC; Sat, 20 Jan 2024 20:18:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00551E29CC for ; Sat, 20 Jan 2024 20:18:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BC8134320E for ; Sat, 20 Jan 2024 20:18:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AECA1979 for ; Sat, 20 Jan 2024 20:18:27 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1705781880.bbd984ff691240e88f4d62fb807cca09cec06be9.mpagano@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/loop-aes/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/loop-aes/Manifest sys-fs/loop-aes/loop-aes-3.8b.ebuild X-VCS-Directories: sys-fs/loop-aes/ X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: bbd984ff691240e88f4d62fb807cca09cec06be9 X-VCS-Branch: master Date: Sat, 20 Jan 2024 20:18:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 46f1cc82-3ea2-4a3f-b810-e9304cb28924 X-Archives-Hash: fa7c18c653ac13632298421d7988b631 commit: bbd984ff691240e88f4d62fb807cca09cec06be9 Author: Mike Pagano gentoo org> AuthorDate: Thu Nov 23 15:30:32 2023 +0000 Commit: Mike Pagano gentoo org> CommitDate: Sat Jan 20 20:18:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd984ff sys-fs/loop-aes: bump to 3.8b, migrate to linux-mod-r1 Bug: https://bugs.gentoo.org/908721 Signed-off-by: Mike Pagano gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/33945 Signed-off-by: Mike Pagano gentoo.org> sys-fs/loop-aes/Manifest | 1 + sys-fs/loop-aes/loop-aes-3.8b.ebuild | 72 ++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/sys-fs/loop-aes/Manifest b/sys-fs/loop-aes/Manifest index 543b69293b95..22252520d22f 100644 --- a/sys-fs/loop-aes/Manifest +++ b/sys-fs/loop-aes/Manifest @@ -1,2 +1,3 @@ DIST loop-AES-v3.7z.tar.bz2 403715 BLAKE2B 44a64f6f071a2263ba9aec7e9d576ede4761ef12cdded1725f897fdf8f8c8aa0a841bd34380d020159d1509cd78b7f80fd8c0f7f340cc5b35d16690aacfa6e0b SHA512 a682ab0b45b1a7e2f06bcc63555551a08fb6c4af1f8917c72816a07030fa07a041be7620ad20722404186dc5056b01d8ac98aaf85face6bf68336d8608a2dae3 DIST loop-AES-v3.8a.tar.bz2 404078 BLAKE2B fc4bd2999c3cc9fdbdc5e69e57bcad6304f9101773911af0ad8b9d1271837b7da07c7adfbf38355d82dd8e0a5b13a8ab38613e90b964ff07e3e6ace4ade4a688 SHA512 cf89281e964257040bb17c85078a711199126e9624f9b0b019b30115568752c54c07ef77d67f5cc5a0165cad320dd7be7fa3144584d7ef02ad395f1cae9ffcd0 +DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661 diff --git a/sys-fs/loop-aes/loop-aes-3.8b.ebuild b/sys-fs/loop-aes/loop-aes-3.8b.ebuild new file mode 100644 index 000000000000..e74a90959434 --- /dev/null +++ b/sys-fs/loop-aes/loop-aes-3.8b.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod-r1 + +MY_P="${PN/aes/AES}-v${PV}" + +DESCRIPTION="Linux kernel module to encrypt disk partitions with AES cipher" +HOMEPAGE="https://sourceforge.net/projects/loop-aes/" +SRC_URI="http://loop-aes.sourceforge.net/loop-AES/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86" +IUSE="cpu_flags_x86_aes extra-ciphers keyscrub cpu_flags_x86_padlock" + +DEPEND="app-crypt/loop-aes-losetup" + +PATCHES=( "${FILESDIR}"/loop-aes-3.7w-build-initrd_explicit-losetup.patch ) + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + linux-mod-r1_pkg_setup + + CONFIG_CHECK="!BLK_DEV_LOOP" +} + +src_compile() { + local modlist=( loop=block::tmp-d-kbuild:all ) + local modargs=( VAR="${KV_OUT_DIR}" + LINUX_SOURCE="${KERNEL_DIR}" + KBUILD_OUTPUT="${KBUILD_OUTPUT}" + USE_KBUILD=y MODINST=n RUNDM=n ) + + if use extra-ciphers; then + modlist+=( + loop_blowfish=block::tmp-d-kbuild:all + loop_serpent=block::tmp-d-kbuild:all + loop_twofish=block::tmp-d-kbuild:all ) + modargs+=( EXTRA_CIPHERS=y ) + fi + + use cpu_flags_x86_aes && modargs+=( INTELAES=y ) + use keyscrub && modargs+=( KEYSCRUB=y ) + use cpu_flags_x86_padlock && modargs+=( PADLOCK=y ) + + linux-mod-r1_src_compile +} + +src_install() { + linux-mod-r1_src_install + + dodoc README + dodoc ChangeLog + dobin loop-aes-keygen + doman loop-aes-keygen.1 + + into / + dosbin build-initrd.sh +} + +pkg_postinst() { + linux-mod-r1_pkg_postinst + + einfo + einfo "For more instructions take a look at examples in README at:" + einfo "'${EPREFIX}/usr/share/doc/${PF}'" + einfo +}