[88304] trunk/dports/security/tripwire/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 27 20:46:54 PST 2011


Revision: 88304
          http://trac.macports.org/changeset/88304
Author:   ryandesign at macports.org
Date:     2011-12-27 20:46:49 -0800 (Tue, 27 Dec 2011)
Log Message:
-----------
tripwire: whitespace / formatting changes / add modeline

Modified Paths:
--------------
    trunk/dports/security/tripwire/Portfile

Modified: trunk/dports/security/tripwire/Portfile
===================================================================
--- trunk/dports/security/tripwire/Portfile	2011-12-28 02:38:58 UTC (rev 88303)
+++ trunk/dports/security/tripwire/Portfile	2011-12-28 04:46:49 UTC (rev 88304)
@@ -1,109 +1,116 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem		1.0
+PortSystem          1.0
 
-name			tripwire
-version			2.4.1.2
-revision		2
-categories		security
-platforms		darwin
-maintainers		nomaintainer
-description		integrity assurance and intrusion detection tool
-long_description	Tripwire software is a tool that checks to see what \
-					has changed on your system. The program monitors key \
-					attributes of files that should not change, \
-					including binary signature, size, expected change of \
-					size, etc.  Tripwire is originally known as an \
-					intrusion detection tool, but can be used for many \
-					other purposes such as integrity assurance, change \
-					management, policy compliance and more.
-homepage		http://sourceforge.net/projects/tripwire/
-use_bzip2 		yes
-master_sites		sourceforge:${name}
-distname                ${distname}-src
-checksums		md5 8a1147c278b528ed593023912c4b649a 
+name                tripwire
+version             2.4.1.2
+revision            2
+categories          security
+platforms           darwin
+maintainers         nomaintainer
 
-depends_lib		port:openssl
+description         integrity assurance and intrusion detection tool
 
-#variant anacron {
-#	depends_run		bin:anacron:anacron
-#}
+long_description    Tripwire software is a tool that checks to see what \
+                    has changed on your system. The program monitors key \
+                    attributes of files that should not change, \
+                    including binary signature, size, expected change of \
+                    size, etc.  Tripwire is originally known as an \
+                    intrusion detection tool, but can be used for many \
+                    other purposes such as integrity assurance, change \
+                    management, policy compliance and more.
 
-use_autoreconf	yes
+homepage            http://sourceforge.net/projects/tripwire/
+master_sites        sourceforge:${name}
+use_bzip2           yes
+distname            ${distname}-src
 
-patchfiles			patch-Makefile.am    \
-				patch-platform.h     \
-				patch-aclocal.m4     \
-				patch-configure.in   \
-				patch-configure      \
-				patch-install.cfg    \
-				patch-install.sh 
+checksums           md5     8a1147c278b528ed593023912c4b649a
 
-post-patch		{ file attributes ${worksrcpath}/configure -permissions +x }
+depends_lib         port:openssl
 
+use_autoreconf      yes
+
+patchfiles          patch-Makefile.am    \
+                    patch-platform.h     \
+                    patch-aclocal.m4     \
+                    patch-configure.in   \
+                    patch-configure      \
+                    patch-install.cfg    \
+                    patch-install.sh 
+
+post-patch {
+    file attributes ${worksrcpath}/configure -permissions +x
+}
+
 pre-configure {
-	system "cd ${worksrcpath} && aclocal"
+    system "cd ${worksrcpath} && aclocal"
 }
-configure.args		--sysconfdir="${prefix}/etc/${name}" \
-			--mandir="${prefix}/share/man"
 
