- Kill DEINSTALL
- Replace INSTALL with @samples - Remove @extra - Bump PKGNAME looks ok sturm@
This commit is contained in:
parent
b5bb570067
commit
b068d3d2f4
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.38 2003/10/18 19:44:41 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.39 2004/11/28 17:07:43 alek Exp $
|
||||
|
||||
COMMENT= "extremely fast program for analysing WWW logfiles"
|
||||
|
||||
DISTNAME= analog-5.32
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= www
|
||||
|
||||
MASTER_SITES= http://www.analog.cx/ \
|
||||
|
@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.5 2004/04/13 21:27:01 xsa Exp $
|
||||
#
|
||||
# analog deinstallation
|
||||
|
||||
IMAGES="analogo.gif bara1.gif bara16.gif bara2.gif bara32.gif bara4.gif \
|
||||
bara8.gif barb1.gif barb16.gif barb2.gif barb32.gif barb4.gif \
|
||||
barb8.gif barc1.gif barc16.gif barc2.gif barc32.gif barc4.gif \
|
||||
barc8.gif bard1.gif bard16.gif bard2.gif bard32.gif bard4.gif \
|
||||
bard8.gif bare1.gif bare16.gif bare2.gif bare32.gif bare4.gif \
|
||||
bare8.gif barf1.gif barf16.gif barf2.gif barf32.gif barf4.gif \
|
||||
barf8.gif barg1.gif barg16.gif barg2.gif barg32.gif barg4.gif \
|
||||
barg8.gif barh1.gif barh16.gif barh2.gif barh32.gif barh4.gif \
|
||||
barh8.gif html2.gif"
|
||||
|
||||
# exit on errors, use a sane path and prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
CONFIG_FILE=${SYSCONFDIR}/analog.cfg
|
||||
|
||||
for img in ${IMAGES}; do rm -f /var/www/htdocs/analog-images/${img}; done
|
||||
rmdir /var/www/htdocs/analog-images
|
||||
rm -f /var/www/cgi-bin/anlgform.pl
|
||||
|
||||
if [ ${PKG_DELETE_EXTRA} != Yes -a -f ${CONFIG_FILE} ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f ${CONFIG_FILE}"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
@ -1,90 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.5 2001/05/20 05:56:37 form Exp $
|
||||
#
|
||||
# Pre/post-installation setup of analog
|
||||
|
||||
IMAGES="analogo.gif bara1.gif bara16.gif bara2.gif bara32.gif bara4.gif \
|
||||
bara8.gif barb1.gif barb16.gif barb2.gif barb32.gif barb4.gif \
|
||||
barb8.gif barc1.gif barc16.gif barc2.gif barc32.gif barc4.gif \
|
||||
barc8.gif bard1.gif bard16.gif bard2.gif bard32.gif bard4.gif \
|
||||
bard8.gif bare1.gif bare16.gif bare2.gif bare32.gif bare4.gif \
|
||||
bare8.gif barf1.gif barf16.gif barf2.gif barf32.gif barf4.gif \
|
||||
barf8.gif barg1.gif barg16.gif barg2.gif barg32.gif barg4.gif \
|
||||
barg8.gif barh1.gif barh16.gif barh2.gif barh32.gif barh4.gif \
|
||||
barh8.gif html2.gif"
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/analog.cfg
|
||||
SAMPLE_CONFIG_DIR=${PREFIX}/share/examples/analog
|
||||
SAMPLE_CONFIG_FILE=${SAMPLE_CONFIG_DIR}/big.cfg
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Function: tell the user what s/he needs to do to use the port just installed
|
||||
#
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration file, ${CONFIG_FILE},"
|
||||
echo "| has NOT been changed. You may want to compare it to one"
|
||||
echo "| of the sample files in ${SAMPLE_CONFIG_DIR},"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
# Function: install the default analog.cfg from the sample
|
||||
#
|
||||
do_install()
|
||||
{
|
||||
install -o root -g wheel -m 644 ${SAMPLE_CONFIG_FILE} ${CONFIG_FILE}
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration file, ${CONFIG_FILE},"
|
||||
echo "| has been installed. Please view this file and change"
|
||||
echo "| the configuration to meet your needs."
|
||||
echo "+---------------"
|
||||
echo
|
||||
|
||||
}
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
install -d -o root -g bin -m 755 /var/www/htdocs/analog-images
|
||||
[ -d /var/www/cgi-bin ] || \
|
||||
install -d -o root -g daemon -m 755 /var/www/cgi-bin
|
||||
for img in ${IMAGES}; do
|
||||
install -o root -g bin -m 444 \
|
||||
${PREFIX}/share/analog/images/${img} \
|
||||
/var/www/htdocs/analog-images
|
||||
done
|
||||
install -o root -g bin -m 111 ${PREFIX}/share/analog/anlgform.pl \
|
||||
/var/www/cgi-bin
|
||||
if [ -f ${CONFIG_FILE} ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,107 +1,262 @@
|
||||
@comment $OpenBSD: PLIST,v 1.23 2004/09/18 13:15:27 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.24 2004/11/28 17:07:43 alek Exp $
|
||||
@conflict chipmunk-*
|
||||
bin/analog
|
||||
share/analog/
|
||||
share/analog/anlgform.html
|
||||
share/analog/anlgform.pl
|
||||
@mode 111
|
||||
@group bin
|
||||
@sample /var/www/cgi-bin/anlgform.pl
|
||||
@group
|
||||
@mode
|
||||
share/analog/images/
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/
|
||||
@group
|
||||
share/analog/images/analogo.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/analogo.gif
|
||||
@group
|
||||
share/analog/images/analogo.png
|
||||
share/analog/images/bara1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bara1.gif
|
||||
@group
|
||||
share/analog/images/bara1.png
|
||||
share/analog/images/bara16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bara16.gif
|
||||
@group
|
||||
share/analog/images/bara16.png
|
||||
share/analog/images/bara2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bara2.gif
|
||||
@group
|
||||
share/analog/images/bara2.png
|
||||
share/analog/images/bara32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bara32.gif
|
||||
@group
|
||||
share/analog/images/bara32.png
|
||||
share/analog/images/bara4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bara4.gif
|
||||
@group
|
||||
share/analog/images/bara4.png
|
||||
share/analog/images/bara8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bara8.gif
|
||||
@group
|
||||
share/analog/images/bara8.png
|
||||
share/analog/images/barb1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barb1.gif
|
||||
@group
|
||||
share/analog/images/barb1.png
|
||||
share/analog/images/barb16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barb16.gif
|
||||
@group
|
||||
share/analog/images/barb16.png
|
||||
share/analog/images/barb2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barb2.gif
|
||||
@group
|
||||
share/analog/images/barb2.png
|
||||
share/analog/images/barb32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barb32.gif
|
||||
@group
|
||||
share/analog/images/barb32.png
|
||||
share/analog/images/barb4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barb4.gif
|
||||
@group
|
||||
share/analog/images/barb4.png
|
||||
share/analog/images/barb8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barb8.gif
|
||||
@group
|
||||
share/analog/images/barb8.png
|
||||
share/analog/images/barc1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barc1.gif
|
||||
@group
|
||||
share/analog/images/barc1.png
|
||||
share/analog/images/barc16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barc16.gif
|
||||
@group
|
||||
share/analog/images/barc16.png
|
||||
share/analog/images/barc2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barc2.gif
|
||||
@group
|
||||
share/analog/images/barc2.png
|
||||
share/analog/images/barc32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barc32.gif
|
||||
@group
|
||||
share/analog/images/barc32.png
|
||||
share/analog/images/barc4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barc4.gif
|
||||
@group
|
||||
share/analog/images/barc4.png
|
||||
share/analog/images/barc8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barc8.gif
|
||||
@group
|
||||
share/analog/images/barc8.png
|
||||
share/analog/images/bard1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bard1.gif
|
||||
@group
|
||||
share/analog/images/bard1.png
|
||||
share/analog/images/bard16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bard16.gif
|
||||
@group
|
||||
share/analog/images/bard16.png
|
||||
share/analog/images/bard2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bard2.gif
|
||||
@group
|
||||
share/analog/images/bard2.png
|
||||
share/analog/images/bard32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bard32.gif
|
||||
@group
|
||||
share/analog/images/bard32.png
|
||||
share/analog/images/bard4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bard4.gif
|
||||
@group
|
||||
share/analog/images/bard4.png
|
||||
share/analog/images/bard8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bard8.gif
|
||||
@group
|
||||
share/analog/images/bard8.png
|
||||
share/analog/images/bare1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bare1.gif
|
||||
@group
|
||||
share/analog/images/bare1.png
|
||||
share/analog/images/bare16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bare16.gif
|
||||
@group
|
||||
share/analog/images/bare16.png
|
||||
share/analog/images/bare2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bare2.gif
|
||||
@group
|
||||
share/analog/images/bare2.png
|
||||
share/analog/images/bare32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bare32.gif
|
||||
@group
|
||||
share/analog/images/bare32.png
|
||||
share/analog/images/bare4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bare4.gif
|
||||
@group
|
||||
share/analog/images/bare4.png
|
||||
share/analog/images/bare8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/bare8.gif
|
||||
@group
|
||||
share/analog/images/bare8.png
|
||||
share/analog/images/barf1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barf1.gif
|
||||
@group
|
||||
share/analog/images/barf1.png
|
||||
share/analog/images/barf16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barf16.gif
|
||||
@group
|
||||
share/analog/images/barf16.png
|
||||
share/analog/images/barf2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barf2.gif
|
||||
@group
|
||||
share/analog/images/barf2.png
|
||||
share/analog/images/barf32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barf32.gif
|
||||
@group
|
||||
share/analog/images/barf32.png
|
||||
share/analog/images/barf4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barf4.gif
|
||||
@group
|
||||
share/analog/images/barf4.png
|
||||
share/analog/images/barf8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barf8.gif
|
||||
@group
|
||||
share/analog/images/barf8.png
|
||||
share/analog/images/barg1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barg1.gif
|
||||
@group
|
||||
share/analog/images/barg1.png
|
||||
share/analog/images/barg16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barg16.gif
|
||||
@group
|
||||
share/analog/images/barg16.png
|
||||
share/analog/images/barg2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barg2.gif
|
||||
@group
|
||||
share/analog/images/barg2.png
|
||||
share/analog/images/barg32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barg32.gif
|
||||
@group
|
||||
share/analog/images/barg32.png
|
||||
share/analog/images/barg4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barg4.gif
|
||||
@group
|
||||
share/analog/images/barg4.png
|
||||
share/analog/images/barg8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barg8.gif
|
||||
@group
|
||||
share/analog/images/barg8.png
|
||||
share/analog/images/barh1.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barh1.gif
|
||||
@group
|
||||
share/analog/images/barh1.png
|
||||
share/analog/images/barh16.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barh16.gif
|
||||
@group
|
||||
share/analog/images/barh16.png
|
||||
share/analog/images/barh2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barh2.gif
|
||||
@group
|
||||
share/analog/images/barh2.png
|
||||
share/analog/images/barh32.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barh32.gif
|
||||
@group
|
||||
share/analog/images/barh32.png
|
||||
share/analog/images/barh4.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barh4.gif
|
||||
@group
|
||||
share/analog/images/barh4.png
|
||||
share/analog/images/barh8.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/barh8.gif
|
||||
@group
|
||||
share/analog/images/barh8.png
|
||||
share/analog/images/bari1.gif
|
||||
share/analog/images/bari1.png
|
||||
@ -128,6 +283,9 @@ share/analog/images/barj4.png
|
||||
share/analog/images/barj8.gif
|
||||
share/analog/images/barj8.png
|
||||
share/analog/images/html2.gif
|
||||
@group bin
|
||||
@sample /var/www/htdocs/analog-images/html2.gif
|
||||
@group
|
||||
share/analog/images/html2.png
|
||||
share/analog/images/sq0.png
|
||||
share/analog/images/sq1.png
|
||||
@ -371,6 +529,7 @@ share/doc/analog/webworks.html
|
||||
share/doc/analog/whatsnew.html
|
||||
share/examples/analog/
|
||||
share/examples/analog/big.cfg
|
||||
@sample ${SYSCONFDIR}/analog.cfg
|
||||
share/examples/analog/bigbyrep.cfg
|
||||
share/examples/analog/misclogs.cfg
|
||||
share/examples/analog/robotinc.cfg
|
||||
@ -379,5 +538,3 @@ share/examples/analog/statslab.cfg
|
||||
share/examples/analog/typealias.cfg
|
||||
share/examples/analog/virtdoms.cfg
|
||||
share/examples/analog/xferlog.cfg
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra analog.cfg
|
||||
|
Loading…
Reference in New Issue
Block a user