diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-12-16 11:51:24 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-12-16 11:51:24 +0100 |
commit | c6000c9d9949b3326fb82f02431899ab6774b960 (patch) | |
tree | 2453cd564b0f382f3d8ccd893df8ebe2e9aeda71 /rkhunter/PKGBUILD | |
parent | 453f0f12918af35bd8e1e5f049841360f37d62e4 (diff) | |
download | aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.gz aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.xz |
big cleanup
Diffstat (limited to 'rkhunter/PKGBUILD')
-rw-r--r-- | rkhunter/PKGBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/rkhunter/PKGBUILD b/rkhunter/PKGBUILD deleted file mode 100644 index a23cdb4..0000000 --- a/rkhunter/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Contributor: Pierre Schmitz <pierre@archlinux.de> - -pkgname=rkhunter -pkgver=1.3.4 -pkgrel=2 -pkgdesc="An easy-to-use tool which checks machines running UNIX (clones) for the presence of rootkits and other unwanted tools." -arch=('i686' 'x86_64') -url="http://rkhunter.sourceforge.net/" -license=('GPL') -depends=('bash' 'perl' 'wget') -backup=(etc/rkhunter.conf) -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) - -md5sums=('31eaacc4d01ad138d1a4283f105088e6') - -build() { - cd $srcdir/${pkgname}-${pkgver} - - install -d -m755 $pkgdir/usr - -# fix installer for x86_64 - sed -i -e "s/lib64/lib/g" installer.sh - -# install to /usr - ./installer.sh --layout custom $pkgdir/usr --striproot $pkgdir --install || return 1 - -# use /etc instead of /usr/etc - sed -i -e "s#/usr/etc/rkhunter.conf#/etc/rkhunter.conf#g" $pkgdir/usr/bin/rkhunter - mv $pkgdir/usr/etc $pkgdir/ - mv $pkgdir/usr/var $pkgdir/ - -# tmp dir path fix - sed -i -e "s#/usr/var/lib/rkhunter/db#/var/lib/rkhunter/db#g" \ - $pkgdir/etc/rkhunter.conf - sed -i -e "s#/usr/var/lib/rkhunter/tmp#/var/lib/rkhunter/tmp#g" \ - $pkgdir/etc/rkhunter.conf - -# cleanup - rm -f $pkgdir/var/lib/rkhunter/tmp/{group,passwd} - -# we trust in udev - sed -i 's|^#ALLOWHIDDENDIR=/dev/.udev$|ALLOWHIDDENDIR=/dev/.udev|' $pkgdir/etc/rkhunter.conf -} |