diff options
author | feld <feld@FreeBSD.org> | 2015-06-29 01:41:17 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-06-29 01:41:17 +0800 |
commit | fb01e79e76e5fb6b23c5b5d2fb1493da0dd99d28 (patch) | |
tree | 4671724940d2fd2642c02459011a13f9aca6fb80 /www | |
parent | b42b53a6c1765d648ddb896c01e0b2e286019520 (diff) | |
download | freebsd-ports-gnome-fb01e79e76e5fb6b23c5b5d2fb1493da0dd99d28.tar.gz freebsd-ports-gnome-fb01e79e76e5fb6b23c5b5d2fb1493da0dd99d28.tar.zst freebsd-ports-gnome-fb01e79e76e5fb6b23c5b5d2fb1493da0dd99d28.zip |
Remove www/varnish from the ports tree
Varnish 3.x is EoL and has expired. All ports in the tree which depended
on it have been updated to work with www/varnish4.
https://www.varnish-cache.org/lists/pipermail/varnish-announce/2015-April/000702.html
Please update to varnish 4.x by installing the www/varnish4
port/package.
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/varnish/Makefile | 77 | ||||
-rw-r--r-- | www/varnish/distinfo | 2 | ||||
-rw-r--r-- | www/varnish/files/bug-1201.patch | 15 | ||||
-rw-r--r-- | www/varnish/files/no-inet6.patch | 8 | ||||
-rw-r--r-- | www/varnish/files/patch-bug-1202 | 12 | ||||
-rw-r--r-- | www/varnish/files/patch-configure.ac | 28 | ||||
-rw-r--r-- | www/varnish/files/pkg-message.in | 12 | ||||
-rw-r--r-- | www/varnish/files/varnishd.in | 83 | ||||
-rw-r--r-- | www/varnish/files/varnishlog.in | 49 | ||||
-rw-r--r-- | www/varnish/files/varnishncsa.in | 54 | ||||
-rw-r--r-- | www/varnish/pkg-descr | 12 | ||||
-rw-r--r-- | www/varnish/pkg-plist | 63 |
13 files changed, 0 insertions, 416 deletions
diff --git a/www/Makefile b/www/Makefile index e4bde93dc945..245a29f7e8c0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2161,7 +2161,6 @@ SUBDIR += uwsgitop SUBDIR += uzbl SUBDIR += validator - SUBDIR += varnish SUBDIR += varnish-libvmod-header SUBDIR += varnish-nagios SUBDIR += varnish4 diff --git a/www/varnish/Makefile b/www/varnish/Makefile deleted file mode 100644 index 42482c1a0cb2..000000000000 --- a/www/varnish/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -# $FreeBSD$ - -PORTNAME= varnish -PORTVERSION= 3.0.7 -PORTREVISION= 0 -CATEGORIES= www -MASTER_SITES= http://repo.varnish-cache.org/source/ - -MAINTAINER= feld@FreeBSD.org -COMMENT= High-performance HTTP accelerator - -LICENSE= BSD2CLAUSE - -LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre - -CONFLICTS= varnish-2.* - -USES= autoreconf cpe gmake libtool pkgconfig python:build readline -CPE_VENDOR= varnish-cache -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX} --enable-tests -CONFIGURE_ENV= RST2MAN=true -USE_LDCONFIG= yes -INSTALL_TARGET= install-strip - -USE_RC_SUBR= varnishd varnishlog varnishncsa -SUB_FILES= pkg-message -.if defined(NO_INET6) || defined(WITHOUT_INET6) -BAD_TESTS+= r00832 -EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch -.endif - -DEPRECATED= Varnish 3.0.7 is the last release of Varnish 3.0. Please upgrade to www/varnish4 -EXPIRATION_DATE= 2015-06-15 - -post-patch: - @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \ - ${WRKSRC}/Makefile.am -.if defined(BAD_TESTS) - ${RM} -f ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} -.endif - -regression-test check test: build - ${MAKE_CMD} TESTS_PARALLELISM=1 -C ${WRKSRC} check - -post-build: - # - # It is highly recommended, that you verify the build's - # correctness by performing: - # - # make check - # - # now... - # - -post-install: - ${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} ${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} ${STAGEDIR}${PREFIX}/include/varnish -.endfor - @${RM} -f ${STAGEDIR}${PREFIX}/lib/libvarnishapi.*a ${STAGEDIR}${PREFIX}/lib/varnish/lib*a ${STAGEDIR}${PREFIX}/lib/varnish/vmods/lib*a - @${MV} ${STAGEDIR}${ETCDIR}/default.vcl ${STAGEDIR}${ETCDIR}/default.vcl.sample - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -EXTRA_PATCHES+= ${FILESDIR}/bug-1201.patch -.endif -.if ${ARCH} == "arm" -BROKEN= Does not configure on arm -.endif - -.include <bsd.port.post.mk> diff --git a/www/varnish/distinfo b/www/varnish/distinfo deleted file mode 100644 index 2d285f15df52..000000000000 --- a/www/varnish/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (varnish-3.0.7.tar.gz) = a27e9f11391617fab27cc6edc31d3c8681b8d6975f8c2cd07f6e081bc54c24ce -SIZE (varnish-3.0.7.tar.gz) = 2102037 diff --git a/www/varnish/files/bug-1201.patch b/www/varnish/files/bug-1201.patch deleted file mode 100644 index e0872f346bc9..000000000000 --- a/www/varnish/files/bug-1201.patch +++ /dev/null @@ -1,15 +0,0 @@ -Use larger stack-size for the r01109 test. See: - - https://www.varnish-cache.org/trac/ticket/1201 - -for details. - ---- bin/varnishtest/tests/r01109.vtc 2012-08-20 05:20:39.000000000 -0400 -+++ bin/varnishtest/tests/r01109.vtc 2012-10-10 09:06:29.000000000 -0400 -@@ -22,5 +22,5 @@ - } -start - --varnish v1 -arg "-pfetch_chunksize=4k" -arg "-pgzip_level=0" -vcl+backend { -+varnish v1 -arg "-pfetch_chunksize=4k" -arg "-pgzip_level=0" -arg "-pthread_pool_stack=131072" -vcl+backend { - sub vcl_fetch { - if (req.url ~ "/test") { diff --git a/www/varnish/files/no-inet6.patch b/www/varnish/files/no-inet6.patch deleted file mode 100644 index 56d16e63b100..000000000000 --- a/www/varnish/files/no-inet6.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- bin/varnishtest/tests/c00005.vtc 2012-08-20 05:20:39.000000000 -0400 -+++ bin/varnishtest/tests/c00005.vtc 2012-09-26 12:09:59.000000000 -0400 -@@ -32,5 +32,4 @@ - ! "localhost"; - "0.0.0.0" / 0; -- "::" / 0; - } - diff --git a/www/varnish/files/patch-bug-1202 b/www/varnish/files/patch-bug-1202 deleted file mode 100644 index aa7e78af40ed..000000000000 --- a/www/varnish/files/patch-bug-1202 +++ /dev/null @@ -1,12 +0,0 @@ -See: - https://www.varnish-cache.org/trac/ticket/1202 - ---- bin/varnishtest/vtc_log.c 2012-08-20 05:20:40.000000000 -0400 -+++ bin/varnishtest/vtc_log.c 2012-10-01 12:35:45.000000000 -0400 -@@ -138,5 +138,5 @@ - AZ(pthread_mutex_lock(&vl->mtx)); - vl->act = 1; -- assert(lvl < NLEAD); -+ assert(lvl < (int)NLEAD); - VSB_clear(vl->vsb); - VSB_printf(vl->vsb, "%s %-4s %4.1f ", diff --git a/www/varnish/files/patch-configure.ac b/www/varnish/files/patch-configure.ac deleted file mode 100644 index 2f70bdd2028a..000000000000 --- a/www/varnish/files/patch-configure.ac +++ /dev/null @@ -1,28 +0,0 @@ ---- configure.ac.orig 2013-06-14 10:39:32.000000000 +0200 -+++ configure.ac 2013-09-04 22:58:56.000000000 +0200 -@@ -147,9 +147,22 @@ - AC_SUBST(PCRE_CFLAGS) - AC_SUBST(PCRE_LIBS) - --PKG_CHECK_MODULES([LIBEDIT], [libedit], -- [AC_DEFINE([HAVE_LIBEDIT], [1], [Define we have libedit])], -- [AX_LIB_READLINE]) -+case $target in -+*-*-freebsd*) -+ AC_CHECK_LIB(edit, el_init, -+ [ AC_DEFINE([HAVE_LIBEDIT], [1], [Define we have libedit]) -+ AC_DEFINE([HAVE_READLINE_READLINE_H], [1], [Define if we have readline.h]) -+ LIBEDIT_CFLAGS="" -+ LIBEDIT_LIBS="-lreadline ${CURSES_LIBS}" -+ ], -+ [AC_MSG_WARN([libedit not found, disabling libedit support])]) -+ ;; -+*) -+ PKG_CHECK_MODULES([LIBEDIT], [libedit], -+ [AC_DEFINE([HAVE_LIBEDIT], [1], [Define we have libedit])], -+ [AX_LIB_READLINE]) -+ ;; -+esac - if test "$ac_cv_have_readline" = no; then - AC_MSG_ERROR([libedit or readline not found]) - fi diff --git a/www/varnish/files/pkg-message.in b/www/varnish/files/pkg-message.in deleted file mode 100644 index 71157cc58486..000000000000 --- a/www/varnish/files/pkg-message.in +++ /dev/null @@ -1,12 +0,0 @@ -QUICK-START GUIDE - -It's two in the morning and someone posted a link to your website on -slashdot. Don't panic, it takes only a minute to set up Varnish in -front of your web server: - -1) Install Varnish -2) Reconfigure your web server to listen on localhost:8080 -3) echo 'varnishd_enable="YES"' >>/etc/rc.conf -4) %%PREFIX%%/etc/rc.d/varnishd start - -Refer to the documentation for more advanced configuration. diff --git a/www/varnish/files/varnishd.in b/www/varnish/files/varnishd.in deleted file mode 100644 index 61512f1ce8e3..000000000000 --- a/www/varnish/files/varnishd.in +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: varnishd -# REQUIRE: DAEMON -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable varnishd: -# -# varnishd_enable="YES" -# -# Configuration variables and their default values: -# -# varnishd_pidfile - full path to the PID file. -# default: "/var/run/varnishd.pid" -# -# varnishd_listen - address and port at which varnishd will listen for -# client requests. -# default: ":80" -# -# varnishd_admin - address and port at which varnishd will listen for -# administrative commands. -# default: "localhost:81" -# -# varnishd_backend - address of the backend server. -# default: "localhost:8080" -# -# varnishd_config - name of the varnishd config file. -# default: unset. -# -# varnishd_hash - hash algorithm -# default: "classic,16383" -# -# varnishd_storage - storage method and parameters. -# default: "file,/tmp,50%" -# -# varnishd_user - unprivileged user for the child process. -# default: "www" -# -# varnishd_group - unprivileged group for the child process. -# default: "www" -# -# varnishd_flags - complete command line arguments. -# default if varnishd_config is unset: "-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}" -# default if varnishd_config is set: "-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}" -# -# See varnishd(1) for a detailed overview of command-line options. -# - -. /etc/rc.subr - -name="varnishd" -rcvar=varnishd_enable - -command="%%PREFIX%%/sbin/${name}" - -# read configuration and set defaults -load_rc_config ${name} -: ${varnishd_enable:="NO"} -: ${varnishd_pidfile:="/var/run/${name}.pid"} -: ${varnishd_listen:=":80"} -: ${varnishd_admin:="localhost:81"} -: ${varnishd_backend:="localhost:8080"} -: ${varnishd_storage:="file,/tmp,50%"} -: ${varnishd_hash:="classic,16383"} -: ${varnishd_user:="www"} -: ${varnishd_group:="www"} -if [ -n "${varnishd_config}" ] ; then - : ${varnishd_flags:="-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}"} -else - : ${varnishd_flags:="-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}"} -fi - -# If we leave these set, rc.subr will su to them before starting -# varnishd, which is not what we want. -unset varnishd_user -unset varnishd_group - -pidfile="${varnishd_pidfile}" -run_rc_command "$1" diff --git a/www/varnish/files/varnishlog.in b/www/varnish/files/varnishlog.in deleted file mode 100644 index c7b298059097..000000000000 --- a/www/varnish/files/varnishlog.in +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: varnishlog -# REQUIRE: DAEMON -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable varnishlog: -# -# varnishlog_enable="YES" -# -# Configuration variables and their default values: -# -# varnishlog_pidfile - full path to the PID file. -# default: "/var/run/varnishlog.pid" -# -# varnishlog_file - full path to the log file. -# default: "/var/log/varnish.log" -# -# varnishlog_flags - command line arguments. -# default: "-D -P ${varnishlog_pidfile} -a -w ${varnishlog_file}" -# -# Add the following line to /etc/newsyslog.conf to rotate the log file -# once a day: -# -# /var/log/varnish.log 640 7 * @T00 JB /var/run/varnishlog.pid -# -# See varnishlog(1) for a detailed overview of command-line options. -# - -. /etc/rc.subr - -name="varnishlog" -rcvar=varnishlog_enable - -command="%%PREFIX%%/bin/${name}" - -# read configuration and set defaults -load_rc_config ${name} -: ${varnishlog_enable:="NO"} -: ${varnishlog_pidfile:="/var/run/${name}.pid"} -: ${varnishlog_file:="/var/log/varnish.log"} -: ${varnishlog_flags:="-P ${varnishlog_pidfile} -D -a -w ${varnishlog_file}"} - -pidfile=${varnishlog_pidfile} -run_rc_command "$1" diff --git a/www/varnish/files/varnishncsa.in b/www/varnish/files/varnishncsa.in deleted file mode 100644 index bb32947cd348..000000000000 --- a/www/varnish/files/varnishncsa.in +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: varnishncsa -# REQUIRE: DAEMON -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable varnishncsa: -# -# varnishncsa_enable="YES" -# -# Configuration variables and their default values: -# -# varnishncsa_pidfile - full path to the PID file. -# default: "/var/run/varnishncsa.pid" -# -# varnishncsa_file - full path to the log file. -# default: "/var/log/varnishncsa.log" -# -# varnishncsa_flags - command line arguments. -# default: "-D -P ${varnishncsa_pidfile} -a -c -w ${varnishncsa_file}${varnishncsa_logformat:+ -P \"$varnishncsa_logformat\"" -# -# varnishncsa_logformat - log file format. -# default: "" (uses varnishncsa's default format) -# example: "%h %l %u %t %r %s %b %{Referer}i %{User-agent}i" -# -# Add the following line to /etc/newsyslog.conf to rotate the log file -# once a day: -# -# /var/log/varnishncsa.log 640 7 * @T00 JB /var/run/varnishncsa.pid -# -# See varnishncsa(1) for a detailed overview of command-line options. -# - -. /etc/rc.subr - -name="varnishncsa" -rcvar=varnishncsa_enable - -command="%%PREFIX%%/bin/${name}" - -# read configuration and set defaults -load_rc_config ${name} -: ${varnishncsa_enable:="NO"} -: ${varnishncsa_pidfile:="/var/run/${name}.pid"} -: ${varnishncsa_file:="/var/log/${name}.log"} -: ${varnishncsa_logformat:=""} -: ${varnishncsa_flags:="-P ${varnishncsa_pidfile} -D -a -c -w ${varnishncsa_file}${varnishncsa_logformat:+ -F \"$varnishncsa_logformat\"}"} - -pidfile=${varnishncsa_pidfile} -run_rc_command "$1" diff --git a/www/varnish/pkg-descr b/www/varnish/pkg-descr deleted file mode 100644 index d6e8c679fbb4..000000000000 --- a/www/varnish/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is the Varnish high-performance HTTP accelerator. - -Documentation and additional information about Varnish is available on -<URL:http://varnish.projects.linpro.no/>. - -Technical questions about Varnish and this release should be addressed -to <varnish-dev@projects.linpro.no>. - -Questions about commercial support and services related to Varnish -should be addressed to <varnish@linpro.no>. - -WWW: http://www.varnish-cache.org/ diff --git a/www/varnish/pkg-plist b/www/varnish/pkg-plist deleted file mode 100644 index d82fde803e04..000000000000 --- a/www/varnish/pkg-plist +++ /dev/null @@ -1,63 +0,0 @@ -bin/varnishadm -bin/varnishhist -bin/varnishlog -bin/varnishncsa -bin/varnishreplay -bin/varnishsizes -bin/varnishstat -bin/varnishtest -bin/varnishtop -@sample etc/varnish/default.vcl.sample -include/varnish/acct_fields.h -include/varnish/body_status.h -include/varnish/cache.h -include/varnish/common.h -include/varnish/heritage.h -include/varnish/http_headers.h -include/varnish/libvarnish.h -include/varnish/locks.h -include/varnish/miniobj.h -include/varnish/steps.h -include/varnish/varnishapi.h -include/varnish/vas.h -include/varnish/vav.h -include/varnish/vcl_returns.h -include/varnish/vcli.h -include/varnish/vct.h -include/varnish/vmod_abi.h -include/varnish/vqueue.h -include/varnish/vre.h -include/varnish/vrt.h -include/varnish/vsb.h -include/varnish/vsc.h -include/varnish/vsc_all.h -include/varnish/vsc_fields.h -include/varnish/vsl.h -include/varnish/vsl_tags.h -include/varnish/vsm.h -lib/varnish/libvarnish.so -lib/varnish/libvarnishcompat.so -lib/varnish/libvcl.so -lib/varnish/libvgz.so -lib/varnish/vmods/libvmod_std.so -lib/libvarnishapi.so.1.0.0 -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 -@dir varnish |