public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/loop-aes/
Date: Sat, 13 Mar 2021 07:31:01 +0000 (UTC)	[thread overview]
Message-ID: <1615620653.a1d313fc7ff449f266811f650d6651d471c4a626.juippis@gentoo> (raw)

commit:     a1d313fc7ff449f266811f650d6651d471c4a626
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Fri Mar 12 21:10:07 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 07:30:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d313fc

sys-fs/loop-aes: version bump to 3.7t

Per upstream, this version adds support for 5.11 kernels.

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-fs/loop-aes/Manifest             |  1 +
 sys-fs/loop-aes/loop-aes-3.7t.ebuild | 71 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/sys-fs/loop-aes/Manifest b/sys-fs/loop-aes/Manifest
index 0a05b6c7405..03925c80f3a 100644
--- a/sys-fs/loop-aes/Manifest
+++ b/sys-fs/loop-aes/Manifest
@@ -1,3 +1,4 @@
 DIST loop-AES-v3.7n.tar.bz2 373901 BLAKE2B 5cac9bd55f35a6cf0c056a6a2e75a48f49c1d23b7ebe1821e10dab522508e64ed23e5993dbcc19dbdeaab6c315ee4e71c8ecc17d9da41a5ad0794abc92563d7e SHA512 d190561f92a47292285e44c728bf1fcf9b7dd9c54f970ebc11a2988686f409515687a22028187756baaa4622903564e2646971a63eba13557c6ce78dc1f0bb96
 DIST loop-AES-v3.7q.tar.bz2 376027 BLAKE2B 7f3206196fcb7ecc928bda4cd127042f61cd5ac7f39e483fb91db388572be1c8e252d5c4adb653e6fd00ff6a7ba4c1406c35f2b2659e9cb38fd817f1bdb2a15f SHA512 103869695f6b18bcc765804865468db4b24fc2fcce3ec97d8468fdc0bd37c480386960730e280cd93c707026dddc5e79d8d25e2601c3678330e016835166ad20
 DIST loop-AES-v3.7s.tar.bz2 376972 BLAKE2B 0a4dcc6aeadfad5c33b01b48c53d6df55925be2cc0f85c2e96b61b15a60d42d7868fa9c32ad5ef3a13caa5e1ab4407792aad32cd60a57b094348b355cd688b22 SHA512 25f7d9218ae83c4c1fb5294bc405267c3a4e20954fbd7a45effb70ebef4014625b8cc93c7d69be220da4a04f4cd4b429763273cdb6cda497a6a31888d47ca1d1
+DIST loop-AES-v3.7t.tar.bz2 377808 BLAKE2B 77a6baa31be9efc84504e6eaccca87193180b26ec6f6dc824480453e78905f8763c08fd72a63c18950796ad0b70ad8be2ed26e107cded6dcaddd96433dfa7f56 SHA512 cb0dcbfa7639f8d2c1990465a44cbcd6d4bf065b1df9178f4dd524a8b8ddd05ebb860e6a9d9425b4a22b9c74342bf3ff232ff777be9b5458bdabe54f4097ecef

diff --git a/sys-fs/loop-aes/loop-aes-3.7t.ebuild b/sys-fs/loop-aes/loop-aes-3.7t.ebuild
new file mode 100644
index 00000000000..116820a36e6
--- /dev/null
+++ b/sys-fs/loop-aes/loop-aes-3.7t.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+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
+	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
+	einfo "If you have a newer Intel processor (i5, i7), and you use AES"
+	einfo "you may want to consider using the aes-ni use flag. It will"
+	einfo "use your processors native AES instructions giving quite a speed"
+	einfo "increase."
+	einfo
+}


             reply	other threads:[~2021-03-13  7:31 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-13  7:31 Joonas Niilola [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-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
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=1615620653.a1d313fc7ff449f266811f650d6651d471c4a626.juippis@gentoo \
    --to=juippis@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