summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrent s2019-08-20 12:19:03 -0400
committerbrent s2019-08-20 12:19:03 -0400
commitec9f4c4ebfe59065e2400131ba91e3815a2c68d0 (patch)
tree625b2a732b51bf3033b0de55812aa0cd0e4c2ed9
parentd087eaa6bb958f89d921d5943586316b1e018506 (diff)
downloadaur-ec9f4c4ebfe59065e2400131ba91e3815a2c68d0.tar.gz
functional pkgbuild
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD27
-rw-r--r--chkrootkit-0.53.tar.gz.sig (renamed from chkrootkit.tar.gz.sig)0
3 files changed, 24 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 162c5b405dd..c735ca73f83 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
-# Generated by aurpkgs
-# Tue Aug 20 16:00:08 UTC 2019
pkgbase = chkrootkit
pkgdesc = Locally checks for signs of a rootkit
pkgver = 0.53
- pkgrel = 1
+ pkgrel = 2
url = http://www.chkrootkit.org/
- arch = i686
arch = x86_64
license = CUSTOM
- source = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
- source = chkrootkit.tar.gz.sig
+ optdepends = tiger: a wrapper for chkrootkit
+ source = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.53.tar.gz
+ source = chkrootkit-0.53.tar.gz.sig
+ validpgpkeys = 748231EBCBD808A14F5E85D28C004C2F93481F6B
sha512sums = f8de19d0a61ccb6ac184ad6642d78041729cba799eedcc8088cb6d2c5cf4de0574c6083caad364576a601265322e61c183b266304f00667527bf29fdc51359c7
sha512sums = SKIP
pkgname = chkrootkit
+
diff --git a/PKGBUILD b/PKGBUILD
index 231f972cc9b..c591cea8712 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,33 @@ validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=chkrootkit
pkgver=0.53
-pkgrel=1
+pkgrel=2
pkgdesc="Locally checks for signs of a rootkit"
-arch=( 'i686' 'x86_64' )
+arch=('x86_64')
url="http://www.chkrootkit.org/"
license=( 'CUSTOM' )
-_pkgname=chkrootkit
install=
changelog=
noextract=()
-source=("ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz"
- "chkrootkit.tar.gz.sig")
+# 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")
sha512sums=('f8de19d0a61ccb6ac184ad6642d78041729cba799eedcc8088cb6d2c5cf4de0574c6083caad364576a601265322e61c183b266304f00667527bf29fdc51359c7'
'SKIP')
build() {
- cd "${srcdir}/${_pkgname}/src"
- make prefix=${pkgdir}/usr
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make sense
}
package() {
- install -D -m755 ${srcdir}/${_pkgname}/src/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
- install -D -m644 ${srcdir}/${_pkgname}/docs/README.html.en ${pkgdir}/usr/share/doc/${_pkgname}/README.html
+ 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}
+ done
+ install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT ${pkgdir}/${pkgname}/usr/share/licenses/${pkgname}/LICENSE
+ for f in ACKNOWLEDGMENTS README; # sic
+ do
+ install -D -m644 ${srcdir}/${pkgname}-${pkgver}/${f} ${pkgdir}/${pkgname}/usr/share/doc/${pkgname}/${f}
+ done
}
diff --git a/chkrootkit.tar.gz.sig b/chkrootkit-0.53.tar.gz.sig
index 48723c6cb0a..48723c6cb0a 100644
--- a/chkrootkit.tar.gz.sig
+++ b/chkrootkit-0.53.tar.gz.sig