From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/loop-aes/
Date: Sun, 25 Dec 2022 20:06:26 +0000 (UTC) [thread overview]
Message-ID: <1671998751.cdf9cdf285223e4f96412e52050b43cc9c955611.sam@gentoo> (raw)
commit: cdf9cdf285223e4f96412e52050b43cc9c955611
Author: Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Sun Dec 25 18:32:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 20:05:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf9cdf2
sys-fs/loop-aes: add 3.7z
Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://github.com/gentoo/gentoo/pull/28801
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/loop-aes/Manifest | 1 +
sys-fs/loop-aes/loop-aes-3.7z.ebuild | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/sys-fs/loop-aes/Manifest b/sys-fs/loop-aes/Manifest
index 2b048e8e2cf8..fa1d592dca16 100644
--- a/sys-fs/loop-aes/Manifest
+++ b/sys-fs/loop-aes/Manifest
@@ -1 +1,2 @@
DIST loop-AES-v3.7y.tar.bz2 404257 BLAKE2B b54c38abf9e85b5482a1d0795dc4b41301c9a06dfcfd088999e85ce7ca1adf4a91975482b05bf5eaa7efe7a4a96980475a89c8b98bfcb9f1edceeb5e435fd6ff SHA512 d5882974900ca376cd72bd893ff02670801ffb39286112cb1058adc687c560a2ac8fc4440966db46cf9eb614ed6a79da1e80af1c9588871b451af877b203e86f
+DIST loop-AES-v3.7z.tar.bz2 403715 BLAKE2B 44a64f6f071a2263ba9aec7e9d576ede4761ef12cdded1725f897fdf8f8c8aa0a841bd34380d020159d1509cd78b7f80fd8c0f7f340cc5b35d16690aacfa6e0b SHA512 a682ab0b45b1a7e2f06bcc63555551a08fb6c4af1f8917c72816a07030fa07a041be7620ad20722404186dc5056b01d8ac98aaf85face6bf68336d8608a2dae3
diff --git a/sys-fs/loop-aes/loop-aes-3.7z.ebuild b/sys-fs/loop-aes/loop-aes-3.7z.ebuild
new file mode 100644
index 000000000000..27b95ca5fd2c
--- /dev/null
+++ b/sys-fs/loop-aes/loop-aes-3.7z.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod
+
+MY_P="${PN/aes/AES}-v${PV}"
+
+DESCRIPTION="Linux kernel module to encrypt disk partitions with AES cipher"
+HOMEPAGE="http://loop-aes.sourceforge.net/loop-AES.README"
+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_pkg_setup
+
+ CONFIG_CHECK="!BLK_DEV_LOOP"
+ MODULE_NAMES="loop(block::tmp-d-kbuild)"
+ BUILD_TARGETS="all"
+
+ BUILD_PARAMS=" \
+ V=1 \
+ LINUX_SOURCE=\"${KERNEL_DIR}\" \
+ KBUILD_OUTPUT=\"${KBUILD_OUTPUT}\" \
+ USE_KBUILD=y MODINST=n RUNDM=n"
+ use cpu_flags_x86_aes && BUILD_PARAMS+=" INTELAES=y"
+ use keyscrub && BUILD_PARAMS+=" KEYSCRUB=y"
+ use cpu_flags_x86_padlock && BUILD_PARAMS+=" PADLOCK=y"
+
+ if use extra-ciphers; then
+ MODULE_NAMES="${MODULE_NAMES}
+ loop_blowfish(block::tmp-d-kbuild)
+ loop_serpent(block::tmp-d-kbuild)
+ loop_twofish(block::tmp-d-kbuild)"
+ BUILD_PARAMS+=" EXTRA_CIPHERS=y"
+ fi
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README
+ dodoc ChangeLog
+ dobin loop-aes-keygen
+ doman loop-aes-keygen.1
+
+ into /
+ dosbin build-initrd.sh
+}
+
+pkg_postinst() {
+ linux-mod_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:[~2022-12-25 20:06 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-25 20:06 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-16 18:48 [gentoo-commits] repo/gentoo:master commit in: sys-fs/loop-aes/ Arthur Zamarin
2024-05-25 6:50 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-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=1671998751.cdf9cdf285223e4f96412e52050b43cc9c955611.sam@gentoo \
--to=sam@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