* [gentoo-commits] repo/proj/guru:master commit in: app-antivirus/lkrg/
@ 2022-03-07 15:15 Ronny Gutbrod
0 siblings, 0 replies; only message in thread
From: Ronny Gutbrod @ 2022-03-07 15:15 UTC (permalink / raw
To: gentoo-commits
commit: 07769e5753630a1df8dfc2f1c0ff0fb6c190b4ed
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Feb 9 20:41:37 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sat Mar 5 01:34:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=07769e57
app-antivirus/lkrg: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-antivirus/lkrg/Manifest | 1 +
app-antivirus/lkrg/lkrg-0.9.1_p20211124.ebuild | 33 ++++++++++++++++++++++++++
app-antivirus/lkrg/metadata.xml | 8 +++++++
3 files changed, 42 insertions(+)
diff --git a/app-antivirus/lkrg/Manifest b/app-antivirus/lkrg/Manifest
new file mode 100644
index 000000000..a4075e7a0
--- /dev/null
+++ b/app-antivirus/lkrg/Manifest
@@ -0,0 +1 @@
+DIST lkrg-0.9.1_p20211124.tar.gz 128174 BLAKE2B 6380bdb0207e7fc8d0a8d4885db4fdd7c849b9e479bf223c655640cf0676da8b90f873e334e6750038197f489d0aeb0b4b1cd5fd5ef408267e1fe5170b8f3207 SHA512 461bbd94f11d5a1b1451c6a42777324198a60fd418b86bebbc0426a04057bb112840784701225f27cf4fadfbe8c560c47086f378ec7f02efd8636305cc38ef63
diff --git a/app-antivirus/lkrg/lkrg-0.9.1_p20211124.ebuild b/app-antivirus/lkrg/lkrg-0.9.1_p20211124.ebuild
new file mode 100644
index 000000000..ab6d1711d
--- /dev/null
+++ b/app-antivirus/lkrg/lkrg-0.9.1_p20211124.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+HASH_COMMIT="819b01bdeae127fc3afb648aaaf53249863fa024"
+
+inherit linux-mod linux-info
+
+DESCRIPTION="Linux Kernel Runtime Guard"
+HOMEPAGE="https://www.openwall.com/lkrg"
+SRC_URI="https://github.com/openwall/lkrg/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${HASH_COMMIT}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+MODULE_NAMES="p_lkrg(misc:${S}:${S})"
+
+pkg_setup() {
+ local CONFIG_CHECK="MODULE_UNLOAD KALLSYMS_ALL JUMP_LABEL"
+ linux-mod_pkg_setup
+
+ # compile against selected (not running) target
+ BUILD_PARAMS="P_KVER=${KV_FULL} P_KERNEL=${KERNEL_DIR}"
+ BUILD_TARGETS="all"
+}
+
+pkg_postinst() {
+ einfo "Usage:"
+ einfo "modprobe p_lkrg p_init_log_level=3"
+}
diff --git a/app-antivirus/lkrg/metadata.xml b/app-antivirus/lkrg/metadata.xml
new file mode 100644
index 000000000..6c0bdfd68
--- /dev/null
+++ b/app-antivirus/lkrg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-07 15:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-07 15:15 [gentoo-commits] repo/proj/guru:master commit in: app-antivirus/lkrg/ Ronny Gutbrod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox