[148299] trunk/dports/sysutils/rkhunter

mps at macports.org mps at macports.org
Tue May 3 05:35:18 PDT 2016


Revision: 148299
          https://trac.macports.org/changeset/148299
Author:   mps at macports.org
Date:     2016-05-03 05:35:18 -0700 (Tue, 03 May 2016)
Log Message:
-----------
rkhunter: code cleanup.

Modified Paths:
--------------
    trunk/dports/sysutils/rkhunter/Portfile
    trunk/dports/sysutils/rkhunter/files/rkhunter.conf.local.sample

Modified: trunk/dports/sysutils/rkhunter/Portfile
===================================================================
--- trunk/dports/sysutils/rkhunter/Portfile	2016-05-03 12:21:54 UTC (rev 148298)
+++ trunk/dports/sysutils/rkhunter/Portfile	2016-05-03 12:35:18 UTC (rev 148299)
@@ -12,7 +12,7 @@
 long_description    ${description}
 platforms           darwin
 homepage            http://rkhunter.sourceforge.net/
-master_sites        sourceforge
+master_sites        sourceforge:project/rkhunter/rkhunter/${version}/
 
 checksums           rmd160  3aa8823583117ef9a0257b6fdb2a25d84fc9622d \
                     sha256  789cc84a21faf669da81e648eead2e62654cfbe0b2d927119d8b1e55b22b65c3
@@ -32,11 +32,11 @@
 destroot.cmd        ./installer.sh
 destroot.args       --layout custom ${prefix} --install
 destroot.keepdirs   ${destroot}${prefix}/var/log/rkhunter
-destroot.target     {}
+destroot.target
 
 post-destroot {
 	xinstall ${filespath}/rkhunter.conf.local.sample ${destroot}${prefix}/etc/rkhunter
-	
+	reinplace -W ${destroot}${prefix}/etc/rkhunter "s|@PREFIX@|${prefix}|g" rkhunter.conf.local.sample
 	xinstall -m 755 -d ${destroot}${prefix}/var/log/rkhunter
 }
 

Modified: trunk/dports/sysutils/rkhunter/files/rkhunter.conf.local.sample
===================================================================
--- trunk/dports/sysutils/rkhunter/files/rkhunter.conf.local.sample	2016-05-03 12:21:54 UTC (rev 148298)
+++ trunk/dports/sysutils/rkhunter/files/rkhunter.conf.local.sample	2016-05-03 12:35:18 UTC (rev 148299)
@@ -1,7 +1,7 @@
 #	rkhunter.conf.local
 
-#	version 1.0.0
-#	20150316
+#	version 1.0.1
+#	20160503
 #	by Marius Schamschula
 
 #	Tested under OS X 10.9.5
@@ -16,5 +16,5 @@
 SCRIPTWHITELIST=/usr/bin/shasum
 
 #	MacPorts installed scripts
-SCRIPTWHITELIST=/opt/local/bin/egrep
-SCRIPTWHITELIST=/opt/local/bin/fgrep
+SCRIPTWHITELIST=@PREFIX@/bin/egrep
+SCRIPTWHITELIST=@PREFIX@/bin/fgrep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160503/73135827/attachment.html>


More information about the macports-changes mailing list