Revision
133432
Author
khindenburg@macports.org
Date
2015-03-01 11:56:07 -0800 (Sun, 01 Mar 2015)

Log Message

pastebinit: add license; change default to a working pastebin (openstack.org) #46794

Modified Paths

Added Paths

Diff

Modified: trunk/dports/net/pastebinit/Portfile (133431 => 133432)


--- trunk/dports/net/pastebinit/Portfile	2015-03-01 17:42:28 UTC (rev 133431)
+++ trunk/dports/net/pastebinit/Portfile	2015-03-01 19:56:07 UTC (rev 133432)
@@ -5,8 +5,9 @@
 
 name                pastebinit
 version             1.4.1
+revision            1
 maintainers         nomaintainer
-
+license             GPL-2
 categories          net python
 description         pastebinit is a command-line tool to send data to a "pastebin"
 long_description    ${description}: \
@@ -20,6 +21,8 @@
 checksums           rmd160  ccaf001d5084116e6b70accfffc5239d20ef0117 \
                     sha256  39e3dcb98d2aa9d65f86c648c375ca75fa312fc773e568963e9aefffea0c9bf7
 
+patchfiles          patch-default.diff
+
 use_configure       no
 
 set sharedir        ${prefix}/share/${name}/

Added: trunk/dports/net/pastebinit/files/patch-default.diff (0 => 133432)


--- trunk/dports/net/pastebinit/files/patch-default.diff	                        (rev 0)
+++ trunk/dports/net/pastebinit/files/patch-default.diff	2015-03-01 19:56:07 UTC (rev 133432)
@@ -0,0 +1,12 @@
+--- pastebinit	2015-03-01 14:16:57.000000000 -0500
++++ pastebinit	2015-03-01 14:21:26.000000000 -0500
+@@ -33,7 +33,8 @@
+     from urllib.request import FancyURLopener
+ 
+ # Set the default pastebin
+-defaultPB = "http://pastebin.com"
++#defaultPB = "http://pastebin.com" // no public API
++defaultPB = "http://paste.openstack.org"
+ 
+ # Now try to override it with a distributor pastebin
+ try: