Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2008 14:20:43 GMT
From:      Fabian Keil <fk@fabiankeil.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127323: [MAINTAINER] Update net-mgmt/vidalia to 0.1.9
Message-ID:  <200809121420.m8CEKhYR061390@www.freebsd.org>
Resent-Message-ID: <200809121430.m8CEU0r0072506@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127323
>Category:       ports
>Synopsis:       [MAINTAINER] Update net-mgmt/vidalia to 0.1.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 12 14:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Fabian Keil
>Release:        HEAD
>Organization:
>Environment:
FreeBSD TP51.local 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Fri Aug 15 23:35:09 CEST 2008     fk@TP51.local:/usr/obj/usr/src/sys/THINKPAD  i386
>Description:
The attached patch updates net-mgmt/vidalia to 0.1.9.

Several versions were skipped due to cmake issues in the past.

Thanks to Henry Hu for testing with FreeBSD 7-STABLE on i386.

Vidalia works for me on 8.0-CURRENT/amd64 but dumps
core on 8.0-CURRENT/i386 right after starting it:

fk@TP51 ~ $vidalia 
terminate called after throwing an instance of '__gnu_cxx::__concurrence_lock_error'
  what():  __gnu_cxx::__concurrence_lock_error
Abort trap: 6 (core dumped)
fk@TP51 ~ $gdb `which vidalia` vidalia.core  
GNU gdb 6.1.1 [FreeBSD]
[...]
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2945e5b7 in kill () from /lib/libc.so.7
[New Thread 0x8401040 (LWP 100162)]
(gdb) where
#0  0x2945e5b7 in kill () from /lib/libc.so.7
#1  0x2945e516 in raise () from /lib/libc.so.7
#2  0x2945d13a in abort () from /lib/libc.so.7
#3  0x292ceef0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#4  0x292d370a in std::set_unexpected () from /usr/lib/libstdc++.so.6
#5  0x292d3752 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0x292d364a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0x292eac56 in __cxa_guard_acquire () from /usr/lib/libstdc++.so.6
#8  0x287d063c in loader () from /usr/local/lib/qt4/libQtGui.so.4
#9  0x287d088f in QStyleFactory::keys () from /usr/local/lib/qt4/libQtGui.so.4
#10 0x080b534a in VidaliaSettings::VidaliaSettings ()
#11 0x08100797 in Vidalia::setLanguage ()
#12 0x08101775 in Vidalia::Vidalia ()
#13 0x080fe959 in main ()

I didn't mark it as broken on 8.0-CURRENT/i386
because I haven't ruled out local problems yet.

Given that the Vidalia version currently in the
ports stopped working with recent Tor versions,
it's not a real regression anyway.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u -r net-mgmt/vidalia-0.16/Makefile net-mgmt/vidalia/Makefile
--- net-mgmt/vidalia-0.16/Makefile	2008-06-06 15:53:06.000000000 +0200
+++ net-mgmt/vidalia/Makefile	2008-09-11 18:22:48.230686506 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	vidalia
-PORTVERSION=	0.0.16
-PORTREVISION=	1
+PORTVERSION=	0.1.9
 CATEGORIES=	net-mgmt security
 MASTER_SITES=	http://www.vidalia-project.net:8001/vidalia/\
 		http://tor.eff.org/dist/vidalia-bundles/
@@ -15,12 +14,10 @@
 MAINTAINER=	fk@fabiankeil.de
 COMMENT=	A graphical Tor controller based on Qt 4.x
 
-PLIST_FILES=	bin/${PORTNAME}
-MAN1=		${PORTNAME}.1
+PLIST_FILES=	bin/${PORTNAME}\
+		${LOCAL}/share/applications/vidalia.desktop
 
-HAS_CONFIGURE=	yes
-
-USE_GMAKE=	yes
+USE_CMAKE=	yes
 USE_QT_VER=	4
 QT_COMPONENTS=	gui moc qmake rcc uic network xml linguist
 
@@ -59,13 +56,4 @@
 RUN_DEPENDS+=	${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor
 .endif
 
-post-extract:
-	${REINPLACE_CMD} -e 's@/bin/lrelease@/bin/lrelease-qt4@' ${WRKSRC}/configure
-
-post-configure:
-.if defined(TOR_CONTROL_ADDR)
-	 ${REINPLACE_CMD} -e 's@127\.0\.0\.1@${TOR_CONTROL_ADDR}@' ${WRKSRC}/src/config/torsettings.cpp
-.endif
-	 ${REINPLACE_CMD} -E -e 's@(INCPATH +=)@\1 -I${LOCALBASE}/include@' -e 's@/share(/man/man1)@\1@' ${WRKSRC}/Makefile
-
 .include <bsd.port.post.mk>
diff -u -r net-mgmt/vidalia-0.16/distinfo net-mgmt/vidalia/distinfo
--- net-mgmt/vidalia-0.16/distinfo	2007-12-15 23:16:56.000000000 +0100
+++ net-mgmt/vidalia/distinfo	2008-09-11 18:22:48.231687228 +0200
@@ -1,3 +1,3 @@
-MD5 (vidalia-0.0.16.tar.gz) = d35881a463d18c36ace84682e2a875ae
-SHA256 (vidalia-0.0.16.tar.gz) = c5a7a60628581a2b02a3f9133c0741bb20a67564ab1f84d58e66619836fbe5a6
-SIZE (vidalia-0.0.16.tar.gz) = 1907078
+MD5 (vidalia-0.1.9.tar.gz) = cb75b0c7eb858276f29bf039bf156ce0
+SHA256 (vidalia-0.1.9.tar.gz) = bfc840e1cc355183a04e7eb82c627d231c1a7db61325045c0752497808282f20
+SIZE (vidalia-0.1.9.tar.gz) = 2169726


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809121420.m8CEKhYR061390>