[114607] trunk/dports/sysutils/chkrootkit
ryandesign at macports.org
ryandesign at macports.org
Wed Dec 11 11:45:57 PST 2013
Revision: 114607
https://trac.macports.org/changeset/114607
Author: ryandesign at macports.org
Date: 2013-12-11 11:45:57 -0800 (Wed, 11 Dec 2013)
Log Message:
-----------
chkrootkit: let chkrootkit find the ifpromisc, chkwtmp, chklastlog and chkutmp programs by cd'ing to chkrootkit's directory (it assumes the other programs are in the current directory: #41767); use the right -arch flags and add universal variant; license BSD
Modified Paths:
--------------
trunk/dports/sysutils/chkrootkit/Portfile
Added Paths:
-----------
trunk/dports/sysutils/chkrootkit/files/patch-chkrootkit.diff
Removed Paths:
-------------
trunk/dports/sysutils/chkrootkit/files/patch-Makefile
Modified: trunk/dports/sysutils/chkrootkit/Portfile
===================================================================
--- trunk/dports/sysutils/chkrootkit/Portfile 2013-12-11 19:18:03 UTC (rev 114606)
+++ trunk/dports/sysutils/chkrootkit/Portfile 2013-12-11 19:45:57 UTC (rev 114607)
@@ -5,9 +5,11 @@
name chkrootkit
version 0.49
+revision 1
categories sysutils
platforms darwin
maintainers nomaintainer
+license BSD
description chkrootkit is a tool to locally check for signs of a rootkit
@@ -20,13 +22,15 @@
sha1 cec1a3c482b95b20d3a946b07fffb23290abc4a6 \
rmd160 8c23ed9859a7dcf7d43ac15049b48c863ab63e92
-patchfiles patch-Makefile
+patchfiles patch-chkrootkit.diff
use_configure no
-build.target sense all
-build.args CC=${configure.cc}
+variant universal {}
+build.target sense
+build.args CC="${configure.cc} [get_canonical_archflags cc]"
+
destroot {
xinstall -m 755 -W ${worksrcpath} \
check_wtmpx \
@@ -52,6 +56,10 @@
${docdir}
}
+platform darwin {
+ build.args-append STATIC=
+}
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)\\.tar
Deleted: trunk/dports/sysutils/chkrootkit/files/patch-Makefile
===================================================================
--- trunk/dports/sysutils/chkrootkit/files/patch-Makefile 2013-12-11 19:18:03 UTC (rev 114606)
+++ trunk/dports/sysutils/chkrootkit/files/patch-Makefile 2013-12-11 19:45:57 UTC (rev 114607)
@@ -1,11 +0,0 @@
---- Makefile.orig 2005-10-19 13:32:15.000000000 -0400
-+++ Makefile 2006-08-17 17:28:06.000000000 -0400
-@@ -20,7 +20,7 @@
- ### Mac OS X
- ###
- # If you have Mac OS X, uncomment the next line
--#STATIC =
-+STATIC =
-
- ###
- ### FreeBSD or OpenBSD 2.x
Added: trunk/dports/sysutils/chkrootkit/files/patch-chkrootkit.diff
===================================================================
--- trunk/dports/sysutils/chkrootkit/files/patch-chkrootkit.diff (rev 0)
+++ trunk/dports/sysutils/chkrootkit/files/patch-chkrootkit.diff 2013-12-11 19:45:57 UTC (rev 114607)
@@ -0,0 +1,11 @@
+--- chkrootkit.orig 2009-07-30 09:10:54.000000000 -0500
++++ chkrootkit 2013-12-11 13:23:15.000000000 -0600
+@@ -10,6 +10,8 @@
+ # (c)1997-2009 Nelson Murilo, Pangeia Informatica, AMS Foundation and others.
+ # All rights reserved
+
++cd "$(dirname "$0")"
++
+ ### workaround for some Bourne shell implementations
+ unalias login > /dev/null 2>&1
+ unalias ls > /dev/null 2>&1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131211/d0691521/attachment-0001.html>
More information about the macports-changes
mailing list