ports/73923: [PATCH] www/pound: update to 1.8

ports at c0decafe.net ports at c0decafe.net
Sun Nov 14 06:30:20 UTC 2004


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list