diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 07:47:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 07:47:44 +0000 |
commit | fcefa9aa213e0ff26901b351fccd47393113ae5d (patch) | |
tree | 16ff06e1d47c8dc06b954f726f24cd6f941e3596 /app-antivirus/lkrg | |
parent | 8bb75334c4b9f91e9f95784e986ed31b4bc11f92 (diff) |
gentoo auto-resync : 19:12:2022 - 07:47:44
Diffstat (limited to 'app-antivirus/lkrg')
-rw-r--r-- | app-antivirus/lkrg/Manifest | 3 | ||||
-rw-r--r-- | app-antivirus/lkrg/lkrg-0.9.6.ebuild | 50 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-antivirus/lkrg/Manifest b/app-antivirus/lkrg/Manifest index 8b96862a11ed..0fa963e57ffb 100644 --- a/app-antivirus/lkrg/Manifest +++ b/app-antivirus/lkrg/Manifest @@ -1,5 +1,8 @@ AUX lkrg-0.9.4-gentoo-paths.patch 717 BLAKE2B cd30d1390ee9df058b93b8c7cfb4f5620084ddcbd7d3bb7c0f8db4b66e16e476314f55dd80ebe1084ea408d516e4857fb1ba5c9767b47255a3b76c756bc35bfa SHA512 5b510e93c676d9ff5c8b0176856dc319302e58e8a45729af0767faffd0189e6fccddbecb656d08926281b35da810e10d8f2c4434b1032e99a31375041374acaa DIST lkrg-0.9.5.tar.gz 128061 BLAKE2B 2b8a462033123e310761f84e1ab9e6c914c34a437957566f9a054a625aca2e90aea8c00673b67e178b98b27078f71870f16a7308b38a8e5506cc421af3065648 SHA512 ae735f14bcb92e964a2a1d4cf11f44d8589ebf7b09634799ce38f2b27e9df9eb53e6dc00818df743a20de947ea402dcdcd8bee274b0954addf742547333d939a DIST lkrg-0.9.5.tar.gz.sign 801 BLAKE2B 126796abbfe30914910634a31699bc1a2f3889c3569e79610a802a6a6312fda0e388552932bcdc58f9366f790a14c139bafe4443de4ad3dfd66003c3d75f4c71 SHA512 b1ef470962ce45f01d8f26d057ba8fff794c72cbf93cd1559af138a4fa82ebd80c127536c1d50a96365c433246c832f18f2924584bf533f8dcd247d1d38090a8 +DIST lkrg-0.9.6.tar.gz 129563 BLAKE2B d4a39a080312d8cb04152e613b96e0ce882ea9ba50b2ffaef2468a1133ebc5d39c991f4b91ca6c51f26612a89dc23a76887beb1336d9a480d8639089f693eff1 SHA512 08c109ffbe7f15ff60ed1958640f43194b96b16c75bd91c1e209e2f93a2b97f60f0b9ed00ccc13effbbf06092fc3c432dfb55f94b9e181a6cd2b30a1ea8ee653 +DIST lkrg-0.9.6.tar.gz.sign 801 BLAKE2B 2ed63da40ff75c7faee198e5de73ee7be5903c00a3b1cc2f6acda53274bcf8665183cefbf36749a30b0fd78c38ac8dc1fceeb5f37772e3d335ab22c133fdfa91 SHA512 3e9c3df84991a3f4bd2e71069c1fe76021cd9289b82a1dfaaf9a26fdd9ff94840a728b90235db3f185dc143402a3770a247bf8c70d098f170921ec811d9e5299 EBUILD lkrg-0.9.5.ebuild 1229 BLAKE2B 5f4e9d01eb643abf6a66a7365317cff9ff0d125408e0eaefa504e53cf2421534851859a685eae19408955074a4eb27f6c52114046411f2af3306f47373962ec1 SHA512 65ba0f718f1eb096564a0338126b157f61737d2354d2831de40b29a94e32bbd869597e270d4aed405f95419a82df635e805011a8472773f3a0d0b8acdade29d4 +EBUILD lkrg-0.9.6.ebuild 1229 BLAKE2B 5f4e9d01eb643abf6a66a7365317cff9ff0d125408e0eaefa504e53cf2421534851859a685eae19408955074a4eb27f6c52114046411f2af3306f47373962ec1 SHA512 65ba0f718f1eb096564a0338126b157f61737d2354d2831de40b29a94e32bbd869597e270d4aed405f95419a82df635e805011a8472773f3a0d0b8acdade29d4 MISC metadata.xml 326 BLAKE2B 01848278e317c44c65d36ffb73d68b87981796f69301447a32ea47f93bc1fda9ca82e7b8036310e733bf1f0ab67a4e31868e48e0c720023a016ae9f743b72f59 SHA512 afa115a36eeb4290c82de2be302f5432294beb26e3d4709de0c67df693694bcdd73573ca24b404493af492e958698c257f4b48395c29d4ab46a9796e871bcc3a diff --git a/app-antivirus/lkrg/lkrg-0.9.6.ebuild b/app-antivirus/lkrg/lkrg-0.9.6.ebuild new file mode 100644 index 000000000000..121872fefc44 --- /dev/null +++ b/app-antivirus/lkrg/lkrg-0.9.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod linux-info systemd verify-sig + +DESCRIPTION="Linux Kernel Runtime Guard" +HOMEPAGE="https://lkrg.org" +SRC_URI="https://lkrg.org/download/${P}.tar.gz + verify-sig? ( https://lkrg.org/download/${P}.tar.gz.sign )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-openwall )" + +MODULE_NAMES="lkrg(misc:${S}:${S})" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/openwall.asc" + +PATCHES=( "${FILESDIR}/${PN}-0.9.4-gentoo-paths.patch" ) + +pkg_setup() { + CONFIG_CHECK="HAVE_KRETPROBES KALLSYMS_ALL KPROBES JUMP_LABEL" + CONFIG_CHECK+=" MODULE_UNLOAD !PREEMPT_RT ~STACKTRACE" + linux-mod_pkg_setup + + # compile against selected (not running) target + BUILD_PARAMS="P_KVER=${KV_FULL} P_KERNEL=${KERNEL_DIR}" + BUILD_TARGETS="all" +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.sign} + fi + + default +} + +src_install() { + linux-mod_src_install + + systemd_dounit scripts/bootup/systemd/lkrg.service + newinitd scripts/bootup/openrc/lkrg lkrg.initd + + insinto /lib/sysctl.d + newins scripts/bootup/lkrg.conf 01-lkrg.conf +} |