mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
app-antivirus/lkrg: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
app-antivirus/lkrg/Manifest
Normal file
1
app-antivirus/lkrg/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST lkrg-0.9.1_p20211124.tar.gz 128174 BLAKE2B 6380bdb0207e7fc8d0a8d4885db4fdd7c849b9e479bf223c655640cf0676da8b90f873e334e6750038197f489d0aeb0b4b1cd5fd5ef408267e1fe5170b8f3207 SHA512 461bbd94f11d5a1b1451c6a42777324198a60fd418b86bebbc0426a04057bb112840784701225f27cf4fadfbe8c560c47086f378ec7f02efd8636305cc38ef63
|
||||
33
app-antivirus/lkrg/lkrg-0.9.1_p20211124.ebuild
Normal file
33
app-antivirus/lkrg/lkrg-0.9.1_p20211124.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
8
app-antivirus/lkrg/metadata.xml
Normal file
8
app-antivirus/lkrg/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user