head	1.14;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.3;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.06.01.20;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.11.02.16.01.37;	author pawel;	state Exp;
branches;
next	1.12;

1.12
date	2012.06.28.18.37.19;	author az;	state Exp;
branches;
next	1.11;

1.11
date	2012.05.21.17.09.58;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2010.01.23.07.28.08;	author kuriyama;	state Exp;
branches;
next	1.9;

1.9
date	2007.08.10.07.40.20;	author beech;	state Exp;
branches;
next	1.8;

1.8
date	2004.12.15.08.45.39;	author vs;	state Exp;
branches;
next	1.7;

1.7
date	2004.01.03.20.30.39;	author dougb;	state Exp;
branches;
next	1.6;

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

1.5
date	2003.09.05.07.33.51;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.02.20.01.26;	author osa;	state Exp;
branches;
next	1.3;

1.3
date	2003.05.05.10.28.32;	author sumikawa;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.30.11.40.36;	author sumikawa;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.19.21.37.10;	author sumikawa;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# Created by: Hubert Tournier <hubert@@frbsd.org>
# $FreeBSD: head/security/smtpscan/Makefile 306866 2012-11-02 16:01:37Z pawel $

PORTNAME=	smtpscan
PORTVERSION=	0.5
PORTREVISION=	2
CATEGORIES=	security mail perl5
MASTER_SITES=	PACKETSTORM/UNIX/scanners \
		http://www.frbsd.org/dist/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Remote SMTP server version detector

LICENSE=	GPLv2

RUN_DEPENDS=	p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

USE_PERL5_RUN=	yes

MAN1=		smtpscan.1
PLIST_FILES=	bin/smtpscan \
		%%DATADIR%%/fingerprints \
		%%DATADIR%%/tests
PLIST_DIRS=	%%DATADIR%%

post-patch:
	@@${REINPLACE_CMD} -e \
		's|^#!.*|#!${PERL}| ; \
		 s|/usr/local/share|${PREFIX}/share| ; \
		 s|@@VERSION@@|${PORTVERSION}|' ${WRKSRC}/src/smtpscan
	@@${REINPLACE_CMD} -e \
		's|@@VERSION@@|${PORTVERSION}| ; \
		 s|@@prefix@@|${PREFIX}/share|' ${WRKSRC}/docs/man/smtpscan.1

do-install:
	(cd ${WRKSRC}/src && ${INSTALL_SCRIPT} smtpscan ${PREFIX}/bin)
	(cd ${WRKSRC}/docs/man \
		&& ${INSTALL_MAN} smtpscan.1 ${MANPREFIX}/man/man1)
	@@${MKDIR} ${DATADIR}
	(cd ${WRKSRC}/src && ${INSTALL_SCRIPT} fingerprints tests ${DATADIR})

.include <bsd.port.mk>
@


1.13
log
@SVN rev 306866 on 2012-11-02 16:01:37Z by pawel

- Update MASTER_SITES and WWW: line
- Add LICENSE
- Switch to PLIST_FILES

PR:		ports/172250
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
log
@- Remove SITE_PERL from *_DEPENDS
@
text
@d1 1
a1 4
# New ports collection makefile for:	smtpscan
# Date created:				1 decembre 2002
# Whom:					Hubert Tournier <hubert@@frbsd.org>
#
a2 1
#
d8 2
a9 1
MASTER_SITES=	http://www.frbsd.org/dist/
d12 3
a14 1
COMMENT=	A remote SMTP server version detector
d18 26
a43 4
USE_PERL5=	yes
MAN1=	smtpscan.1
MAKEFILE=${FILESDIR}/Makefile
WRKSRC=	${WRKDIR}/${PORTNAME}
@


1.11
log
@Reset hubert@@frbsd.org: address rejecting email.

Hat:		portmgr
@
text
@d17 1
a17 1
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
@


1.10
log
@- Remove unneeded dependencies which is in perl-5.8.9 dist
  (part 3).

Approved by:	portmgr (itetcu)
@
text
@d14 1
a14 1
MAINTAINER=	hubert@@frbsd.org
@


1.9
log
@- Make fetchable
- Remove 4.x cruft

PR:		ports/114581
Submitted by:	Hubert Tournier <hubert@@frbsd.org>
Approved by:	sat (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 2
RUN_DEPENDS=	${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
		${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
@


1.8
log
@Only depend on p5-IO for perl <5.6 (bump PORTREV)

PR:		ports/72292
Submitted by:	Jin-Shan Tseng
Approved by:	maintainer
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.greyhats.org/outils/smtpscan/
d21 3
a23 2
MAN1=		smtpscan.1
WRKSRC=		${WRKDIR}/${PORTNAME}
d25 1
a25 8
pre-build:
	${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
    RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
.endif
.include <bsd.port.post.mk>
@


1.7
log
@Adjust the dependency check on p5-Net-DNS to take into account its
new PERL_ARCH'ified location.

In a few cases, standardize on searching for
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm instead of other files.
@
text
@d10 1
a17 1
		${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
d27 5
a31 1
.include <bsd.port.mk>
@


1.6
log
@utilize SITE_PERL

PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@@dragon2.net>
@
text
@d18 1
a18 1
		${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
@


1.5
log
@Chase repocopies towards ports/dns

PR:		ports/56020
Submitted by:	Kimura Fuyuki <fuyuki@@nigredo.org>
Approved by:	portmgr
@
text
@d16 3
a18 3
RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
@


1.4
log
@Update to 0.5

Submitted by:	Rob Evers <rob@@debank.tv>
PR:		53787
Approved by:	Hubert Tournier (maintainer)
		fjoe (mentor) (implicit)
@
text
@d18 1
a18 1
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS
@


1.3
log
@Upgrade to 4.0
@
text
@d9 1
a9 1
PORTVERSION=   0.4
@


1.2
log
@Use ${PERL_ARCH} to fix building error on non-i386 architectures.

Pointed out by:	kris
@
text
@d9 1
a9 2
PORTVERSION=	0.3.1
PORTREVISION=	1
@


1.1
log
@Add smtpscan 0.3.1, a remote SMTP server version detector.

PR:		46221
Submitted by:	Hubert Tournier <hubert@@frbsd.org>
@
text
@d10 1
d18 1
a18 1
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/IO.pm:${PORTSDIR}/devel/p5-IO \
@

