From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/loop-aes/
Date: Fri, 16 Aug 2024 18:48:34 +0000 (UTC) [thread overview]
Message-ID: <1723834104.6b07ea31db6ade625a73d86ba60d74c15f9ca0dc.arthurzam@gentoo> (raw)
commit: 6b07ea31db6ade625a73d86ba60d74c15f9ca0dc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 18:48:00 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 18:48:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b07ea31
sys-fs/loop-aes: add 3.8d
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-fs/loop-aes/Manifest | 2 +
sys-fs/loop-aes/loop-aes-3.8d.ebuild | 82 ++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/sys-fs/loop-aes/Manifest b/sys-fs/loop-aes/Manifest
index d06fb0cd0f83..b3b79b6c9c0a 100644
--- a/sys-fs/loop-aes/Manifest
+++ b/sys-fs/loop-aes/Manifest
@@ -1,3 +1,5 @@
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.sig 861 BLAKE2B aa6c3e2b1e0ab604d92ae6c09fed992f629c7f61b7b62e6d073600f72973ace430e5e0964174a40b63eb703ede4f53098c6deb8af13d663e0bb147a2138a6635 SHA512 44ca990fdf55e8c03e85139dfc07dde5ad1cbd3944060ee2c15b3ce54656b7836e7a8839d237a53361c3ba7bdafda39cbbab0f03bd1952e679d1a3a3c2f0930b
+DIST loop-AES-v3.8d.tar.bz2 419860 BLAKE2B 67362b54d031df928080c97e5143eb80b6b3f2b89c4b2b318794bfa1cf79e9092d312e0dd42a70599b5b4684643f18477203a8ed901ebc13d77dcfbc0f625801 SHA512 10abb0e2719225f74fc01c443cf5fa741dc40548ba342158e5fdaf40934dd50db0b624125073eab04084b8d2245ccd353bf5d1027509e251566940f99576fce0
+DIST loop-AES-v3.8d.tar.bz2.sig 861 BLAKE2B 7835b504cf507a9b70c0fc75ae2a052223f6b8077f6b616a4c0ecf4158ff9cdaf91ca407098195b8bff487db3208519220fd9270b75a75c2b2a037714fedab28 SHA512 57f8da54e3138a3bbc34b312df8efca9346de54e17299ad3308b4b3a859925e19c15eed7e6727c28a5214274e4d48acf8ac4748666032ca0133d0088b9ee3990
diff --git a/sys-fs/loop-aes/loop-aes-3.8d.ebuild b/sys-fs/loop-aes/loop-aes-3.8d.ebuild
new file mode 100644
index 000000000000..03ca24a9e59c
--- /dev/null
+++ b/sys-fs/loop-aes/loop-aes-3.8d.ebuild
@@ -0,0 +1,82 @@
+# 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"
+inherit linux-mod-r1 verify-sig
+
+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="
+ https://loop-aes.sourceforge.net/loop-AES/${MY_P}.tar.bz2
+ verify-sig? (
+ https://loop-aes.sourceforge.net/loop-AES/${MY_P}.tar.bz2.sign
+ -> ${MY_P}.tar.bz2.sig
+ )
+"
+S="${WORKDIR}/${MY_P}"
+
+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"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-jariruusu )"
+
+PATCHES=(
+ "${FILESDIR}"/loop-aes-3.7w-build-initrd_explicit-losetup.patch
+ "${FILESDIR}"/loop-aes-3.8c-build-initrd_nvme.patch
+)
+
+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
+}
next reply other threads:[~2024-08-16 18:48 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 18:48 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-25 6:50 [gentoo-commits] repo/gentoo:master commit in: sys-fs/loop-aes/ Sam James
2024-05-25 6:47 Sam James
2024-05-25 6:47 Sam James
2024-05-25 6:47 Sam James
2024-03-04 7:53 Joonas Niilola
2024-01-20 20:18 Mike Pagano
2023-03-23 7:20 Sam James
2023-03-23 7:20 Sam James
2022-12-25 20:06 Sam James
2022-12-25 20:06 Sam James
2022-11-14 14:31 Joonas Niilola
2022-11-14 14:31 Joonas Niilola
2022-07-10 22:51 Sam James
2022-07-10 22:51 Sam James
2021-10-20 1:51 Sam James
2021-09-26 21:01 Sam James
2021-09-26 21:01 Sam James
2021-03-13 7:31 Joonas Niilola
2021-03-13 7:31 Joonas Niilola
2020-11-11 7:56 Joonas Niilola
2020-08-08 12:18 Mikle Kolyada
2020-07-20 13:01 Joonas Niilola
2020-06-08 13:41 Joonas Niilola
2020-06-08 13:41 Joonas Niilola
2019-07-08 15:07 Alon Bar-Lev
2019-03-20 22:00 Alon Bar-Lev
2019-03-14 17:30 Alon Bar-Lev
2018-09-27 23:55 Alon Bar-Lev
2018-04-19 22:20 Alon Bar-Lev
2017-12-07 17:40 Alon Bar-Lev
2017-10-07 8:22 Alon Bar-Lev
2017-05-20 17:58 Alon Bar-Lev
2017-03-25 21:46 Alon Bar-Lev
2017-02-04 1:31 Alon Bar-Lev
2016-06-11 16:44 Agostino Sarubbo
2016-05-22 18:37 Alon Bar-Lev
2015-12-23 13:50 Alon Bar-Lev
2015-10-15 14:07 Alon Bar-Lev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1723834104.6b07ea31db6ade625a73d86ba60d74c15f9ca0dc.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox