FreeBSD Bugzilla – Attachment 54871 Details for
Bug 82998
[PATCH] www/pound: update to 1.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pound-1.9.patch
pound-1.9.patch (text/plain), 4.13 KB, created by
Shinsuke Matsui
on 2005-07-05 09:20:23 UTC
(
hide
)
Description:
pound-1.9.patch
Filename:
MIME Type:
Creator:
Shinsuke Matsui
Created:
2005-07-05 09:20:23 UTC
Size:
4.13 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/www/pound/Makefile /usr/ports/local/www/pound/Makefile >--- /usr/ports/www/pound/Makefile Mon Jun 6 11:47:19 2005 >+++ /usr/ports/local/www/pound/Makefile Sun Jul 3 13:32:47 2005 >@@ -6,7 +6,7 @@ > # > > PORTNAME= pound >-PORTVERSION= 1.8.5 >+PORTVERSION= 1.9 > CATEGORIES= www net > MASTER_SITES= http://www.apsis.ch/pound/ \ > ftp://ftp.nuug.no/pub/anders/distfiles/ >@@ -18,16 +18,40 @@ > > GNU_CONFIGURE= yes > USE_OPENSSL= yes >+USE_RC_SUBR= ${PORTNAME}.sh >+ >+SUB_LIST+= NAME=${PORTNAME} > > CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ > PTHREAD_LIBS="${PTHREAD_LIBS}" >-MAKE_ARGS+= F_CONF=${PREFIX}/etc/pound.cfg >+MAKE_ARGS+= F_CONF=${PREFIX}/etc/${PORTNAME}.cfg > > MAN8= pound.8 > >+OPTIONS+= DAEMON "Running as a daemon" on \ >+ LOG "With Syslog support" on \ >+ MSDAV "With the Microsoft WebDAV extensions support" off >+ >+.include <bsd.port.pre.mk> >+ >+.if !defined(WITH_DAEMON) >+CONFIGURE_ARGS+= --disable-daemon >+.endif >+ >+.if !defined(WITH_LOG) >+CONFIGURE_ARGS+= --without-log >+.endif >+ >+.if defined(WITH_MSDAV) >+CONFIGURE_ARGS+= --enable-msdav >+.endif >+ > post-install: >- @${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> >+.if !defined(NOPORTDOCS) >+ @${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR} >+.endif >+ @${CAT} ${PKGMESSAGE} >+ >+.include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/www/pound/distinfo /usr/ports/local/www/pound/distinfo >--- /usr/ports/www/pound/distinfo Mon Jun 6 11:47:19 2005 >+++ /usr/ports/local/www/pound/distinfo Tue Jun 28 13:46:21 2005 >@@ -1,2 +1,2 @@ >-MD5 (Pound-1.8.5.tgz) = 508ef4411ae4bf292c17c966746935d5 >-SIZE (Pound-1.8.5.tgz) = 142055 >+MD5 (Pound-1.9.tgz) = f1ec64357e0a53ed8050847517209525 >+SIZE (Pound-1.9.tgz) = 143284 >diff -ruN --exclude=CVS /usr/ports/www/pound/files/pound.sh /usr/ports/local/www/pound/files/pound.sh >--- /usr/ports/www/pound/files/pound.sh Wed Jul 23 07:49:41 2003 >+++ /usr/ports/local/www/pound/files/pound.sh Thu Jan 1 09:00:00 1970 >@@ -1,22 +0,0 @@ >-#!/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) >- if [ -x ${PREFIX}/sbin/pound ]; then >- ${PREFIX}/sbin/pound & >- echo -n ' pound' >- fi >- ;; >- stop) >- killall pound >- echo -n ' pound' >- ;; >- *) >- echo "Usage: `basename $0` {start|stop}" >&2 >- ;; >-esac >diff -ruN --exclude=CVS /usr/ports/www/pound/files/pound.sh.in /usr/ports/local/www/pound/files/pound.sh.in >--- /usr/ports/www/pound/files/pound.sh.in Thu Jan 1 09:00:00 1970 >+++ /usr/ports/local/www/pound/files/pound.sh.in Sat Jul 2 16:22:13 2005 >@@ -0,0 +1,30 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: %%NAME%% >+# REQUIRE: NETWORKING SERVERS >+# BEFORE: DAEMON >+# KEYWORD: FreeBSD shutdown >+ >+# Add the following line to /etc/rc.conf to enable `%%NAME%%': >+# >+#%%NAME%%_enable="YES" >+# >+# and be sure to configure %%PREFIX%%/etc/%%NAME%%.conf >+ >+. "%%RC_SUBR%%" >+ >+name="%%NAME%%" >+rcvar=`set_rcvar` >+ >+command="%%PREFIX%%/sbin/$name" >+pidfile="/var/run/$name.pid" >+required_files="%%PREFIX%%/etc/$name.cfg" >+ >+# read configuration and set defaults >+load_rc_config $name >+: ${%%NAME%%_enable="NO"} >+ >+run_rc_command "$1" >diff -ruN --exclude=CVS /usr/ports/www/pound/pkg-message /usr/ports/local/www/pound/pkg-message >--- /usr/ports/www/pound/pkg-message Thu Jan 1 09:00:00 1970 >+++ /usr/ports/local/www/pound/pkg-message Sun Jul 3 13:33:37 2005 >@@ -0,0 +1,6 @@ >+****************************************************** >+ >+To run pound from startup, add 'pound_enable="YES"' >+in your /etc/rc.conf. >+ >+****************************************************** >diff -ruN --exclude=CVS /usr/ports/www/pound/pkg-plist /usr/ports/local/www/pound/pkg-plist >--- /usr/ports/www/pound/pkg-plist Wed Jul 23 07:49:41 2003 >+++ /usr/ports/local/www/pound/pkg-plist Sat Jul 2 16:07:30 2005 >@@ -1,2 +1,4 @@ >-etc/rc.d/pound.sh.sample > sbin/pound >+%%PORTDOCS%%%%DOCSDIR%%/README >+%%PORTDOCS%%%%DOCSDIR%%/FAQ >+%%PORTDOCS%%@dirrm %%DOCSDIR%%
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 82998
: 54871