[58284] trunk/dports/net/wget

ryandesign at macports.org ryandesign at macports.org
Thu Sep 24 21:20:33 PDT 2009


Revision: 58284
          http://trac.macports.org/changeset/58284
Author:   ryandesign at macports.org
Date:     2009-09-24 21:20:31 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
wget: update to 1.12, enable test suite, add IDN/IRI support, refresh patch

Modified Paths:
--------------
    trunk/dports/net/wget/Portfile
    trunk/dports/net/wget/files/patch-prefix.diff

Modified: trunk/dports/net/wget/Portfile
===================================================================
--- trunk/dports/net/wget/Portfile	2009-09-25 04:15:55 UTC (rev 58283)
+++ trunk/dports/net/wget/Portfile	2009-09-25 04:20:31 UTC (rev 58284)
@@ -4,8 +4,7 @@
 PortGroup               muniversal 1.0
 
 name                    wget
-version                 1.11.4
-revision                3
+version                 1.12
 categories              net www
 maintainers             ryandesign
 license                 GPLv3
@@ -24,9 +23,9 @@
     scripts, cron jobs, terminals without Xsupport, etc.
 
 checksums \
-    md5 69e8a7296c0e12c53bd9ffd786462e87 \
-    sha1 a78a3b71fd59504df3ff3dbc0a2195a1410e9eac \
-    rmd160 1cec99b073fcf64dd362977b0b88a55f8f47bbb8
+    md5     141461b9c04e454dc8933c9d1f2abf83 \
+    sha1    50d4ed2441e67db7aa5061d8a4dde41ee0e94248 \
+    rmd160  232d0aa6fb36731c162d2b7374aa9ab59e671b7d
 
 configure.args \
     --with-libssl-prefix=${prefix}
@@ -36,11 +35,12 @@
     bin:pod2man:perl5
 
 depends_lib \
+    port:libidn \
     port:openssl \
     port:gettext
 
 # So that +universal can use gettext and openssl on Tiger; see #18276.
-configure.ldflags-append        -liconv
+configure.ldflags-append        -liconv -lintl
 if {![variant_isset no_ssl]} {
     depends_build-append        port:pkgconfig
     pre-configure {
@@ -48,9 +48,12 @@
     }
 }
 
