head	1.19;
access;
symbols
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.15
	RELEASE_7_0_0:1.15
	RELEASE_6_3_0:1.15
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.10
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3;
locks; strict;
comment	@# @;


1.19
date	2011.08.10.16.18.31;	author bapt;	state dead;
branches;
next	1.18;

1.18
date	2011.06.06.15.29.39;	author linimon;	state Exp;
branches;
next	1.17;

1.17
date	2009.02.04.10.26.35;	author pgollucci;	state Exp;
branches;
next	1.16;

1.16
date	2008.06.06.14.00.47;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2007.10.04.06.00.20;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2006.12.22.16.26.44;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2005.11.22.11.27.49;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.09.00.04.24;	author mnag;	state Exp;
branches;
next	1.11;

1.11
date	2005.07.08.12.18.25;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2005.02.10.16.05.52;	author sem;	state Exp;
branches;
next	1.9;

1.9
date	2004.07.23.12.30.37;	author vs;	state Exp;
branches;
next	1.8;

1.8
date	2004.06.29.15.28.28;	author adamw;	state Exp;
branches;
next	1.7;

1.7
date	2004.05.25.18.42.12;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2004.03.14.01.20.32;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.18.06.26.44;	author daichi;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.14.05.17.28;	author daichi;	state Exp;
branches;
next	1.3;

1.3
date	2003.03.04.04.16.53;	author foxfair;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.21.13.26.43;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.16.05.07.07;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Remove some expired ports

2011-08-08 deskutils/alexandria: Upcoming ruby-gnome removes dependencies
2011-08-06 security/drweb: fails to fetch (website rearranged)
2011-08-06 security/drweb-postfix: fails to fetch (website rearranged)
2011-08-06 security/drweb-qmail: fails to fetch (website rearranged)
2011-08-06 security/drweb-sendmail: fails to fetch (website rearranged)
@
text
@# New ports collection makefile for:   drweb_postfix
# Date created:        5 December 2002
# Whom:                zhuravlev alexander <zaa@@ulstu.ru>
#
# $FreeBSD: ports/security/drweb-postfix/Makefile,v 1.18 2011/06/06 15:29:39 linimon Exp $
#

PORTNAME=	drweb-postfix
PORTVERSION=	4.44.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

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Postfix message filter for virus processing through DrWeb daemon

DEPRECATED=		fails to fetch (website rearranged)
EXPIRATION_DATE=	2011-08-06

