summaryrefslogtreecommitdiff
path: root/mail/smtprc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-02 11:26:45 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-02 11:26:45 +0000
commit50936627c40a758d03241186266ec7259c122f13 (patch)
tree829bc238077e88ec46fe6883b9004a4ade657ab3 /mail/smtprc
parentnew port: Hebrew spellchecker and morphology engine (diff)
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 <mich@freebsdcluster.org>
Notes
Notes: svn path=/head/; revision=77961
Diffstat (limited to 'mail/smtprc')
-rw-r--r--mail/smtprc/Makefile40
-rw-r--r--mail/smtprc/distinfo1
-rw-r--r--mail/smtprc/pkg-descr10
-rw-r--r--mail/smtprc/pkg-plist7
4 files changed, 58 insertions, 0 deletions
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 <bsd.port.mk>
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 <diceman@dircon.co.uk>
+
+ - 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