head	1.16;
access;
symbols
	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.10
	RELEASE_5_4_0:1.10
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.3;
locks; strict;
comment	@# @;


1.16
date	2008.02.28.01.07.08;	author miwi;	state dead;
branches;
next	1.15;

1.15
date	2007.07.22.08.38.04;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2006.12.03.12.45.53;	author demon;	state Exp;
branches;
next	1.13;

1.13
date	2006.01.21.17.37.13;	author krion;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.14.10.56.28;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2005.09.20.14.20.27;	author erwin;	state Exp;
branches;
next	1.10;

1.10
date	2004.05.25.00.04.30;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.28.17.02.58;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2003.10.24.12.03.25;	author ijliao;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.21.13.26.40;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.06.17.19.28.21;	author ijliao;	state Exp;
branches;
next	1.5;

1.5
date	2001.10.21.18.47.20;	author dwcjr;	state Exp;
branches;
next	1.4;

1.4
date	2001.08.15.20.33.14;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.16.19.08.34;	author will;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.16.17.32.15;	author sobomax;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.07.07.38.32;	author will;	state Exp;
branches;
next	;


desc
@@


1.16
log
@2007-11-22 x11-themes/indubstrial: yes
2008-01-14 x11-themes/gtk-smooth-engine: Redundant port (now included in gtk-engines), no release since 2005
2007-09-21 security/amavis-perl: depends on misc/compat3x, which has security problems
2007-12-31 sysutils/cdbakeoven: Abandonware
2008-01-04 net/gnu-finger: no active development and known security vulnerabilities.
2007-11-16 misc/seizedesktop: development stalled for years, outdated, unmaintained
@
text
@# New ports collection makefile for:	amavis
# Date Created:				13 Nov 2000
# Whom:					Roman Shterenzon <roman@@xpert.com>
#
# $FreeBSD: ports/security/amavis-perl/Makefile,v 1.15 2007/07/22 08:38:04 linimon Exp $
#

PORTNAME=	amavis-perl
PORTVERSION=	11
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	amavis

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Mail Virus Scanner (uses external antivirus)

DEPRECATED=	depends on misc/compat3x, which has security problems
EXPIRATION_DATE=	2007-09-21

