Wednesday, August 23, 2017

Re: UPDATE: Varnish-5.1.3

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/varnish/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile 11 Apr 2017 03:00:12 -0000 1.30
+++ Makefile 23 Aug 2017 15:13:05 -0000
@@ -2,7 +2,9 @@

COMMENT = high-performance HTTP accelerator

-DISTNAME = varnish-5.1.2
+V = 5.1.3
+DISTNAME = varnish-${V}
+
CATEGORIES = www

SHARED_LIBS = varnishapi 1.0
@@ -15,20 +17,31 @@ MAINTAINER = Jim Razmus II <jim@openbsd
# BSD
PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += c execinfo m ncursesw pcre pthread readline termcap
+MASTER_SITES = https://varnish-cache.org/_downloads/

-MASTER_SITES = http://repo.varnish-cache.org/source/
+EXTRACT_SUFX = .tgz

-BUILD_DEPENDS = textproc/py-docutils
+WANTLIB += c execinfo m ncursesw pcre pthread readline termcap
+
+BUILD_DEPENDS = devel/libtool \
+ textproc/py-docutils
LIB_DEPENDS = devel/pcre
# The internal backtrace implementation fails to build with -Werror on arm/hppa
LIB_DEPENDS += devel/libexecinfo

-CONFIGURE_STYLE = gnu
+WRKDIST = ${WRKDIR}/${DISTNAME}
+USE_GMAKE = Yes
+CONFIGURE_STYLE = autoconf
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.15
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"

TEST_TARGET = check
+
+post-patch:
+ cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+ AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh

post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/varnish
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/varnish/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo 11 Apr 2017 03:00:12 -0000 1.15
+++ distinfo 23 Aug 2017 15:13:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (varnish-5.1.2.tar.gz) = OdhYE34mlIp8hfBzY/E/B3jaYdI0Em4DoWCgy5uk/OM=
-SIZE (varnish-5.1.2.tar.gz) = 2597817
+SHA256 (varnish-5.1.3.tgz) = dDnJPKWBNA83IrjHkBYPRtxsUygYjkwLwjPELz8EpU4=
+SIZE (varnish-5.1.3.tgz) = 2643223
Thank you guys, sorry about that, diff attached.


