From 50936627c40a758d03241186266ec7259c122f13 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 2 Apr 2003 11:26:45 +0000 Subject: New port: mail/smtprc New port. (and my 30st port.. wheeee) [can somebody give him ports-commit access please? - edwin] smtprc is fully configurable, multithreaded open mail relay scanner. It supports scanning of IP blocks, and can print the results to a web page. It is intended for SysAdmins to check IP blocks under their control. PR: ports/48889 Submitted by: Michael L. Hostbaek --- mail/smtprc/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ mail/smtprc/distinfo | 1 + mail/smtprc/pkg-descr | 10 ++++++++++ mail/smtprc/pkg-plist | 7 +++++++ 4 files changed, 58 insertions(+) create mode 100644 mail/smtprc/Makefile create mode 100644 mail/smtprc/distinfo create mode 100644 mail/smtprc/pkg-descr create mode 100644 mail/smtprc/pkg-plist (limited to 'mail/smtprc') diff --git a/mail/smtprc/Makefile b/mail/smtprc/Makefile new file mode 100644 index 000000000000..3fdba3fc4141 --- /dev/null +++ b/mail/smtprc/Makefile @@ -0,0 +1,40 @@ +# ex:ts=8 +# Ports collection makefile for: smtprc +# Date created: Mon Mar 3, 2003 +# Whom: Michael L. Hostbaek (mich@freebsdcluster.org) +# +# $FreeBSD$ +# + +PORTNAME= smtprc +PORTVERSION= 0.9.5b +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= mich@freebsdcluster.org +COMMENT= A scanner for open SMTP relays + +USE_REINPLACE= yes +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e "s,-Wall -g,${CFLAGS},g ; \ + s,gcc,${CC},g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${PREFIX}/etc/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/auto.conf ${PREFIX}/etc/${PORTNAME}/auto.conf.sample + ${INSTALL_DATA} ${WRKSRC}/email.tmpl ${PREFIX}/etc/${PORTNAME}/email.tmpl.sample + ${INSTALL_DATA} ${WRKSRC}/rcheck.conf ${PREFIX}/etc/${PORTNAME}/rcheck.conf.sample + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README +.endif + +MAN1= smtprc.1 +.include diff --git a/mail/smtprc/distinfo b/mail/smtprc/distinfo new file mode 100644 index 000000000000..82e4f8d33066 --- /dev/null +++ b/mail/smtprc/distinfo @@ -0,0 +1 @@ +MD5 (smtprc-0.9.5b.tgz) = 19829ffdd7b1bb0d070e24413fd25fa8 diff --git a/mail/smtprc/pkg-descr b/mail/smtprc/pkg-descr new file mode 100644 index 000000000000..5671b55fc6ad --- /dev/null +++ b/mail/smtprc/pkg-descr @@ -0,0 +1,10 @@ +SmtpRC is a fully configurable, multithreaded open mail relay scanner. +It supports scanning of IP blocks, and can print the results to a Web +page. It is intended for Systems Administrators to check IP blocks +under their control + +WWW: http://smtprc.sourceforge.net +AUTHOR: Spencer Hardy + + - Michael L. Hostbaek + mich@freebsdcluster.org diff --git a/mail/smtprc/pkg-plist b/mail/smtprc/pkg-plist new file mode 100644 index 000000000000..c83cd36d7c0d --- /dev/null +++ b/mail/smtprc/pkg-plist @@ -0,0 +1,7 @@ +bin/smtprc +etc/smtprc/auto.conf.sample +etc/smtprc/email.tmpl.sample +etc/smtprc/rcheck.conf.sample +@dirrm /etc/smtprc +%%PORTDOCS%%share/doc/smtprc/README +%%PORTDOCS%%@dirrm /share/doc/smtprc -- cgit v1.2.3