diff options
Diffstat (limited to 'www/varnish2')
-rw-r--r-- | www/varnish2/Makefile | 44 | ||||
-rw-r--r-- | www/varnish2/distinfo | 3 | ||||
-rw-r--r-- | www/varnish2/files/pkg-message.in | 18 | ||||
-rw-r--r-- | www/varnish2/files/varnishd.in | 84 | ||||
-rw-r--r-- | www/varnish2/files/varnishlog.in | 49 | ||||
-rw-r--r-- | www/varnish2/files/varnishncsa.in | 49 | ||||
-rw-r--r-- | www/varnish2/pkg-descr | 12 | ||||
-rw-r--r-- | www/varnish2/pkg-plist | 37 |
8 files changed, 0 insertions, 296 deletions
diff --git a/www/varnish2/Makefile b/www/varnish2/Makefile deleted file mode 100644 index 336e2676fcb3..000000000000 --- a/www/varnish2/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: varnish -# Date created: 2006-08-11 -# Whom: des -# -# $FreeBSD$ -# - -PORTNAME= varnish -PORTVERSION= 2.1.2 -CATEGORIES= www -MASTER_SITES= SF - -MAINTAINER= des@FreeBSD.org -COMMENT= The Varnish high-performance HTTP accelerator - -LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre - -GNU_CONFIGURE= yes -USE_GMAKE= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX} -USE_LDCONFIG= yes -USE_GNOME= pkgconfig - -MAN1= varnishadm.1 varnishd.1 varnishhist.1 varnishlog.1 \ - varnishncsa.1 varnishreplay.1 varnishsizes.1 \ - varnishstat.1 varnishtest.1 varnishtop.1 -MAN7= vcl.7 -USE_RC_SUBR= varnishd varnishlog varnishncsa -SUB_FILES= pkg-message - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 601000 -BROKEN= does not compile -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \ - ${WRKSRC}/Makefile.in - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/www/varnish2/distinfo b/www/varnish2/distinfo deleted file mode 100644 index e2d25239db16..000000000000 --- a/www/varnish2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (varnish-2.1.2.tar.gz) = 8b0d80e47acf4946671c381af55518b9 -SHA256 (varnish-2.1.2.tar.gz) = 97fe4653c0253a75bb06fdf611b47f7219b1c106def5580af552090534ee395c -SIZE (varnish-2.1.2.tar.gz) = 882821 diff --git a/www/varnish2/files/pkg-message.in b/www/varnish2/files/pkg-message.in deleted file mode 100644 index 923ce1baeb11..000000000000 --- a/www/varnish2/files/pkg-message.in +++ /dev/null @@ -1,18 +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. - -NOTE TO USERS UPGRADING FROM AN OLDER VERSION OF VARNISH: - -Several rc variables have been renamed and / or have new default -values. Refer to the comments in the rc.d scripts for a detailed -description of these variables. diff --git a/www/varnish2/files/varnishd.in b/www/varnish2/files/varnishd.in deleted file mode 100644 index 93c070424252..000000000000 --- a/www/varnish2/files/varnishd.in +++ /dev/null @@ -1,84 +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=`set_rcvar` - -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_config:=""} -: ${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/varnish2/files/varnishlog.in b/www/varnish2/files/varnishlog.in deleted file mode 100644 index 4a0f64c8a668..000000000000 --- a/www/varnish2/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=`set_rcvar` - -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/varnish2/files/varnishncsa.in b/www/varnish2/files/varnishncsa.in deleted file mode 100644 index ba3d3760ffc5..000000000000 --- a/www/varnish2/files/varnishncsa.in +++ /dev/null @@ -1,49 +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}" -# -# 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=`set_rcvar` - -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_flags:="-P ${varnishncsa_pidfile} -D -a -c -w ${varnishncsa_file}"} - -pidfile=${varnishncsa_pidfile} -run_rc_command "$1" diff --git a/www/varnish2/pkg-descr b/www/varnish2/pkg-descr deleted file mode 100644 index d6e8c679fbb4..000000000000 --- a/www/varnish2/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/varnish2/pkg-plist b/www/varnish2/pkg-plist deleted file mode 100644 index 0874bd911cf7..000000000000 --- a/www/varnish2/pkg-plist +++ /dev/null @@ -1,37 +0,0 @@ -bin/varnishadm -bin/varnishhist -bin/varnishlog -bin/varnishncsa -bin/varnishreplay -bin/varnishsizes -bin/varnishstat -bin/varnishtest -bin/varnishtop -etc/varnish/default.vcl -include/varnish/shmlog.h -include/varnish/shmlog_tags.h -include/varnish/stat_field.h -include/varnish/stats.h -include/varnish/varnishapi.h -lib/libvarnish.so.1 -lib/libvarnish.so -lib/libvarnish.la -lib/libvarnish.a -lib/libvarnishapi.so.1 -lib/libvarnishapi.so -lib/libvarnishapi.la -lib/libvarnishapi.a -lib/libvarnishcompat.so.1 -lib/libvarnishcompat.so -lib/libvarnishcompat.la -lib/libvarnishcompat.a -lib/libvcl.so.1 -lib/libvcl.so -lib/libvcl.la -lib/libvcl.a -libdata/pkgconfig/varnishapi.pc -sbin/varnishd -@exec [ -d %D/varnish ] || mkdir %D/varnish -@dirrmtry varnish -@dirrm include/varnish -@dirrmtry etc/varnish |