diff options
author | Rene Ladan <rene@FreeBSD.org> | 2019-01-01 13:52:46 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2019-01-01 13:52:46 +0000 |
commit | ba09f7ee95cee49a75d1ecb50f4be68f99de394a (patch) | |
tree | f7075798a9a1abe4f41bfb7a9ae6bd8387a1e92a /www/varnish5/files | |
parent | sysutils/policykit-qt, sysutils/qzeitgeist: remove dead variable USE_KDE (diff) |
Remove expired ports:
2018-12-30 textproc/pecl-xdiff: Works only with EOL php 5.6
2019-01-01 www/mod_http2-devel: Use the module that is shipped with Apache 2.4
2019-01-01 www/varnish5: Varnish 5 is Retired
2018-12-30 security/pecl-ssh2-0: Works only with EOL php 5.6
2019-01-01 security/bitwarden-ruby: Expects very specific rubygem versions for new updates. Please follow instructions in git repo.
2018-12-30 devel/pecl-intl: Works only with EOL php 5.6
2018-12-30 devel/pecl-APCu4: Works only with EOL php 5.6
2018-12-30 databases/pecl-memcache: Works only with EOL php 5.6
2018-12-30 databases/pecl-memcached2: Works only with EOL php 5.6
2018-12-30 math/pecl-bitset2: Works only with EOL php 5.6
2019-01-01 multimedia/zoneminder-h264: h264 feature was commited to main branch, please upgrade to www/zoneminder
2019-01-01 lang/php56: Security Support ends on 31 Dec 2018
Notes
Notes:
svn path=/head/; revision=488894
Diffstat (limited to 'www/varnish5/files')
-rw-r--r-- | www/varnish5/files/no-inet6.patch | 8 | ||||
-rw-r--r-- | www/varnish5/files/varnishd.in | 128 | ||||
-rw-r--r-- | www/varnish5/files/varnishlog.in | 65 | ||||
-rw-r--r-- | www/varnish5/files/varnishncsa.in | 70 |
4 files changed, 0 insertions, 271 deletions
diff --git a/www/varnish5/files/no-inet6.patch b/www/varnish5/files/no-inet6.patch deleted file mode 100644 index 56d16e63b100..000000000000 --- a/www/varnish5/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/varnish5/files/varnishd.in b/www/varnish5/files/varnishd.in deleted file mode 100644 index cc30aab5fe6a..000000000000 --- a/www/varnish5/files/varnishd.in +++ /dev/null @@ -1,128 +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: "critbit" -# -# varnishd_storage - storage method and parameters. -# default: "file,/tmp,100M" -# -# varnishd_jailuser - unprivileged user for the child process. -# default: "varnish" -# -# varnishd_flags - complete command line arguments. -# default if varnishd_config is unset: "-j unix,user=${varnishd_jailuser} -P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -h ${varnishd_hash} ${varnishd_extra_flags}" -# default if varnishd_config is set: "-j unix,user=${varnishd_jailuser} -P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -h ${varnishd_hash} ${varnishd_extra_flags}" -# -# See varnishd(1) for a detailed overview of command-line options. -# - -. /etc/rc.subr - -name=varnishd -rcvar=varnishd_enable - -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,100M} -: ${varnishd_hash=critbit} -: ${varnishd_jailuser=varnish} - -command="%%PREFIX%%/sbin/${name}" -pidfile="${varnishd_pidfile}" -configtest_cmd="varnishd_checkconfig" -reload_cmd="varnishd_reload" -restart_precmd="varnishd_checkconfig" -start_precmd="varnishd_precmd" -extra_commands="status reload configtest" - -if [ -n "${varnishd_config}" ] ; then - : ${varnishd_flags:="-j unix,user=${varnishd_jailuser} -P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -h ${varnishd_hash} ${varnishd_extra_flags}"} -else - : ${varnishd_flags:="-j unix,user=${varnishd_jailuser} -P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -h ${varnishd_hash} ${varnishd_extra_flags}"} -fi - -varnishd_checkconfig() -{ - if [ -z "${varnishd_config}" ]; then - echo "${name}: nothing to check, no configuration file defined, builtin VCL used" - else - echo "Performing sanity check on ${name} configuration:" - if eval ${command} -C -f "${varnishd_config}" 2> /dev/null ; then - echo "${name}: the configuration file ${varnishd_config} syntax is ok" - else - err 1 "${name}: the configuration file ${varnishd_config} syntax is NOT ok" - fi - fi -} - -# Adapted from work done by Ingvar Hagelund <ingvar@redpill-linpro.com> (see redhat/varnish_reload_vcl) -varnishd_reload() -{ - local _current_config_name _new_config_name _varnishadm_cmd - - if [ -z "${varnishd_config}" ]; then - echo "${name}: nothing to reload, no configuration file defined, builtin VCL used" - else - _new_config_name="reloaded_$(date +%Y%m%d%H%M%S)" - _varnishadm_cmd="%%PREFIX%%/bin/varnishadm ${varnish_cli_flags}" - if ! eval ${_varnishadm_cmd} vcl.list > /dev/null; then - err 1 "${name}: can't connect to varnishadm" - fi - _current_config_name=$(${_varnishadm_cmd} vcl.list | awk ' /^active/ { print $3 } ') - if ! eval ${_varnishadm_cmd} vcl.load ${_new_config_name} ${varnishd_config} > /dev/null; then - err 1 "${name}: vcl.load failed, you're still using previous rules (${_current_config_name})" - fi - if eval ${_varnishadm_cmd} vcl.use ${_new_config_name} > /dev/null; then - echo "VCL file \"${varnishd_config}\" has been successfully loaded as \"${_new_config_name}\"" - echo "To remove previous loaded configurations, you should run \"${_varnishadm_cmd} vcl.discard <configname>\" by yourself" - else - err 1 "${name}: vcl.use failed, you're still using previous rules (${_current_config_name})" - fi - fi - - return 0 -} - -varnishd_precmd() -{ - # Check config before starting - varnishd_checkconfig -} - -run_rc_command "$1" diff --git a/www/varnish5/files/varnishlog.in b/www/varnish5/files/varnishlog.in deleted file mode 100644 index 5da94cca8216..000000000000 --- a/www/varnish5/files/varnishlog.in +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: varnishlog -# REQUIRE: DAEMON varnishd -# 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: "-t off -P ${varnishlog_pidfile} -D -a -A -w ${varnishlog_file}" -# -# Add the following line to /etc/newsyslog.conf to rotate the log file -# once a day: -# -# /var/log/varnish.log varnishlog:varnish 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 - -load_rc_config ${name} -: ${varnishlog_enable:=NO} -: ${varnishlog_pidfile=/var/run/${name}.pid} -: ${varnishlog_file=/var/log/varnish.log} -: ${varnishlog_flags="-t off -P ${varnishlog_pidfile} -D -a -A -w ${varnishlog_file}"} - -procname="%%PREFIX%%/bin/${name}" -command="/usr/sbin/daemon" -command_args="-f -u varnishlog ${procname} ${varnishlog_flags}" -pidfile=${varnishlog_pidfile} -start_precmd=precmd - -precmd() -{ - # varnishlog_flags gets applied too early if we don't do this. - rc_flags="" - - if [ ! -e ${pidfile} ]; then - install -o varnishlog -g varnish -m 644 /dev/null ${pidfile}; - fi - - if [ ! -e ${varnishlog_file} ]; then - install -o varnishlog -g varnish -m 640 /dev/null ${varnishlog_file}; - fi -} - -run_rc_command "$1" diff --git a/www/varnish5/files/varnishncsa.in b/www/varnish5/files/varnishncsa.in deleted file mode 100644 index 74cfb6c03b44..000000000000 --- a/www/varnish5/files/varnishncsa.in +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: varnishncsa -# REQUIRE: DAEMON varnishd -# 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: "-t off -P ${varnishncsa_pidfile} -D -a -w ${varnishncsa_file}${varnishncsa_logformat:+ -F \"$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 varnishlog:varnish 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 - -load_rc_config ${name} - -: ${varnishncsa_enable:=NO} -: ${varnishncsa_pidfile=/var/run/${name}.pid} -: ${varnishncsa_file=/var/log/${name}.log} -: ${varnishncsa_flags="-t off -P ${varnishncsa_pidfile} -D -a -w ${varnishncsa_file} ${varnishncsa_logformat:+-F \"$varnishncsa_logformat\"}"} - -procname="%%PREFIX%%/bin/${name}" -command="/usr/sbin/daemon" -command_args="-f -u varnishlog ${procname} ${varnishncsa_flags}" -pidfile=${varnishncsa_pidfile} -start_precmd=precmd - -precmd() -{ - # $varnishncsa_flags gets applied too early if we don't do this. - rc_flags="" - - if [ ! -e ${pidfile} ]; then - install -o varnishlog -g varnish -m 644 /dev/null ${pidfile}; - fi - - if [ ! -e ${varnishncsa_file} ]; then - install -o varnishlog -g varnish -m 640 /dev/null ${varnishncsa_file}; - fi -} - -run_rc_command "$1" |