From 8aceb97f333a8e6a9f920793efd81ea2928a5290 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Wed, 24 Mar 2021 22:36:05 +0800 Subject: [PATCH] lkrg-0.8.1_p20210341.ebuild --- app-antivirus/lkrg/Manifest | 2 ++ app-antivirus/lkrg/lkrg-0.8.1.ebuild | 30 ++++++++++++++++ .../lkrg/lkrg-0.8.1_p20210341.ebuild | 36 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 app-antivirus/lkrg/lkrg-0.8.1.ebuild create mode 100644 app-antivirus/lkrg/lkrg-0.8.1_p20210341.ebuild diff --git a/app-antivirus/lkrg/Manifest b/app-antivirus/lkrg/Manifest index 1d2445960..40ac8a856 100644 --- a/app-antivirus/lkrg/Manifest +++ b/app-antivirus/lkrg/Manifest @@ -1,2 +1,4 @@ DIST lkrg-0.6.tar.gz 78757 BLAKE2B 0b6d3ba5362bd74176dc6bf8766ae8b25326e29088247209804b45e153b190247289f066044cbf81ee6613e8d56fc4f51ccc5c51c3998c26856c27e73e40f1ed SHA512 5e623e6e8eb685f6a6015b53319a5c62121667dc0b5ecb278ad471723f6441455dad528e363552f14a52beebc0f2d2bfb59f64bf6d21f6bda1156c05c686cc31 DIST lkrg-0.7.tar.gz 85674 BLAKE2B 355fa15d189c22d6d25d22ce63723c235ce313a85153d65920f5d4f5950fd3cbcb0de8a9736c6255c1a87ede781d2728634b8bb0acd9a14e2cee561e3f9632ab SHA512 6f856d31aa79705e38a5436a47cb4e3f414a7734794713e6831426f1eda0f36ff1800e94dbfa9b211ab5b85055716c9b4839a8e46d292c9de95fc57b6cc02519 +DIST lkrg-0.8.1.tar.gz 107103 BLAKE2B b46832f84d5bfb82c6aac7f8c8af8c963ed6462fdf2b62710a6ac90e8f905356725b618af642cdbc2c24c5bdf5d4c0a3f0f255b7c89d2ed80d0ab865dea5e795 SHA512 38dd9e4d3b5a3011a23b94ca6e63ce61816a98e329eb8e5f127928d42e7ba3fa0acf2679d00327c77a1bc1e351200916a22a54a1a6b17297d0affc466a1e5e74 +DIST lkrg-0.8.1_p20210341.tar.gz 112315 BLAKE2B 540b2b705ff7c13d705efb771190b66f25200cdb4322d8b2bc85a37518b736cc93c219c6b74ffc1010021dd3841add758c9549cbee0ecf52be69bb5dc79fba3a SHA512 f9a1126617dc313d6186dcb7336e7e92c2d87c60dc2bf8361578cc81abb83bc8cdb9805a4d8cdd55119a2974287aff6ab7d01905c6b52dd65895041c6188e8e9 diff --git a/app-antivirus/lkrg/lkrg-0.8.1.ebuild b/app-antivirus/lkrg/lkrg-0.8.1.ebuild new file mode 100644 index 000000000..510f9997f --- /dev/null +++ b/app-antivirus/lkrg/lkrg-0.8.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-mod linux-info + +DESCRIPTION="Linux Kernel Runtime Guard" +HOMEPAGE="https://www.openwall.com/lkrg/" +SRC_URI="https://www.openwall.com/lkrg/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="" + +MODULE_NAMES="p_lkrg(misc:${S}:${S})" +BUILD_TARGETS="clean all" +CONFIG_CHECK="JUMP_LABEL" + +pkg_setup() { + linux-mod_pkg_setup + #compile against selected (not running) target + BUILD_PARAMS="P_KVER=${KV_FULL} P_KERNEL=${KERNEL_DIR}" +} + +pkg_postinst() { + einfo "\nUsage:" + einfo "\n ~$ modprobe p_lkrg p_init_log_level=3\n" +} diff --git a/app-antivirus/lkrg/lkrg-0.8.1_p20210341.ebuild b/app-antivirus/lkrg/lkrg-0.8.1_p20210341.ebuild new file mode 100644 index 000000000..36f6fe69f --- /dev/null +++ b/app-antivirus/lkrg/lkrg-0.8.1_p20210341.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-mod linux-info + +DESCRIPTION="Linux Kernel Runtime Guard" +HOMEPAGE="https://www.openwall.com/lkrg/" +HASH_COMMIT="b9ff71131d2816abdb882ec90b7edc86a0889e8b" +SRC_URI="https://github.com/openwall/lkrg/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" +#SRC_URI="https://www.openwall.com/lkrg/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/${PN}-${HASH_COMMIT}" + +MODULE_NAMES="p_lkrg(misc:${S}:${S})" +BUILD_TARGETS="clean all" +CONFIG_CHECK="JUMP_LABEL" + + +pkg_setup() { + linux-mod_pkg_setup + #compile against selected (not running) target + BUILD_PARAMS="P_KVER=${KV_FULL} P_KERNEL=${KERNEL_DIR}" +} + +pkg_postinst() { + einfo "\nUsage:" + einfo "\n ~$ modprobe p_lkrg p_init_log_level=3\n" +}