[arch-commits] Commit in unhide/trunk (PKGBUILD)

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu May 30 19:42:59 EDT 2013


    Date: Friday, May 31, 2013 @ 01:42:59
  Author: seblu
Revision: 92030

upgpkg: unhide 20130526-1

- /usr merge
- upstream release
- use compile option from README.txt

Modified:
  unhide/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 23:39:21 UTC (rev 92029)
+++ PKGBUILD	2013-05-30 23:42:59 UTC (rev 92030)
@@ -2,30 +2,30 @@
 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
 
 pkgname=unhide
-pkgver=20110113
-pkgrel=3
+pkgver=20130526
+pkgrel=1
 pkgdesc='A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
 arch=('i686' 'x86_64')
-url='http://www.unhide-forensics.info/'
+url='http://sourceforge.net/projects/unhide/'
 license=('GPL3')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
-md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
+depends=('iproute2' 'lsof' 'psmisc' 'net-tools' 'procps-ng')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tgz")
+md5sums=('f3d68ed8eb239614abb0ff5ace22cf85')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  cc -Os -static unhide.c -o unhide-posix
-  cc -Os -static -pthread unhide-linux26.c -o unhide-linux26
-  cc -Os -static unhide-tcp.c -o unhide-tcp
+  cd $pkgname-$pkgver
+  cc -Wall -O2 --static -pthread unhide-linux*.c unhide-output.c -o unhide-linux
+  cc -Wall -O2 --static unhide_rb.c -o unhide_rb
+  cc -Wall -O2 --static unhide-posix.c -o unhide-posix
+  cc -Wall -O2 --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  install -Dm0755 unhide-posix "${pkgdir}/usr/sbin/unhide-posix"
-  install -Dm0755 unhide-linux26 "${pkgdir}/usr/sbin/unhide-linux26"
-  install -Dm0755 unhide-tcp "${pkgdir}/usr/sbin/unhide-tcp"
-  ln -fs ./unhide-linux26 "${pkgdir}/usr/sbin/unhide"
-  install -Dm0644 man/unhide.8 "${pkgdir}/usr/share/man/man8/unhide.8"
+  cd $pkgname-$pkgver
+  for _p in unhide-linux unhide-posix unhide_rb unhide-tcp; do
+    install -Dm0755 "$_p" "$pkgdir/usr/bin/$_p"
+  done
+  ln -s unhide-linux "$pkgdir/usr/bin/unhide"
+  install -Dm0644 man/unhide.8 "$pkgdir/usr/share/man/man8/unhide.8"
 }
 



More information about the arch-commits mailing list