head	1.63;
access;
symbols
	RELEASE_7_4_0:1.61
	RELEASE_8_2_0:1.61
	RELEASE_6_EOL:1.61
	RELEASE_8_1_0:1.61
	RELEASE_7_3_0:1.61
	RELEASE_8_0_0:1.61
	RELEASE_7_2_0:1.59
	RELEASE_7_1_0:1.58
	RELEASE_6_4_0:1.58
	RELEASE_5_EOL:1.56
	RELEASE_7_0_0:1.56
	RELEASE_6_3_0:1.56
	PRE_XORG_7:1.53
	RELEASE_4_EOL:1.53
	RELEASE_6_2_0:1.51
	RELEASE_6_1_0:1.51
	RELEASE_5_5_0:1.51
	RELEASE_6_0_0:1.47
	RELEASE_5_4_0:1.46
	RELEASE_4_11_0:1.44
	RELEASE_5_3_0:1.41
	RELEASE_4_10_0:1.38
	RELEASE_5_2_1:1.34
	RELEASE_5_2_0:1.34
	RELEASE_4_9_0:1.34
	RELEASE_5_1_0:1.32
	RELEASE_4_8_0:1.32
	RELEASE_5_0_0:1.31
	RELEASE_4_7_0:1.29
	RELEASE_4_6_2:1.26
	RELEASE_4_6_1:1.26
	RELEASE_4_6_0:1.26
	RELEASE_5_0_DP1:1.21
	RELEASE_4_5_0:1.21
	RELEASE_4_4_0:1.7;
locks; strict;
comment	@# @;


1.63
date	2011.08.10.16.18.31;	author bapt;	state dead;
branches;
next	1.62;

1.62
date	2011.06.06.15.29.39;	author linimon;	state Exp;
branches;
next	1.61;

1.61
date	2009.07.28.09.16.21;	author pav;	state Exp;
branches;
next	1.60;

1.60
date	2009.04.26.06.18.14;	author rafan;	state Exp;
branches;
next	1.59;

1.59
date	2009.02.04.10.26.35;	author pgollucci;	state Exp;
branches;
next	1.58;

1.58
date	2008.08.30.13.56.48;	author miwi;	state Exp;
branches;
next	1.57;

1.57
date	2008.06.06.14.00.47;	author edwin;	state Exp;
branches;
next	1.56;

1.56
date	2007.10.04.23.08.40;	author edwin;	state Exp;
branches;
next	1.55;

1.55
date	2007.10.04.06.00.20;	author edwin;	state Exp;
branches;
next	1.54;

1.54
date	2007.08.30.15.02.47;	author sem;	state Exp;
branches;
next	1.53;

1.53
date	2006.11.06.13.30.48;	author jmelo;	state Exp;
branches;
next	1.52;

1.52
date	2006.10.31.18.36.29;	author shaun;	state Exp;
branches;
next	1.51;

1.51
date	2005.11.30.14.31.02;	author garga;	state Exp;
branches;
next	1.50;

1.50
date	2005.11.23.11.52.15;	author flz;	state Exp;
branches;
next	1.49;

1.49
date	2005.11.08.23.46.21;	author mnag;	state Exp;
branches;
next	1.48;

1.48
date	2005.10.13.15.03.39;	author ehaupt;	state Exp;
branches;
next	1.47;

1.47
date	2005.08.26.05.23.21;	author krion;	state Exp;
branches;
next	1.46;

1.46
date	2005.03.02.10.23.54;	author flz;	state Exp;
branches;
next	1.45;

1.45
date	2005.02.28.04.26.51;	author kris;	state Exp;
branches;
next	1.44;

1.44
date	2004.11.24.18.14.11;	author sem;	state Exp;
branches;
next	1.43;

1.43
date	2004.11.23.22.50.03;	author kris;	state Exp;
branches;
next	1.42;

1.42
date	2004.11.23.18.28.22;	author linimon;	state Exp;
branches;
next	1.41;

1.41
date	2004.05.25.18.33.45;	author pav;	state Exp;
branches;
next	1.40;

1.40
date	2004.05.18.09.12.17;	author clement;	state Exp;
branches;
next	1.39;

1.39
date	2004.05.17.22.58.53;	author linimon;	state Exp;
branches;
next	1.38;

1.38
date	2004.03.25.19.28.30;	author pav;	state Exp;
branches;
next	1.37;

1.37
date	2004.03.24.22.04.13;	author pav;	state Exp;
branches;
next	1.36;

1.36
date	2004.03.10.10.05.28;	author pav;	state Exp;
branches;
next	1.35;

1.35
date	2004.02.28.15.17.44;	author pav;	state Exp;
branches;
next	1.34;

1.34
date	2003.07.30.16.16.22;	author ache;	state Exp;
branches;
next	1.33;

