summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-11-10 20:36:11 +0100
committerThorsten Töpper <atsutane@freethoughts.de>2025-11-10 20:36:11 +0100
commit71341e5800a4814ffd4a4a5e5d2d478b4d0e9e35 (patch)
tree580655cd8b17791eabb297f27a84298ab1196c6b
downloadsysctl-logger-git-master.tar.gz
sysctl-logger-git-master.tar.bz2
Initial commit with r56.HEADmaster
-rw-r--r--.SRCINFO18
-rw-r--r--LICENSE12
l---------LICENSES/0BSD.txt1
-rw-r--r--PKGBUILD32
-rw-r--r--REUSE.toml22
5 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..3fbbef8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = sysctl-logger-git
+ pkgdesc = sysctl monitoring with BPF
+ pkgver = r56.700f749
+ pkgrel = 1
+ url = https://github.com/shunghsiyu/sysctl-logger
+ arch = x86_64
+ arch = aarch64
+ license = GPL-2.0-only
+ makedepends = git
+ makedepends = clang
+ makedepends = bpf
+ depends = libbpf
+ provides = sysctl-logger
+ conflicts = sysctl-logger
+ source = sysctl-logger::git+https://github.com/shunghsiyu/sysctl-logger.git
+ sha256sums = SKIP
+
+pkgname = sysctl-logger-git
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..b87c5e4
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,12 @@
+Copyright Arch Linux Contributors
+
+Permission to use, copy, modify, and/or distribute this software for
+any purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
+WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
+FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
+DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
+AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt
new file mode 120000
index 0000000..ea5b606
--- /dev/null
+++ b/LICENSES/0BSD.txt
@@ -0,0 +1 @@
+../LICENSE \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..eba96e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Thorsten Toepper <atsutane-aur at freethoughts dot de>
+
+pkgname=sysctl-logger-git
+pkgver=r56.700f749
+pkgrel=1
+pkgdesc='sysctl monitoring with BPF'
+arch=('x86_64' 'aarch64')
+url='https://github.com/shunghsiyu/sysctl-logger'
+license=('GPL-2.0-only')
+depends=('libbpf')
+makedepends=('git' 'clang' 'bpf')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('sysctl-logger::git+https://github.com/shunghsiyu/sysctl-logger.git')
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}/${pkgname%-git}"
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname%-git}"
+ make SBINDIR='/usr/bin'
+}
+
+package() {
+ cd "${srcdir}/${pkgname%-git}"
+ make DESTDIR="${pkgdir}/" SBINDIR='/usr/bin' install
+}
+
diff --git a/REUSE.toml b/REUSE.toml
new file mode 100644
index 0000000..8501755
--- /dev/null
+++ b/REUSE.toml
@@ -0,0 +1,22 @@
+version = 1
+
+[[annotations]]
+path = [
+ "PKGBUILD",
+ "README.md",
+ "keys/**",
+ ".SRCINFO",
+ ".nvchecker.toml",
+ "*.install",
+ "*.sysusers",
+ "*.tmpfiles",
+ "*.logrotate",
+ "*.pam",
+ "*.service",
+ "*.socket",
+ "*.timer",
+ "*.desktop",
+ "*.hook",
+]
+SPDX-FileCopyrightText = "Arch Linux contributors"
+SPDX-License-Identifier = "0BSD"