On [23/08/17] [11:26P], Stuart Henderson wrote:
; The GH_* lines should be removed and EXTRACT_SUFX=.tgz added.
;
; (Sorry for the duplicate mail Paul, I forgot to reply-all on the previous one).
;
;
;
; On 23 August 2017 08:54:27 Paul Irofti <paul@irofti.net> wrote:
;
; > On Tue, Aug 22, 2017 at 10:49:25AM -0300, Gonzalo L. Rodriguez wrote:
; > > ping
; >
; >
; > ===> Checking files for varnish-5.1.3
; > > > Fetch https://varnish-cache.org/_downloads/varnish-5.1.3.tar.gz
; > ftp: Error retrieving file: 404 Not Found
; > > > Fetch https://ftp.openbsd.org/pub/OpenBSD/distfiles//varnish-5.1.3.tar.gz
; > ftp: Error retrieving file: 404 Not Found
; > > > Fetch https://ftp.usa.openbsd.org/pub/OpenBSD/distfiles//varnish-5.1.3.tar.gz
; > ftp: Error retrieving file: 404 Not Found
; > > > Fetch https://ftp.fr.openbsd.org/pub/OpenBSD/distfiles//varnish-5.1.3.tar.gz
; > ftp: Error retrieving file: 404 Not Found
; > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2906
; > '/usr/ports/distfiles/varnish-5.1.3.tar.gz':
; > @lock=varnish-5.1.3.tar.gz.dist...)
; >
; >
; > >
; > > On [14/08/17] [11:00P], Gonzalo L. Rodriguez wrote:
; > > ; Hello,
; > > ;
; > > ; Update for Varnish to 5.1.3:
; > > ;
; > > ; * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12425
; > > ; * Switch to GH repo.varnish-cache.org going down soon.
; > > ;
; > > ; Ok? Comments?
; > > ;
; > > ;
; > > ; Cheers.-
; > > ; --
; > > ; Sending from my toaster.
; > >
; > > ; Index: Makefile
; > > ; ===================================================================
; > > ; RCS file: /cvs/ports/www/varnish/Makefile,v
; > > ; retrieving revision 1.30
; > > ; diff -u -p -r1.30 Makefile
; > > ; --- Makefile 11 Apr 2017 03:00:12 -0000 1.30
; > > ; +++ Makefile 14 Aug 2017 13:55:39 -0000
; > > ; @@ -2,7 +2,12 @@
; > > ;
; > > ; COMMENT = high-performance HTTP accelerator
; > > ;
; > > ; -DISTNAME = varnish-5.1.2
; > > ; +V = 5.1.3
; > > ; +GH_ACCOUNT = varnishcache
; > > ; +GH_PROJECT = varnish-cache
; > > ; +GH_TAGNAME = varnish-${V}
; > > ; +DISTNAME = varnish-${V}
; > > ; +
; > > ; CATEGORIES = www
; > > ;
; > > ; SHARED_LIBS = varnishapi 1.0
; > > ; @@ -15,20 +20,29 @@ MAINTAINER = Jim Razmus II <jim@openbsd
; > > ; # BSD
; > > ; PERMIT_PACKAGE_CDROM = Yes
; > > ;
; > > ; -WANTLIB += c execinfo m ncursesw pcre pthread readline termcap
; > > ; +MASTER_SITES = https://varnish-cache.org/_downloads/
; > > ;
; > > ; -MASTER_SITES = http://repo.varnish-cache.org/source/
; > > ; +WANTLIB += c execinfo m ncursesw pcre pthread readline termcap
; > > ;
; > > ; -BUILD_DEPENDS = textproc/py-docutils
; > > ; +BUILD_DEPENDS = devel/libtool \
; > > ; + textproc/py-docutils
; > > ; LIB_DEPENDS = devel/pcre
; > > ; # The internal backtrace implementation fails to build with
; > > -Werror on arm/hppa
; > > ; LIB_DEPENDS += devel/libexecinfo
; > > ;
; > > ; -CONFIGURE_STYLE = gnu
; > > ; +WRKDIST = ${WRKDIR}/varnish-cache-${DISTNAME}
; > > ; +USE_GMAKE = Yes
; > > ; +CONFIGURE_STYLE = autoconf
; > > ; +AUTOCONF_VERSION = 2.69
; > > ; +AUTOMAKE_VERSION = 1.15
; > > ; CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
; > > ; LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
; > > ;
; > > ; TEST_TARGET = check
; > > ; +
; > > ; +post-patch:
; > > ; + cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
; > > ; + AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
; > > ;
; > > ; post-install:
; > > ; ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/varnish
; > > ; Index: distinfo
; > > ; ===================================================================
; > > ; RCS file: /cvs/ports/www/varnish/distinfo,v
; > > ; retrieving revision 1.15
; > > ; diff -u -p -r1.15 distinfo
; > > ; --- distinfo 11 Apr 2017 03:00:12 -0000 1.15
; > > ; +++ distinfo 14 Aug 2017 13:55:39 -0000
; > > ; @@ -1,2 +1,2 @@
; > > ; -SHA256 (varnish-5.1.2.tar.gz) = OdhYE34mlIp8hfBzY/E/B3jaYdI0Em4DoWCgy5uk/OM=
; > > ; -SIZE (varnish-5.1.2.tar.gz) = 2597817
; > > ; +SHA256 (varnish-5.1.3.tar.gz) = LHa1runnFbhGQaHeHbzDlWPCRJZDb6TlQXrNMp6AvSI=
; > > ; +SIZE (varnish-5.1.3.tar.gz) = 1183690
; > >
; > >
; > > --
; > > Sending from my toaster.
; >
;
;

--
Sending from my toaster.

No comments:

Post a Comment