summaryrefslogtreecommitdiff
path: root/net-p2p/xmule
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
commit1cf501d6f87b43d3b20cdc1df1942dccff3796bd (patch)
tree888348323662d1fceb365259a7bc1b95e8e8d3f1 /net-p2p/xmule
parent. s:NO_CDROM:RESTRICTED: as neither the distfiles nor the packages should (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_9_0'.release/4.9.0
Notes
Notes: svn path=/head/; revision=90063 svn path=/tags/RELEASE_4_9_0/; revision=90064; tag=release/4.9.0
Diffstat (limited to 'net-p2p/xmule')
-rw-r--r--net-p2p/xmule/Makefile76
-rw-r--r--net-p2p/xmule/distinfo1
-rw-r--r--net-p2p/xmule/files/patch-Preferences.cpp11
-rw-r--r--net-p2p/xmule/files/patch-configure29
-rw-r--r--net-p2p/xmule/files/patch-src::ClientCredits.cpp11
-rw-r--r--net-p2p/xmule/files/patch-src::KnownFile.cpp150
-rw-r--r--net-p2p/xmule/files/patch-src::KnownFile.h12
-rw-r--r--net-p2p/xmule/files/patch-src::WebServer.cpp13
-rw-r--r--net-p2p/xmule/files/patch-src::otherfunctions.cpp11
-rw-r--r--net-p2p/xmule/files/patch-src::xmule.cpp20
-rw-r--r--net-p2p/xmule/pkg-descr16
-rw-r--r--net-p2p/xmule/pkg-message19
-rw-r--r--net-p2p/xmule/pkg-plist25
13 files changed, 0 insertions, 394 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile
deleted file mode 100644
index 26f420475bdd..000000000000
--- a/net-p2p/xmule/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-# New ports collection makefile for: xmule
-# Date created: Tue Mar 11 05:06:20 UTC 2003
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= xmule
-PORTVERSION= 1.4.3
-PORTREVISION= 1
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= xmule
-
-MAINTAINER= lioux@FreeBSD.org
-COMMENT= Port of eMule eDonkey P2P client using wxWindows class library
-
-FORBIDDEN= Multiple vulnerabilities, see \
- http://security.e-matters.de/advisories/022003.html
-
-LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
- expat.4:${PORTSDIR}/textproc/expat2 \
- wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
-RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
-
-USE_X_PREFIX= yes
-USE_BZIP2= yes
-USE_GNOME= gnomehier \
- gnomehack \
- gnomeprefix
-USE_REINPLACE= yes
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-included-gettext \
- --with-libintl-prefix=${LOCALBASE} \
- --with-wx-config=${WX_CONFIG}
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-WX_CONFIG?= ${X11BASE}/bin/wx-config
-
-post-patch:
-# it works for FreeBSD as well
- @${REINPLACE_CMD} -E \
- -e 's|(Linux)|FreeBSD/\1|' \
- ${WRKSRC}/src/*.cpp
-# remove ^M
- @${REINPLACE_CMD} -E \
- -e 's| ||' \
- ${WRKSRC}/src/MD5Sum.cpp
-
-pre-configure:
- @${FIND} ${WRKSRC} -type f -name "Makefile.in" | \
- ${XARGS} -x -n 10 \
- ${REINPLACE_CMD} -E \
- -e 's!^(AUTOCONF|AUTOHEADER|AUTOMAKE|ACLOCAL).*$$!\1=${TRUE}!'
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.pre.mk>
-
-.if exists(${WX_CONFIG})
-# detect if wxgtk was linked against gtk1 or gtk2
-DECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs
-.else
-DECISION_GTK_1_OR_2= ""
-.endif
-
-.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != ""
-USE_GNOME+= gtk20
-.else
-USE_GNOME+= gtk12
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/xmule/distinfo b/net-p2p/xmule/distinfo
deleted file mode 100644
index 0ff059962913..000000000000
--- a/net-p2p/xmule/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (xmule-1.4.3.tar.bz2) = 419b5a764f1d9fd676daa6819e1cf537
diff --git a/net-p2p/xmule/files/patch-Preferences.cpp b/net-p2p/xmule/files/patch-Preferences.cpp
deleted file mode 100644
index e71a84094959..000000000000
--- a/net-p2p/xmule/files/patch-Preferences.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Preferences.cpp.orig Mon May 26 12:08:45 2003
-+++ src/Preferences.cpp Mon May 26 12:10:14 2003
-@@ -65,7 +65,7 @@
- extern int sprintf(char *__restrict __s,__const char*__restrict __format,...) __attribute__ ((__format__ (__printf__, 2,3)));
-
- #ifdef __FreeBSD__
--extern long long atoll(char *s);
-+extern long long atoll(const char *s);
- #endif /* __FreeBSD__ */
-
- /// new implementation
diff --git a/net-p2p/xmule/files/patch-configure b/net-p2p/xmule/files/patch-configure
deleted file mode 100644
index b58f27461f1e..000000000000
--- a/net-p2p/xmule/files/patch-configure
+++ /dev/null
@@ -1,29 +0,0 @@
---- configure.orig Mon May 26 22:56:09 2003
-+++ configure Tue May 27 17:55:59 2003
-@@ -1712,8 +1712,6 @@
-
- # Checks for programs.
- # hopefully this prevents -O2
--CXXFLAGS="-g -rdynamic"
--CFLAGS="-g -rdynamic"
- ac_ext=cc
- ac_cpp='$CXXCPP $CPPFLAGS'
- ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-@@ -7149,7 +7147,7 @@
-
- echo "$as_me:$LINENO: checking if wxWindows was linked with GTK2" >&5
- echo $ECHO_N "checking if wxWindows was linked with GTK2... $ECHO_C" >&6
-- if $WX_CONFIG_NAME --cppflags | grep -q 'gtk2' ; then
-+ if $WX_CONFIG_NAME --static --libs | grep -q 'glib-2' ; then
- GTK_USEDVERSION=2
- echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6
-@@ -7161,7 +7159,7 @@
-
-
-
--if test x$GTK_USEDVERSION == x2 ; then
-+if test x$GTK_USEDVERSION = x2 ; then
- # Check whether --enable-gtktest or --disable-gtktest was given.
- if test "${enable_gtktest+set}" = set; then
- enableval="$enable_gtktest"
diff --git a/net-p2p/xmule/files/patch-src::ClientCredits.cpp b/net-p2p/xmule/files/patch-src::ClientCredits.cpp
deleted file mode 100644
index 8277638bcad3..000000000000
--- a/net-p2p/xmule/files/patch-src::ClientCredits.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/ClientCredits.cpp.orig Tue May 27 15:25:08 2003
-+++ src/ClientCredits.cpp Tue May 27 15:25:19 2003
-@@ -22,7 +22,7 @@
- #include "ClientCredits.h"
- #include "opcodes.h"
- #include <math.h>
--#include "/usr/include/time.h"
-+#include <sys/time.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
diff --git a/net-p2p/xmule/files/patch-src::KnownFile.cpp b/net-p2p/xmule/files/patch-src::KnownFile.cpp
deleted file mode 100644
index 504b5557f695..000000000000
--- a/net-p2p/xmule/files/patch-src::KnownFile.cpp
+++ /dev/null
@@ -1,150 +0,0 @@
---- src/KnownFile.cpp.orig Wed Apr 30 14:30:10 2003
-+++ src/KnownFile.cpp Mon May 26 12:46:29 2003
-@@ -271,6 +271,73 @@
- return ferror(file);
- }
-
-+static void MD4Transform(uint32 Hash[4], uint32 x[16])
-+{
-+ uint32 a = Hash[0];
-+ uint32 b = Hash[1];
-+ uint32 c = Hash[2];
-+ uint32 d = Hash[3];
-+
-+ /* Round 1 */
-+ MD4_FF(a, b, c, d, x[ 0], S11); // 01
-+ MD4_FF(d, a, b, c, x[ 1], S12); // 02
-+ MD4_FF(c, d, a, b, x[ 2], S13); // 03
-+ MD4_FF(b, c, d, a, x[ 3], S14); // 04
-+ MD4_FF(a, b, c, d, x[ 4], S11); // 05
-+ MD4_FF(d, a, b, c, x[ 5], S12); // 06
-+ MD4_FF(c, d, a, b, x[ 6], S13); // 07
-+ MD4_FF(b, c, d, a, x[ 7], S14); // 08
-+ MD4_FF(a, b, c, d, x[ 8], S11); // 09
-+ MD4_FF(d, a, b, c, x[ 9], S12); // 10
-+ MD4_FF(c, d, a, b, x[10], S13); // 11
-+ MD4_FF(b, c, d, a, x[11], S14); // 12
-+ MD4_FF(a, b, c, d, x[12], S11); // 13
-+ MD4_FF(d, a, b, c, x[13], S12); // 14
-+ MD4_FF(c, d, a, b, x[14], S13); // 15
-+ MD4_FF(b, c, d, a, x[15], S14); // 16
-+
-+ /* Round 2 */
-+ MD4_GG(a, b, c, d, x[ 0], S21); // 17
-+ MD4_GG(d, a, b, c, x[ 4], S22); // 18
-+ MD4_GG(c, d, a, b, x[ 8], S23); // 19
-+ MD4_GG(b, c, d, a, x[12], S24); // 20
-+ MD4_GG(a, b, c, d, x[ 1], S21); // 21
-+ MD4_GG(d, a, b, c, x[ 5], S22); // 22
-+ MD4_GG(c, d, a, b, x[ 9], S23); // 23
-+ MD4_GG(b, c, d, a, x[13], S24); // 24
-+ MD4_GG(a, b, c, d, x[ 2], S21); // 25
-+ MD4_GG(d, a, b, c, x[ 6], S22); // 26
-+ MD4_GG(c, d, a, b, x[10], S23); // 27
-+ MD4_GG(b, c, d, a, x[14], S24); // 28
-+ MD4_GG(a, b, c, d, x[ 3], S21); // 29
-+ MD4_GG(d, a, b, c, x[ 7], S22); // 30
-+ MD4_GG(c, d, a, b, x[11], S23); // 31
-+ MD4_GG(b, c, d, a, x[15], S24); // 32
-+
-+ /* Round 3 */
-+ MD4_HH(a, b, c, d, x[ 0], S31); // 33
-+ MD4_HH(d, a, b, c, x[ 8], S32); // 34
-+ MD4_HH(c, d, a, b, x[ 4], S33); // 35
-+ MD4_HH(b, c, d, a, x[12], S34); // 36
-+ MD4_HH(a, b, c, d, x[ 2], S31); // 37
-+ MD4_HH(d, a, b, c, x[10], S32); // 38
-+ MD4_HH(c, d, a, b, x[ 6], S33); // 39
-+ MD4_HH(b, c, d, a, x[14], S34); // 40
-+ MD4_HH(a, b, c, d, x[ 1], S31); // 41
-+ MD4_HH(d, a, b, c, x[ 9], S32); // 42
-+ MD4_HH(c, d, a, b, x[ 5], S33); // 43
-+ MD4_HH(b, c, d, a, x[13], S34); // 44
-+ MD4_HH(a, b, c, d, x[ 3], S31); // 45
-+ MD4_HH(d, a, b, c, x[11], S32); // 46
-+ MD4_HH(c, d, a, b, x[ 7], S33); // 47
-+ MD4_HH(b, c, d, a, x[15], S34); // 48
-+
-+ Hash[0] += a;
-+ Hash[1] += b;
-+ Hash[2] += c;
-+ Hash[3] += d;
-+}
-+
- void CKnownFile::CreateHashFromInput(FILE* file,CFile* file2, int Length, uchar* Output, uchar* in_string) {
- // time critial
- bool PaddingStarted = false;
-@@ -342,73 +409,6 @@
- return m_iPartCount>0?m_iPartCount:(m_iPartCount=((m_nFileSize+(PARTSIZE-1))/PARTSIZE));
- }
- #endif
--
--static void MD4Transform(uint32 Hash[4], uint32 x[16])
--{
-- uint32 a = Hash[0];
-- uint32 b = Hash[1];
-- uint32 c = Hash[2];
-- uint32 d = Hash[3];
--
-- /* Round 1 */
-- MD4_FF(a, b, c, d, x[ 0], S11); // 01
-- MD4_FF(d, a, b, c, x[ 1], S12); // 02
-- MD4_FF(c, d, a, b, x[ 2], S13); // 03
-- MD4_FF(b, c, d, a, x[ 3], S14); // 04
-- MD4_FF(a, b, c, d, x[ 4], S11); // 05
-- MD4_FF(d, a, b, c, x[ 5], S12); // 06
-- MD4_FF(c, d, a, b, x[ 6], S13); // 07
-- MD4_FF(b, c, d, a, x[ 7], S14); // 08
-- MD4_FF(a, b, c, d, x[ 8], S11); // 09
-- MD4_FF(d, a, b, c, x[ 9], S12); // 10
-- MD4_FF(c, d, a, b, x[10], S13); // 11
-- MD4_FF(b, c, d, a, x[11], S14); // 12
-- MD4_FF(a, b, c, d, x[12], S11); // 13
-- MD4_FF(d, a, b, c, x[13], S12); // 14
-- MD4_FF(c, d, a, b, x[14], S13); // 15
-- MD4_FF(b, c, d, a, x[15], S14); // 16
--
-- /* Round 2 */
-- MD4_GG(a, b, c, d, x[ 0], S21); // 17
-- MD4_GG(d, a, b, c, x[ 4], S22); // 18
-- MD4_GG(c, d, a, b, x[ 8], S23); // 19
-- MD4_GG(b, c, d, a, x[12], S24); // 20
-- MD4_GG(a, b, c, d, x[ 1], S21); // 21
-- MD4_GG(d, a, b, c, x[ 5], S22); // 22
-- MD4_GG(c, d, a, b, x[ 9], S23); // 23
-- MD4_GG(b, c, d, a, x[13], S24); // 24
-- MD4_GG(a, b, c, d, x[ 2], S21); // 25
-- MD4_GG(d, a, b, c, x[ 6], S22); // 26
-- MD4_GG(c, d, a, b, x[10], S23); // 27
-- MD4_GG(b, c, d, a, x[14], S24); // 28
-- MD4_GG(a, b, c, d, x[ 3], S21); // 29
-- MD4_GG(d, a, b, c, x[ 7], S22); // 30
-- MD4_GG(c, d, a, b, x[11], S23); // 31
-- MD4_GG(b, c, d, a, x[15], S24); // 32
--
-- /* Round 3 */
-- MD4_HH(a, b, c, d, x[ 0], S31); // 33
-- MD4_HH(d, a, b, c, x[ 8], S32); // 34
-- MD4_HH(c, d, a, b, x[ 4], S33); // 35
-- MD4_HH(b, c, d, a, x[12], S34); // 36
-- MD4_HH(a, b, c, d, x[ 2], S31); // 37
-- MD4_HH(d, a, b, c, x[10], S32); // 38
-- MD4_HH(c, d, a, b, x[ 6], S33); // 39
-- MD4_HH(b, c, d, a, x[14], S34); // 40
-- MD4_HH(a, b, c, d, x[ 1], S31); // 41
-- MD4_HH(d, a, b, c, x[ 9], S32); // 42
-- MD4_HH(c, d, a, b, x[ 5], S33); // 43
-- MD4_HH(b, c, d, a, x[13], S34); // 44
-- MD4_HH(a, b, c, d, x[ 3], S31); // 45
-- MD4_HH(d, a, b, c, x[11], S32); // 46
-- MD4_HH(c, d, a, b, x[ 7], S33); // 47
-- MD4_HH(b, c, d, a, x[15], S34); // 48
--
-- Hash[0] += a;
-- Hash[1] += b;
-- Hash[2] += c;
-- Hash[3] += d;
--}
-
- // Adde by Tarod [Juanjo]
- void CAbstractFile::SetFileName(char* NewName)
diff --git a/net-p2p/xmule/files/patch-src::KnownFile.h b/net-p2p/xmule/files/patch-src::KnownFile.h
deleted file mode 100644
index a37dc00c4ee6..000000000000
--- a/net-p2p/xmule/files/patch-src::KnownFile.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/KnownFile.h.orig Tue May 20 21:16:04 2003
-+++ src/KnownFile.h Tue May 20 21:23:46 2003
-@@ -203,9 +203,6 @@
- (a) = MD4_ROTATE_LEFT((a), (s)); \
- }
-
--static void MD4Transform(uint32 Hash[4], uint32 x[16]);
--
--
- #if 0
- // old implementation
- class CFileStatistic{
diff --git a/net-p2p/xmule/files/patch-src::WebServer.cpp b/net-p2p/xmule/files/patch-src::WebServer.cpp
deleted file mode 100644
index 4087253695dd..000000000000
--- a/net-p2p/xmule/files/patch-src::WebServer.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/WebServer.cpp.orig Tue May 20 20:42:30 2003
-+++ src/WebServer.cpp Tue May 20 21:06:14 2003
-@@ -9,6 +9,10 @@
- #include <wx/wfstream.h>
- #include <wx/txtstrm.h>
-
-+#ifdef __FreeBSD__
-+extern long long atoll(const char *s);
-+#endif /* __FreeBSD__ */
-+
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
diff --git a/net-p2p/xmule/files/patch-src::otherfunctions.cpp b/net-p2p/xmule/files/patch-src::otherfunctions.cpp
deleted file mode 100644
index b96a5b978c1d..000000000000
--- a/net-p2p/xmule/files/patch-src::otherfunctions.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/otherfunctions.cpp.orig Mon May 26 12:05:22 2003
-+++ src/otherfunctions.cpp Mon May 26 12:05:37 2003
-@@ -546,7 +546,7 @@
- }
-
- #ifdef __FreeBSD__
--long long atoll( char * s ){
-+long long atoll(const char * s){
- return strtoll(s, (char **)NULL, 10);
- }
- #endif /* __FreeBSD__ */
diff --git a/net-p2p/xmule/files/patch-src::xmule.cpp b/net-p2p/xmule/files/patch-src::xmule.cpp
deleted file mode 100644
index 09480748d421..000000000000
--- a/net-p2p/xmule/files/patch-src::xmule.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/xmule.cpp.orig Mon Aug 11 14:38:14 2003
-+++ src/xmule.cpp Mon Aug 11 14:38:27 2003
-@@ -763,7 +763,7 @@
- delete[] xmulesig_path;
- }
-
--#if defined(__Linux__)
-+#if 0
- #include <execinfo.h>
- #endif
-
-@@ -776,7 +776,7 @@
- theApp.clientudp->Destroy();
-
- // (stkn) create backtrace
--#if defined(__Linux__)
-+#if 0
- void * bt_array[100]; // 100 should be enough ?!?
- char ** bt_strings;
- int num_entries;
diff --git a/net-p2p/xmule/pkg-descr b/net-p2p/xmule/pkg-descr
deleted file mode 100644
index c715878e1581..000000000000
--- a/net-p2p/xmule/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-[ from author's website ]
-
-Port of eMule eDonkey P2P client using wxWindows class library.
-
-Features
-
-* Download/Upload works
-* You can search and add ed2k-links
-* Statistics
-* Shared files tab works
-* Messages tab is now implemented
-* You can manage friends
-* xMule can be minimized to systray
-* You can set nearly all preferences
-
-WWW: http://www.xmule.org/
diff --git a/net-p2p/xmule/pkg-message b/net-p2p/xmule/pkg-message
deleted file mode 100644
index 3a0ad04ff841..000000000000
--- a/net-p2p/xmule/pkg-message
+++ /dev/null
@@ -1,19 +0,0 @@
- ATTENTIONATTENTION:
-
-Note: Settings were NEVER saved for SharedFile and QueueList and
-possibly some other lists... Due to this, unless you are using xMule
-for the first time, there will be no saved settings for these two
-lists; thus, it will think all of their columns are to be hidden.
-
-Best fix: right-click on the grey top of each list and select each
-item in that popup to display the columns... be SURE to quit xMule
-after doing this because if it crashes you have to do this step
-again!
-
-Messy fix: rm /homedir/.lmule/preferences.dat this will remove
-EVERYTHING, including shares and whatnot. The preferences.dat is a
-binary file, thus it will be *incredibly* difficult to change by
-hand.
-
-Information taken from xMule developer
-Ted R. Smith <un-thesis@users.sourceforge.net>
diff --git a/net-p2p/xmule/pkg-plist b/net-p2p/xmule/pkg-plist
deleted file mode 100644
index d143cb975226..000000000000
--- a/net-p2p/xmule/pkg-plist
+++ /dev/null
@@ -1,25 +0,0 @@
-bin/ed2k
-bin/xmule
-share/gnome/applications/xmule.desktop
-share/gnome/pixmaps/xmule.xpm
-share/locale/de/LC_MESSAGES/xmule.mo
-share/locale/ee/LC_MESSAGES/xmule.mo
-share/locale/es/LC_MESSAGES/xmule.mo
-share/locale/es_MX/LC_MESSAGES/xmule.mo
-share/locale/fr/LC_MESSAGES/xmule.mo
-share/locale/pl/LC_MESSAGES/xmule.mo
-share/locale/tr/LC_MESSAGES/xmule.mo
-@unexec rmdir %D/share/locale/tr/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/tr 2>/dev/null || true
-@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/pl 2>/dev/null || true
-@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/fr 2>/dev/null || true
-@unexec rmdir %D/share/locale/es_MX/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/es_MX 2>/dev/null || true
-@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/es 2>/dev/null || true
-@unexec rmdir %D/share/locale/ee/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/ee 2>/dev/null || true
-@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/de 2>/dev/null || true