diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/drweb/Makefile | 14 | ||||
-rw-r--r-- | security/drweb/distinfo | 2 | ||||
-rw-r--r-- | security/drweb/pkg-plist | 4 |
3 files changed, 13 insertions, 7 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile index 7194fa980c35..a1b33b658b97 100644 --- a/security/drweb/Makefile +++ b/security/drweb/Makefile @@ -7,24 +7,28 @@ PORTNAME= drweb PORTVERSION= 4.33 +PORTREVISION= 1 CATEGORIES= security -MASTER_SITES= ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/411/ \ - ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/54/ +MASTER_SITES= ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/411/:f411 \ + ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/54/:f54 \ + http://freebsd.spectrum.ru/distfiles/:f411,f54 MAINTAINER= support@spectrum.ru COMMENT= DrWeb antivirus suite +RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget + ONLY_FOR_ARCHS= i386 NO_BUILD= yes -RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget - .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd411 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:f411 .else DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd54 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:f54 .if ${OSVERSION} >= 600000 LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x .endif @@ -58,7 +62,7 @@ do-install: ${PREFIX}/etc/drweb/email.ini; \ fi ${INSTALL_SCRIPT} -m 0750 -b ${WRKSRC}${LOCALBASE}/etc/rc.d/00.drwebd.sh \ - ${PREFIX}/etc/rc.d/00.drwebd.sh + ${PREFIX}/etc/rc.d/001.drwebd.sh post-install: .if !defined(NOPORTDOCS) diff --git a/security/drweb/distinfo b/security/drweb/distinfo index 3f6b700550c9..5b194461f557 100644 --- a/security/drweb/distinfo +++ b/security/drweb/distinfo @@ -1,4 +1,6 @@ MD5 (drweb-4.33-freebsd411.tar.gz) = 389a65d58c2563f86a7d3297d2bd4e50 +SHA256 (drweb-4.33-freebsd411.tar.gz) = 200f96afc1fcabb92218adaa85649df7cac5414b544bceca93828edda19c3cc8 SIZE (drweb-4.33-freebsd411.tar.gz) = 3345689 MD5 (drweb-4.33-freebsd54.tar.gz) = 0376869752653ee075af8a7044eaf57d +SHA256 (drweb-4.33-freebsd54.tar.gz) = 5c9a41865ede292c4bacb675b9c1a1f1ef6789e96932e83a6b26237ba6b6415a SIZE (drweb-4.33-freebsd54.tar.gz) = 3850792 diff --git a/security/drweb/pkg-plist b/security/drweb/pkg-plist index 4935340476ca..e0a5c154c898 100644 --- a/security/drweb/pkg-plist +++ b/security/drweb/pkg-plist @@ -1,4 +1,4 @@ -@unexec if [ -f /var/drweb/run/drwebd.pid ] ; then %D/etc/rc.d/00.drwebd.sh stop ; fi +@unexec if [ -f /var/drweb/run/drwebd.pid ] ; then %D/etc/rc.d/001.drwebd.sh stop ; fi drweb/drweb drweb/drwebd drweb/drwebdc @@ -15,7 +15,7 @@ etc/drweb/drweb32.ini-distr @unexec if [ -f %D/etc/drweb/email.ini ] && cmp -s %D/etc/drweb/email.ini %D/etc/drweb/email.ini-distr; then rm -f %D/etc/drweb/email.ini ; fi etc/drweb/email.ini-distr @exec if [ ! -f %B/email.ini ] ; then cp -p %B/%F %B/email.ini ; fi -etc/rc.d/00.drwebd.sh +etc/rc.d/001.drwebd.sh %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/FAQ.rus |