From 54d3a22e171d39d99384d5ae12edab9cd735a34b Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sun, 23 Jul 2006 02:30:42 +0000 Subject: [PATCH] Add p5-Mail-OpenRelay-Simple 0.02, check if a mail server runs as an open relay. PR: ports/100668 Submitted by: Jin-Shan Tseng --- mail/Makefile | 1 + mail/p5-Mail-OpenRelay-Simple/Makefile | 32 +++++++++++++++++++++++++ mail/p5-Mail-OpenRelay-Simple/distinfo | 3 +++ mail/p5-Mail-OpenRelay-Simple/pkg-descr | 3 +++ mail/p5-Mail-OpenRelay-Simple/pkg-plist | 7 ++++++ 5 files changed, 46 insertions(+) create mode 100644 mail/p5-Mail-OpenRelay-Simple/Makefile create mode 100644 mail/p5-Mail-OpenRelay-Simple/distinfo create mode 100644 mail/p5-Mail-OpenRelay-Simple/pkg-descr create mode 100644 mail/p5-Mail-OpenRelay-Simple/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index f74279607467..3e23bd908938 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -317,6 +317,7 @@ SUBDIR += p5-Mail-MailStats SUBDIR += p5-Mail-Mbox-MessageParser SUBDIR += p5-Mail-MboxParser + SUBDIR += p5-Mail-OpenRelay-Simple SUBDIR += p5-Mail-POP3Client SUBDIR += p5-Mail-Procmail SUBDIR += p5-Mail-Procmailrc diff --git a/mail/p5-Mail-OpenRelay-Simple/Makefile b/mail/p5-Mail-OpenRelay-Simple/Makefile new file mode 100644 index 000000000000..d1a0a7799cb3 --- /dev/null +++ b/mail/p5-Mail-OpenRelay-Simple/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-Mail-OpenRelay-Simple +# Date created: 2006-07-21 +# Whom: Jin-Shan Tseng +# +# $FreeBSD$ +# + +PORTNAME= Mail-OpenRelay-Simple +PORTVERSION= 0.02 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Mail +PKGNAMEPREFIX= p5- + +MAINTAINER= tjs@cdpa.nsysu.edu.tw +COMMENT= Check if a mail server runs as an open relay + +RUN_DEPENDS= p5-Class-Accessor>=0.25:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Net-Telnet>=3.03:${PORTSDIR}/net/p5-Net-Telnet +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Mail::OpenRelay::Simple.3 + +.include + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again +.endif + +.include diff --git a/mail/p5-Mail-OpenRelay-Simple/distinfo b/mail/p5-Mail-OpenRelay-Simple/distinfo new file mode 100644 index 000000000000..0efe780d0a7d --- /dev/null +++ b/mail/p5-Mail-OpenRelay-Simple/distinfo @@ -0,0 +1,3 @@ +MD5 (Mail-OpenRelay-Simple-0.02.tar.gz) = 17636ccc558fac7bde96611a93e592d2 +SHA256 (Mail-OpenRelay-Simple-0.02.tar.gz) = 809535242a280dc0015de59a0dfc173d15021669b82ed449e67d889beed73175 +SIZE (Mail-OpenRelay-Simple-0.02.tar.gz) = 4711 diff --git a/mail/p5-Mail-OpenRelay-Simple/pkg-descr b/mail/p5-Mail-OpenRelay-Simple/pkg-descr new file mode 100644 index 000000000000..eb06a2cb702d --- /dev/null +++ b/mail/p5-Mail-OpenRelay-Simple/pkg-descr @@ -0,0 +1,3 @@ +This module permit to check if a mail server runs as an open relay. + +WWW: http://search.cpan.org/dist/Mail-OpenRelay-Simple/ diff --git a/mail/p5-Mail-OpenRelay-Simple/pkg-plist b/mail/p5-Mail-OpenRelay-Simple/pkg-plist new file mode 100644 index 000000000000..96c0d9795383 --- /dev/null +++ b/mail/p5-Mail-OpenRelay-Simple/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Mail/OpenRelay/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/OpenRelay/Simple/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/OpenRelay/Simple +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/OpenRelay +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail +@dirrmtry %%SITE_PERL%%/Mail/OpenRelay +@dirrmtry %%SITE_PERL%%/Mail