summaryrefslogtreecommitdiff
path: root/app-antivirus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-12 00:01:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-12 00:01:15 +0100
commitd72a987a342949e200b5e9decbd71f246da53788 (patch)
treeea9d3f4ec74bd6ab18582852d7958d3f3176dfea /app-antivirus
parentc035b2b83f0e94c4b2e82184f00bcef874e6276b (diff)
gentoo auto-resync : 12:05:2024 - 00:01:15
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/Manifest.gzbin883 -> 888 bytes
-rw-r--r--app-antivirus/lkrg/Manifest3
-rw-r--r--app-antivirus/lkrg/lkrg-0.9.8.ebuild60
3 files changed, 63 insertions, 0 deletions
diff --git a/app-antivirus/Manifest.gz b/app-antivirus/Manifest.gz
index a55af1e9da29..66062db4824d 100644
--- a/app-antivirus/Manifest.gz
+++ b/app-antivirus/Manifest.gz
Binary files differ
diff --git a/app-antivirus/lkrg/Manifest b/app-antivirus/lkrg/Manifest
index 55cf0e3e5e67..dc919a869337 100644
--- a/app-antivirus/lkrg/Manifest
+++ b/app-antivirus/lkrg/Manifest
@@ -3,6 +3,9 @@ DIST lkrg-0.9.6.tar.gz 129563 BLAKE2B d4a39a080312d8cb04152e613b96e0ce882ea9ba50
DIST lkrg-0.9.6.tar.gz.sign 801 BLAKE2B 2ed63da40ff75c7faee198e5de73ee7be5903c00a3b1cc2f6acda53274bcf8665183cefbf36749a30b0fd78c38ac8dc1fceeb5f37772e3d335ab22c133fdfa91 SHA512 3e9c3df84991a3f4bd2e71069c1fe76021cd9289b82a1dfaaf9a26fdd9ff94840a728b90235db3f185dc143402a3770a247bf8c70d098f170921ec811d9e5299
DIST lkrg-0.9.7.tar.gz 130913 BLAKE2B b6cda651e3c098f17148457be4e056315bfe8d5bb52a8051e9eff422f8deadb7d1e72420d99fa29704fc0216eafe0153b8a6f0c945e55ac5ee71a17043303f2f SHA512 bf1af6d1a4d6811a6e7a17473260c93632e2c0a0b92a2a2ea4a8c2a75a1aaa0811b5bcdb399d9bff8444d5af3b8f4d8394b9b862cd9607fa57a614472553e99c
DIST lkrg-0.9.7.tar.gz.sign 801 BLAKE2B ecb6f4521d0badd6b289bee0e68f6cff5d1dad3be74a8f7b32c828322fa12550d93291eeedff6e848e6db8805be7717cecc6d75cf4404481067f57200123f34e SHA512 66859311a9320b150e4783e389d2e0df32e04fc35ce3a2a4ac6a488215300677fdd63928e9a877a5fdaf44800cb403cc3ce6de8423adaa15fa3b9fc92b7537a5
+DIST lkrg-0.9.8.tar.gz 160156 BLAKE2B 6d07527b5c5b2bddd480a49090a4e4d448e37398c24aeda6bb4d21994f5fe6c2787538cb20d57ac57d38668c2b23b58a3502c96be2e65641fbee596f0d0ec2ca SHA512 86d08f0c0168244ea48fb510e20356f24d8134c96b53b454dc22e7a67fe513b6b57ef946a28288f917f4deca59bcc073401ee2e71d46dad4e634a12c60fe5371
+DIST lkrg-0.9.8.tar.gz.sign 801 BLAKE2B 7c205f33954a18aa7a405533f5541a0f7a0fbcc02502fcd05a7bead20b6f5028ec8c582fc539904a91f6c5faae46ac2fb4633f5be93e6a5535ea2cfd28918146 SHA512 577c183d4f7912351f86cf121494a690ce0f40b6cf16c64b9e28dbd5fb127f7461d9602619b53e3117cb820689e2b09f020ecdfc54a799ba8bbd1bc082024c5c
EBUILD lkrg-0.9.6-r1.ebuild 1231 BLAKE2B 9d1523dd1847e0cbee6d32226b63130704b821d10946af210fd0507311cca2758faa5c02789277cf11fd46a4c6adefa784fa3430058766fb264d48df6eefb798 SHA512 d741cd4d0a3b3f5d00b3a864ffc6fe94ea0ba3447cc2ee88b88d411214e40c1f55e8463c8c24a9d574668086a610dc81654e19566425e3ffe4bba111b9770702
EBUILD lkrg-0.9.7.ebuild 1231 BLAKE2B 9d1523dd1847e0cbee6d32226b63130704b821d10946af210fd0507311cca2758faa5c02789277cf11fd46a4c6adefa784fa3430058766fb264d48df6eefb798 SHA512 d741cd4d0a3b3f5d00b3a864ffc6fe94ea0ba3447cc2ee88b88d411214e40c1f55e8463c8c24a9d574668086a610dc81654e19566425e3ffe4bba111b9770702
+EBUILD lkrg-0.9.8.ebuild 1392 BLAKE2B 649458c0fe2d7f240f302b5a8e1b2f912497310ad07f71fb0309a8e0e31566ee49067f17febbb838e4104366041237a1d1f3fef3e51a4ad2225f9fbc1ac70b43 SHA512 d6e418c9e69413188098d29be3671249f8d9f61596628e0aaa4b6427e4683a28cc485bd539a2b9de9b1393077bbc15a1016c44aeac373f4e16a2253625330d8a
MISC metadata.xml 326 BLAKE2B 01848278e317c44c65d36ffb73d68b87981796f69301447a32ea47f93bc1fda9ca82e7b8036310e733bf1f0ab67a4e31868e48e0c720023a016ae9f743b72f59 SHA512 afa115a36eeb4290c82de2be302f5432294beb26e3d4709de0c67df693694bcdd73573ca24b404493af492e958698c257f4b48395c29d4ab46a9796e871bcc3a
diff --git a/app-antivirus/lkrg/lkrg-0.9.8.ebuild b/app-antivirus/lkrg/lkrg-0.9.8.ebuild
new file mode 100644
index 000000000000..c26305babfb6
--- /dev/null
+++ b/app-antivirus/lkrg/lkrg-0.9.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1 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="/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-r1_pkg_setup
+}
+
+src_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.sign}
+ fi
+
+ default
+}
+
+src_compile() {
+ local modlist=( lkrg )
+ local modargs=(
+ P_KVER="${KV_FULL}"
+ P_KERNEL="${KERNEL_DIR}"
+ )
+ linux-mod-r1_src_compile
+
+ emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" -C logger
+}
+
+src_install() {
+ # logger target not included by all
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" -C logger install
+
+ linux-mod-r1_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
+}