Date: Mon, 4 Dec 2000 18:07:07 -0800 (PST) From: Donald Burr <dburr@borg-cube.com> To: FreeBSD-gnats-submit@freebsd.org Cc: cj@vallcom.net Subject: ports/23289: Patches to ports/irc/bitchx to support SOCKS5 Message-ID: <200012050207.eB5277f02818@borg-cube.com> Resent-Message-ID: <200012050210.eB52A2349106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 23289 >Category: ports >Synopsis: Patches to ports/irc/bitchx to support SOCKS5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 04 18:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Donald Burr >Release: FreeBSD 4.2-BETA i386 >Organization: The Borg Cube - Resistance is Futile! http://www.borg-cube.com/ >Environment: FreeBSD 4.2-BETA, latest ports cvsup >Description: The attached patch allows BitchX to be built with SOCKS5 support. This is particularly helpful if you want to irc fromn behind a firewall or NAT box, since many IRC servers nowadays use IDENT which doesn't work through firewalls. However, stick a socks5 proxy on the firewall, and everything works fine... >How-To-Repeat: >Fix: --- Makefile.old Mon Dec 4 18:02:09 2000 +++ Makefile Mon Dec 4 18:00:59 2000 @@ -51,6 +51,12 @@ @uudecode -p ${FILESDIR}/tcl-freebsd.o.uu > ${WRKSRC}/source/tcl.o .endif +.if defined(WITH_SOCKS5) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 +CONFIGURE_ARGS+=--with-socks5=${LOCALBASE} +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" +.endif + .if defined(WITH_PLUGINS) CONFIGURE_ARGS+=--with-plugins=pkga,possum,encrypt,hint,abot,acro,amp,blowfish,scan,wavplay,qmail,fserv,nap,qbx PLIST_SUB+= PLUGINS:="" @@ -70,6 +76,7 @@ @${ECHO} "WITH_PLUGINS - Build the plugins" @${ECHO} "WITH_LATIN - Recommended if you are using an ISO-8859-1 display" @${ECHO} "WITH_TCL - Build BitchX with TCL scripting" + @${ECHO} "WITH_SOCKS5 - Build BitchX with SOCKS5 support" post-install: .if !defined(NOPORTDOCS) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012050207.eB5277f02818>