Skip site navigation (1)Skip section navigation (2)
Date:      9 Oct 2002 21:57:39 -0000
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43878: www/pound : upgrade to 0.11
Message-ID:  <20021009215739.55497.qmail@cultdeadsheep.org>

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

>Number:         43878
>Category:       ports
>Synopsis:       www/pound : upgrade to 0.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 09 15:00:17 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
The Cult Of The Dead Sheep
>Environment:
System: FreeBSD goofy.cultdeadsheep.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 4 10:05:12 CEST 2002 root@goofy.cultdeadsheep.org:/usr/obj/usr/src/sys/GOOFY i386


	
>Description:
	- Update pound to 0.11
	- Add boot script.

>How-To-Repeat:
	N/A.
>Fix:

--- pound-0.11.diff begins here ---
diff -Nru pound.old/Makefile pound/Makefile
--- pound.old/Makefile	Wed Oct  9 23:40:52 2002
+++ pound/Makefile	Wed Oct  9 23:50:45 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pound
-PORTVERSION=	0.9
+PORTVERSION=	0.11
 CATEGORIES=	www net
 MASTER_SITES=	http://www.apsis.ch/pound/ \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -16,6 +16,7 @@
 MAINTAINER=	anders@FreeBSD.org
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
+HAS_CONFIGURE=yes
 
 MAKE_ARGS+=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}" \
@@ -26,5 +27,7 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pound ${PREFIX}/sbin/
 	${INSTALL_MAN} ${WRKSRC}/pound.8 ${PREFIX}/man/man8/
-
+	@${ECHO} "===>  Installing ${PREFIX}/etc/rc.d/pound.sh"
+	@${ECHO} "===>  startup file as ${PREFIX}/etc/rc.d/pound.sh.sample"
+	@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/pound.sh ${PREFIX}/etc/rc.d/pound.sh.sample
 .include <bsd.port.mk>
diff -Nru pound.old/distinfo pound/distinfo
--- pound.old/distinfo	Wed Oct  9 23:40:52 2002
+++ pound/distinfo	Wed Oct  9 23:30:53 2002
@@ -1 +1 @@
-MD5 (Pound-0.9.tgz) = 9080568e7ac2c7c15c60799c2c62ce33
+MD5 (Pound-0.11.tgz) = 8e2adde959a746063232c18ad9a8949f
diff -Nru pound.old/files/patch-Makefile pound/files/patch-Makefile
--- pound.old/files/patch-Makefile	Wed Oct  9 23:40:52 2002
+++ pound/files/patch-Makefile	Wed Oct  9 23:38:11 2002
@@ -1,27 +1,24 @@
---- Makefile.orig	Mon Aug 19 08:19:53 2002
-+++ Makefile	Mon Aug 26 22:10:35 2002
-@@ -26,20 +26,20 @@
+--- Makefile.in.orig	Wed Sep 18 17:07:24 2002
++++ Makefile.in	Wed Oct  9 23:38:01 2002
+@@ -26,16 +26,17 @@
  #
- # $Id: Makefile,v 0.9 2002/08/19 08:19:53 roseg Exp roseg $
+ # $Id: Makefile.in,v 0.10 2002/09/05 15:30:13 roseg Exp roseg $
  
--CC=gcc
-+#CC=gcc
- # For GNU-less systems use:
- #CC=cc
+-CC=@CC@
++CC?=@CC@
  
  # Configuration file default; if none, look at config.c for default!
--F_CONF=/usr/local/etc/pound/pound.cfg
-+#F_CONF=/usr/local/etc/pound/pound.cfg
+ F_CONF=/usr/local/etc/pound/pound.cfg
  
--CFLAGS=-O2 -DF_CONF=\"$(F_CONF)\" -DAEMON
-+CFLAGS+= -DF_CONF=\"$(F_CONF)\" -DAEMON $(PTHREAD_CFLAGS) -DNEED_STACK
- # some old compilers don't like -O2; you may want to try -g for debugging
- #CFLAGS=-O -DF_CONF=\"$(F_CONF)\" -DAEMON
- # For OpenBSD/FreeBSD use:
- #CFLAGS=-O2 -pthread -DF_CONF=\"$(F_CONF)\" -DNEED_STACK -DAEMON
- 
--LIBS=-lssl -lpthread
-+LIBS=-lssl -lcrypto $(PTHREAD_LIBS)
- # For SystemV/Solaris use:
- #LIBS=-lssl -lpthread -lsocket -lnsl
- # For OpenBSD/FreeBSD use:
+-CFLAGS=-DF_CONF=\"$(F_CONF)\" -DAEMON @CFLAGS@
++CFLAGS+= -DF_CONF=\"$(F_CONF)\" -DAEMON $(PTHREAD_CFLAGS) @CFLAGS@
+ 
+-LIBS=@LIBS@
++LIBS= $(PTHREAD_LIBS) @LIBS@
+ 
+-prefix=@prefix@
++PREFIX?=@prefix@
++prefix=$(PREFIX)
+ exec_prefix=@exec_prefix@
+ 
+ OBJS=pound.o http.o config.o svc.o
diff -Nru pound.old/files/pound.sh pound/files/pound.sh
--- pound.old/files/pound.sh	Thu Jan  1 01:00:00 1970
+++ pound/files/pound.sh	Wed Oct  9 23:49:40 2002
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
+    echo "$0: Cannot determine the PREFIX" >&2
+    exit 1
+fi
+
+case "$1" in
+start)
+	[ -x ${PREFIX}/sbin/pound ] && ( ${PREFIX}/sbin/pound & ) && echo -n ' pound'
+	;;
+stop)
+	killall pound && echo -n ' pound'
+	;;
+*)
+	echo "Usage: `basename $0` {start|stop}" >&2
+	;;
+esac
+
+exit 0
diff -Nru pound.old/pkg-plist pound/pkg-plist
--- pound.old/pkg-plist	Wed Oct  9 23:40:52 2002
+++ pound/pkg-plist	Wed Oct  9 23:51:24 2002
@@ -1 +1,2 @@
 sbin/pound
+etc/rc.d/pound.sh.sample
--- pound-0.11.diff ends here ---


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