Revision
70316
Author
raimue@macports.org
Date
2010-08-05 17:31:15 -0700 (Thu, 05 Aug 2010)

Log Message

net/tsocks: Fix permissions on files in ${prefix}/share, #25661 (maintainer timeout)

Modified Paths

Diff

Modified: trunk/dports/net/tsocks/Portfile (70315 => 70316)


--- trunk/dports/net/tsocks/Portfile	2010-08-06 00:29:42 UTC (rev 70315)
+++ trunk/dports/net/tsocks/Portfile	2010-08-06 00:31:15 UTC (rev 70316)
@@ -4,6 +4,7 @@
 
 name             tsocks
 version          1.8.4
+revision         1
 categories       net
 maintainers      gmail.com:darren.bane
 description      Transparent SOCKS proxying library
@@ -38,14 +39,14 @@
 
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/etc
-	xinstall -m 755 ${worksrcpath}/tsocks.conf.simple.example ${destroot}${prefix}/etc/tsocks.conf.sample
+	xinstall -m 644 ${worksrcpath}/tsocks.conf.simple.example ${destroot}${prefix}/etc/tsocks.conf.sample
 
 	xinstall -m 755 -d ${destroot}${prefix}/share/examples/tsocks
-	eval xinstall -m 755 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks
+	eval xinstall -m 644 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks
 
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/tsocks
 	foreach doc { COPYING ChangeLog FAQ INSTALL TODO } {
-		xinstall -m 755 ${worksrcpath}/${doc} ${destroot}${prefix}/share/doc/tsocks/${doc}
+		xinstall -m 644 ${worksrcpath}/${doc} ${destroot}${prefix}/share/doc/tsocks/${doc}
 }
 }