1.33
date	2003.06.07.09.04.36;	author ache;	state Exp;
branches;
next	1.32;

1.32
date	2003.02.21.13.26.43;	author knu;	state Exp;
branches;
next	1.31;

1.31
date	2002.11.07.12.17.01;	author ache;	state Exp;
branches;
next	1.30;

1.30
date	2002.10.31.00.33.58;	author ache;	state Exp;
branches;
next	1.29;

1.29
date	2002.08.29.20.45.16;	author naddy;	state Exp;
branches;
next	1.28;

1.28
date	2002.08.25.06.11.22;	author ache;	state Exp;
branches;
next	1.27;

1.27
date	2002.08.23.20.14.08;	author ache;	state Exp;
branches;
next	1.26;

1.26
date	2002.05.22.12.50.56;	author sobomax;	state Exp;
branches;
next	1.25;

1.25
date	2002.05.21.15.16.33;	author ache;	state Exp;
branches;
next	1.24;

1.24
date	2002.05.17.09.14.17;	author ache;	state Exp;
branches;
next	1.23;

1.23
date	2002.05.13.15.02.45;	author ache;	state Exp;
branches;
next	1.22;

1.22
date	2002.05.10.06.36.10;	author ache;	state Exp;
branches;
next	1.21;

1.21
date	2002.01.04.07.13.09;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	2001.12.15.21.07.20;	author steve;	state Exp;
branches;
next	1.19;

1.19
date	2001.12.07.23.22.57;	author ache;	state Exp;
branches;
next	1.18;

1.18
date	2001.11.07.15.46.41;	author ache;	state Exp;
branches;
next	1.17;

1.17
date	2001.11.02.10.03.38;	author ache;	state Exp;
branches;
next	1.16;

1.16
date	2001.10.20.19.56.17;	author ache;	state Exp;
branches;
next	1.15;

1.15
date	2001.10.19.10.55.34;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	2001.10.15.16.32.01;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	2001.10.15.15.44.17;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	2001.10.15.15.00.04;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	2001.10.06.04.10.16;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	2001.10.03.18.02.03;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	2001.10.03.06.39.27;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	2001.10.03.02.13.38;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	2001.09.01.08.41.22;	author demon;	state Exp;
branches;
next	1.6;

1.6
date	2001.08.25.16.31.39;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.25.14.46.35;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	2001.08.25.08.00.13;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	2001.08.24.23.23.32;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	2001.08.24.19.46.27;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.24.15.42.40;	author ache;	state Exp;
branches;
next	;


desc
@@


1.63
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
# Date created:        14 August 2001
# Whom:                Anton Voronin <anton@@chelcom.ru>
#
# $FreeBSD: ports/security/drweb/Makefile,v 1.62 2011/06/06 15:29:39 linimon Exp $
#

PORTNAME=	drweb
PORTVERSION=	4.44.3
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/70/ \
		http://freebsd.spectrum.ru/distfiles/drweb/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	DrWeb antivirus suite

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

IA32_BINARY_PORT=	yes
NO_BUILD=		yes
USE_RC_SUBR=		drwebd
USE_BZIP2=		yes

.include <bsd.port.pre.mk>

DISTNAME=	${PORTNAME}-${PORTVERSION}-unix-fbsd70
DIST_SUBDIR=	${PORTNAME}

WRKSRC=		${WRKDIR}/${DISTNAME}
DRWEB_PREFIX=	${PREFIX}/${PORTNAME}
DRWEB_VARPREFIX=/var/drweb

do-install:
	@@${INSTALL} -dv -m 0750 ${DRWEB_PREFIX}
	@@${INSTALL} -dv -m 0750 ${PREFIX}/etc/drweb
	@@${INSTALL} -dv -m 0750 ${PREFIX}/etc/drweb/monitor
	@@${INSTALL} -dv -m 0750 ${DRWEB_VARPREFIX}
	@@${MKDIR} ${WRKSRC}${LOCALBASE}/drweb/update
	@@${MV} ${WRKSRC}${LOCALBASE}/drweb/update.pl \
		${WRKSRC}${LOCALBASE}/drweb/update/update.pl
	@@${TAR} -cf - -C ${WRKSRC}${LOCALBASE}/drweb . | \
		${TAR} -xf - -C ${DRWEB_PREFIX} \
		--exclude "*.static" --exclude "doc"
	@@${TAR} -cf - -C ${WRKSRC}/var/drweb/ . | \
		${TAR} -xf - -C ${DRWEB_VARPREFIX}
	@@${INSTALL_DATA} -m 0640 ${WRKSRC}${LOCALBASE}/etc/drweb/drweb32.ini \
		${PREFIX}/etc/drweb/drweb32.ini-distr
	if [ ! -f ${PREFIX}/etc/drweb/drweb32.ini ] ; then \
		${CP} ${PREFIX}/etc/drweb/drweb32.ini-distr \
		      ${PREFIX}/etc/drweb/drweb32.ini; \
	fi
	@@${INSTALL_DATA} -m 0640 ${WRKSRC}${LOCALBASE}/etc/drweb/email.ini \
		${PREFIX}/etc/drweb/email.ini-distr
	if [ ! -f ${PREFIX}/etc/drweb/email.ini ] ; then \
		${CP} ${PREFIX}/etc/drweb/email.ini-distr \
		${PREFIX}/etc/drweb/email.ini; \
	fi
	@@${INSTALL_DATA} -m 0640 \
		${WRKSRC}${LOCALBASE}/etc/drweb/monitor/daemon.mmc \
		${PREFIX}/etc/drweb/monitor/daemon.mmc

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${TAR} -cf - -C ${WRKSRC}${LOCALBASE}/drweb/doc . | \
		${TAR} -xf - -C ${DOCSDIR}