-# As of 1.11.3, the tests are known to be incomplete or even broken. See
-# ${worksrcpath}/tests/README for the current status of the test suite.
-test.run                no
+variant test {
+    depends_build-append    port:p5-libwww-perl \
+                            port:p5-io-socket-ssl
+    test.run                yes
+    test.target             check
+}
 
 variant no_ssl description {Build without SSL support} {
     depends_lib-delete      port:openssl
@@ -74,7 +77,7 @@
     # Install documentation.
     set docdir ${destroot}${prefix}/share/doc/${name}-${version}
     xinstall -d ${docdir}
-    foreach docfile {AUTHORS COPYING NEWS README} {
+    foreach docfile {AUTHORS COPYING MAILING-LIST NEWS README} {
         xinstall -W ${worksrcpath} -m 0644 ${docfile} ${docdir}/${docfile}.txt
     }
     xinstall -W ${worksrcpath} -m 0644 ChangeLog ${docdir}/ChangeLog.txt

Modified: trunk/dports/net/wget/files/patch-prefix.diff
===================================================================
--- trunk/dports/net/wget/files/patch-prefix.diff	2009-09-25 04:15:55 UTC (rev 58283)
+++ trunk/dports/net/wget/files/patch-prefix.diff	2009-09-25 04:20:31 UTC (rev 58284)
@@ -1,6 +1,6 @@
---- ChangeLog	2008-06-29 20:51:14.000000000 -0500
-+++ ChangeLog	2009-01-29 17:40:44.000000000 -0600
-@@ -797,7 +797,7 @@
+--- ChangeLog	2009-09-21 22:39:35.000000000 -0500
++++ ChangeLog	2009-09-23 20:46:38.000000000 -0500
+@@ -1166,7 +1166,7 @@
  
  	* aclocal.m4 (WGET_WITH_NLS): First check for gettext in libintl,
  	then use the libc version.  That way systems that get libintl.h
@@ -9,9 +9,9 @@
  
  2003-10-10  Hrvoje Niksic  <hniksic at xemacs.org>
  
---- NEWS	2008-06-29 20:39:00.000000000 -0500
-+++ NEWS	2009-01-29 17:40:44.000000000 -0600
-@@ -508,7 +508,7 @@
+--- NEWS	2009-09-21 21:53:35.000000000 -0500
++++ NEWS	2009-09-23 20:46:38.000000000 -0500
+@@ -562,7 +562,7 @@
  
  ** Compiles on pre-ANSI compilers.
  
@@ -20,7 +20,7 @@
  
  ** Lots of bugfixes.
  
-@@ -571,9 +571,8 @@
+@@ -625,9 +625,8 @@
  ** Fixed a long-standing bug, so that Wget now works over SLIP
  connections.
  
@@ -32,8 +32,8 @@
  
  ** You can set up quota in .wgetrc to prevent sucking too much
  data. Try `quota = 5M' in .wgetrc (or quota = 100K if you want your
---- README	2008-04-26 23:48:19.000000000 -0500
-+++ README	2009-01-29 17:40:44.000000000 -0600
+--- README	2009-09-20 17:59:32.000000000 -0500
++++ README	2009-09-23 20:46:38.000000000 -0500
 @@ -33,8 +33,7 @@
  
  Most of the features are configurable, either through command-line
@@ -44,12 +44,12 @@
  
  Wget works under almost all Unix variants in use today and, unlike
  many of its historical predecessors, is written entirely in C, thus
---- doc/sample.wgetrc	2008-04-26 23:48:19.000000000 -0500
-+++ doc/sample.wgetrc	2009-01-29 17:40:44.000000000 -0600
+--- doc/sample.wgetrc	2009-09-21 21:53:58.000000000 -0500
++++ doc/sample.wgetrc	2009-09-23 20:46:38.000000000 -0500
 @@ -7,7 +7,7 @@
  ## not contain a comprehensive list of commands -- look at the manual
  ## to find out what you can put into this file.
- ## 
+ ##
 -## Wget initialization file can reside in /usr/local/etc/wgetrc
 +## Wget initialization file can reside in @PREFIX@/etc/wgetrc
  ## (global, for all users) or $HOME/.wgetrc (for a single user).
@@ -64,9 +64,9 @@
  ## Think well before you change them, since they may reduce wget's
  ## functionality, and make it behave contrary to the documentation:
  ##
---- doc/wget.texi	2008-06-29 21:10:16.000000000 -0500
-+++ doc/wget.texi	2009-01-29 19:40:08.000000000 -0600
-@@ -191,13 +191,13 @@
+--- doc/wget.texi	2009-09-04 16:22:04.000000000 -0500
++++ doc/wget.texi	2009-09-23 20:46:38.000000000 -0500
+@@ -190,13 +190,13 @@
  Most of the features are fully configurable, either through command line
  options, or via the initialization file @file{.wgetrc} (@pxref{Startup
  File}).  Wget allows you to define @dfn{global} startup files
@@ -83,7 +83,7 @@
  
  @item .wgetrc
  User startup file.
-@@ -2516,9 +2516,7 @@
+@@ -2670,9 +2670,7 @@
  @cindex location of wgetrc
  
  When initializing, Wget will look for a @dfn{global} startup file,
@@ -94,7 +94,7 @@
  
  Then it will look for the user's file.  If the environmental variable
  @code{WGETRC} is set, Wget will try to load that file.  Failing that, no
-@@ -2528,8 +2526,8 @@
+@@ -2682,8 +2680,8 @@
  
  The fact that user's settings are loaded after the system-wide ones
  means that in case of collision user's wgetrc @emph{overrides} the
@@ -103,5 +103,5 @@
 +system-wide wgetrc (in @file{@PREFIX@/etc/wgetrc}).  Fascist admins,
 +away!
  
- @node Wgetrc Syntax
+ @node Wgetrc Syntax, Wgetrc Commands, Wgetrc Location, Startup File
  @section Wgetrc Syntax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/fd4546b2/attachment-0001.html>


More information about the macports-changes mailing list