summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f670ea7..ead6c0f 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 bfffe8b..0000000
--- 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 8c79777..7b0162c 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
OpenPOWER on IntegriCloud