summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Zamarin2015-06-08 11:42:34 +0300
committerArthur Zamarin2015-06-08 11:42:34 +0300
commitd5b0c0e17e5bbbef5b1d7b4ddf9a766895626b37 (patch)
tree852088d1dd88f52e4c36ae660447d405a19c8f41
downloadaur-d5b0c0e17e5bbbef5b1d7b4ddf9a766895626b37.tar.gz
Initial Commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f033ea79900
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = chkrootkit
+ pkgdesc = rootkit detector
+ pkgver = 0.50
+ pkgrel = 2
+ url = http://www.chkrootkit.org/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = net-tools
+ source = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
+ sha256sums = 9548fc922b0cb8ddf055faff4a4887f140a31c45f2f5e3aa64aad91ecfa56cc7
+
+pkgname = chkrootkit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ce91b5e706f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Arthur Zamarin <arthurzam@gmail.com>
+
+pkgname=chkrootkit
+pkgver=0.50
+pkgrel=2
+pkgdesc="rootkit detector"
+arch=(i686 x86_64)
+url="http://www.chkrootkit.org/"
+license=('GPL2')
+source=("ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz")
+sha256sums=('9548fc922b0cb8ddf055faff4a4887f140a31c45f2f5e3aa64aad91ecfa56cc7')
+depends=('net-tools')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc; do
+ install -Dm755 "$srcdir/$pkgname-$pkgver/$f" "$pkgdir/usr/bin/$f"
+ done
+}