FreeBSD Bugzilla – Attachment 25688 Details for
Bug 43878
www/pound : upgrade to 0.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pound-0.11.diff
pound-0.11.diff (text/plain), 3.42 KB, created by
Clement Laforet
on 2002-10-09 23:00:17 UTC
(
hide
)
Description:
pound-0.11.diff
Filename:
MIME Type:
Creator:
Clement Laforet
Created:
2002-10-09 23:00:17 UTC
Size:
3.42 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43878
: 25688