* [PR PATCH] New package: LKRG-0.9.8
@ 2024-06-03 1:02 Calandracas606
2024-09-02 1:56 ` github-actions
2024-09-16 2:00 ` [PR PATCH] [Closed]: " github-actions
0 siblings, 2 replies; 3+ messages in thread
From: Calandracas606 @ 2024-06-03 1:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]
There is a new pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages LKRG
https://github.com/void-linux/void-packages/pull/50667
New package: LKRG-0.9.8
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (cross)
- aarch64-musl (cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/50667.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-LKRG-50667.patch --]
[-- Type: text/x-diff, Size: 2365 bytes --]
From d5135300696eaa1a1a3da746b00e8f0946d54c7f Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Sun, 2 Jun 2024 20:48:43 -0400
Subject: [PATCH] New package: LKRG-0.9.8
---
srcpkgs/LKRG/files/lkrg-logger/run | 14 +++++++++++
srcpkgs/LKRG/template | 39 ++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100755 srcpkgs/LKRG/files/lkrg-logger/run
create mode 100644 srcpkgs/LKRG/template
diff --git a/srcpkgs/LKRG/files/lkrg-logger/run b/srcpkgs/LKRG/files/lkrg-logger/run
new file mode 100755
index 00000000000000..c568f6cfd1c707
--- /dev/null
+++ b/srcpkgs/LKRG/files/lkrg-logger/run
@@ -0,0 +1,14 @@
+#!/bin/sh
+exec 2>&1
+umask 077
+[ -r conf ] && . ./conf
+
+# Generate keypair if it does not exist
+if [ ! -r /etc/lkrg-logger.conf ]; then
+ lkrg-keygen > /etc/lkrg-logger.conf
+ sed -i "s/LKRG_LOGGER/export LKRG_LOGGER/g" /etc/lkrg-logger.conf
+fi
+
+. /etc/lkrg-logger.conf
+
+exec lkrg-logger -D
diff --git a/srcpkgs/LKRG/template b/srcpkgs/LKRG/template
new file mode 100644
index 00000000000000..c60ec2df57fdca
--- /dev/null
+++ b/srcpkgs/LKRG/template
@@ -0,0 +1,39 @@
+# Template file for 'LKRG'
+pkgname=LKRG
+version=0.9.8
+revision=1
+build_wrksrc=logger
+build_style=gnu-makefile
+make_install_args="SBINDIR=/usr/bin"
+conf_files="/usr/lib/sysctl.d/01-lkrg.conf"
+make_dirs="/var/log/_lkrg_logger 700 _lkrg_logger _lkrg_logger"
+depends="dkms openssl"
+short_desc="Linux Kernel Runtime Guard"
+maintainer="Daniel Martinez <danielmartinez@cock.li>"
+license="GPL-2.0-only"
+homepage="https://lkrg.org/"
+changelog="https://raw.githubusercontent.com/lkrg-org/lkrg/main/CHANGES"
+distfiles="https://github.com/lkrg-org/lkrg/archive/refs/tags/v${version}.tar.gz"
+checksum=9ded23a2b466c25561fe5a3c4b7d06688bc8364f73ac57770fba5511c1499253
+system_accounts="_lkrg_logger"
+triggers="dkms"
+dkms_modules="lkrg ${version}"
+
+
+pre_build() {
+ export LD=$CC
+
+ # This changes the account used by the logging daemon to "_lkrg_logger"
+ vsed 's|lkrg-logger|_lkrg_logger|' -i params.h
+}
+
+post_install() {
+ vinstall ../scripts/bootup/lkrg.conf 644 usr/lib/sysctl.d 01-lkrg.conf
+
+ vmkdir usr/lib/modules-load.d
+ echo "lkrg" > ${DESTDIR}/usr/lib/modules-load.d/lkrg.conf
+
+ vsv lkrg-logger
+
+ vsrcextract -C ${DESTDIR}/usr/src/lkrg-${version} "v${version}.tar.gz"
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New package: LKRG-0.9.8
2024-06-03 1:02 [PR PATCH] New package: LKRG-0.9.8 Calandracas606
@ 2024-09-02 1:56 ` github-actions
2024-09-16 2:00 ` [PR PATCH] [Closed]: " github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2024-09-02 1:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/50667#issuecomment-2323628183
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: New package: LKRG-0.9.8
2024-06-03 1:02 [PR PATCH] New package: LKRG-0.9.8 Calandracas606
2024-09-02 1:56 ` github-actions
@ 2024-09-16 2:00 ` github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2024-09-16 2:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
There's a closed pull request on the void-packages repository
New package: LKRG-0.9.8
https://github.com/void-linux/void-packages/pull/50667
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (cross)
- aarch64-musl (cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-16 2:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-03 1:02 [PR PATCH] New package: LKRG-0.9.8 Calandracas606
2024-09-02 1:56 ` github-actions
2024-09-16 2:00 ` [PR PATCH] [Closed]: " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).