Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 01:38:38 GMT
From:      "feld@FreeBSD.org" <Mark.Felder@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185543: [PATCH] www/varnish update to 3.0.5
Message-ID:  <201401070138.s071cc0d094095@oldred.freebsd.org>
Resent-Message-ID: <201401070140.s071e0lA058957@freefall.freebsd.org>

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

>Number:         185543
>Category:       ports
>Synopsis:       [PATCH] www/varnish update to 3.0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 07 01:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     feld@FreeBSD.org
>Release:        
>Organization:
>Environment:
>Description:
update to 3.0.5
minor cleanup (don't silence installation actions)
STAGE support
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 338178)
+++ Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	varnish
-PORTVERSION=	3.0.4
+PORTVERSION=	3.0.5
 CATEGORIES=	www
 MASTER_SITES=	http://repo.varnish-cache.org/source/
 
@@ -8,9 +8,9 @@
 MAINTAINER=	anders@FreeBSD.org
 COMMENT=	The Varnish high-performance HTTP accelerator
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 
-LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 
 CONFLICTS=	varnish-2.*
 
@@ -20,16 +20,11 @@
 CONFIGURE_ARGS=	--localstatedir=${PREFIX} --enable-tests
 CONFIGURE_ENV=	RST2MAN=true
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=  aclocal libtool libtoolize automake autoconf
+USE_AUTOTOOLS=	aclocal libtool libtoolize automake autoconf
 ACLOCAL_ARGS=	-I m4
 LIBTOOLFLAGS=	--copy --force --disable-static
 AUTOMAKE_ARGS=	--add-missing --copy --foreign
 
-MAN1=		varnishadm.1 varnishd.1 varnishhist.1 varnishlog.1 \
-		varnishncsa.1 varnishreplay.1 varnishsizes.1 \
-		varnishstat.1 varnishtest.1 varnishtop.1
-MAN3=		vmod_std.3
-MAN7=		vcl.7 varnish-cli.7 varnish-counters.7
 USE_RC_SUBR=	varnishd varnishlog varnishncsa
 SUB_FILES=	pkg-message
 .if defined(NO_INET6) || defined(WITHOUT_INET6)
@@ -37,7 +32,6 @@
 EXTRA_PATCHES+=	${FILESDIR}/no-inet6.patch
 .endif
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
 		${WRKSRC}/Makefile.am
@@ -59,16 +53,16 @@
 	#
 
 post-install:
-	@${MKDIR} ${PREFIX}/share/varnish
-	@${INSTALL_SCRIPT} ${WRKSRC}/lib/libvmod_std/vmod.py ${PREFIX}/share/varnish
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/varnish
+	${INSTALL_SCRIPT} ${WRKSRC}/lib/libvmod_std/vmod.py ${STAGEDIR}${PREFIX}/share/varnish
 .for f in cache.h heritage.h steps.h common.h acct_fields.h locks.h body_status.h
-	@${INSTALL_DATA} ${WRKSRC}/bin/varnishd/${f} ${PREFIX}/include/varnish
+	${INSTALL_DATA} ${WRKSRC}/bin/varnishd/${f} ${STAGEDIR}${PREFIX}/include/varnish
 .endfor
 .for f in vct.h vmod_abi.h vre.h vrt.h vqueue.h vsb.h libvarnish.h miniobj.h vas.h vav.h http_headers.h vcl_returns.h
-	@${INSTALL_DATA} ${WRKSRC}/include/${f} ${PREFIX}/include/varnish
+	${INSTALL_DATA} ${WRKSRC}/include/${f} ${STAGEDIR}${PREFIX}/include/varnish
 .endfor
 	@${CAT} ${PKGMESSAGE}
-	@${RM} -f ${PREFIX}/lib/libvarnishapi.*a ${PREFIX}/lib/varnish/lib*a ${PREFIX}/lib/varnish/vmods/lib*a
+	@${RM} -f ${STAGEDIR}${PREFIX}/lib/libvarnishapi.*a ${STAGEDIR}${PREFIX}/lib/varnish/lib*a ${STAGEDIR}${PREFIX}/lib/varnish/vmods/lib*a
 
 .include <bsd.port.pre.mk>
 
Index: distinfo
===================================================================
--- distinfo	(revision 338178)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (varnish-3.0.4.tar.gz) = 4e044ccb5c76222bddf89c808f13ea8f66977972675aecb48a920f6800ad0f79
-SIZE (varnish-3.0.4.tar.gz) = 2081361
+SHA256 (varnish-3.0.5.tar.gz) = 302fd6afc771524ca3912f5d945ab197a55762385c012b2054df7d86bf7ae2b7
+SIZE (varnish-3.0.5.tar.gz) = 2116664
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 338178)
+++ pkg-plist	(working copy)
@@ -43,6 +43,20 @@
 lib/libvarnishapi.so.1
 lib/libvarnishapi.so
 libdata/pkgconfig/varnishapi.pc
+man/man1/varnishadm.1.gz
+man/man1/varnishd.1.gz
+man/man1/varnishhist.1.gz
+man/man1/varnishlog.1.gz
+man/man1/varnishncsa.1.gz
+man/man1/varnishreplay.1.gz
+man/man1/varnishsizes.1.gz
+man/man1/varnishstat.1.gz
+man/man1/varnishtest.1.gz
+man/man1/varnishtop.1.gz
+man/man3/vmod_std.3.gz
+man/man7/varnish-cli.7.gz
+man/man7/varnish-counters.7.gz
+man/man7/vcl.7.gz
 sbin/varnishd
 share/varnish/vmod.py
 @exec [ -d %D/varnish ] || mkdir %D/varnish


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401070138.s071cc0d094095>