diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-09 10:08:58 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-09 10:08:58 +0000 |
commit | 7589c1d5224a71b3df6dfa1ce20cdb3e8f164636 (patch) | |
tree | c3fd98c729117c8b70d7cf7080b93a1372633867 /net-mgmt | |
parent | 31de7a68a4ce76e36226a5fca68961cde2b46e9d (diff) | |
download | ports-7589c1d5224a71b3df6dfa1ce20cdb3e8f164636.tar.gz ports-7589c1d5224a71b3df6dfa1ce20cdb3e8f164636.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/vidalia/Makefile | 59 | ||||
-rw-r--r-- | net-mgmt/vidalia/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/vidalia/pkg-descr | 4 | ||||
-rw-r--r-- | net-mgmt/vidalia/pkg-message | 15 |
5 files changed, 82 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 8d1a4a0bc4e6..4d525248e366 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -211,6 +211,7 @@ SUBDIR += tknetmon SUBDIR += torrus SUBDIR += trafd + SUBDIR += vidalia SUBDIR += wdiag SUBDIR += weplab SUBDIR += whatmask diff --git a/net-mgmt/vidalia/Makefile b/net-mgmt/vidalia/Makefile new file mode 100644 index 000000000000..b4e8b65a2ad1 --- /dev/null +++ b/net-mgmt/vidalia/Makefile @@ -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> diff --git a/net-mgmt/vidalia/distinfo b/net-mgmt/vidalia/distinfo new file mode 100644 index 000000000000..12db96553b7a --- /dev/null +++ b/net-mgmt/vidalia/distinfo @@ -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 diff --git a/net-mgmt/vidalia/pkg-descr b/net-mgmt/vidalia/pkg-descr new file mode 100644 index 000000000000..a570d7d10572 --- /dev/null +++ b/net-mgmt/vidalia/pkg-descr @@ -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 diff --git a/net-mgmt/vidalia/pkg-message b/net-mgmt/vidalia/pkg-message new file mode 100644 index 000000000000..4af803f9597e --- /dev/null +++ b/net-mgmt/vidalia/pkg-message @@ -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! |