From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 14 06:30:20 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D84716A4CE for ; Sun, 14 Nov 2004 06:30:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D12643D46 for ; Sun, 14 Nov 2004 06:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iAE6UKmA099955 for ; Sun, 14 Nov 2004 06:30:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAE6UKMA099939; Sun, 14 Nov 2004 06:30:20 GMT (envelope-from gnats) Resent-Date: Sun, 14 Nov 2004 06:30:20 GMT Resent-Message-Id: <200411140630.iAE6UKMA099939@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, "ports@c0decafe.net" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A05016A4CE for ; Sun, 14 Nov 2004 06:23:46 +0000 (GMT) Received: from pop.directnic.com (pop.directnic.com [204.251.10.190]) by mx1.FreeBSD.org (Postfix) with SMTP id BCD9643D31 for ; Sun, 14 Nov 2004 06:23:45 +0000 (GMT) (envelope-from ports@c0decafe.net) Received: by pop.directnic.com (iris/0.160:423476); 14 Nov 2004 06:23:04 +0000 Received: from [194.126.28.53] (EHLO atlantis.local) (194.126.28.53) by pop.directnic.com (iris/0.160:423476/relay) with ESMTP for ; 14 Nov 2004 06:23:03 +0000 Received: from atlantis.local (localhost [127.0.0.1]) by atlantis.local (8.13.1/8.13.1) with ESMTP id iAE6M1Ic059800; Sun, 14 Nov 2004 08:22:01 +0200 (EET) (envelope-from ports@c0decafe.net) Received: (from root@localhost) by atlantis.local (8.13.1/8.13.1/Submit) id iAE6M1Yq059799; Sun, 14 Nov 2004 08:22:01 +0200 (EET) (envelope-from ports@c0decafe.net) Message-Id: <200411140622.iAE6M1Yq059799@atlantis.local> Date: Sun, 14 Nov 2004 08:22:01 +0200 (EET) From: "ports@c0decafe.net" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: anders@FreeBSD.org Subject: ports/73923: [PATCH] www/pound: update to 1.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 06:30:20 -0000 >Number: 73923 >Category: ports >Synopsis: [PATCH] www/pound: update to 1.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Nov 14 06:30:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: ports@c0decafe.net >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD atlantis.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Nov 13 07:00:43 EET 2004 >Description: - Update to 1.8 Removed file(s): - files/patch-Makefile.in - files/patch-configure - files/patch-pound.c Port maintainer (anders@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- pound-1.8.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/pound.orig/Makefile /usr/ports/www/pound/Makefile --- www/pound.orig/Makefile Sat May 1 00:29:04 2004 +++ www/pound/Makefile Sun Nov 14 01:24:24 2004 @@ -6,10 +6,9 @@ # PORTNAME= pound -PORTVERSION= 1.7 +PORTVERSION= 1.8 CATEGORIES= www net -MASTER_SITES= http://www.apsis.ch/pound/ \ - ftp://ftp.nuug.no/pub/anders/distfiles/ +MASTER_SITES= http://www.apsis.ch/pound/ DISTNAME= Pound-${PORTVERSION} EXTRACT_SUFX= .tgz diff -ruN --exclude=CVS /usr/ports/www/pound.orig/distinfo /usr/ports/www/pound/distinfo --- www/pound.orig/distinfo Sat May 1 00:29:04 2004 +++ www/pound/distinfo Sun Nov 14 01:29:13 2004 @@ -1,2 +1,2 @@ -MD5 (Pound-1.7.tgz) = ebd15a0ff4a1920a857239630c33e8f5 -SIZE (Pound-1.7.tgz) = 132879 +MD5 (Pound-1.8.tgz) = f8a15e9019ce778afae952a83c172145 +SIZE (Pound-1.8.tgz) = 139707 diff -ruN --exclude=CVS /usr/ports/www/pound.orig/files/patch-Makefile.in /usr/ports/www/pound/files/patch-Makefile.in --- www/pound.orig/files/patch-Makefile.in Sat May 1 00:29:04 2004 +++ www/pound/files/patch-Makefile.in Thu Jan 1 02:00:00 1970 @@ -1,13 +0,0 @@ ---- Makefile.in Wed Mar 24 11:03:14 2004 -+++ Makefile.in Sun Mar 28 15:01:40 2004 -@@ -48,8 +48,8 @@ - $(OBJS): pound.h - - install: all -- @INSTALL@ -o bin -g bin -m 555 -s -D pound @sbindir@/pound -- @INSTALL@ -o bin -g bin -m 644 -D pound.8 @mandir@/man8/pound.8 -+ @INSTALL@ -o bin -g bin -m 555 -s pound @sbindir@/pound -+ @INSTALL@ -o bin -g bin -m 644 pound.8 @mandir@/man8/pound.8 - - clean: - rm -f pound $(OBJS) diff -ruN --exclude=CVS /usr/ports/www/pound.orig/files/patch-configure /usr/ports/www/pound/files/patch-configure --- www/pound.orig/files/patch-configure Sat May 1 00:29:04 2004 +++ www/pound/files/patch-configure Thu Jan 1 02:00:00 1970 @@ -1,13 +0,0 @@ ---- configure.orig Fri Apr 30 22:18:25 2004 -+++ configure Fri Apr 30 22:19:13 2004 -@@ -2348,8 +2348,8 @@ - - case $target_os in - *BSD*|*bsd*) -- CPPFLAGS="${CPPFLAGS} -pthread -DNEED_STACK -D_REENTRANT -D_THREAD_SAFE" -- LDFLAGS="${LDFLAGS} -pthread" -+ CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -DNEED_STACK -D_REENTRANT -D_THREAD_SAFE" -+ LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" - ;; - *) - CPPFLAGS="${CPPFLAGS} -D_REENTRANT" diff -ruN --exclude=CVS /usr/ports/www/pound.orig/files/patch-pound.c /usr/ports/www/pound/files/patch-pound.c --- www/pound.orig/files/patch-pound.c Sat May 1 00:29:04 2004 +++ www/pound/files/patch-pound.c Thu Jan 1 02:00:00 1970 @@ -1,30 +0,0 @@ ---- pound.c Wed Mar 24 16:03:14 2004 -+++ pound.c Tue Mar 30 19:13:51 2004 -@@ -742,10 +742,11 @@ - logmsg(LOG_WARNING, "HTTP arg: malloc"); - close(clnt); - } else { -+ socklen_t namelen; - arg->sock = clnt; - arg->from_host = clnt_addr.sin_addr; -- memset(&arg->to_host, 0, n = sizeof(arg->to_host)); -- getsockname(http_sock[i], (struct sockaddr *)&arg->to_host, &n); -+ memset(&arg->to_host, 0, namelen = sizeof(arg->to_host)); -+ getsockname(http_sock[i], (struct sockaddr *)&arg->to_host, &namelen); - arg->ctx = NULL; - if(pthread_create(&thr, &attr, thr_http, (void *)arg)) { - logmsg(LOG_WARNING, "HTTP pthread_create: %s", strerror(errno)); -@@ -776,10 +777,11 @@ - logmsg(LOG_WARNING, "HTTPS arg: malloc"); - close(clnt); - } else { -+ socklen_t namelen; - arg->sock = clnt; - arg->from_host = clnt_addr.sin_addr; -- memset(&arg->to_host, 0, n = sizeof(arg->to_host)); -- getsockname(https_sock[i], (struct sockaddr *)&arg->to_host, &n); -+ memset(&arg->to_host, 0, namelen = sizeof(arg->to_host)); -+ getsockname(https_sock[i], (struct sockaddr *)&arg->to_host, &namelen); - arg->ctx = ctx[i]; - if(pthread_create(&thr, &attr, thr_http, (void *)arg)) { - logmsg(LOG_WARNING, "HTTPS pthread_create: %s", strerror(errno)); --- pound-1.8.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: