1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to 1.2.42.pre3

- Disable automatical crontab editing

PR:		ports/102826
Submitted by:	Jonas Kvinge <jonas@emptyglass.night-light.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-09-04 18:46:00 +00:00
parent e27d1dbd16
commit 4277490fef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172206
5 changed files with 20 additions and 18 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= ircproxy
DISTVERSION= 1.2.42d.pre2
DISTVERSION= 1.2.42d.pre3
CATEGORIES= irc
MASTER_SITES= http://www.ircproxy.night-light.net/files/

View File

@ -1,3 +1,3 @@
MD5 (ircproxy-1.2.42d.pre2.tar.gz) = f3b5d9800b78ebda3346b137a5489671
SHA256 (ircproxy-1.2.42d.pre2.tar.gz) = c8d1370db589cc1778f581e60a5107defe3d1eed3ada46c40544f4f9ca968f58
SIZE (ircproxy-1.2.42d.pre2.tar.gz) = 239968
MD5 (ircproxy-1.2.42d.pre3.tar.gz) = 6fbb849489912e6dabedba3f35ba782c
SHA256 (ircproxy-1.2.42d.pre3.tar.gz) = 1d66b58ce596e45c0168327d795211452e5a7db061e968b9ee678ad894ba36b6
SIZE (ircproxy-1.2.42d.pre3.tar.gz) = 239450

View File

@ -4,7 +4,7 @@
# Deinstallation script for FreeBSD ports
# Written by Jonas Kvinge
#
# Last modified: Jonas Kvinge (26.08.2006)
# Last modified: Jonas Kvinge (03.09.2006)
#
BINFILE=ircproxyd
@ -14,12 +14,12 @@ EGROUP="ircproxy"
if [ "$2" = "DEINSTALL" ]; then
grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1
if [ $? -eq 0 ]; then
sed -i -e "s:^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh::" /etc/crontab
sed -i -e '/^$/d' /etc/crontab
rm -f /etc/crontab-e
fi
#grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1
#if [ $? -eq 0 ]; then
# sed -i -e "s:^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh::" /etc/crontab
# sed -i -e '/^$/d' /etc/crontab
# rm -f /etc/crontab-e
#fi
if [ -f $PIDFILE ] && [ -r $PIDFILE ] ; then
PID=`cat "$PIDFILE"`

View File

@ -4,7 +4,7 @@
# Installation script for FreeBSD ports
# Written by Jonas Kvinge
#
# Last modified: Jonas Kvinge (26.08.2006)
# Last modified: Jonas Kvinge (03.09.2006)
#
BINFILE="ircproxyd"
@ -30,12 +30,13 @@ if [ "$2" = "POST-INSTALL" ]; then
sed -i -e "s:^IRCPROXYPIDFILE=.*:IRCPROXYPIDFILE=${PIDFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1
rm -f ${PKG_PREFIX}/sbin/ircproxy.sh-e
grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1
if [ ! $? -eq 0 ] ; then
cat <<EOF >>/etc/crontab || exit 1
*/5 * * * * root $PKG_PREFIX/sbin/ircproxy.sh
EOF
fi
#grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1
#if [ ! $? -eq 0 ] ; then
# cat <<EOF >>/etc/crontab || exit 1
#*/5 * * * * root $PKG_PREFIX/sbin/ircproxy.sh
#EOF
#fi
fi

View File

@ -3,5 +3,6 @@ sbin/mkpasswd
sbin/ircproxy.sh
etc/ircproxy/ircproxy-listen.conf
etc/ircproxy/ircproxy-access.conf
etc/ircproxy/ircproxy-user.conf
etc/ircproxy/ircproxy-conn.conf
@dirrm etc/ircproxy