BUILD_DEPENDS=	${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha \
		${LOCALBASE}/bin/unarj:${PORTSDIR}/archivers/unarj \
		${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
		${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \
		${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \
		${SITE_PERL}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \
		${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
		${SITE_PERL}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
		${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
		${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
		${SITE_PERL}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \
		${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
		${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
		${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
		${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip

.if !defined(WITHOUT_AMAVIS_VSCAN)
BUILD_DEPENDS+= ${LOCALBASE}/bin/uvscan:${PORTSDIR}/security/vscan
.endif
RUN_DEPENDS=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes

.if defined(WITHOUT_AMAVIS_X-HEADER)
CONFIGURE_ARGS+=	--disable-x-header
.endif
.if defined(WITHOUT_AMAVIS_WARNSENDER)
CONFIGURE_ARGS+=	--with-warnsender=no
.endif
.if defined(WITH_AMAVIS_USER)
CONFIGURE_ARGS+=	--with-amavisuser="${WITH_AMAVIS_USER}"
.endif

CONFIGURE_ARGS+=	--with-virusdir=/var/spool/quarantine --with-runtime-dir=/var/log/amavis \
			--with-logdir=/var/log/amavis

.if defined(WITH_QMAIL)
MTA?=	qmail
DIROWNER?=	qmailq:qmail
CONFIGURE_ARGS+=	--enable-qmail
USE_QMAIL=	yes
.endif

.if defined(MTA)
.if ${MTA} == "postfix"
DIROWNER?=	vscan:daemon
CONFIGURE_ARGS+=	--enable-postfix --enable-smtp
BUILD_DEPENDS+=	${LOCALBASE}/sbin/postfix:${PORTSDIR}/mail/postfix
.elif ${MTA} == "exim"
DIROWNER?=	root:daemon
CONFIGURE_ARGS+=	--enable-exim
BUILD_DEPENDS+=	${LOCALBASE}/sbin/exim:${PORTSDIR}/mail/exim
.endif
RUN_DEPENDS=	${BUILD_DEPENDS}
.else
MTA?=	sendmail
DIROWNER?=	root:daemon
CONFIGURE_ARGS+=	--enable-relay
.endif

PKGDEINSTALL=	${PKGDIR}/pkg-deinstall.${MTA}
PKGINSTALL=	${PKGDIR}/pkg-install.${MTA}
PKGMESSAGE=	${PKGDIR}/pkg-message.${MTA}

do-install:
	@@${MKDIR} /var/log/amavis
	@@${MKDIR} /var/spool/quarantine
	${INSTALL_SCRIPT} ${WRKSRC}/amavis/amavis ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${PREFIX}/share/doc/amavis
.for i in README README.exim README.qmail README.milter README.postfix README.sendmail README.scanners doc/amavis.txt
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/amavis
.endfor
.endif

post-install:
	@@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} _ POST-INSTALL
	@@${CHOWN} ${DIROWNER} /var/log/amavis /var/spool/quarantine
	@@${CHMOD} 0755 /var/log/amavis /var/spool/quarantine
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.15
log
@Mark ports that depend on misc/compat3x as deprecated.  If anyone wants to
update these to later versions, they should do so now.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@Correct path to Compress::Zlib.pm after recent p5-Compress-Zlib update.
@
text
@d18 3
@


1.13
log
@- Fix 'all-depends-list' target in cases if dependencies list is
  very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @@dirrmtry for plists which does the same as:
  "@@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
@
text
@d27 1
a27 1
		${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
@


1.12
log
@Remove explicit checks for /usr/bin/bzip2.
This has been part of the base OS since 4.4.
@
text
@d10 1
d58 1
a58 7
.if exists(${LOCALBASE}/qmail/bin/qmail-send)
QMAIL_DIR?=	${LOCALBASE}/qmail
.else
QMAIL_DIR?=	/var/qmail
.endif
BUILD_DEPENDS+=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
RUN_DEPENDS=	${BUILD_DEPENDS}
@


1.11
log
@Reset maintainership of Seamus Venasse who has not responded for some time.
Thank you for your efforts in the past!

Noticed by:	tobez
Approved by:	portmgr (self)
@
text
@a35 3
.if !exists(/usr/bin/bzip2)
BUILD_DEPENDS+=	bunzip2:${PORTSDIR}/archivers/bzip2
.endif
@


1.10
log
@- Fix MASTER_SITES

PR:		ports/67147
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d14 1
a14 1
MAINTAINER=	svenasse@@polaris.ca
@


1.9
log
@- Add knobs:
  WITHOUT_AMAVIS_VSCAN
  WITHOUT_AMAVIS_X-HEADER
  WITHOUT_AMAVIS_WARNSENDER
  WITH_AMAVIS_USER

PR:		ports/60728
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp>
Approved by:	maintainer timeout (2 months)
@
text
@d11 2
a12 1
MASTER_SITES=	http://www.amavis.org/dist/perl/
@


1.8
log
@utilize SITE_PERL

PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@@dragon2.net>
@
text
@d16 1
a16 2
BUILD_DEPENDS=	${LOCALBASE}/bin/uvscan:${PORTSDIR}/security/vscan \
		${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha \
d31 4
d41 11
@


1.7
log
@De-pkg-comment.
@
text
@d22 10
a31 10
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip
@


1.6
log
@add support for postfix and exim

PR:		32471
Submitted by:	Martijn Lina <martijn@@ietsvaags.xs4all.nl>, TAKEMURA Masahiro <mastake@@msel.t.u-tokyo.ac.jp>
Tested by:	TERAMOTO Masahiro <teramoto@@comm.eng.osaka-u.ac.jp>, "Julian C. Dunn" <jdunn@@aquezada.com>
Approved by:	maintainer timeout (1 month since I mailed him)
@
text
@d14 1
@


1.5
log
@Update to version 11
Give Seamus Venasse maintainership

PR:		31095
Submitted by:	new maintainer
@
text
@d53 12
a64 1
.if !defined(MTA)
d72 1
d86 1
d89 1
a89 2
	@@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} _ POST-INSTALL
	@@${CAT} ${PKGMESSAGE}.${MTA}
@


1.4
log
@Conditionalize bzip2 dependencies.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/amavis-perl/Makefile,v 1.3 2001/01/16 19:08:34 will Exp $
d9 1
a9 1
PORTVERSION=	10
d13 1
a13 1
MAINTAINER=	roman@@xpert.com
a18 1
		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
d29 2
a30 1
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog
d37 24
a60 1
CONFIGURE_ARGS+=	--disable-qmail --disable-postfix --disable-exim --with-virusdir=/var/spool/quarantine --enable-relay
d63 2
d67 2
a68 2
	${MKDIR} ${PREFIX}/share/doc/amavis
.for i in README README.exim README.postfix README.sendmail README.scanners doc/amavis.txt
d74 2
d77 1
a77 1
	@@${CAT} ${PKGMESSAGE}
@


1.3
log
@Update to sync with bsd.port.mk rev 1.361 - use PORTDOCS that is now in
bsd.port.mk, for easy removal of documentation.  I left alone one port -
japanese/elisa8x8 (or something like that), because it appeared to have
some rather weird way of doing PORTDOCS substitution.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/amavis-perl/Makefile,v 1.2 2001/01/16 17:32:15 sobomax Exp $
a15 1
		${LOCALBASE}/bin/bunzip2:${PORTSDIR}/archivers/bzip2 \
d31 3
@


1.2
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/amavis-perl/Makefile,v 1.1 2001/01/07 07:38:32 will Exp $
a35 6

.if defined(NOPORTDOCS)
PLIST_SUB+=	NOPORTDOCS="@@comment "
.else
PLIST_SUB+=	NOPORTDOCS=""
.endif
@


1.1
log
@Add amavis-perl 10, a mail virus scanner (uses external antivirus).

PR:		23978
Submitted by:	Roman Shterenzon <roman@@xpert.com>
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
a10 1
CATEGORIES=     security
@