.endif

	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL ${DRWEB_PREFIX} ${DRWEB_VARPREFIX} ${PREFIX}

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


1.62
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.61
log
@- Update to 4.44.3

PR:		ports/137169
Submitted by:	Alexander Demin <support@@spectrum.ru> (maintainer)
@
text
@a11 1
		ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/60/ \
d14 1
a14 1
MAINTAINER=	support@@spectrum.ru
d17 3
a26 5
.if ${OSVERSION} < 601000
IGNORE=		sorry, port is not supported of FreeBSD version < 6.1
.endif

.if ${OSVERSION} >= 700000
a27 3
.else
DISTNAME=	${PORTNAME}-${PORTVERSION}-unix-fbsd60
.endif
@


1.60
log
@- Add support for 7.x

PR:		ports/133916
Submitted by:	Alexander Demin <support at spectrum.ru> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	4.44.1
PORTREVISION=	1
@


1.59
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
@d10 1
d12 3
a14 4
MASTER_SITES=	ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/60/ \
  			http://freebsd.spectrum.ru/distfiles/drweb/
DISTNAME=	${PORTNAME}-${PORTVERSION}-unix-fbsd60
DIST_SUBDIR=	${PORTNAME}
d31 3
a33 1
LIB_DEPENDS+=	stdc++.5:${PORTSDIR}/misc/compat6x
d35 1
a37 1

@


1.58
log
@- Update to 4.44

PR:		126949
Submitted by:	Demin Alexander <support@@spectrum.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.44.0
d11 3
a13 2
MASTER_SITES=	ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/60/:f60 \
		http://freebsd.spectrum.ru/distfiles/drweb/:f60
