- respect SYSCONFDIR

- better DESCR
--
From: MAINTAINER
This commit is contained in:
brad 2002-08-27 02:53:29 +00:00
parent 74584b1ef7
commit f96d461597
4 changed files with 15 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/08/12 22:49:34 couderc Exp $ # $OpenBSD: Makefile,v 1.2 2002/08/27 02:53:29 brad Exp $
COMMENT= "lightweight HTTP/SSL proxy" COMMENT= "lightweight HTTP/SSL proxy"
CATEGORIES= www CATEGORIES= www
@ -17,9 +17,11 @@ PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= simple CONFIGURE_STYLE= simple
SYSCONFDIR= /etc/tinyproxy TP_CONFIG= ${SYSCONFDIR}/tinyproxy
CONFIGURE_ARGS+= --with-config=${SYSCONFDIR}/tinyproxy.conf CONFIGURE_ARGS+= --with-config=${TP_CONFIG}/tinyproxy.conf
SUBST_VARS= TP_CONFIG
DOCS= HTTP_ERROR_CODES RFC_INFO DOCS= HTTP_ERROR_CODES RFC_INFO

View File

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/08/12 22:49:34 couderc Exp $ # $OpenBSD: DEINSTALL,v 1.2 2002/08/27 02:53:29 brad Exp $
# #
# tinyproxy de-installation # tinyproxy de-installation
set -e set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local} PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR} CONFIG_DIR=${TP_CONFIG}
if [ -d $CONFIG_DIR ]; then if [ -d $CONFIG_DIR ]; then
echo echo

View File

@ -1,7 +1,8 @@
tinyproxy is a GPLed, lightweight HTTP/SSL proxy. Designed from the ground tinyproxy is a GPLed, lightweight HTTP/SSL proxy. Designed from the
up to be fast and yet small, it is an ideal solution for sites where a ground up to be fast and yet small, it is an ideal solution for
full-featured HTTP proxy is required, but the system resources required to sites where a full-featured HTTP proxy is required, but the system
run a more demanding HTTP proxy are unavailable. tinyproxy is fully compatible resources required to run a more demanding HTTP proxy are unavailable.
with all existing web browsers, and has a number of useful features. tinyproxy is fully compatible with all existing web browsers, and
has a number of useful features.
WWW: ${HOMEPAGE} WWW: ${HOMEPAGE}

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $OpenBSD: INSTALL,v 1.1.1.1 2002/08/12 22:49:34 couderc Exp $ # $OpenBSD: INSTALL,v 1.2 2002/08/27 02:53:29 brad Exp $
# #
# Pre/post-installation setup of tinyproxy # Pre/post-installation setup of tinyproxy
@ -8,7 +8,7 @@
set -e set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local} PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR} CONFIG_DIR=${TP_CONFIG}
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/tinyproxy SAMPLE_CONFIG_DIR=$PREFIX/share/examples/tinyproxy
do_notice() do_notice()