Date: Sat, 30 May 2009 23:20:01 GMT From: ismail yenigul <ismail.yenigul@endersys.com.tr> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/135087: new port:mail/tcpblocker Message-ID: <200905302320.n4UNK1xo026389@www.freebsd.org> Resent-Message-ID: <200905302330.n4UNU1iK001578@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135087 >Category: ports >Synopsis: new port:mail/tcpblocker >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 30 23:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: ismail yenigul >Release: FreeBSD 6.3-RELEASE-p4 >Organization: Endersys Ltd >Environment: FreeBSD labs.endersys.net 6.3-RELEASE-p4 FreeBSD 6.3-RELEASE-p4 #1: Thu Sep 4 11:54:57 EEST 2008 root@labs.endersys.net:/usr/src/sys/amd64/compile/Endersys.amd64 amd64 >Description: new port:mail/tcpblocker of www.inter7.com >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tcpblocker # tcpblocker/files # tcpblocker/files/patch-Makefile # tcpblocker/Makefile # tcpblocker/distinfo # tcpblocker/pkg-descr # echo c - tcpblocker mkdir -p tcpblocker > /dev/null 2>&1 echo c - tcpblocker/files mkdir -p tcpblocker/files > /dev/null 2>&1 echo x - tcpblocker/files/patch-Makefile sed 's/^X//' >tcpblocker/files/patch-Makefile << 'END-of-tcpblocker/files/patch-Makefile' X--- Makefile.orig 2009-05-31 02:11:25.000000000 +0300 X+++ Makefile 2009-05-31 02:11:46.000000000 +0300 X@@ -6,8 +6,5 @@ X tcpblock: Makefile tcpblock.c X $(CC) tcpblock.c -o tcpblock X X-install: X- cp tcpblock /usr/local/bin X- X clean: X rm -rf $(BINS) *.o core *.core END-of-tcpblocker/files/patch-Makefile echo x - tcpblocker/Makefile sed 's/^X//' >tcpblocker/Makefile << 'END-of-tcpblocker/Makefile' X# New ports collection makefile for: tcpblocker X# Date created: May 31 2009 X# Whom: ismail.yenigul@endersys.com.tr X# X# $FreeBSD$ X# X XPORTNAME= tcpblocker XPORTVERSION= 1.0 XCATEGORIES= mail security XMASTER_SITES= http://www.inter7.com/tcpblocker/ X XMAINTAINER= ismail.yenigul@endersys.com.tr XCOMMENT= Automates blocking clients who connect too often to tcpserver X XPORTDOCS= README ChangeLog XEXAMPLES= build_tcpblocks.sh crontab.tcpblock exception_file X XPLIST_FILES= bin/tcpblock X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/tcpblock ${PREFIX}/bin X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} X.endif X.if !defined(NOPORTEXAMPLES) X @${MKDIR} ${EXAMPLESDIR} X ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/ X.endif X X.include <bsd.port.mk> END-of-tcpblocker/Makefile echo x - tcpblocker/distinfo sed 's/^X//' >tcpblocker/distinfo << 'END-of-tcpblocker/distinfo' XMD5 (tcpblocker-1.0.tar.gz) = cd8d0048f9869c6823c206581c17bab6 XSHA256 (tcpblocker-1.0.tar.gz) = 2d764363ca7c48f120953fa4fbaacc885d5dd4192a808a1c492ca8fbbfd7bec5 XSIZE (tcpblocker-1.0.tar.gz) = 4350 END-of-tcpblocker/distinfo echo x - tcpblocker/pkg-descr sed 's/^X//' >tcpblocker/pkg-descr << 'END-of-tcpblocker/pkg-descr' XThe dnsreflector daemon listens for DNS queries on a local UDP port Xand answers with records pointing back to localhost. Combined with Xpacket filter pf(4) this works as a bandwidth efficient spamtrap. X XWWW: http://www.wolfermann.org/dnsreflector.html END-of-tcpblocker/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905302320.n4UNK1xo026389>