RUN_DEPENDS=	${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb

IA32_BINARY_PORT=	yes
NO_BUILD=		yes
USE_BZIP2=		yes

.include <bsd.port.pre.mk>

WRKSRC=		${WRKDIR}/${DISTNAME}
INST_PREFIX=	${PREFIX}/drweb
CONF_PREFIX=	${PREFIX}/etc/drweb

LANGS=		en en-pl en-ru
CONFS=		addresses drweb_postfix users viruses
TMPLS=		admin_archive admin_cured admin_error admin_license admin_malware \
		admin_rule admin_virus rcpts_malware rcpts_virus sender_archive \
		sender_cured sender_error sender_malware sender_skip sender_virus

do-install:
	${INSTALL_PROGRAM} -m 0750 -o drweb -g drweb \
		${WRKSRC}${LOCALBASE}/drweb/drweb-postfix.static ${INST_PREFIX}/drweb-postfix
.for CONF in ${CONFS}
	${INSTALL_DATA} -m 0640 -o drweb -g drweb \
		${WRKSRC}${LOCALBASE}/etc/drweb/${CONF}.conf \
		${CONF_PREFIX}/${CONF}.conf-distr
.if !exists( ${CONF_PREFIX}/${CONF}.conf )
	${CP} ${CONF_PREFIX}/${CONF}.conf-distr ${CONF_PREFIX}/${CONF}.conf
.endif
.endfor
.for LANG in ${LANGS}
	${MKDIR} ${CONF_PREFIX}/templates/${LANG}/postfix
.endfor
.for LANG in ${LANGS}
.for TMPL in ${TMPLS}
	${INSTALL} -m 0640 -o drweb -g drweb ${WRKSRC}${LOCALBASE}/etc/drweb/templates/${LANG}/${TMPL}.msg \
		${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg-distr
.if !exists( ${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg )
	${CP} ${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg-distr \
		${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg
.endif
.endfor
.endfor

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${TAR} -cf - -C ${WRKSRC}/usr/local/drweb/doc/postfix . | \
		${TAR} -xf - -C ${DOCSDIR} --exclude "configure*"
.endif
	@@${ECHO}
	@@${ECHO} "Read documentation about additional Postfix tuning needed"
	@@${ECHO} "in ${DOCSDIR}."
	@@${ECHO}

.include <bsd.port.post.mk>
@


1.18
log
@Reset maintainer to ports@@ by request.  While here, mark the ports DEPRECATED
(the website has been rearranged).

Note that the project still seems to be active.

PR:		ports/157658
Submitted by:	Alexander Demin <support@@spectrum.ru> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@- Update to 4.44.1
- While here:
  fix DISTNAME/DISTFILES and ordering
  pet portlint
  rename rc.d scripts from foo.sh -> foo.in (.sh is legacy)

PR:             ports/131292,   ports/131293, ports/131300, ports/131301
Submitted by:   Demin Alexander <support@@spectrum.ru> (maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	support@@spectrum.ru
d19 3
a29 4
.if ${OSVERSION} < 601000
IGNORE=	sorry, port is not supported of FreeBSD version < 6.1
.endif

@


1.16
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	4.33
PORTREVISION=	3
d11 3
a13 4
MASTER_SITES=	ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/61/:f61 \
		ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/55/:f55 \
		ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/411/:f411 \
		http://freebsd.spectrum.ru/distfiles/drweb/:f61,f55,f411
d23 1
d27 2
a28 6
.if ${OSVERSION} >= 601000
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd61
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f61
.else
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd55
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f55
d31 1
a31 1
WRKSRC=		${WRKDIR}/${PORTNAME}
@


1.15
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.14
log
@- Fix MASTER_SITES
- Add binary for 6.1 or above
- Update distfiles
- Add IA32_BINARY_PORT

PR:		ports/107016
Submitted by:	Demin Alexander <support at spectrum.ru> (maintainer)
@
text
@d28 1
a28 4
.if ${OSVERSION} < 500000
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd411
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f411
.elif ${OSVERSION} >= 601000
@


1.13
log
@[patch] security/drweb-postfix have invalid default config

	Port security/drweb-postfix have invalid drweb_postfix.conf:
	Template files incorrecly named

PR:		ports/88928
Submitted by:	Dmitry A Grigorovich <odip@@bionet.nsc.ru>
Approved by:	Alexander Demin <support@@spectrum.ru>
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 5
a16 3
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
d23 2
a24 2
ONLY_FOR_ARCHS=	i386
NO_BUILD=	yes
d31 3
d35 2
a36 2
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd54
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f54
@


1.12
log
@Update to 4.33
Use group in MASTER_SITES
Add SHA256

PR:		88598
Submitted by:	Demin Alexander <support@@spectrum.ru> (maintainer)
@
text
@d10 1
@


1.11
log
@- Fix a typo in patch to default configuration file

PR:		ports/82930
Submitted by:	Dmitry A Grigorovich <odip@@bionet.nsc.ru>
Approved by:	Alexander Demin <support@@spectrum.ru> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	4.32.1
PORTREVISION=	1
d11 3
a13 2
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/FreeBSD/49/ \
		ftp://ftp.drweb.ru/pub/unix/FreeBSD/53/
d20 1
d26 2
a27 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd49
d29 2
a30 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd53
d34 8
a41 9
INST_PREFIX=	${PREFIX}/${PORTNAME}
DOC_DIR=	${PREFIX}/share/doc/${PORTNAME}
CONFDIR=	${PREFIX}/etc/${PORTNAME}

LANGS=		en en-ru en-pl en-jp
CONFS=		drweb_postfix users viruses addresses
TMPLS=		archive-admin archive-sender cured-admin cured-sender error-admin \
		error-sender rule-admin skip-sender virus-admin virus-rcpts \
		virus-sender license-admin
d44 2
a45 15
	${MKDIR} ${INST_PREFIX}
	${MKDIR} ${INST_PREFIX}/run
	${CHOWN} drweb:drweb ${INST_PREFIX}/run
	${MKDIR} ${CONFDIR}
	${MKDIR} ${DOC_DIR}
	${MKDIR} ${DOC_DIR}/postfix
	${INSTALL_PROGRAM} ${WRKSRC}/usr/local/drweb/drweb-postfix.static \
		${INST_PREFIX}/drweb-postfix
	${SED} 's#%INSTALL%#${INST_PREFIX}#g' \
		< ${FILESDIR}/01.drweb-postfix.sh \
		> ${PREFIX}/etc/rc.d/01.drweb-postfix.sh-dist
	${CHMOD} 750 ${PREFIX}/etc/rc.d/01.drweb-postfix.sh-dist
.for LANG in ${LANGS}
	${MKDIR} ${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix
.endfor
d47 5
a51 7
	${SED} 's#%CONFDIR%#${CONFDIR}#g' \
		< ${WRKSRC}/usr/local/etc/drweb/${CONF}.conf \
		> ${CONFDIR}/${CONF}.conf-dist
	${CHMOD} 640 ${CONFDIR}/${CONF}.conf-dist
.if !exists( ${PREFIX}/etc/${PORTNAME}/${CONF}.conf )
	${CP} ${CONFDIR}/${CONF}.conf-dist ${CONFDIR}/${CONF}.conf
	${CHMOD} 600 ${CONFDIR}/${CONF}.conf
d55 3
d59 5
a63 5
	${INSTALL_DATA} ${WRKSRC}/usr/local/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg \
		${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix/${TMPL}.msg-dist
.if !exists( ${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix/${TMPL}.msg )
	${INSTALL_DATA} -o drweb -g drweb -m 640 ${WRKSRC}/usr/local/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg \
		${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix/${TMPL}.msg
a66 4
	${CP} ${WRKSRC}/usr/local/drweb/doc/postfix/*.txt \
		${DOC_DIR}/postfix/
	${CP} ${WRKSRC}/usr/local/drweb/doc/postfix/read* \
		${DOC_DIR}/postfix/
d69 5
a73 2
	@@${ECHO}
	@@${CAT} ${PKGMESSAGE}
@


1.10
log
@- Update to 4.32.1
- Pass maintainership to submitter

PR:		ports/75353
Submitted by:	Demin Alexander <support(at)spectrum.ru>
Approved by:	former maintainer
@
text
@d10 1
@


1.9
log
@Update to 4.31

PR:		ports/69239
Submitted by:	zhuravlev alexander (maintainer)
@
text
@d8 2
a9 2
PORTNAME=	drweb_postfix
PORTVERSION=	4.31
d11 2
a12 4
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/ \
		ftp://ftp.drweb.ru/pub/unix/archive/ \
		ftp://ftp.drweb.ru/pub/unix/archive/drweb-clients-${PORTVERSION}/
DISTNAME=	drweb-clients-${PORTVERSION}-sources
d14 1
a14 1
MAINTAINER=	zaa@@ulstu.ru
a16 1
BUILD_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2
d19 1
a19 1
WRKSRC=		${WRKDIR}/${DISTNAME}
d21 9
d31 2
d34 5
a38 31
LANGS=en-ru
CONFS=drweb_postfix users viruses addresses
TMPLS=archive-admin archive-sender error-admin error-sender skip-sender \
      virus-admin virus-rcpts virus-sender rule-admin
PORTDOCS=	FAQ.rus.txt addresses_list.rus.txt addresses_list.txt conf_file.rus.txt \
	conf_file.txt notify.rus.txt notify.txt readme readme.rus \
	users_list.rus.txt users_list.txt viruses_list.rus.txt viruses_list.txt

post-patch:
	cd ${WRKSRC} && \
	${SED} "s#%PREFIX%#${PREFIX}#g" < dw_options.c > ndwo.c && \
		${MV} ndwo.c dw_options.c
	cd ${WRKSRC}/etc && \
	${SED} -e "s#%PREFIX%#${PREFIX}#g" -e "s#%HOSTNAME%#${HOST}#g" \
		< drweb_postfix.conf > nconf && \
		${MV} nconf drweb_postfix.conf

post-configure:
	cd ${WRKSRC} && { \
		${ECHO_CMD} ${PORTVERSION}; \
		${ECHO_CMD} n; \
		${ECHO_CMD} n; \
		${ECHO_CMD} n; \
		${ECHO_CMD} n; \
		${ECHO_CMD} y; \
		${ECHO_CMD} n; \
		${ECHO_CMD} n; \
		${ECHO_CMD} y; \
		${ECHO_CMD} ${CFLAGS} ; \
		${ECHO_CMD} y; \
	} | ./configure
d41 12
d54 1
a54 1
	${MKDIR} ${PREFIX}/etc/drweb/templates/${LANG}/postfix
d57 8
a64 6
	${INSTALL_DATA} -m 640 -o drweb -g drweb ${WRKSRC}/etc/${CONF}.conf \
	    ${PREFIX}/etc/drweb/${CONF}.conf-dist
	if [ ! -f ${PREFIX}/etc/drweb/${CONF}.conf ]; then \
	   ${INSTALL_DATA} -m 640 -o drweb -g drweb ${WRKSRC}/etc/${CONF}.conf \
		${PREFIX}/etc/drweb/${CONF}.conf; \
	fi
d68 6
a73 7
	cd ${WRKSRC}/etc/templates/${LANG}/postfix && \
	    ${INSTALL_DATA} ${TMPL}.msg \
		${PREFIX}/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg-dist
	if [ ! -f ${PREFIX}/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg ]; then \
		cd ${PREFIX}/etc/drweb/templates/${LANG}/postfix && \
		${CP} ${TMPL}.msg-dist ${TMPL}.msg; \
	fi
d76 4
a79 7
	${INSTALL_PROGRAM} ${WRKSRC}/drweb-postfix ${PREFIX}/sbin/
	${INSTALL_PROGRAM} ${WRKSRC}/drwebdc ${PREFIX}/sbin/
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/doc/postfix && \
		${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
d82 1
d89 1
a89 1
.include <bsd.port.mk>
@


1.8
log
@Correct the location of the port providing the drwebd binary.
Should fix INDEX builds.
@
text
@d9 1
a9 1
PORTVERSION=	4.29.12f
d13 2
a14 2
		ftp://ftp.drweb.ru/pub/unix/archive/drweb-clients-4.29.12/
DISTNAME=	drweb-clients-4.29.12-F-sources
d19 1
a24 1
DOC_DIR=	${PREFIX}/share/doc/drweb-postfix
d30 1
a30 1
DOCS=addresses_list.rus.txt addresses_list.txt conf_file.rus.txt \
a58 1
	${MKDIR} ${DOC_DIR}
d83 2
d86 2
a87 1
		${INSTALL_DATA} ${DOCS} ${DOC_DIR}
d91 4
a94 4
	@@echo
	@@echo "Read documentation about additional Postfix tuning needed"
	@@echo "in ${DOC_DIR}."
	@@echo
@


1.7
log
@- Cosmetic: adjust dependencies

PR:		ports/66926
Submitted by:	Serge Negodyuck <petr@@petrovich.kiev.ua>
@
text
@d19 1
a19 1
RUN_DEPENDS=	${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drwebd
@


1.6
log
@Add alternate fetch locations from the mastersite (subdirectories),
since the versions of these files are old and thus no longer
at the top level.  Notified maintainer.
@
text
@d19 1
a19 1
RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/drweb-0.sh:${PORTSDIR}/security/drwebd
@


1.5
log
@update security/drweb-postfix: 4.29.12d -> 4.29.12f

PR:		55642
Submitted by:	zhuravlev alexander <zaa@@ulstu.ru> (maintainer)
@
text
@d11 3
a13 1
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/
@


1.4
log
@update security/drweb-postfix: 4.29.10a -> 4.29.12d

PR:		54413
Submitted by:	zhuravlev alexander <zaa@@ulstu.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.29.12d
d12 1
a12 1
DISTNAME=	drweb-clients-4.29.12-D-sources
@


1.3
log
@PR:		48794
Submitted by:	MAINTAINER
Update to 4.29.10a
@
text
@d9 1
a9 1
PORTVERSION=	4.29.10a
d12 1
a12 1
DISTNAME=	drweb-clients-4.29.10-A-sources
d27 1
a27 1
      virus-admin virus-rcpts virus-sender
d44 1
@


1.2
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	4.29
d12 1
a12 1
DISTNAME=	drweb-clients-${PORTVERSION}-sources
d24 3
a26 3
LANGS=en-ru en-es
CONFS=drweb_postfix users
TMPLS=error-admin error-sender mailbomb-admin mailbomb-sender skip-sender \
d28 3
a30 2
DOCS=readme notify.rus.txt users_list.rus.txt conf_file.rus.txt notify.txt \
	users_list.txt conf_file.txt readme.rus
d43 1
a50 1
		${ECHO_CMD} n; \
@


1.1
log
@New port: drweb-postfix antivirus checking backend

PR:		ports/46496
Submitted by:	zhuravlev alexander <zaa@@ulstu.ru>
@
text
@d15 1
@

