summaryrefslogtreecommitdiff
path: root/manualPorts/check-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/check-kernel')
-rw-r--r--manualPorts/check-kernel/.footprint7
-rw-r--r--manualPorts/check-kernel/.md5sum1
-rw-r--r--manualPorts/check-kernel/.signature5
-rw-r--r--manualPorts/check-kernel/Pkgfile19
-rwxr-xr-xmanualPorts/check-kernel/lastVersion.sh8
5 files changed, 40 insertions, 0 deletions
diff --git a/manualPorts/check-kernel/.footprint b/manualPorts/check-kernel/.footprint
new file mode 100644
index 0000000..4c1c673
--- /dev/null
+++ b/manualPorts/check-kernel/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/check-kernel
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/check-kernel.1.gz
diff --git a/manualPorts/check-kernel/.md5sum b/manualPorts/check-kernel/.md5sum
new file mode 100644
index 0000000..6fc958d
--- /dev/null
+++ b/manualPorts/check-kernel/.md5sum
@@ -0,0 +1 @@
+05decb4fdd86fd831fb8adc4dabdeceb dl.php?dl=check-kernel-0.3.2
diff --git a/manualPorts/check-kernel/.signature b/manualPorts/check-kernel/.signature
new file mode 100644
index 0000000..0381278
--- /dev/null
+++ b/manualPorts/check-kernel/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGqme7sGwo7Ip16Pf4fnmQK6Np2pSE1dvUOm+WrIPxszeHJdd9KjvOqEHPC0fWVNuePeXLRhh1pkAZx6AyGTYqAo=
+SHA256 (Pkgfile) = 1b7e4d9e1ee71f42d69dc68d09be3d648a65273a01941bf6bdab7913b5cc322f
+SHA256 (.footprint) = dcbbfd418f77c604b110b47aaf724f848f940f3b7aabfc4192bfc9094714bf17
+SHA256 (dl.php?dl=check-kernel-0.3.2) = 426c75d3c9bc057c9c18f5e28a1027eeb3f85404ca24b65119d2f97ac9b6fb3b
diff --git a/manualPorts/check-kernel/Pkgfile b/manualPorts/check-kernel/Pkgfile
new file mode 100644
index 0000000..480e793
--- /dev/null
+++ b/manualPorts/check-kernel/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Check if the installed kernel is currently running.
+# URL: https://opensources.eckner.net/?ls=check-kernel
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on:
+
+name=check-kernel
+version=0.3.2
+release=1
+source=("https://opensources.eckner.net/dl.php?dl=${name}-${version}")
+
+build() {
+
+ tar -xf *${name}-${version}
+ cd ${name}-${version}
+
+ make
+ make DESTDIR=$PKG install
+
+}
diff --git a/manualPorts/check-kernel/lastVersion.sh b/manualPorts/check-kernel/lastVersion.sh
new file mode 100755
index 0000000..78d3d06
--- /dev/null
+++ b/manualPorts/check-kernel/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+wget -O - "https://opensources.eckner.net/ls.php?ls=check-kernel" 2> /dev/null | \
+ tr "<>" "\n\n" | \
+ grep "^check-kernel-" | \
+ sed "s|^check-kernel-||" | \
+ sort -V | \
+ tail -n1