aboutsummaryrefslogtreecommitdiff
path: root/security/drweb
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-10-03 18:02:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-10-03 18:02:08 +0000
commitb582ec95a3e965b223fc8f716bb6f3e5db7a713e (patch)
treec83426c1209e0ced2c7bc0b8a38b0260fb6d00ec /security/drweb
parente2ad14bba82605f0c62b905de8bed18a7abd8a45 (diff)
downloadports-b582ec95a3e965b223fc8f716bb6f3e5db7a713e.tar.gz
ports-b582ec95a3e965b223fc8f716bb6f3e5db7a713e.zip
Notes
Diffstat (limited to 'security/drweb')
-rw-r--r--security/drweb/Makefile4
-rw-r--r--security/drweb/files/drwebd.sh26
-rw-r--r--security/drweb/pkg-plist3
3 files changed, 3 insertions, 30 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile
index f670ea7ee6f5..ead6c0f184ae 100644
--- a/security/drweb/Makefile
+++ b/security/drweb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= drweb
PORTVERSION= 4.26
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.drweb.ru/ftp/web_pub/
DISTNAME= ${PORTNAME}d-${PORTVERSION}-freebsd4
@@ -39,9 +39,7 @@ do-install:
${CP} ${DRWEB_PREFIX}/drweb32.ini-dist \
${DRWEB_PREFIX}/drweb32.ini; \
fi
- ${SED} 's#!!PREFIX!!#${DRWEB_PREFIX}#' < ${FILESDIR}/drwebd.sh >${WRKSRC}/drwebd.sh
cd ${DRWEB_PREFIX}/update; \
${PATCH} -s < ${FILESDIR}/update-patch && ${RM} update.pl.orig
- ${INSTALL_SCRIPT} ${WRKSRC}/drwebd.sh ${PREFIX}/etc/rc.d/
.include <bsd.port.mk>
diff --git a/security/drweb/files/drwebd.sh b/security/drweb/files/drwebd.sh
deleted file mode 100644
index bfffe8b64255..000000000000
--- a/security/drweb/files/drwebd.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-drwebd='!!PREFIX!!/drwebd'
-
-case "$1" in
-start)
- if [ -x $drwebd ]; then
- echo -n ' drwebd'
- $drwebd
- /bin/chmod 660 /var/run/drwebd.sock
- fi
- ;;
-stop)
- /usr/bin/killall drwebd
- /bin/rm -f /var/run/drwebd.sock
- echo -n ' drwebd'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0
diff --git a/security/drweb/pkg-plist b/security/drweb/pkg-plist
index 8c797773a3b9..7b0162ced104 100644
--- a/security/drweb/pkg-plist
+++ b/security/drweb/pkg-plist
@@ -93,9 +93,10 @@ drweb/russian.dwl
drweb/update/readme.update
drweb/update/readme.update.rus
drweb/update/update.pl
-etc/rc.d/drwebd.sh
@dirrm drweb/clients/cgp
@dirrm drweb/clients/demo
+@dirrm drweb/clients/drwebdc/include
+@dirrm drweb/clients/drwebdc/lib
@dirrm drweb/clients/drwebdc/src
@dirrm drweb/clients/drwebdc
@dirrm drweb/clients/exim