From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 5 12:20:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F054106566C for ; Thu, 5 May 2011 12:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D811E8FC1D for ; Thu, 5 May 2011 12:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p45CK9RV084399 for ; Thu, 5 May 2011 12:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p45CK9fQ084398; Thu, 5 May 2011 12:20:09 GMT (envelope-from gnats) Resent-Date: Thu, 5 May 2011 12:20:09 GMT Resent-Message-Id: <201105051220.p45CK9fQ084398@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Hausner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FAE31065670 for ; Thu, 5 May 2011 12:13:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 12C3E8FC13 for ; Thu, 5 May 2011 12:13:08 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p45CD6rp073723 for ; Thu, 5 May 2011 12:13:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p45CD6L8073717; Thu, 5 May 2011 12:13:06 GMT (envelope-from nobody) Message-Id: <201105051213.p45CD6L8073717@red.freebsd.org> Date: Thu, 5 May 2011 12:13:06 GMT From: Alexander Hausner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/156829: [maintainer update] [net/tcpproxy] problem: port ignores settings in make.conf X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 12:20:10 -0000 >Number: 156829 >Category: ports >Synopsis: [maintainer update] [net/tcpproxy] problem: port ignores settings in make.conf >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 05 12:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexander Hausner >Release: FreeBSD 8.2-RELEASE-p1 >Organization: BMG >Environment: FreeBSD hugo.bmg.gv.at 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #6: Mon May 2 11:47:49 CEST 2011 root@hugo.bmg.gv.at:/usr/obj/usr/src/sys/HUGO amd64 >Description: net/tcpproxy ignores settings in /etc/make.conf during the build process. >How-To-Repeat: >Fix: update to revision 1, which contains a patch for this problem, see the shar file. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tcpproxy # tcpproxy/distinfo # tcpproxy/Makefile # tcpproxy/files # tcpproxy/files/tcpproxy.in # tcpproxy/files/patch-configure # tcpproxy/pkg-descr # echo c - tcpproxy mkdir -p tcpproxy > /dev/null 2>&1 echo x - tcpproxy/distinfo sed 's/^X//' >tcpproxy/distinfo << '7ac5e450349bddc47b85d75236cd87ca' XSHA256 (tcpproxy-1.0.tar.gz) = 8d21bca2849b87b05566549859666a8bde0e21ed1a304390a71a12929e937f70 XSIZE (tcpproxy-1.0.tar.gz) = 35946 7ac5e450349bddc47b85d75236cd87ca echo x - tcpproxy/Makefile sed 's/^X//' >tcpproxy/Makefile << 'd9c3e76413d6988a9a98b84d11c2fdc7' X# New ports collection makefile for: tcpproxy X# Date created: 2011-03-30 X# Whom: Alexander Hausner X# X# $FreeBSD: ports/net/tcpproxy/Makefile,v 1.1 2011/04/03 11:22:53 dhn Exp $ X# X XPORTNAME= tcpproxy XPORTVERSION= 1.0 XPORTREVISION= 1 XCATEGORIES= net XMASTER_SITES= http://www.spreadspace.org/tcpproxy/releases/ \ X http://alex.bmg.gv.at/programs/ X XMAINTAINER= alex@hugo.bmg.gv.at XCOMMENT= A simple tcp connection proxy for ipv4 and ipv6 X XBUILD_DEPENDS= ragel:${PORTSDIR}/devel/ragel X XUSE_GMAKE= yes XHAS_CONFIGURE= yes X XUSERS= _tcpproxy XGROUPS= _tcpproxy X XMAN8= tcpproxy.8 X XUSE_RC_SUBR= tcpproxy X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src X XPLIST_FILES= bin/tcpproxy etc/tcpproxy_sample.conf X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/tcpproxy ${PREFIX}/bin X ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/contrib/example.conf ${PREFIX}/etc/tcpproxy_sample.conf X ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/${MAN8} ${PREFIX}/man/man8 X X.include d9c3e76413d6988a9a98b84d11c2fdc7 echo c - tcpproxy/files mkdir -p tcpproxy/files > /dev/null 2>&1 echo x - tcpproxy/files/tcpproxy.in sed 's/^X//' >tcpproxy/files/tcpproxy.in << '3fa981900f21f7cae9b9a957bc005980' X#!/bin/sh X# X# PROVIDE: tcpproxy X# REQUIRE: LOGIN X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf X# to enable this service: X# X# tcpproxy_enable (bool): Set to NO by default. X# Set it to YES to enable tcpproxy. X# tcpproxy_config (path): Set to %%PREFIX%%/etc/tcpproxy.conf X# by default. X# X X. /etc/rc.subr X Xname="tcpproxy" Xrcvar=${name}_enable X Xcommand=%%PREFIX%%/bin/${name} Xpidfile=/var/run/${name}.pid X Xload_rc_config $name X X: ${tcpproxy_enable="NO"} X: ${tcpproxy_config="%%PREFIX%%/etc/tcpproxy.conf"} X Xcommand_args="-P $pidfile -c $tcpproxy_config -u _tcpproxy -g _tcpproxy" X Xrun_rc_command "$1" 3fa981900f21f7cae9b9a957bc005980 echo x - tcpproxy/files/patch-configure sed 's/^X//' >tcpproxy/files/patch-configure << '29ac940abd0300d45b6d02b3084aefb2' X--- configure.org 2011-05-04 20:30:40.000000000 +0200 X+++ configure 2011-05-04 20:31:06.000000000 +0200 X@@ -29,8 +29,8 @@ X TARGET=`uname -s` X EBUILD_COMPAT=0 X X-CFLAGS='-g -O2' X-LDFLAGS='-g -Wall -O2' X+CFLAGS="${CFLAGS} -g -O2" X+LDFLAGS="${LDFLAGS} -g -Wall -O2" X X PREFIX='/usr/local' X BINDIR='' 29ac940abd0300d45b6d02b3084aefb2 echo x - tcpproxy/pkg-descr sed 's/^X//' >tcpproxy/pkg-descr << '32436977b243a5d5d6cd26eac243c1a5' Xtcpproxy is a simple tcp connection proxy which combines the features of Xrinetd and 6tunnel. tcpproxy supports IPv4 and IPv6 and also supports Xconnections from IPv6 to IPv4 endpoints and vice versa. X XWWW: http://www.spreadspace.org/tcpproxy/ 32436977b243a5d5d6cd26eac243c1a5 exit >Release-Note: >Audit-Trail: >Unformatted: