summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrent s2019-08-20 12:36:21 -0400
committerbrent s2019-08-20 12:36:21 -0400
commit04c144626b32e04326bda0ea0a1b1880faea420a (patch)
tree4ea1e467199ea79f2d98d2ad02b6381179fcbb7a
parentec9f4c4ebfe59065e2400131ba91e3815a2c68d0 (diff)
downloadaur-04c144626b32e04326bda0ea0a1b1880faea420a.tar.gz
whoops! needs a wrapper.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
-rwxr-xr-xchkrootkit.launcher5
-rw-r--r--chkrootkit.launcher.sigbin0 -> 566 bytes
4 files changed, 19 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c735ca73f83..177576a51e2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,19 @@
pkgbase = chkrootkit
pkgdesc = Locally checks for signs of a rootkit
pkgver = 0.53
- pkgrel = 2
+ pkgrel = 3
url = http://www.chkrootkit.org/
arch = x86_64
license = CUSTOM
optdepends = tiger: a wrapper for chkrootkit
source = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.53.tar.gz
+ source = chkrootkit.launcher
source = chkrootkit-0.53.tar.gz.sig
+ source = chkrootkit.launcher.sig
validpgpkeys = 748231EBCBD808A14F5E85D28C004C2F93481F6B
sha512sums = f8de19d0a61ccb6ac184ad6642d78041729cba799eedcc8088cb6d2c5cf4de0574c6083caad364576a601265322e61c183b266304f00667527bf29fdc51359c7
+ sha512sums = c7a28d6313dc48cc17a0850e2816b9b17a8b0bdf435c3f75fbd4deedf740067de8e58b38d488945561bf9c3ad8bb03adc8e4a5a1da63775bce1afdcf49fd83ba
+ sha512sums = SKIP
sha512sums = SKIP
pkgname = chkrootkit
diff --git a/PKGBUILD b/PKGBUILD
index c591cea8712..8696428d44b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=chkrootkit
pkgver=0.53
-pkgrel=2
+pkgrel=3
pkgdesc="Locally checks for signs of a rootkit"
arch=('x86_64')
url="http://www.chkrootkit.org/"
@@ -15,9 +15,13 @@ noextract=()
# Is this necessary for ifpromisc?
#depends=('net-tools')
optdepends=('tiger: a wrapper for chkrootkit')
-source=("ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-${pkgver}.tar.gz"
- "chkrootkit-${pkgver}.tar.gz.sig")
+source=("ftp://ftp.pangeia.com.br/pub/seg/pac/${pkgname}-${pkgver}.tar.gz"
+ "${pkgname}.launcher"
+ "${pkgname}-${pkgver}.tar.gz.sig"
+ "${pkgname}.launcher.sig")
sha512sums=('f8de19d0a61ccb6ac184ad6642d78041729cba799eedcc8088cb6d2c5cf4de0574c6083caad364576a601265322e61c183b266304f00667527bf29fdc51359c7'
+ 'c7a28d6313dc48cc17a0850e2816b9b17a8b0bdf435c3f75fbd4deedf740067de8e58b38d488945561bf9c3ad8bb03adc8e4a5a1da63775bce1afdcf49fd83ba'
+ 'SKIP'
'SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -26,8 +30,9 @@ build() {
package() {
for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static;
do
- install -D -m755 ${srcdir}/${pkgname}-${pkgver}/${f} ${pkgdir}/usr/bin/${f}
+ install -D -m755 ${srcdir}/${pkgname}-${pkgver}/${f} ${pkgdir}/usr/lib/${pkgname}/${f}
done
+ install -D -m755 ${srcdir}/${pkgname}.launcher ${pkgdir}/usr/bin/${pkgname}
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT ${pkgdir}/${pkgname}/usr/share/licenses/${pkgname}/LICENSE
for f in ACKNOWLEDGMENTS README; # sic
do
diff --git a/chkrootkit.launcher b/chkrootkit.launcher
new file mode 100755
index 00000000000..fc466da8ec0
--- /dev/null
+++ b/chkrootkit.launcher
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cd /usr/lib/chkrootkit
+
+./chkrootkit "${@}"
diff --git a/chkrootkit.launcher.sig b/chkrootkit.launcher.sig
new file mode 100644
index 00000000000..5bc6c3b5c4a
--- /dev/null
+++ b/chkrootkit.launcher.sig
Binary files differ