Skip site navigation (1)Skip section navigation (2)
Date:      9 Feb 2000 11:26:53 +1100
From:      john@nlc.net.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16590: New version 1.2 of www/transproxy
Message-ID:  <20000209002653.15846.qmail@grunt.nlc.net.au>

next in thread | raw e-mail | index | archive | help

>Number:         16590
>Category:       ports
>Synopsis:       New version 1.2 of www/transproxy
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb  9 03:30:06 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     John Saunders
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
NORTHLINK COMMUNICATIONS PTY LTD
>Environment:

	Ports tree

>Description:

	The ports contain version 1.0 of transproxy which contains a
	serious bug in parsing HTTP POST requests as used by CGI
	forms.

>How-To-Repeat:

	N/A.

>Fix:

diff -urN transproxy.orig/Makefile transproxy/Makefile
--- transproxy.orig/Makefile	Sun Jan  2 15:36:14 2000
+++ transproxy/Makefile	Wed Feb  9 11:11:33 2000
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	transproxy
-# Version required:		1.0
+# Version required:		1.2
 # Date created:			Fri Mar 27 21:24:13 WST 1998
 # Whom:				Peter Wemm <peter@netplex.com.au>
 #
 # $FreeBSD: ports/www/transproxy/Makefile,v 1.6 1999/12/29 08:34:54 steve Exp $
 #
 
-DISTNAME=	transproxy-1.0
+DISTNAME=	transproxy-1.2
 CATEGORIES=	www net
 MASTER_SITES=	ftp://ftp.nlc.net.au/pub/unix/transproxy/
 EXTRACT_SUFX=	.tgz
diff -urN transproxy.orig/files/md5 transproxy/files/md5
--- transproxy.orig/files/md5	Sun Jan  2 15:36:14 2000
+++ transproxy/files/md5	Wed Feb  9 11:11:48 2000
@@ -1 +1 @@
-MD5 (transproxy-1.0.tgz) = 81ebbe417f6d56345b29ef7edd3d725e
+MD5 (transproxy-1.2.tgz) = 70eb15a4bce32f8148f6806e9f69a1e8
diff -urN transproxy.orig/patches/patch-aa transproxy/patches/patch-aa
--- transproxy.orig/patches/patch-aa	Sun Jan  2 15:36:14 2000
+++ transproxy/patches/patch-aa	Wed Feb  9 11:13:42 2000
@@ -1,32 +1,32 @@
---- Makefile.orig	Mon Jul 12 11:55:33 1999
-+++ Makefile	Mon Jul 12 12:55:57 1999
-@@ -56,15 +56,16 @@
+--- Makefile.orig	Wed Feb  9 09:59:09 2000
++++ Makefile	Wed Feb  9 11:12:59 2000
+@@ -57,17 +57,18 @@
  #OPTIONS += -DHAVE_GETOPT_H
  
  # You may need to touch PREFIX, CC and CFLAGS.
 -PREFIX = /usr/local
 -INSTALL_PROGRAM = install -c -m 555 -o bin -g bin
 -INSTALL_MAN = install -c -m 444 -o bin -g bin
--
--RM      = rm -f
--CC      = gcc
--CFLAGS  = -O2 -Wall $(OPTIONS)
--LDFLAGS = -s
--LIBS    += #-lresolv
 +#PREFIX = /usr/local
 +#INSTALL_PROGRAM = install -c -m 555 -o bin -g bin
 +#INSTALL_MAN = install -c -m 444 -o bin -g bin
-+
+ 
+ # Some make's don't define this.
+-RM      = rm -f
 +#RM      = rm -f
+ 
+ # Should be OK for GNU gcc.
+-CC      = gcc
+-CFLAGS  = -O2 -Wall $(OPTIONS)
+-LDFLAGS = -s
 +#CC      = gcc
 +#CFLAGS  = -O2 -Wall $(OPTIONS)
 +CFLAGS  += $(OPTIONS)
 +#LDFLAGS = -s
-+#LIBS    += #-lresolv
  
- # You shouldn't need to touch anything below this.
- all:		tproxy
-@@ -85,7 +86,7 @@
+ # For using BIND resolver instead of system resolver.
+ #LIBS    += -lresolv	# Really old Linux has this.
+@@ -96,7 +97,7 @@
  	$(RM) tproxy
  
  install:	tproxy



>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?20000209002653.15846.qmail>