- Add support for 7.x
PR: ports/133917 Submitted by: Alexander Demin <support at spectrum.ru> (maintainer)
This commit is contained in:
parent
cefc2a8ccf
commit
80c81fd206
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232755
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user