a18 2
RUN_DEPENDS=	${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget

d21 1
a21 1
USE_RC_SUBR=		drwebd.sh
d26 2
a27 5
.if ${OSVERSION} >= 601000
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd60
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f60
.else
IGNORE=		"Sorry, port is not supported of FreeBSD version < 6.1"
d31 1
a31 1
LIB_DEPENDS+=   stdc++.5:${PORTSDIR}/misc/compat6x
d34 1
a34 1
WRKSRC=		${WRKDIR}/${PORTNAME}
@


1.57
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=	5
d11 3
a13 5
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
DIST_SUBDIR=	drweb
d23 1
d28 2
a29 2
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd61
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f61
d31 1
a31 2
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd55
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f55
d34 5
a38 1
WRKSRC=		${WRKDIR}/${DISTNAME}
d46 1
d48 3
a50 1
	@@${RM} -f ${WRKSRC}${LOCALBASE}/drweb/update.pl
d68 3
@


1.56
log
@Remove always true/always false OSVERSION conditions.
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.55
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@a41 7
pre-install:
.if ${OSVERSION} < 500000
PLIST_SUB=	RU="@@comment "
.else
PLIST_SUB=	RU=""
.endif

@


1.54
log
@- Modern rc.d script

PR:		ports/115198
Submitted by:	Jan Srzednicki <w@@wrzask.pl>
Approved by:	maintainer
@
text
@d29 1
a29 4
.if ${OSVERSION} < 500000
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd411
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f411
.elif ${OSVERSION} >= 601000
@


1.53
log
@- Fix mastersite.
- Add distribution kit for FreeBSD 6.1.
- Bump portrevision.

PR:		ports/104562
Submitted by:	Demin Alexander <support@@spectrum.ru> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	3
d25 1
a73 2
	@@${INSTALL_SCRIPT} -m 0750 -b ${WRKSRC}${LOCALBASE}/etc/rc.d/00.drwebd.sh \
		${PREFIX}/etc/rc.d/001.drwebd.sh
@


1.52
log
@Replace ONLY_FOR_ARCHS with IA32_BINARY_PORT.

PR:		ports/104223
Submitted by:	Mykola Dzham <freebsd@@levsha.org.ua>
Approved by:	Alexander Demin <support@@spectrum.ru> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	2
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
IA32_BINARY_PORT=yes
NO_BUILD=	yes
d31 3
d35 2
a36 5
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd54
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:f54
.if ${OSVERSION} >= 600000
LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
.endif
d44 7
d52 5
a56 5
	${INSTALL} -dv -m 0750 ${DRWEB_PREFIX}
	${INSTALL} -dv -m 0750 ${PREFIX}/etc/drweb
	${INSTALL} -dv -m 0750 ${DRWEB_VARPREFIX}
	${RM} -f ${WRKSRC}${LOCALBASE}/drweb/update.pl
	${TAR} -cf - -C ${WRKSRC}${LOCALBASE}/drweb . | \
d59 1
a59 1
	${TAR} -cf - -C ${WRKSRC}/var/drweb/ . | \
d61 1
a61 1
	${INSTALL_DATA} -m 0640 ${WRKSRC}${LOCALBASE}/etc/drweb/drweb32.ini \
d67 1
a67 1
	${INSTALL_DATA} -m 0640 ${WRKSRC}${LOCALBASE}/etc/drweb/email.ini \
d73 1
a73 1
	${INSTALL_SCRIPT} -m 0750 -b ${WRKSRC}${LOCALBASE}/etc/rc.d/00.drwebd.sh \
d78 2
a79 2
	${MKDIR} ${DOCSDIR}
	${TAR} -cf - -C ${WRKSRC}${LOCALBASE}/drweb/doc . | \
d82 2
a83 1
	${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL ${DRWEB_PREFIX} ${DRWEB_VARPREFIX} ${PREFIX}
@


1.51
log
@- Fix error of chown directory of configuration files.

PR:		ports/89757
Submitted by:	maintainer
@
text
@d21 1
a21 1
ONLY_FOR_ARCHS=	i386
@


1.50
log
@- Fix permissions of directory for default configuration files.

PR:		ports/89454
Submitted by:	maintainer
@
text
@d73 1
a73 1
	${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL ${DRWEB_PREFIX} ${DRWEB_VARPREFIX}
@


1.49
log
@Fix order in rc script to prevent errors
Bump PORTREVISION
Use group in MASTER_SITES
Make portlint happyer
Add SHA256

PR:		88594
Submitted by:	Demin Alexander <support@@spectrum.ru> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.48
log
@- Update to 4.33
- Nuke files/*

PR:		87247
Submitted by:	Demin Alexander <support@@spectrum.ru> (maintainer)
Approved by:	novel (mentor)
@
text
@d10 1
d12 3
a14 2
MASTER_SITES=	ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/411/ \
		ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/54/
d19 2
a23 2
RUN_DEPENDS=	${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget

d28 1
d31 1
d65 1
a65 1
		${PREFIX}/etc/rc.d/00.drwebd.sh
@


1.47
log
@Fix build on 6.x

Submitted by:	lesi
Approved by:	portmgr (self)
@
text
@d9 1
a9 2
PORTVERSION=	4.32.2
PORTREVISION=	1
d11 2
a12 2
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/FreeBSD/49/ \
		ftp://ftp.drweb.ru/pub/unix/FreeBSD/53/
d25 1
a25 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd49
d27 1
a27 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd53
d36 1
a36 7

pre-everything::
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Warning!"
	@@${ECHO_MSG} "4.32* version not supported in the .key files of 4.31* version and older."
	@@${ECHO_MSG} "Press Ctrl-C if you want to stop installation."
	@@${ECHO_MSG} ""
d39 5
a43 3
	-@@${INSTALL} -dv -o ${BINOWN} -g ${BINGRP} ${DRWEB_PREFIX}
	@@cd ${DRWEB_PREFIX}; ${RM} -f drweb drwebd bases/* updates/*; ${MKDIR} updates
	${TAR} -cf - -C ${WRKSRC}/usr/local/drweb . | \
d45 8
a52 17
		--exclude "*.static" \
		--exclude "update/update.pl*"
	${TAR} -cf - -C ${WRKSRC}/var/drweb bases | \
		${TAR} -xf - -C ${DRWEB_PREFIX}
	${CHMOD} 755 ${DRWEB_PREFIX}/bases ${DRWEB_PREFIX}/doc \
		${DRWEB_PREFIX}/lib ${DRWEB_PREFIX}/updates
	${SED} 's#%INSTALL%#${DRWEB_PREFIX}#g' \
		< ${WRKSRC}/usr/local/drweb/update/update.pl \
		> ${DRWEB_PREFIX}/update/update.pl
	${CHMOD} 750 ${DRWEB_PREFIX}/update/update.pl
	${SED} 's#%INSTALL%#${DRWEB_PREFIX}#g' \
		< ${WRKSRC}/usr/local/etc/drweb/drweb32.ini \
		> ${PREFIX}/drweb/drweb32.ini-distr
	${RM} -f ${PREFIX}/bin/drweb
	if [ ! -f ${PREFIX}/drweb/drweb32.ini ] ; then \
		${CP} ${PREFIX}/drweb/drweb32.ini-distr \
		      ${PREFIX}/drweb/drweb32.ini; \
d54 5
a58 13
	${SED} 's#%INSTALL%#${DRWEB_PREFIX}#g' \
		< ${FILESDIR}/drweb.sh \
		> ${WRKDIR}/drweb
	${INSTALL_SCRIPT} ${WRKDIR}/drweb ${PREFIX}/bin
	${SED} 's#%INSTALL%#${DRWEB_PREFIX}#g' \
		< ${WRKSRC}/usr/local/etc/rc.d/00.drwebd.sh \
		> ${PREFIX}/etc/rc.d/00.drwebd.sh
	${CHMOD} 750 ${PREFIX}/etc/rc.d/00.drwebd.sh
	${INSTALL_DATA} ${WRKSRC}/usr/local/etc/drweb/email.ini \
		${PREFIX}/drweb/email.ini-distr
	if [ ! -f ${PREFIX}/drweb/email.ini ] ; then \
		${CP} ${PREFIX}/drweb/email.ini-distr \
		${PREFIX}/drweb/email.ini; \
d60 2
d64 6
a69 1
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.46
log
@- Unbreak by updating distinfo.

PR:		ports/78232
Submitted by:	Alexander Demin <support@@spectrum.ru> (maintainer)
Approved by:	pav (mentor)
@
text
@d29 3
@


1.45
log
@BROKEN: Size mismatch
@
text
@d10 1
a22 2
BROKEN=		Size mismatch

@


1.44
log
@- Update to 4.32.2
- Pass maintainer to submitter

PR:		ports/72510
Submitted by:	maintainer
@
text
@d22 2
@


1.43
log
@BROKEN: Unfetchable
@
text
@d9 1
a9 1
PORTVERSION=	4.31.4
d11 2
a12 3
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/generic/ \
		ftp://ftp.drweb.ru/pub/unix/archive/ \
		ftp://ftp.drweb.ru/pub/unix/archive/${PORTNAME}-${PORTVERSION}/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d20 1
a20 1
BROKEN=		Unfetchable
d25 1
a25 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd4
d27 1
a27 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd5
d34 7
a45 1
		--exclude "*.key" \
a51 4
	${INSTALL_DATA} ${WRKSRC}/usr/local/drweb/drweb.key-distr \
		${DRWEB_PREFIX}/drweb.key-distr
	${INSTALL_DATA} ${WRKSRC}/usr/local/drweb/drwebd.key-distr \
		${DRWEB_PREFIX}/drwebd.key-distr
a59 4
	${SED} 's#%INSTALL%#${DRWEB_PREFIX}#g' \
		< ${WRKSRC}/usr/local/etc/rc.d/00drwebd.sh \
		> ${PREFIX}/etc/rc.d/00drwebd.sh
	${CHMOD} 755 ${PREFIX}/etc/rc.d/00drwebd.sh
a63 8
	if [ ! -f ${DRWEB_PREFIX}/drweb.key ] ; then \
		${CP} ${DRWEB_PREFIX}/drweb.key-distr \
		      ${DRWEB_PREFIX}/drweb.key; \
	fi
	if [ ! -f ${DRWEB_PREFIX}/drwebd.key ] ; then \
		${CP} ${DRWEB_PREFIX}/drwebd.key-distr \
		      ${DRWEB_PREFIX}/drwebd.key; \
	fi
d68 10
@


1.42
log
@Maintainer no longer uses this software.

PR:		ports/72510 (audit trail)
@
text
@d21 2
@


1.41
log
@- Remove unneeded dependency on compat4x that survived since rev. 1.35

PR:		ports/67184
Submitted by:	Serge Negodyuck <petr@@petrovich.kiev.ua> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	petr@@petrovich.kiev.ua
@


1.40
log
@- Assign maintainership to latest submitter (Serge Negodyuck
<petr@@petrovich.kiev.ua>)
@
text
@a23 1
LIB_DEPENDS+=	c.4:${PORTSDIR}/misc/compat4x
@


1.39
log
@- update to version 4.31.4
- use old version of update.pl instead of new broken one

PR:		ports/65983
Submitted by:	Serge Negodyuck <petr@@petrovich.kiev.ua>
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.38
log
@- Fix rc.d/00drweb.sh script to give proper command line option
- Add drweb script in bin dir to call scanner
- Remove not nessessary variable MAIN_NAME in Makefile
- Portlint
- Raise PORTREVISION

PR:		ports/64711
Submitted by:	Serge Negodyuck <petr@@petrovich.kiev.ua>
@
text
@d9 1
a9 2
PORTVERSION=	4.31.3
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/ \
d46 4
a49 4
	${INSTALL_DATA} ${WRKSRC}/usr/local/drweb/drweb.key \
		${DRWEB_PREFIX}/drweb.key-dist
	${INSTALL_DATA} ${WRKSRC}/usr/local/drweb/drwebd.key \
		${DRWEB_PREFIX}/drwebd.key-dist
d56 1
a56 1
		> ${PREFIX}/drweb/drweb32.ini-dist
d63 1
a63 1
		${CP} ${PREFIX}/drweb/drweb32.ini-dist \
d67 1
a67 1
		${CP} ${DRWEB_PREFIX}/drweb.key-dist \
d71 1
a71 1
		${CP} ${DRWEB_PREFIX}/drwebd.key-dist \
@


1.37
log
@- Update to 4.31.3
- Reset unresponsive maintainer

PR:		ports/63836
Submitted by:	Dima Panov <redfox@@Fluffy.Khv.RU>
Approved by:	maintainer timeout (2 weeks)
@
text
@d10 1
a14 1
DISTFILES=	${MAIN_NAME}.tar.gz
a21 2
WRKSRC=		${WRKDIR}/${MAIN_NAME}

d26 1
a26 1
MAIN_NAME=	${PORTNAME}-${PORTVERSION}-freebsd4
d28 1
a28 1
MAIN_NAME=	${PORTNAME}-${PORTVERSION}-freebsd5
d31 2
d36 1
a36 1
	-@@install -dv -o ${BINOWN} -g ${BINGRP} ${DRWEB_PREFIX}
d45 1
a45 1
	chmod 755 ${DRWEB_PREFIX}/bases ${DRWEB_PREFIX}/doc \
d54 1
a54 1
	chmod 750 ${DRWEB_PREFIX}/update/update.pl
d62 1
a62 1
	chmod 755 ${PREFIX}/etc/rc.d/00drwebd.sh
d75 4
@


1.36
log
@- Fix fetch

Reported by:	bento via kris
@
text
@d9 1
a9 1
PORTVERSION=	4.30
d11 3
a13 1
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/archive/${PORTNAME}-${PORTVERSION}/
d16 1
a16 1
MAINTAINER=	anton@@chelcom.ru
@


1.35
log
@- Update to 4.30, now with native FreeBSD 5.x binary

PR:		ports/58998
Submitted by:	Xin LI <delphij at frontfree dot net>
Approved by:	maintainer timeout (3 months)
@
text
@d11 1
a11 1
MASTER_SITES=	ftp://ftp.drweb.ru/pub/unix/
@


1.34
log
@Remove p5-String-CRC32 requirement, no longer needed
@
text
@d9 1
a9 2
PORTVERSION=    4.29.5
PORTREVISION=   1
d11 2
a12 2
MASTER_SITES=   ftp://ftp.drweb.ru/pub/unix/${PORTVERSION}/
DISTFILES=      ${MAIN_NAME}.tar.gz
d18 1
a18 1
NO_BUILD=       yes
d20 1
a20 1
WRKSRC=         ${WRKDIR}/${MAIN_NAME}/install
d22 8
a29 1
LIB_DEPENDS+=   c.4:${PORTSDIR}/misc/compat4x
a30 1
MAIN_NAME=      ${PORTNAME}-${PORTVERSION}-freebsd4
d35 2
a36 2
	@@cd ${DRWEB_PREFIX}; ${RM} -f drweb drwebd bases/* updates/*
	${TAR} -cf - -C ${WRKSRC}/opt/drweb . | \
d45 1
a45 1
	${INSTALL_DATA} ${WRKSRC}/opt/drweb/drweb.key \
d47 1
a47 1
	${INSTALL_DATA} ${WRKSRC}/opt/drweb/drwebd.key \
d50 1
a50 1
		< ${WRKSRC}/opt/drweb/update/update.pl \
d54 2
a55 2
		< ${WRKSRC}/etc/drweb/drweb32.ini \
		> ${DRWEB_PREFIX}/drweb32.ini-dist
d58 6
a63 6
		< ${FILESDIR}/drweb.sh \
		> ${PREFIX}/bin/drweb
	chmod 755 ${PREFIX}/bin/drweb
	if [ ! -f ${DRWEB_PREFIX}/drweb32.ini ] ; then \
		${CP} ${DRWEB_PREFIX}/drweb32.ini-dist \
		      ${DRWEB_PREFIX}/drweb32.ini; \
d77 1
a77 1
.include <bsd.port.mk>
@


1.33
log
@Upgrade to 4.29.5
@
text
@d10 1
a23 2
# Needed for update.pl
RUN_DEPENDS=    ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
@


1.32
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=    4.29.2
d11 1
a11 1
MASTER_SITES=   ftp://ftp.drweb.ru/pub/unix/
d22 1
d34 3
a36 1
		--exclude "*.key" --exclude "update/update.pl*"
@


1.31
log
@Upgrade to 4.29.2
@
text
@d15 1
@


1.30
log
@Upgrade to 4.29
@
text
@d9 1
a9 1
PORTVERSION=    4.29
d12 1
a12 1
DISTFILES=      ${MAIN_NAME}.tgz
@


1.29
log
@* Fix build with WRKDIRPREFIX.

PR:		42107
Submitted by:	Helge Oldach <drweb28aug02@@oldach.net>

* This installs a pre-compiled i386 executable, so limit it to that
  platform.
@
text
@d9 1
a9 2
PORTVERSION=    4.28.2
PORTREVISION=   1
d11 1
a11 1
MASTER_SITES=   http://drweb.spb.ru/download/unix/
@


1.28
log
@Fix permissions of directories
@
text
@d17 1
d68 1
a68 1
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL
@


1.27
log
@Upgrade to 4.28.2
@
text
@d10 1
d35 2
a36 1
	chmod 755 ${DRWEB_PREFIX}/bases
@


1.26
log
@Update maintainer's e-mail.

PR:		38415
Submitted by:	Anton Voronin <anton@@chelcom.ru>
@
text
@d9 1
a9 2
PORTVERSION=    4.28.1
PORTREVISION=   1
d18 1
a18 1
WRKSRC=         ${WRKDIR}/${MAIN_NAME}
d34 1
@


1.25
log
@Distfile re-rolled on official site
@
text
@d3 1
a3 1
# Whom:                Anton Voronin <anton@@urc.ac.ru>
d15 1
a15 1
MAINTAINER=	anton@@urc.ac.ru
@


1.24
log
@Upgrade to 4.28.1
@
text
@d10 1
@


1.23
log
@Upgrade. Version number not changes on official website.
@
text
@d9 1
a9 2
PORTVERSION=    4.28
PORTREVISION=   1
@


1.22
log
@Upgrade to 4.28
@
text
@d10 1
@


1.21
log
@Upgrade to 4.27
@
text
@d9 1
a9 1
PORTVERSION=    4.27
d11 2
a12 5
MASTER_SITES=   http://www.drweb.ru/ftp/web_pub/ \
		http://www.drweb.ru/ftp/update_free/freebsd4/
DISTFILES=      ${MAIN_NAME}.tgz \
		drwebd_4.27_freebsd4_update.tgz
EXTRACT_ONLY=   ${MAIN_NAME}.tgz
d16 1
a16 1
NO_BUILD=	YES
d23 1
a23 1
MAIN_NAME=      ${PORTNAME}d-${PORTVERSION}-freebsd4
d28 22
a49 18
	@@cd ${DRWEB_PREFIX}; ${RM} -f drw*.txt drw*.vdb drweb drwebd
	${TAR} -xzf ${WRKSRC}/${MAIN_NAME}.tar.gz -C ${DRWEB_PREFIX} \
		--exclude *.ini --exclude *.key
	${TAR} -xzf ${DISTDIR}/drwebd_4.27_freebsd4_update.tgz -C ${DRWEB_PREFIX} \
		--exclude README
	${TAR} -xzOf ${WRKSRC}/${MAIN_NAME}.tar.gz drweb32.ini \
		> ${DRWEB_PREFIX}/drweb32.ini-tmpl
	${TAR} -xzOf ${WRKSRC}/${MAIN_NAME}.tar.gz drweb.key \
		> ${DRWEB_PREFIX}/drweb.key-dist
	${TAR} -xzOf ${WRKSRC}/${MAIN_NAME}.tar.gz drwebd.key \
		> ${DRWEB_PREFIX}/drwebd.key-dist
	cd ${DRWEB_PREFIX}; \
		${PATCH} -s < ${FILESDIR}/ini-patch && \
		${RM} drweb32.ini-tmpl.orig
	cd ${DRWEB_PREFIX}; \
		${SED} 's#__INSTALL_DIR__#${DRWEB_PREFIX}#' \
		< drweb32.ini-tmpl > drweb32.ini-dist && \
		${RM} drweb32.ini-tmpl
@


1.20
log
@Author made the following changes and re-rolled the distfile without
changing its name.

- Fix minor security bugs in libdwclient
- Fix security bug in drweb_qmail.pl
- Fix minor bug in libdwclient, possible file descriptors leak
- Fix bug in drweb_postfix.sh, wrong mail command for sends notifications
@
text
@d9 1
a9 2
PORTVERSION=    4.26c
PORTREVISION=	2
d11 5
a15 3
MASTER_SITES=	http://www.drweb.ru/ftp/web_pub/
DISTNAME=	${PORTNAME}d-${PORTVERSION}-freebsd4
EXTRACT_SUFX=	.tgz
d21 2
d26 1
d32 1
a32 1
	${TAR} -xzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} \
d34 3
a36 1
	${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini \
d38 1
a38 1
	${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb.key \
d40 1
a40 1
	${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drwebd.key \
a60 2
	cd ${DRWEB_PREFIX}/update; \
		${PATCH} -s < ${FILESDIR}/update-patch && ${RM} update.pl.orig
@


1.19
log
@Suggest user deleting command instead of using it automatically
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.18
log
@Upgrade to 4.26c
@
text
@d10 1
@


1.17
log
@Use ${SH} to run pkg-install. It seems that CTM not preserve x-bit
@
text
@d9 1
a9 1
PORTVERSION=    4.26b
@


1.16
log
@Upgrade to 4.26b
@
text
@d58 1
a58 1
	PKG_PREFIX=${PREFIX} ./pkg-install ${PKGNAME} POST-INSTALL
@


1.15
log
@Move user creation/deletion to pkg-*install
@
text
@d9 1
a9 2
PORTVERSION=    4.26
PORTREVISION=   6
@


1.14
log
@Fix permissions, sendmail dislike group-writeable dirs
@
text
@d10 1
a10 1
PORTREVISION=   5
a22 2
SCRIPTS_ENV+=   BINOWN=${BINOWN} BINGRP=${BINGRP}

d57 3
@


1.13
log
@Put it into security sandbox - don't allow 'drweb' user to own any files
excepting pid/socket/temp
@
text
@d23 1
a23 1
SCRIPTS_ENV+=   BINOWN=${BINOWN}
@


1.12
log
@Do not overwrite existen registration keys
@
text
@d10 1
a10 1
PORTREVISION=   4
d23 2
d28 1
a28 1
	-@@${MKDIR} -v ${DRWEB_PREFIX}
@


1.11
log
@Run as drweb user, not as root
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.10 2001/10/03 18:02:03 ache Exp $
d10 1
a10 1
PORTREVISION=   3
d28 2
a29 1
	${TAR} -xzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} --exclude *.ini
d32 4
d46 8
@


1.10
log
@Don't install drwebd.sh, done by drweb-sendmail port now
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.9 2001/10/03 06:39:27 ache Exp $
d10 1
a10 1
PORTREVISION=   2
@


1.9
log
@Configuration tuning
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
a10 1
PORTREVISION=   1
a41 1
	${SED} 's#!!PREFIX!!#${DRWEB_PREFIX}#' < ${FILESDIR}/drwebd.sh >${WRKSRC}/drwebd.sh
a43 1
	${INSTALL_SCRIPT} ${WRKSRC}/drwebd.sh ${PREFIX}/etc/rc.d/
@


1.8
log
@Upgrade to 4.26
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.7 2001/09/01 08:41:22 demon Exp $
d10 1
d29 6
a34 1
	${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini | \
d36 2
a37 1
		> ${DRWEB_PREFIX}/drweb32.ini-dist
d43 3
a45 2
	cd ${DRWEB_PREFIX}/update; patch -s < ${FILESDIR}/update-patch && ${RM} update.pl.orig
	${INSTALL_DATA} ${WRKSRC}/drwebd.sh ${PREFIX}/etc/rc.d/drwebd.sh-dist
@


1.7
log
@Correct path in RUN_DEPENDS.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.6 2001/08/25 16:31:39 ache Exp $
d9 1
a9 1
PORTVERSION=	4.25
d26 1
@


1.6
log
@More efforts to get some sort of working drweb32.ini initially
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.5 2001/08/25 14:46:35 ache Exp $
d20 1
a20 1
RUN_DEPENDS=    ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/mach/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
@


1.5
log
@Do not install something running in rc.d, just as sample, tuning needed
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.4 2001/08/25 08:00:13 ache Exp $
d27 7
a33 1
	${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini >${DRWEB_PREFIX}/drweb32.ini.sample
@


1.4
log
@Silence patch, add some comments, cleanup after patch
@
text
@d5 1
a5 1
# $FreeBSD$
d30 1
a30 1
	${INSTALL_SCRIPT} ${WRKSRC}/drwebd.sh ${PREFIX}/etc/rc.d
@


1.3
log
@Some efforts to make update.pl working
@
text
@d1 1
a1 1
# New ports collection makefile for:   tas
d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.2 2001/08/24 19:46:27 ache Exp $
d19 1
d29 1
a29 1
	cd ${DRWEB_PREFIX}/update; patch < ${FILESDIR}/update-patch
@


1.2
log
@Hide extraction process
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/drweb/Makefile,v 1.1 2001/08/24 15:42:40 ache Exp $
d19 2
d28 1
@


1.1
log
@DrWeb antivirus, FreeBSD binary
@
text
@d5 1
a5 1
# $FreeBSD$
d23 2
a24 2
	${TAR} -xvzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} --exclude *.ini
	${TAR} -xvzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini >${DRWEB_PREFIX}/drweb32.ini.sample
@

