1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Vidalia is a graphical Tor controller based on Qt 4.x.

WWW:     http://www.vidalia-project.net/
Authors: Matt Edman and Justin Hipple

PR:		ports/110034
Submitted by:	Fabian Keil <fk at fabiankeil.de>
This commit is contained in:
Martin Wilke 2007-03-09 10:08:58 +00:00
parent 31de7a68a4
commit 7589c1d522
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186975
5 changed files with 82 additions and 0 deletions

View File

@ -211,6 +211,7 @@
SUBDIR += tknetmon
SUBDIR += torrus
SUBDIR += trafd
SUBDIR += vidalia
SUBDIR += wdiag
SUBDIR += weplab
SUBDIR += whatmask

59
net-mgmt/vidalia/Makefile Normal file
View File

@ -0,0 +1,59 @@
# New ports collection makefile for: vidalia
# Date created: 2007-02-19
# Whom: Fabian Keil <fk@fabiankeil.de>
#
# $FreeBSD$
#
PORTNAME= vidalia
PORTVERSION= 0.0.11
CATEGORIES= net-mgmt security
MASTER_SITES= http://vidalia-project.net:8001/\
http://tor.eff.org/dist/vidalia-bundles/
MAINTAINER= fk@fabiankeil.de
COMMENT= A graphical Tor controller based on Qt 4.x
PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= gui moc qmake rcc uic network xml linguist
OPTIONS= TOR_DEVEL "Depend on tor-devel" On \
TOR "Depend on tor" Off
HAVE_TOR_DEVEL!= if pkg_info -I tor-devel\* >/dev/null 2>&1 ; then ${ECHO} YES; fi
.if (${HAVE_TOR_DEVEL} == "YES")
OPTIONS= TOR_DEVEL "Depend on tor-devel (already installed)" On
.else
HAVE_TOR_DEVEL!= if pkg_info -I tor-\* >/dev/null 2>&1 ; then ${ECHO} YES; fi
.endif
.if (defined(HAVE_TOR) && ${HAVE_TOR} == "YES")
OPTIONS= TOR "Depend on tor (already installed)" On
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_TOR_DEVEL)
.if defined(WITH_TOR)
IGNORE= cannot depend on tor and tor-devel at the same time
.endif
RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor-devel
.elif defined(WITH_TOR)
RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor
.endif
pre-extract:
@${CAT} ${PKGMESSAGE}
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${X11BASE}/include@' ${WRKSRC}/Makefile
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (vidalia-0.0.11.tar.gz) = c3db2a85a6db2314c008cbd8aed6ebb0
SHA256 (vidalia-0.0.11.tar.gz) = 16ab47a3814c058cb93791f0cb972e1c2722a7bdd81006c54b752f7cb07aa529
SIZE (vidalia-0.0.11.tar.gz) = 1810953

View File

@ -0,0 +1,4 @@
Vidalia is a graphical Tor controller based on Qt 4.x.
WWW: http://www.vidalia-project.net/
Authors: Matt Edman and Justin Hipple

View File

@ -0,0 +1,15 @@
If your Onion Router isn't listening on 127.0.0.1,
you can build the Vidalia port with TOR_CONTROL_ADDR
set to something else. You can't change this address
through Vidalia's GUI.
Note that Vidalia requires systray support to do anything
useful (you need the systray icon to open Vidalia's windows).
If your Window Manager doesn't have a systray, you can
install x11/stalonetray or another systray provider through
the ports.
The systray provider has to be running before you start
Vidalia. Vidalia doesn't show any error messages if
no systray was found!