[124314] trunk/dports/net/torsocks/Portfile
mf2k at macports.org
mf2k at macports.org
Fri Aug 22 09:00:35 PDT 2014
Revision: 124314
https://trac.macports.org/changeset/124314
Author: mf2k at macports.org
Date: 2014-08-22 09:00:35 -0700 (Fri, 22 Aug 2014)
Log Message:
-----------
torsocks: Fix documentation location. Install sample conf file so it does not get deleted when updating. (#37352)
Modified Paths:
--------------
trunk/dports/net/torsocks/Portfile
Modified: trunk/dports/net/torsocks/Portfile
===================================================================
--- trunk/dports/net/torsocks/Portfile 2014-08-22 15:58:43 UTC (rev 124313)
+++ trunk/dports/net/torsocks/Portfile 2014-08-22 16:00:35 UTC (rev 124314)
@@ -5,6 +5,7 @@
name torsocks
version 1.2
+revision 1
categories net security
license GPL-2+
platforms darwin
@@ -16,8 +17,22 @@
to use most socks-friendly applications in a safe \
way with Tor. It ensures that DNS requests are \
handled safely and explicitly rejects UDP traffic \
- from the application you're using.
+ from the application you are using.
homepage http://torsocks.googlecode.com/
master_sites googlecode
checksums rmd160 eb4b16833c5f7a09424d7acb9993c6dd04f8a8d0 \
sha256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4
+
+configure.args --datarootdir=${prefix}/share/doc/torsocks
+
+post-destroot {
+ move ${destroot}${prefix}/etc/torsocks.conf \
+ ${destroot}${prefix}/etc/torsocks.conf.default
+}
+
+post-activate {
+ if {![file exists ${prefix}/etc/torsocks.conf]} {
+ file copy ${prefix}/etc/torsocks.conf.default \
+ ${prefix}/etc/torsocks.conf
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140822/f62c80e2/attachment.html>
More information about the macports-changes
mailing list