From owner-svn-ports-all@FreeBSD.ORG Mon May 6 15:09:54 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 18E2BF53; Mon, 6 May 2013 15:09:54 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 09CC3B35; Mon, 6 May 2013 15:09:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r46F9roq037634; Mon, 6 May 2013 15:09:53 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r46F9reU037632; Mon, 6 May 2013 15:09:53 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201305061509.r46F9reU037632@svn.freebsd.org> From: Emanuel Haupt Date: Mon, 6 May 2013 15:09:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317520 - head/net-mgmt/tork X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 15:09:54 -0000 Author: ehaupt Date: Mon May 6 15:09:53 2013 New Revision: 317520 URL: http://svnweb.freebsd.org/changeset/ports/317520 Log: - Rewrite to use new options framework - Fix build with devel/bmake - WWW disappeared, use freecode page as an alternative - Remove mail/mixminion as an option since it requires an unsupported python version PR: 178303 Approved by: Thomas Sander (maintainer) Modified: head/net-mgmt/tork/Makefile head/net-mgmt/tork/pkg-descr Modified: head/net-mgmt/tork/Makefile ============================================================================== --- head/net-mgmt/tork/Makefile Mon May 6 14:49:11 2013 (r317519) +++ head/net-mgmt/tork/Makefile Mon May 6 15:09:53 2013 (r317520) @@ -3,7 +3,7 @@ PORTNAME= tork PORTVERSION= 0.30 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt security MASTER_SITES= SF/${PORTNAME}/TorK%20Source%20Tarball/TorK-${PORTVERSION} @@ -26,42 +26,28 @@ MAN1= tork.1 torkarkollon.1 torkify.1 t MAN5= torksocks.conf.5 MAN8= torksocks.8 -HAVE_TOR!= if pkg_info -I tor-\* >/dev/null 2>&1 ; then ${ECHO} YES; fi +OPTIONS_DEFINE= PRIVOXY -.if (${HAVE_TOR} == "YES") -HAVE_TOR_DEVEL!= if pkg_info -I tor-devel\* >/dev/null 2>&1 ; then ${ECHO} YES; fi +PRIVOXY_DESC= Install privoxy -.if (${HAVE_TOR_DEVEL} == "YES") -OPTIONS= TOR_DEVEL "Depend on tor-devel (already installed)" On -.else -OPTIONS= TOR "Depend on tor (already installed)" On -.endif +OPTIONS_SINGLE= TOR +OPTIONS_SINGLE_TOR= TOR_STD TOR_DEVEL -.else -OPTIONS= TOR_DEVEL "Depend on tor-devel" On \ - TOR "Depend on tor" Off -.endif +TOR_STD_DESC= Use stable security/tor port +TOR_DEVEL_DESC= Use development security/tor-devel port -OPTIONS+= PRIVOXY "Install privoxy" On \ - MIXMINION "Install mixminion" Off +OPTIONS_DEFAULT= TOR_STD PRIVOXY -.include +.include -.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) +.if ${PORT_OPTIONS:MTOR_STD} RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor +.else +RUN_DEPENDS+= ${LOCALBASE}/share/tor/geoip6:${PORTSDIR}/security/tor-devel .endif -.if defined(WITH_PRIVOXY) +.if ${PORT_OPTIONS:MPRIVOXY} RUN_DEPENDS+= ${LOCALBASE}/sbin/privoxy:${PORTSDIR}/www/privoxy .endif -.if defined(WITH_MIXMINION) -RUN_DEPENDS+= ${LOCALBASE}/bin/mixminion:${PORTSDIR}/mail/mixminion -.endif - -.include +.include Modified: head/net-mgmt/tork/pkg-descr ============================================================================== --- head/net-mgmt/tork/pkg-descr Mon May 6 14:49:11 2013 (r317519) +++ head/net-mgmt/tork/pkg-descr Mon May 6 15:09:53 2013 (r317520) @@ -1,7 +1,7 @@ TorK is a powerful anonymity manager for the KDE Desktop on Linux and Unix -systems. It first helps you to install, configure and use Tor. It then -reduces the task of anonymizing most applications to a single-click, including -Firefox, Opera, Konqueror, Pidgin, Kopete, SSH, and IRC. For advanced users -TorK provides detailed network information, and more, in an accessible manner. +systems. It first helps you to install, configure and use Tor. It then reduces +the task of anonymizing most applications to a single-click, including Firefox, +Opera, Konqueror, Pidgin, Kopete, SSH, and IRC. For advanced users TorK provides +detailed network information, and more, in an accessible manner. -WWW: http://www.anonymityanywhere.com/tork/ +WWW: http://freecode.com/projects/tork