aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-sendmail
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2009-04-26 06:18:43 +0000
committerRong-En Fan <rafan@FreeBSD.org>2009-04-26 06:18:43 +0000
commit80c81fd2063f2ab6f76b262c7bfadd207fb246f9 (patch)
tree0f823374796e9d8a646644c9f03cf6fa876dbddc /security/drweb-sendmail
parentcefc2a8ccf90d96b5c33a28b631e6d6bbc776504 (diff)
downloadports-80c81fd2063f2ab6f76b262c7bfadd207fb246f9.tar.gz
ports-80c81fd2063f2ab6f76b262c7bfadd207fb246f9.zip
Notes
Diffstat (limited to 'security/drweb-sendmail')
-rw-r--r--security/drweb-sendmail/Makefile17
-rw-r--r--security/drweb-sendmail/distinfo3
-rw-r--r--security/drweb-sendmail/pkg-plist2
3 files changed, 16 insertions, 6 deletions
diff --git a/security/drweb-sendmail/Makefile b/security/drweb-sendmail/Makefile
index 29fab508d47b..176ad6aba2fd 100644
--- a/security/drweb-sendmail/Makefile
+++ b/security/drweb-sendmail/Makefile
@@ -7,11 +7,11 @@
PORTNAME= drweb-sendmail
PORTVERSION= 4.44.1
+PORTREVISION= 1
CATEGORIES= security mail
-MASTER_SITES= ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/60/ \
- http://freebsd.spectrum.ru/distfiles/drweb/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd60
-DIST_SUBDIR= drweb
+MASTER_SITES= ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/70/ \
+ ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/60/ \
+ http://freebsd.spectrum.ru/distfiles/drweb/
MAINTAINER= support@spectrum.ru
COMMENT= Sendmail message filter for virus processing through DrWeb daemon
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb
IA32_BINARY_PORT= yes
NO_BUILD= yes
-USE_RC_SUBR= drweb-smf
+USE_RC_SUBR= drweb-smf
USE_BZIP2= yes
.include <bsd.port.pre.mk>
@@ -29,6 +29,13 @@ USE_BZIP2= yes
IGNORE= sorry, port is not supported of FreeBSD version < 6.1
.endif
+.if ${OSVERSION} >= 700000
+DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd70
+.else
+DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd60
+.endif
+DIST_SUBDIR= drweb
+
WRKSRC= ${WRKDIR}/${DISTNAME}
INST_PREFIX= ${PREFIX}/drweb
CONF_PREFIX= ${PREFIX}/etc/drweb
diff --git a/security/drweb-sendmail/distinfo b/security/drweb-sendmail/distinfo
index fecdc473a847..1920704c23aa 100644
--- a/security/drweb-sendmail/distinfo
+++ b/security/drweb-sendmail/distinfo
@@ -1,3 +1,6 @@
MD5 (drweb/drweb-sendmail-4.44.1-freebsd60.tar.bz2) = 7483ef271170a538d5b4ba44a7dce233
SHA256 (drweb/drweb-sendmail-4.44.1-freebsd60.tar.bz2) = 4883408f53a7b88cfe71265249dbed10fe320bb6925044ffee50a2a6b901927a
SIZE (drweb/drweb-sendmail-4.44.1-freebsd60.tar.bz2) = 179964
+MD5 (drweb/drweb-sendmail-4.44.1-freebsd70.tar.bz2) = 3243a8238f3c5144dafb2d5a7dd2f8a7
+SHA256 (drweb/drweb-sendmail-4.44.1-freebsd70.tar.bz2) = 5b76e63e7677b22ac4117c38428bfece7009393cc0637728ddb76eb60a0e97cf
+SIZE (drweb/drweb-sendmail-4.44.1-freebsd70.tar.bz2) = 184909
diff --git a/security/drweb-sendmail/pkg-plist b/security/drweb-sendmail/pkg-plist
index db2e3f94ba3a..df727e6531c5 100644
--- a/security/drweb-sendmail/pkg-plist
+++ b/security/drweb-sendmail/pkg-plist
@@ -1,4 +1,4 @@
-@unexec if [ -e /var/drweb/run/drweb-smf.skt ] ; then %D/etc/rc.d/002.drweb-smf.sh stop ; fi
+@unexec if [ -e /var/drweb/run/drweb-smf.skt ] ; then %D/etc/rc.d/drweb-smf stop ; fi
drweb/drweb-smf
etc/rc.d/drweb-smf
@unexec if [ -f %D/etc/drweb/addresses.conf ] && cmp -s %D/etc/drweb/addresses.conf %D/etc/drweb/addresses.conf-distr; then rm -f %D/etc/drweb/addresses.conf; fi