[Lunar-commits] <moonbase> rkhunter: fix the install. contributed by aGaTHoS.

Florin Braescu florin at lunar-linux.org
Mon Dec 29 15:20:44 CET 2008


commit c1716b86944511e48a8e28d52519a082e3a80aef
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Dec 29 16:20:44 2008 +0200

    rkhunter: fix the install. contributed by aGaTHoS.
---
 security/rkhunter/BUILD |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/security/rkhunter/BUILD b/security/rkhunter/BUILD
index 593f118..2f23ad8 100644
--- a/security/rkhunter/BUILD
+++ b/security/rkhunter/BUILD
@@ -1,22 +1,6 @@
 (
   
-  BASE_LOCATION="$MODULE_PREFIX/lib/$MODULE"
-
-  cd files         &&
   prepare_install  &&
-
-  mkdir -p $BASE_LOCATION/db                       &&
-  mkdir -p $BASE_LOCATION/scripts                  &&
-  install *.dat $BASE_LOCATION/db/                 &&
-  install *.pl  $BASE_LOCATION/scripts/            &&
-  install check_update.sh $BASE_LOCATION/scripts/  &&
-
-  install -m0755 rkhunter $MODULE_PREFIX/bin &&
-  sedit "s:#DBDIR=/usr/local/rkhunter/db:DBDIR=$MODULE_PREFIX/lib/$MODULE/db\nINSTALLDIR=$MODULE_PREFIX:" rkhunter.conf &&
-  install -m0644 rkhunter.conf /etc &&
-
-  cp rkhunter.8 $MODULE_PREFIX/share/man/man8 &&
-
-  gather_docs WISHLIST
+  ./installer.sh --layout '/usr' --install
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list