diff options
author | wiz <wiz@pkgsrc.org> | 2009-02-25 23:39:36 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-02-25 23:39:36 +0000 |
commit | c92ebc1823d1bf7d23e7fa17cc940553d675c2dc (patch) | |
tree | 49746e18af2239430ca6cd77011f1b2a532ccef0 /net/mldonkey | |
parent | 79520427cab2ddfe6293fb52148348c56bff1900 (diff) | |
download | pkgsrc-c92ebc1823d1bf7d23e7fa17cc940553d675c2dc.tar.gz |
Update to 3.0.0:
2009/02/24: version 3.0.0 = tag release-3-0-0
6754: Fix local file access bug in internal http server
- this is an urgent security related bug-fix and effects
all MLDonkey versions >= 2.8.4
6752: Optimized implementation of the ip_set module (cbah)
6736: Add/fix some copyright texts
Diffstat (limited to 'net/mldonkey')
-rw-r--r-- | net/mldonkey/Makefile | 4 | ||||
-rw-r--r-- | net/mldonkey/Makefile.common | 4 | ||||
-rw-r--r-- | net/mldonkey/distinfo | 9 | ||||
-rw-r--r-- | net/mldonkey/patches/patch-aa | 26 |
4 files changed, 7 insertions, 36 deletions
diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile index 0af3e51fb76..70865c8ccdd 100644 --- a/net/mldonkey/Makefile +++ b/net/mldonkey/Makefile @@ -1,10 +1,8 @@ -# $NetBSD: Makefile,v 1.47 2009/02/24 22:50:45 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2009/02/25 23:39:36 wiz Exp $ # .include "Makefile.common" -PKGREVISION= 1 - RCD_SCRIPTS= mldonkey PKG_GROUPS_VARS+= MLDONKEY_GROUP diff --git a/net/mldonkey/Makefile.common b/net/mldonkey/Makefile.common index 4716f1f30ac..55a70b0a2e5 100644 --- a/net/mldonkey/Makefile.common +++ b/net/mldonkey/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.35 2009/02/16 13:11:41 wiz Exp $ +# $NetBSD: Makefile.common,v 1.36 2009/02/25 23:39:36 wiz Exp $ # # used by net/mldonkey/Makefile # used by net/mldonkey-gui/Makefile -DISTNAME= mldonkey-2.9.7 +DISTNAME= mldonkey-3.0.0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mldonkey/} EXTRACT_SUFX= .tar.bz2 diff --git a/net/mldonkey/distinfo b/net/mldonkey/distinfo index 2b3514ef070..941cf1e37ca 100644 --- a/net/mldonkey/distinfo +++ b/net/mldonkey/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.47 2009/02/24 22:50:45 wiz Exp $ +$NetBSD: distinfo,v 1.48 2009/02/25 23:39:36 wiz Exp $ -SHA1 (mldonkey-2.9.7.tar.bz2) = 59f3e07b85ce05d54cbe2ef5400d47e558d2f250 -RMD160 (mldonkey-2.9.7.tar.bz2) = 29083fcc611851f55df7739a463cf91f200ae9d8 -Size (mldonkey-2.9.7.tar.bz2) = 2720793 bytes -SHA1 (patch-aa) = 5ae1cd638c0b733e8dd1b40631a8428f3733bf3d +SHA1 (mldonkey-3.0.0.tar.bz2) = 8d3f1808578bb145655050c0224f512afe0266b5 +RMD160 (mldonkey-3.0.0.tar.bz2) = c53efda6b513bbfd2dcd71804600b0906252e463 +Size (mldonkey-3.0.0.tar.bz2) = 2723830 bytes diff --git a/net/mldonkey/patches/patch-aa b/net/mldonkey/patches/patch-aa deleted file mode 100644 index b28d9633331..00000000000 --- a/net/mldonkey/patches/patch-aa +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-aa,v 1.15 2009/02/24 22:50:45 wiz Exp $ - -https://savannah.nongnu.org/bugs/download.php?file_id=17518 - ---- src/utils/lib/url.ml.orig 2007-03-17 18:49:32.000000000 +0000 -+++ src/utils/lib/url.ml -@@ -175,6 +175,19 @@ let put_args s args = - Buffer.contents res - - let of_string ?(args=[]) s = -+ let remove_leading_slashes s = -+ let len = String.length s in -+ let left = -+ let rec aux i = -+ if i < len && s.[i] = '/' then aux (i+1) else i in -+ aux 0 in -+ if left = 0 then s -+ else -+ String.sub s left (len - left) in -+ -+ (* redefine s to remove all leading slashes *) -+ let s = remove_leading_slashes s in -+ - let s = put_args s args in - let url = - let get_two init_pos = |