From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 8 17:00:25 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D55116A4BF for ; Mon, 8 Sep 2003 17:00:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9035E43FBD for ; Mon, 8 Sep 2003 17:00:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8900MUp032303 for ; Mon, 8 Sep 2003 17:00:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8900MZE032302; Mon, 8 Sep 2003 17:00:22 -0700 (PDT) Resent-Date: Mon, 8 Sep 2003 17:00:22 -0700 (PDT) Resent-Message-Id: <200309090000.h8900MZE032302@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "YazzY" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D08F316A4BF for ; Mon, 8 Sep 2003 16:53:00 -0700 (PDT) Received: from lapdance.yazzy.org (yazzy.org [217.8.140.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 285E043FA3 for ; Mon, 8 Sep 2003 16:52:59 -0700 (PDT) (envelope-from yazzy@yazzy.org) Received: from lapdance (localhost [127.0.0.1]) by lapdance.yazzy.org (Postfix) with ESMTP id 980F141F3 for ; Tue, 9 Sep 2003 01:52:54 +0200 (CEST) Message-Id: 1063065174@lapdance Date: Tue, 9 Sep 2003 01:52:54 +0200 From: "YazzY" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.1 Subject: ports/56613: X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 00:00:25 -0000 X-List-Received-Date: Tue, 09 Sep 2003 00:00:25 -0000 >Number: 56613 >Category: ports >Synopsis: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 08 17:00:22 PDT 2003 >Closed-Date: >Last-Modified: >Originator: YazzY >Release: FreeBSD 5.1-CURRENT i386 >Organization: YazzY.org >Environment: System: FreeBSD lapdance 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Sep 6 21:08:49 CEST 2003 root@lapdance:/usr/obj/usr/src/sys/LAPDANCE i386 >Description: Update of the xmule-1.6.0 port. >How-To-Repeat: >Fix: --- xmule-1.6.0_1.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xmule/ # xmule/files # xmule/files/patch-src::WebServer.cpp # xmule/files/patch-src::xmule.cpp # xmule/files/patch-src::otherfunctions.cpp # xmule/files/patch-configure # xmule/files/patch-src::ClientCredits.cpp # xmule/files/patch-Preferences.cpp # xmule/Makefile # xmule/distinfo # xmule/pkg-descr # xmule/pkg-message # xmule/pkg-plist # echo c - xmule/ mkdir -p xmule/ > /dev/null 2>&1 echo c - xmule/files mkdir -p xmule/files > /dev/null 2>&1 echo x - xmule/files/patch-src::WebServer.cpp sed 's/^X//' >xmule/files/patch-src::WebServer.cpp << 'END-of-xmule/files/patch-src::WebServer.cpp' X--- src/WebServer.cpp.orig Tue May 20 20:42:30 2003 X+++ src/WebServer.cpp Tue May 20 21:06:14 2003 X@@ -9,6 +9,10 @@ X #include X #include X X+#ifdef __FreeBSD__ X+extern long long atoll(const char *s); X+#endif /* __FreeBSD__ */ X+ X #ifdef _DEBUG X #undef THIS_FILE X static char THIS_FILE[]=__FILE__; END-of-xmule/files/patch-src::WebServer.cpp echo x - xmule/files/patch-src::xmule.cpp sed 's/^X//' >xmule/files/patch-src::xmule.cpp << 'END-of-xmule/files/patch-src::xmule.cpp' X--- src/xmule.cpp.orig Tue Sep 9 00:15:19 2003 X+++ src/xmule.cpp Tue Sep 9 00:16:06 2003 X@@ -797,7 +797,7 @@ X delete[] emulesig_path; X delete[] xmulesig_path; X } //End Added By Bouc7 X-#if defined(__Linux__) X+#if 0 X #include X #endif X X@@ -810,7 +810,7 @@ X theApp.clientudp->Destroy(); X X // (stkn) create backtrace X-#if defined(__Linux__) X+#if 0 X void *bt_array[100]; // 100 should be enough ?!? X char **bt_strings; X int num_entries; END-of-xmule/files/patch-src::xmule.cpp echo x - xmule/files/patch-src::otherfunctions.cpp sed 's/^X//' >xmule/files/patch-src::otherfunctions.cpp << 'END-of-xmule/files/patch-src::otherfunctions.cpp' X--- src/otherfunctions.cpp.orig Mon May 26 12:05:22 2003 X+++ src/otherfunctions.cpp Mon May 26 12:05:37 2003 X@@ -546,7 +546,7 @@ X } X X #ifdef __FreeBSD__ X-long long atoll( char * s ){ X+long long atoll(const char * s){ X return strtoll(s, (char **)NULL, 10); X } X #endif /* __FreeBSD__ */ END-of-xmule/files/patch-src::otherfunctions.cpp echo x - xmule/files/patch-configure sed 's/^X//' >xmule/files/patch-configure << 'END-of-xmule/files/patch-configure' X--- configure.orig Tue Sep 9 00:47:46 2003 X+++ configure Tue Sep 9 00:46:14 2003 X@@ -7540,7 +7540,8 @@ X X echo "$as_me:$LINENO: checking if wxWindows was linked with GTK2" >&5 X echo $ECHO_N "checking if wxWindows was linked with GTK2... $ECHO_C" >&6 X- if $WX_CONFIG_NAME --cppflags | grep -q 'gtk2' ; then X+#if $WX_CONFIG_NAME --cppflags | grep -q 'gtk2' ; then X+ if $WX_CONFIG_NAME --static --libs | grep -q 'glib-2' ; then X GTK_USEDVERSION=2 X echo "$as_me:$LINENO: result: yes" >&5 X echo "${ECHO_T}yes" >&6 END-of-xmule/files/patch-configure echo x - xmule/files/patch-src::ClientCredits.cpp sed 's/^X//' >xmule/files/patch-src::ClientCredits.cpp << 'END-of-xmule/files/patch-src::ClientCredits.cpp' X--- src/ClientCredits.cpp.orig Tue May 27 15:25:08 2003 X+++ src/ClientCredits.cpp Tue May 27 15:25:19 2003 X@@ -22,7 +22,7 @@ X #include "ClientCredits.h" X #include "opcodes.h" X #include X-#include "/usr/include/time.h" X+#include X #include X #include X #include END-of-xmule/files/patch-src::ClientCredits.cpp echo x - xmule/files/patch-Preferences.cpp sed 's/^X//' >xmule/files/patch-Preferences.cpp << 'END-of-xmule/files/patch-Preferences.cpp' X--- src/Preferences.cpp.orig Tue Sep 9 00:56:24 2003 X+++ src/Preferences.cpp Tue Sep 9 00:56:21 2003 X@@ -60,7 +60,7 @@ X #endif X X #ifdef __FreeBSD__ X-extern long long atoll(char *s); X+extern long long atoll(const char *s); X #endif /* __FreeBSD__ */ X X /// new implementation END-of-xmule/files/patch-Preferences.cpp echo x - xmule/Makefile sed 's/^X//' >xmule/Makefile << 'END-of-xmule/Makefile' X# New ports collection makefile for: xmule X# Date created: Tue Mar 11 05:06:20 UTC 2003 X# Whom: Mario Sergio Fujikawa Ferreira X# X# $FreeBSD: ports/net/xmule/Makefile,v 1.14 2003/08/27 15:22:32 nectar Exp $ X# X XPORTNAME= xmule XPORTVERSION= 1.6.0 XPORTREVISION= 1 XCATEGORIES= net XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= xmule X XMAINTAINER= lioux@FreeBSD.org XCOMMENT= Port of eMule eDonkey P2P client using wxWindows class library X X#FORBIDDEN= Multiple vulnerabilities, see \ X# http://security.e-matters.de/advisories/022003.html X XLIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \ X expat.4:${PORTSDIR}/textproc/expat2 \ X wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel XRUN_DEPENDS= wget:${PORTSDIR}/ftp/wget X XUSE_X_PREFIX= yes XUSE_BZIP2= yes XUSE_GNOME= gnomehier \ X gnomehack \ X gnomeprefix XUSE_REINPLACE= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --without-included-gettext \ X --with-libintl-prefix=${LOCALBASE} \ X --with-wx-config=${WX_CONFIG} XCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ X LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" X XWX_CONFIG?= ${X11BASE}/bin/wx-config X Xpost-patch: X# it works for FreeBSD as well X @${REINPLACE_CMD} -E \ X -e 's|(Linux)|FreeBSD/\1|' \ X ${WRKSRC}/src/*.cpp X# remove ^M X @${REINPLACE_CMD} -E \ X -e 's| ||' \ X ${WRKSRC}/src/MD5Sum.cpp X Xpre-configure: X @${FIND} ${WRKSRC} -type f -name "Makefile.in" | \ X ${XARGS} -x -n 10 \ X ${REINPLACE_CMD} -E \ X -e 's!^(AUTOCONF|AUTOHEADER|AUTOMAKE|ACLOCAL).*$$!\1=${TRUE}!' X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include X X.if exists(${WX_CONFIG}) X# detect if wxgtk was linked against gtk1 or gtk2 XDECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs X.else XDECISION_GTK_1_OR_2= "" X.endif X X.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != "" XUSE_GNOME+= gtk20 X.else XUSE_GNOME+= gtk12 X.endif X X.include END-of-xmule/Makefile echo x - xmule/distinfo sed 's/^X//' >xmule/distinfo << 'END-of-xmule/distinfo' XMD5 (xmule-1.6.0.tar.bz2) = 513aee4826007d2e9c5bade5ca48b144 END-of-xmule/distinfo echo x - xmule/pkg-descr sed 's/^X//' >xmule/pkg-descr << 'END-of-xmule/pkg-descr' X[ from author's website ] X XPort of eMule eDonkey P2P client using wxWindows class library. X XFeatures X X* Download/Upload works X* You can search and add ed2k-links X* Statistics X* Shared files tab works X* Messages tab is now implemented X* You can manage friends X* xMule can be minimized to systray X* You can set nearly all preferences X XWWW: http://www.xmule.org/ END-of-xmule/pkg-descr echo x - xmule/pkg-message sed 's/^X//' >xmule/pkg-message << 'END-of-xmule/pkg-message' X ATTENTIONATTENTION: X XNote: Settings were NEVER saved for SharedFile and QueueList and Xpossibly some other lists... Due to this, unless you are using xMule Xfor the first time, there will be no saved settings for these two Xlists; thus, it will think all of their columns are to be hidden. X XBest fix: right-click on the grey top of each list and select each Xitem in that popup to display the columns... be SURE to quit xMule Xafter doing this because if it crashes you have to do this step Xagain! X XMessy fix: rm /homedir/.lmule/preferences.dat this will remove XEVERYTHING, including shares and whatnot. The preferences.dat is a Xbinary file, thus it will be *incredibly* difficult to change by Xhand. X XInformation taken from xMule developer XTed R. Smith END-of-xmule/pkg-message echo x - xmule/pkg-plist sed 's/^X//' >xmule/pkg-plist << 'END-of-xmule/pkg-plist' Xbin/ed2k Xbin/xmule Xshare/gnome/applications/xmule.desktop Xshare/gnome/pixmaps/xmule.xpm Xshare/locale/de/LC_MESSAGES/xmule.mo Xshare/locale/ee/LC_MESSAGES/xmule.mo Xshare/locale/es/LC_MESSAGES/xmule.mo Xshare/locale/es_MX/LC_MESSAGES/xmule.mo Xshare/locale/fr/LC_MESSAGES/xmule.mo Xshare/locale/pl/LC_MESSAGES/xmule.mo Xshare/locale/tr/LC_MESSAGES/xmule.mo X@unexec rmdir %D/share/locale/tr/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/tr 2>/dev/null || true X@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/pl 2>/dev/null || true X@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/fr 2>/dev/null || true X@unexec rmdir %D/share/locale/es_MX/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/es_MX 2>/dev/null || true X@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/es 2>/dev/null || true X@unexec rmdir %D/share/locale/ee/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/ee 2>/dev/null || true X@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/de 2>/dev/null || true END-of-xmule/pkg-plist exit --- xmule-1.6.0_1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: