[110795] trunk/dports/security/skipfish/Portfile
snc at macports.org
snc at macports.org
Fri Sep 6 07:45:41 PDT 2013
Revision: 110795
https://trac.macports.org/changeset/110795
Author: snc at macports.org
Date: 2013-09-06 07:45:41 -0700 (Fri, 06 Sep 2013)
Log Message:
-----------
skipfish:
* copy signatures
* ensure share/ contents is readable
* set default signatures
Modified Paths:
--------------
trunk/dports/security/skipfish/Portfile
Modified: trunk/dports/security/skipfish/Portfile
===================================================================
--- trunk/dports/security/skipfish/Portfile 2013-09-06 10:48:24 UTC (rev 110794)
+++ trunk/dports/security/skipfish/Portfile 2013-09-06 14:45:41 UTC (rev 110795)
@@ -5,6 +5,7 @@
name skipfish
version 2.10b
+revision 1
license Apache-2
categories security
maintainers snc openmaintainer
@@ -27,6 +28,7 @@
reinplace s|@@SHARE@@|${prefix}/share/${name}/|g ${worksrcpath}/src/config.h
reinplace s|-L/usr/local/lib/\ ||g ${worksrcpath}/Makefile
reinplace s|-I/usr/local|-I${prefix}|g ${worksrcpath}/Makefile
+ reinplace s|signatures/signatures.conf|${prefix}/share/${name}/signatures/signatures.conf|g ${worksrcpath}/src/config.h
}
use_configure no
@@ -38,6 +40,14 @@
file copy ${worksrcpath}/assets/ ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/README ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/doc/ ${destroot}${prefix}/share/${name}
+ file copy ${worksrcpath}/signatures/ ${destroot}${prefix}/share/${name}
+ fs-traverse dir ${destroot}${prefix}/share/${name} {
+ if { [ file isdirectory ${dir} ] } {
+ file attributes ${dir} -permissions 0755
+ } else {
+ file attributes ${dir} -permissions 0644
+ }
+ }
}
notes \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130906/8ebd072f/attachment.html>
More information about the macports-changes
mailing list