+configure.args      --sysconfdir="${prefix}/etc/${name}" \
+                    --mandir="${prefix}/share/man"
+
 post-destroot {
-	# Installation locations
-	set bindir		"${prefix}/sbin"
-	set sysconfdir	"${prefix}/etc/${name}"
-	set vardbdir	"${prefix}/var/db/${name}"
-	set docdir		"${prefix}/share/doc/${name}"
-	if {[variant_isset anacron]} {
-		set crondir	"${prefix}/etc/cron.daily"
-	} else {
-		set crondir	"${docdir}"
-	}
-	# Install setup script for post installation configuration
-	xinstall -m 0744 ${filespath}/twsetup.sh.in \
-		${destroot}${sysconfdir}/twsetup.sh
-	# Install quickstart guide
-	xinstall -d -m 0755 ${destroot}${docdir}
-	xinstall -m 0644 ${filespath}/quickstart.gif \
-		${destroot}${docdir}/quickstart.gif
-	xinstall -m 0644 ${filespath}/quickstart.txt.in \
-		${destroot}${docdir}/quickstart.txt
-	# Install daily cron job entry (requires anacron)
-	xinstall -d -m 0755 ${destroot}${crondir}
-	xinstall -m 0744 ${filespath}/${name}-check.in \
-		${destroot}${crondir}/${name}-check
-	# Configure paths in various files
-	reinplace "s|@PREFIX@|${prefix}|g" \
-		${destroot}${sysconfdir}/twsetup.sh \
-		${destroot}${crondir}/${name}-check \
-		${destroot}${docdir}/quickstart.txt
-	reinplace "s|@BINDIR@|${bindir}|g" \
-		${destroot}${sysconfdir}/twsetup.sh \
-		${destroot}${crondir}/${name}-check \
-		${destroot}${docdir}/quickstart.txt
-	reinplace "s|@SYSCONFDIR@|${sysconfdir}|g" \
-		${destroot}${sysconfdir}/twsetup.sh \
-		${destroot}${crondir}/${name}-check \
-		${destroot}${docdir}/quickstart.txt
-	reinplace "s|@VARDBDIR@|${vardbdir}|g" \
-		${destroot}${sysconfdir}/twsetup.sh \
-		${destroot}${crondir}/${name}-check \
-		${destroot}${docdir}/quickstart.txt
-	reinplace "s|@DOCDIR@|${docdir}|g" \
-		${destroot}${sysconfdir}/twsetup.sh \
-		${destroot}${crondir}/${name}-check \
-		${destroot}${docdir}/quickstart.txt
-	# Prevent empty directory removal
-	system "touch ${destroot}${vardbdir}/report/.turd"
+    # Installation locations
+    set bindir      "${prefix}/sbin"
+    set sysconfdir  "${prefix}/etc/${name}"
+    set vardbdir    "${prefix}/var/db/${name}"
+    set docdir      "${prefix}/share/doc/${name}"
+    if {[variant_isset anacron]} {
+        set crondir "${prefix}/etc/cron.daily"
+    } else {
+        set crondir "${docdir}"
+    }
+    # Install setup script for post installation configuration
+    xinstall -m 0744 ${filespath}/twsetup.sh.in \
+        ${destroot}${sysconfdir}/twsetup.sh
+    # Install quickstart guide
+    xinstall -d -m 0755 ${destroot}${docdir}
+    xinstall -m 0644 ${filespath}/quickstart.gif \
+        ${destroot}${docdir}/quickstart.gif
+    xinstall -m 0644 ${filespath}/quickstart.txt.in \
+        ${destroot}${docdir}/quickstart.txt
+    # Install daily cron job entry (requires anacron)
+    xinstall -d -m 0755 ${destroot}${crondir}
+    xinstall -m 0744 ${filespath}/${name}-check.in \
+        ${destroot}${crondir}/${name}-check
+    # Configure paths in various files
+    reinplace "s|@PREFIX@|${prefix}|g" \
+        ${destroot}${sysconfdir}/twsetup.sh \
+        ${destroot}${crondir}/${name}-check \
+        ${destroot}${docdir}/quickstart.txt
+    reinplace "s|@BINDIR@|${bindir}|g" \
+        ${destroot}${sysconfdir}/twsetup.sh \
+        ${destroot}${crondir}/${name}-check \
+        ${destroot}${docdir}/quickstart.txt
+    reinplace "s|@SYSCONFDIR@|${sysconfdir}|g" \
+        ${destroot}${sysconfdir}/twsetup.sh \
+        ${destroot}${crondir}/${name}-check \
+        ${destroot}${docdir}/quickstart.txt
+    reinplace "s|@VARDBDIR@|${vardbdir}|g" \
+        ${destroot}${sysconfdir}/twsetup.sh \
+        ${destroot}${crondir}/${name}-check \
+        ${destroot}${docdir}/quickstart.txt
+    reinplace "s|@DOCDIR@|${docdir}|g" \
+        ${destroot}${sysconfdir}/twsetup.sh \
+        ${destroot}${crondir}/${name}-check \
+        ${destroot}${docdir}/quickstart.txt
+    # Prevent empty directory removal
+    system "touch ${destroot}${vardbdir}/report/.turd"
 }
 
+#variant anacron {
+#    depends_run     bin:anacron:anacron
+#}
+
 post-install {
-	ui_msg "------------------------------------------------------------"
-	ui_msg "Please read the quick start guide located at:"
-	ui_msg " "
-	ui_msg "  ${prefix}/share/doc/${name}/quickstart.txt"
-	ui_msg " "
-	ui_msg "for post installation configuration instructions and"
-	ui_msg "general usage information."
-	ui_msg "------------------------------------------------------------"
+    ui_msg "------------------------------------------------------------"
+    ui_msg "Please read the quick start guide located at:"
+    ui_msg " "
+    ui_msg "  ${prefix}/share/doc/${name}/quickstart.txt"
+    ui_msg " "
+    ui_msg "for post installation configuration instructions and"
+    ui_msg "general usage information."
+    ui_msg "------------------------------------------------------------"
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111227/62bb8e38/attachment-0001.html>


More information about the macports-changes mailing list