summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-10-28 10:11:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-10-28 10:11:46 +0000
commitc220253a8c5e89a04b92a206a5f69ace2064f0b8 (patch)
tree8badd4632a3da0ec3bbfb70efc83096b11d93f16 /net-misc/d4x
parentversion bump (diff)
downloadhistorical-c220253a8c5e89a04b92a206a5f69ace2064f0b8.tar.gz
historical-c220253a8c5e89a04b92a206a5f69ace2064f0b8.tar.bz2
historical-c220253a8c5e89a04b92a206a5f69ace2064f0b8.zip
New ebuild and patch for #111769, #130479 and #193360 plus more.
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'net-misc/d4x')
-rw-r--r--net-misc/d4x/ChangeLog8
-rw-r--r--net-misc/d4x/Manifest31
-rw-r--r--net-misc/d4x/d4x-2.5.6.ebuild84
-rw-r--r--net-misc/d4x/d4x-2.5.7.1-r2.ebuild58
-rw-r--r--net-misc/d4x/files/d4x-2.5.6-libintl_fix.patch11
-rw-r--r--net-misc/d4x/files/d4x-2.5.7.1-gentoo.patch101
-rw-r--r--net-misc/d4x/files/digest-d4x-2.5.63
-rw-r--r--net-misc/d4x/files/digest-d4x-2.5.7.1-r23
8 files changed, 184 insertions, 115 deletions
diff --git a/net-misc/d4x/ChangeLog b/net-misc/d4x/ChangeLog
index 2211b255c139..eda3e07a4003 100644
--- a/net-misc/d4x/ChangeLog
+++ b/net-misc/d4x/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/d4x
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.47 2007/06/16 11:30:15 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.48 2007/10/28 10:11:45 drac Exp $
+
+*d4x-2.5.7.1-r2 (28 Oct 2007)
+
+ 28 Oct 2007; Samuli Suominen <drac@gentoo.org>
+ +files/d4x-2.5.7.1-gentoo.patch, +d4x-2.5.7.1-r2.ebuild:
+ New ebuild and patch for #111769, #130479 and #193360 plus more.
16 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org>
d4x-2.5.7.1-r1.ebuild:
diff --git a/net-misc/d4x/Manifest b/net-misc/d4x/Manifest
index 10c77a0ee58a..070c9e279e39 100644
--- a/net-misc/d4x/Manifest
+++ b/net-misc/d4x/Manifest
@@ -1,7 +1,7 @@
-AUX d4x-2.5.6-libintl_fix.patch 395 RMD160 932ad8888a741d316246a1ab36b67ec47533d112 SHA1 8f73edcd5efbf0238044c92b75cbbe4499bbd521 SHA256 3a5104504d7ad9f90fc3cf71c59a0a23c8dbfd8a562c7fe783207ed05a44f6e0
-MD5 769d9e607b21fd86ea50d5bc68d03e01 files/d4x-2.5.6-libintl_fix.patch 395
-RMD160 932ad8888a741d316246a1ab36b67ec47533d112 files/d4x-2.5.6-libintl_fix.patch 395
-SHA256 3a5104504d7ad9f90fc3cf71c59a0a23c8dbfd8a562c7fe783207ed05a44f6e0 files/d4x-2.5.6-libintl_fix.patch 395
+AUX d4x-2.5.7.1-gentoo.patch 3760 RMD160 fa64e4743dfa2b0eee10a1707b8ce452fd4b24d8 SHA1 dd65b345b01497b185c983f8361b1ed5944afa9f SHA256 9a9f1a15775a1286dec4a0ec9960b65883bb428498707b8b7b556aaa1a9db69f
+MD5 344ef067af981facb3f36a475d55b87a files/d4x-2.5.7.1-gentoo.patch 3760
+RMD160 fa64e4743dfa2b0eee10a1707b8ce452fd4b24d8 files/d4x-2.5.7.1-gentoo.patch 3760
+SHA256 9a9f1a15775a1286dec4a0ec9960b65883bb428498707b8b7b556aaa1a9db69f files/d4x-2.5.7.1-gentoo.patch 3760
AUX d4x-2.5.7.1-libintl_fix.patch 402 RMD160 a4067a84969e4129193966982331e5ee3e17a9e1 SHA1 3b4260d2f35094f71650cc3854d0a0a1f2827d62 SHA256 63f01b429e40738c07e99f0fcb0963819e44ffda8ac53b3844439cc1e9d83ec6
MD5 c300c3b74d4cd0220ea1c707756ff06a files/d4x-2.5.7.1-libintl_fix.patch 402
RMD160 a4067a84969e4129193966982331e5ee3e17a9e1 files/d4x-2.5.7.1-libintl_fix.patch 402
@@ -10,27 +10,26 @@ AUX d4x-2.5.7.1-speed.patch 580 RMD160 7a758c48d765c938c83aa47a233b53636274e4cf
MD5 24a77ea59d1b5727dcccd149ea3b0d8d files/d4x-2.5.7.1-speed.patch 580
RMD160 7a758c48d765c938c83aa47a233b53636274e4cf files/d4x-2.5.7.1-speed.patch 580
SHA256 93340628de79a126fedb044bc2b3a9e4f20b6b99d143f6d085ceeae91d4bec25 files/d4x-2.5.7.1-speed.patch 580
-DIST d4x-2.5.6.tar.gz 1945089 RMD160 735ab67d0969c5b5eef174f64d7b12750b48d6c6 SHA1 3d1ff26bb7818211bd0be7917459498e6572eeec SHA256 10c99977306eb536b47349a316dd38791de7a1d2c7c88cecfd63a93defad59e9
DIST d4x-2.5.7.1.tar.bz2 1606760 RMD160 3f3cc855638eb5657553ed181b94cdb68e393599 SHA1 10955550112bdf22ff91c6c9395afd1a5f15bff2 SHA256 7504bd38e561877ff5217e0e01dcb8eecaf47540248c7d15d6d1fabe049032c4
-EBUILD d4x-2.5.6.ebuild 1860 RMD160 2ae60518b2fe4c07114e65986813014be49eb224 SHA1 06b51a84cd21d49b340882c023b4ad3c14f8132d SHA256 299e221fd7249250236a0cdc9550f94b1785002c69e82648fc88da09c5ff68e4
-MD5 8597eb76d209b1578c293e1db6dc5a34 d4x-2.5.6.ebuild 1860
-RMD160 2ae60518b2fe4c07114e65986813014be49eb224 d4x-2.5.6.ebuild 1860
-SHA256 299e221fd7249250236a0cdc9550f94b1785002c69e82648fc88da09c5ff68e4 d4x-2.5.6.ebuild 1860
EBUILD d4x-2.5.7.1-r1.ebuild 1777 RMD160 ed5dfea0601e3541de67a7d63fa43bbcdae2f640 SHA1 5c00693757aa2239af4e1687cf59ef4bc471baef SHA256 4b0094a893aa6ce86c777d096024549bf9b6b4739cf8317d26e7449d5156ae79
MD5 22c4674800fac21554a73ff25abdea1e d4x-2.5.7.1-r1.ebuild 1777
RMD160 ed5dfea0601e3541de67a7d63fa43bbcdae2f640 d4x-2.5.7.1-r1.ebuild 1777
SHA256 4b0094a893aa6ce86c777d096024549bf9b6b4739cf8317d26e7449d5156ae79 d4x-2.5.7.1-r1.ebuild 1777
-MISC ChangeLog 7526 RMD160 a965e6f1f4095e6f3835630f1456781638891a58 SHA1 fbec7517ff74dc19b8e4a02bb64528884b3f0eff SHA256 9993f4f984c550ac8e58de797c774634fe19796c8ca95b85f6f380de9d2cdfa9
-MD5 1c36e685fe49f79516384d1c886b33f6 ChangeLog 7526
-RMD160 a965e6f1f4095e6f3835630f1456781638891a58 ChangeLog 7526
-SHA256 9993f4f984c550ac8e58de797c774634fe19796c8ca95b85f6f380de9d2cdfa9 ChangeLog 7526
+EBUILD d4x-2.5.7.1-r2.ebuild 1417 RMD160 02df43c0352cc67cd8f923e4add7f5479cb3e298 SHA1 40e6aa14ccaefb51249d392081c736e85c33a8f3 SHA256 3a8f65ef0b0ccf9744a8cb74c43b4f738b3607376ca8e64ee33e851e5095a1ef
+MD5 f8941c00389f97ae2578eb971109a9d2 d4x-2.5.7.1-r2.ebuild 1417
+RMD160 02df43c0352cc67cd8f923e4add7f5479cb3e298 d4x-2.5.7.1-r2.ebuild 1417
+SHA256 3a8f65ef0b0ccf9744a8cb74c43b4f738b3607376ca8e64ee33e851e5095a1ef d4x-2.5.7.1-r2.ebuild 1417
+MISC ChangeLog 7727 RMD160 1195d7776a30eb9e3a65a99742d0e5ee946517d6 SHA1 4f8cea6ae6ee02ba52cc914f3aa6ad06202b3d38 SHA256 fa0a7b3ec1b4ad96df985a08b6cc551ba25f939ed884a8241afb61bd4d00115e
+MD5 2dc95cb04399e4e06c408009c127ed09 ChangeLog 7727
+RMD160 1195d7776a30eb9e3a65a99742d0e5ee946517d6 ChangeLog 7727
+SHA256 fa0a7b3ec1b4ad96df985a08b6cc551ba25f939ed884a8241afb61bd4d00115e ChangeLog 7727
MISC metadata.xml 301 RMD160 0ae2d4cabb6d314c297e8fb9098c2b70a9951973 SHA1 be51a2057c874649942c9c2dda21f81562c6644d SHA256 32b7a6775f9f4f61642eb71919b9def28b44d33f1074e1bf72e96f8e5087d753
MD5 3f142d03f332a3f7047929a1b476c14f metadata.xml 301
RMD160 0ae2d4cabb6d314c297e8fb9098c2b70a9951973 metadata.xml 301
SHA256 32b7a6775f9f4f61642eb71919b9def28b44d33f1074e1bf72e96f8e5087d753 metadata.xml 301
-MD5 e941749f0796d20461dd7141428f9350 files/digest-d4x-2.5.6 232
-RMD160 908a3dcb4698e0d9c579f449f9bf987a02026a3c files/digest-d4x-2.5.6 232
-SHA256 1ea03b9764f91adfc35fdc91dba0b78f16d262f643488b3caeebf73c148003e4 files/digest-d4x-2.5.6 232
MD5 43cc4ab9bb00c5b0191b13a8be5de3a7 files/digest-d4x-2.5.7.1-r1 241
RMD160 ff2bf6c000aeefd3dd6d6e0e3ed0de149b077d16 files/digest-d4x-2.5.7.1-r1 241
SHA256 8ecbda080d1b346f79451120986bb9ef78090450ffab5f9f72ef484b95420a66 files/digest-d4x-2.5.7.1-r1 241
+MD5 43cc4ab9bb00c5b0191b13a8be5de3a7 files/digest-d4x-2.5.7.1-r2 241
+RMD160 ff2bf6c000aeefd3dd6d6e0e3ed0de149b077d16 files/digest-d4x-2.5.7.1-r2 241
+SHA256 8ecbda080d1b346f79451120986bb9ef78090450ffab5f9f72ef484b95420a66 files/digest-d4x-2.5.7.1-r2 241
diff --git a/net-misc/d4x/d4x-2.5.6.ebuild b/net-misc/d4x/d4x-2.5.6.ebuild
deleted file mode 100644
index 24115033497b..000000000000
--- a/net-misc/d4x/d4x-2.5.6.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.5.6.ebuild,v 1.4 2006/04/24 00:42:44 metalgod Exp $
-
-IUSE="nls esd gnome oss kde"
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="GTK based download manager for X."
-SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${P}.tar.gz"
-HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
-
-KEYWORDS="amd64 x86"
-SLOT="0"
-LICENSE="Artistic"
-
-DEPEND=">=x11-libs/gtk+-2.0.6
- >=dev-libs/glib-2.0.6
- >=sys-devel/gettext-0.11.2
- >=dev-libs/openssl-0.9.7e
- esd? ( >=media-sound/esound-0.2.7 )"
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}/${P}-libintl_fix.patch"
-
- # Use our own $CXXFLAGS
- cd ${S}
- cp configure configure.orig
- sed -e "s:CXXFLAGS=\"-O2\":CXXFLAGS=\"${CXXFLAGS}\":g;s:OPTFLAGS=\"-O2\":OPTFLAGS=\"\":g" \
- configure.orig >configure
-}
-
-src_compile() {
-
- myconf=""
- append-flags -D_FILE_OFFSET_BITS=64
-
- use nls \
- && myconf="${myconf} --enable-nls" \
- || myconf="${myconf} --disable-nls"
-
- use esd \
- && myconf="${myconf} --enable-esd" \
- || myconf="${myconf} --disable-esd"
-
- use oss \
- && myconf="${myconf} --enable-oss" \
- || myconf="${myconf} --disable-oss"
-
- econf --enable-release \
- ${myconf} || die
-
- emake || die
-}
-
-src_install () {
-
- dodir /usr/bin
- dodir /usr/share/d4x
-
- einstall || die
-
- insinto /usr/share/pixmaps
- doins share/*.png share/*.xpm
-
- if use kde
- then
- insinto /usr/share/applnk/Internet
- newins share/nt.desktop d4x.desktop
- fi
-
- if use gnome
- then
- echo "Categories=Application;Network;" >> ${S}/share/nt.desktop
- insinto /usr/share/applications
- newins share/nt.desktop d4x.desktop
- fi
-
- rm -rf ${D}/usr/share/d4x/{FAQ*,INSTALL*,README*,LICENSE,NAMES,TROUBLES}
- dodoc AUTHORS COPYING ChangeLog* NEWS PLANS TODO \
- DOC/{FAQ*,LICENSE,NAMES,README*,TROUBLES,THANKS}
-}
diff --git a/net-misc/d4x/d4x-2.5.7.1-r2.ebuild b/net-misc/d4x/d4x-2.5.7.1-r2.ebuild
new file mode 100644
index 000000000000..27ae402e4c92
--- /dev/null
+++ b/net-misc/d4x/d4x-2.5.7.1-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.5.7.1-r2.ebuild,v 1.1 2007/10/28 10:11:45 drac Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="GTK based download manager for X."
+HOMEPAGE="http://www.krasu.ru/soft/chuchelo"
+SRC_URI="http://d4x.krasu.ru/files/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+SLOT="0"
+LICENSE="Artistic"
+IUSE="ao esd nls oss ssl"
+
+RDEPEND=">=x11-libs/gtk+-2
+ dev-libs/boost
+ ssl? ( dev-libs/openssl )
+ !ao? ( esd? ( media-sound/esound ) )
+ ao? ( media-libs/libao )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext dev-util/intltool )"
+
+pkg_setup() {
+ use ao && ewarn "Selecting USE ao will disable oss and esd."
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Bugs #111769, #130479 and #193360 plus more.
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ append-flags -D_FILE_OFFSET_BITS=64
+
+ econf $(use_enable nls) \
+ $(use_enable esd) \
+ $(use_enable oss) \
+ $(use_enable ssl openssl) \
+ $(use_enable ao libao)
+
+ emake OPTFLAGS="${CXXFLAGS}" || die "emake failed."
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ dodoc AUTHORS ChangeLog* NEWS README PLANS TODO
+ docinto doc
+ dodoc DOC/{FAQ*,README*,THANKS,TROUBLES}
+ doman DOC/nt.1
+
+ newicon share/nt.xpm ${PN}.xpm
+ make_desktop_entry ${PN} ${PN} ${PN}
+}
diff --git a/net-misc/d4x/files/d4x-2.5.6-libintl_fix.patch b/net-misc/d4x/files/d4x-2.5.6-libintl_fix.patch
deleted file mode 100644
index 340027fac985..000000000000
--- a/net-misc/d4x/files/d4x-2.5.6-libintl_fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN d4x-2.5.6.orig/main/face/prefs.cc d4x-2.5.6/main/face/prefs.cc
---- d4x-2.5.6.orig/main/face/prefs.cc 2005-10-30 19:02:28.000000000 +0600
-+++ d4x-2.5.6/main/face/prefs.cc 2005-12-07 07:04:19.000000000 +0600
-@@ -9,6 +9,7 @@
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-+#include <libintl.h>
- #include <gtk/gtk.h>
- #include <gdk/gdkkeysyms.h>
- #include "../ntlocale.h"
diff --git a/net-misc/d4x/files/d4x-2.5.7.1-gentoo.patch b/net-misc/d4x/files/d4x-2.5.7.1-gentoo.patch
new file mode 100644
index 000000000000..f0014ca81cf2
--- /dev/null
+++ b/net-misc/d4x/files/d4x-2.5.7.1-gentoo.patch
@@ -0,0 +1,101 @@
+diff -ur d4x-2.5.7.1.orig/configure d4x-2.5.7.1/configure
+--- d4x-2.5.7.1.orig/configure 2006-04-12 19:48:29.000000000 +0300
++++ d4x-2.5.7.1/configure 2007-10-28 10:56:11.000000000 +0200
+@@ -18398,11 +18398,6 @@
+
+
+ cat >>confdefs.h <<\_ACEOF
+-#define GTK_DISABLE_DEPRECATED
+-_ACEOF
+-
+-
+-cat >>confdefs.h <<\_ACEOF
+ #define _FILE_OFFSET_BITS 64
+ _ACEOF
+
+diff -ur d4x-2.5.7.1.orig/configure.ac d4x-2.5.7.1/configure.ac
+--- d4x-2.5.7.1.orig/configure.ac 2005-11-05 01:35:38.000000000 +0200
++++ d4x-2.5.7.1/configure.ac 2007-10-28 10:56:11.000000000 +0200
+@@ -298,7 +298,6 @@
+
+ # Other needed defines
+ AC_DEFINE(_REENTRANT, , [Enable reenrant code of glibc])
+-AC_DEFINE(GTK_DISABLE_DEPRECATED, , [Enable warnings about deprecated functions usage])
+ AC_DEFINE(_FILE_OFFSET_BITS, 64, [To support files over 2GB])
+
+ # Prepare all requiered flags
+Only in d4x-2.5.7.1: de.po
+diff -ur d4x-2.5.7.1.orig/main/face/list.cc d4x-2.5.7.1/main/face/list.cc
+--- d4x-2.5.7.1.orig/main/face/list.cc 2006-03-20 02:29:41.000000000 +0200
++++ d4x-2.5.7.1/main/face/list.cc 2007-10-28 10:56:11.000000000 +0200
+@@ -8,7 +8,6 @@
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+-#define GTK_DISABLE_DEPRECATED
+
+ #include <stdio.h>
+ #include <gtk/gtk.h>
+diff -ur d4x-2.5.7.1.orig/main/face/prefs.cc d4x-2.5.7.1/main/face/prefs.cc
+--- d4x-2.5.7.1.orig/main/face/prefs.cc 2005-11-05 21:03:19.000000000 +0200
++++ d4x-2.5.7.1/main/face/prefs.cc 2007-10-28 11:04:15.000000000 +0200
+@@ -9,6 +9,7 @@
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
++#include <libintl.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+ #include "../ntlocale.h"
+diff -ur d4x-2.5.7.1.orig/main/signal.cc d4x-2.5.7.1/main/signal.cc
+--- d4x-2.5.7.1.orig/main/signal.cc 2006-04-05 23:11:43.000000000 +0300
++++ d4x-2.5.7.1/main/signal.cc 2007-10-28 10:56:11.000000000 +0200
+@@ -89,7 +89,7 @@
+
+
+ void my_pthreads_mutex_init(pthread_mutex_t *lock){
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__GLIBC__)
+ /* manual page for mutexes said that mutexes in linux is fast by
+ default...
+ */
+diff -ur d4x-2.5.7.1.orig/main/socket.cc d4x-2.5.7.1/main/socket.cc
+--- d4x-2.5.7.1.orig/main/socket.cc 2006-04-09 15:39:25.000000000 +0300
++++ d4x-2.5.7.1/main/socket.cc 2007-10-28 10:56:11.000000000 +0200
+@@ -165,10 +165,10 @@
+ return(SOCKET_CANT_ALLOCATE);
+ int a=1;
+ setsockopt(fd,SOL_SOCKET,SO_KEEPALIVE,(char *)&a,sizeof(a));
+- setsockopt(fd,SOL_SOCKET,SO_KEEPALIVE,(char *)&a,sizeof(a));
++ //setsockopt(fd,SOL_SOCKET,SO_KEEPALIVE,(char *)&a,sizeof(a));
+
+ size_t sl=2000; //set receive buffer to default+30% MTU size
+- setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(char *)&sl,sizeof(sl));
++ //setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(char *)&sl,sizeof(sl));
+
+ if (!connect_impl())
+ return(SOCKET_CANT_CONNECT);
+diff -ur d4x-2.5.7.1.orig/Makefile.am d4x-2.5.7.1/Makefile.am
+--- d4x-2.5.7.1.orig/Makefile.am 2005-08-30 04:48:55.000000000 +0300
++++ d4x-2.5.7.1/Makefile.am 2007-10-28 11:28:02.000000000 +0200
+@@ -4,7 +4,7 @@
+
+ ACLOCAL_AMFLAGS = -I m4
+
+-SUBDIRS = DOC intl main po share
++SUBDIRS = intl main po share
+
+ # Extra files/dirs to be included in distribution
+ EXTRA_DIST = $(top_srcdir)/admin/Makefile.template \
+diff -ur d4x-2.5.7.1.orig/Makefile.in d4x-2.5.7.1/Makefile.in
+--- d4x-2.5.7.1.orig/Makefile.in 2006-04-12 19:48:32.000000000 +0300
++++ d4x-2.5.7.1/Makefile.in 2007-10-28 11:27:53.000000000 +0200
+@@ -256,7 +256,7 @@
+ target_os = @target_os@
+ target_vendor = @target_vendor@
+ ACLOCAL_AMFLAGS = -I m4
+-SUBDIRS = DOC intl main po share
++SUBDIRS = intl main po share
+
+ # Extra files/dirs to be included in distribution
+ EXTRA_DIST = $(top_srcdir)/admin/Makefile.template \
diff --git a/net-misc/d4x/files/digest-d4x-2.5.6 b/net-misc/d4x/files/digest-d4x-2.5.6
deleted file mode 100644
index 5c3ee027098c..000000000000
--- a/net-misc/d4x/files/digest-d4x-2.5.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2cbaf9d4f466ba48d2ecb73518c76c78 d4x-2.5.6.tar.gz 1945089
-RMD160 735ab67d0969c5b5eef174f64d7b12750b48d6c6 d4x-2.5.6.tar.gz 1945089
-SHA256 10c99977306eb536b47349a316dd38791de7a1d2c7c88cecfd63a93defad59e9 d4x-2.5.6.tar.gz 1945089
diff --git a/net-misc/d4x/files/digest-d4x-2.5.7.1-r2 b/net-misc/d4x/files/digest-d4x-2.5.7.1-r2
new file mode 100644
index 000000000000..8b7e6436a924
--- /dev/null
+++ b/net-misc/d4x/files/digest-d4x-2.5.7.1-r2
@@ -0,0 +1,3 @@
+MD5 68d6336c3749a7caabb0f5a5f84f4102 d4x-2.5.7.1.tar.bz2 1606760
+RMD160 3f3cc855638eb5657553ed181b94cdb68e393599 d4x-2.5.7.1.tar.bz2 1606760
+SHA256 7504bd38e561877ff5217e0e01dcb8eecaf47540248c7d15d6d1fabe049032c4 d4x-2.5.7.1.tar.bz2 1606760