From owner-freebsd-ports Tue Nov 19 15:40: 5 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25A0237B401 for ; Tue, 19 Nov 2002 15:40:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4636643E4A for ; Tue, 19 Nov 2002 15:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAJNe1x3045089 for ; Tue, 19 Nov 2002 15:40:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAJNe13I045088; Tue, 19 Nov 2002 15:40:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5040F37B401 for ; Tue, 19 Nov 2002 15:32:35 -0800 (PST) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D15E43E75 for ; Tue, 19 Nov 2002 15:32:34 -0800 (PST) (envelope-from linimon@lonesome.com) Received: from lonesome.lonesome.com (cs2876-77.austin.rr.com [24.28.76.77]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.soaustin.net (Postfix) with ESMTP id 242A7140B6 for ; Tue, 19 Nov 2002 17:32:33 -0600 (CST) Received: from lonesome.lonesome.com (localhost.lonesome.com [127.0.0.1]) by lonesome.lonesome.com (8.12.6/8.12.3) with ESMTP id gAJNXdPU052889 for ; Tue, 19 Nov 2002 17:33:39 -0600 (CST) (envelope-from linimon@lonesome.lonesome.com) Received: (from linimon@localhost) by lonesome.lonesome.com (8.12.6/8.12.6/Submit) id gAJNXcNp052888; Tue, 19 Nov 2002 17:33:38 -0600 (CST) (envelope-from linimon) Message-Id: <200211192333.gAJNXcNp052888@lonesome.lonesome.com> Date: Tue, 19 Nov 2002 17:33:38 -0600 (CST) From: Mark Linimon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113.1 Subject: ports/45501: new port: net/hinfo, look up host info for anti-spam use Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45501 >Category: ports >Synopsis: new port: net/hinfo, look up host info for anti-spam use >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 19 15:40:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mark Linimon >Release: FreeBSD-4.7 >Organization: FreeBSD >Environment: System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386 >Description: hinfo is a utility that will display information about a host. It is primarily designed to find the owner of an IP block in order to direct spam complaints to where they may do some good. See http://www.blars.org/hinfo.html. >How-To-Repeat: n/a >Fix: # 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: # # hinfo # hinfo/pkg-plist # hinfo/pkg-descr # hinfo/pkg-comment # hinfo/distinfo # hinfo/Makefile # hinfo/files # echo c - hinfo mkdir -p hinfo > /dev/null 2>&1 echo x - hinfo/pkg-plist sed 's/^X//' >hinfo/pkg-plist << 'END-of-hinfo/pkg-plist' Xbin/hinfo Xetc/hinfo.conf Xetc/hinfo.conf.example Xshare/doc/hinfo/hinfo.txt Xshare/doc/hinfo/hinforc.txt X%%PORTDOCS%%@dirrm share/doc/hinfo X@unexec rm -R /var/lib/hinfo END-of-hinfo/pkg-plist echo x - hinfo/pkg-descr sed 's/^X//' >hinfo/pkg-descr << 'END-of-hinfo/pkg-descr' Xhinfo is a utility that will display information about a host. It is Xprimarily designed to find the owner of an IP block in order to direct Xspam complaints to where they may do some good. X X(porter's note: the DBFILES are updated without the port version Xnecessarily being updated. Expect drift on distinfo.) X XWWW: http://www.blars.org/hinfo.html END-of-hinfo/pkg-descr echo x - hinfo/pkg-comment sed 's/^X//' >hinfo/pkg-comment << 'END-of-hinfo/pkg-comment' XUtility primarily designed to find the owner of an IP block END-of-hinfo/pkg-comment echo x - hinfo/distinfo sed 's/^X//' >hinfo/distinfo << 'END-of-hinfo/distinfo' XMD5 (hinfo-0.93.tar.gz) = 7623fe640a1d6db1b50cb0cf6d7dddb7 END-of-hinfo/distinfo echo x - hinfo/Makefile sed 's/^X//' >hinfo/Makefile << 'END-of-hinfo/Makefile' X# New ports collection makefile for: hinfo X# Date created: Tue Nov 19 14:32:22 CST 2002 X# Whom: Mark Linimon X# X# $FreeBSD$ X# X XPORTNAME= hinfo XPORTVERSION= 0.93 XCATEGORIES= net perl5 XMASTER_SITES= http://www.blars.org/ X XMAINTAINER= linimon@lonesome.com X XRUN_DEPENDS= ${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS X XUSE_PERL5_RUN= yes XUSE_REINPLACE= yes X XDBDIR?= /var/lib XDBFILES= dnsbl.ins.pl whois.ins.pl XDOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} X XNO_BUILD= yes X Xpost-extract: X ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PREFIX}/bin/perl|' ${WRKSRC}/hinfo X ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PREFIX}/bin/perl|' ${WRKSRC}/myhostinfo.cgi X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/hinfo ${PREFIX}/bin X ${INSTALL_SCRIPT} ${WRKSRC}/hinfo.conf ${PREFIX}/etc/hinfo.conf.example X.if !exists({PREFIX}/etc/hinfo.conf) X ${INSTALL_SCRIPT} ${WRKSRC}/hinfo.conf ${PREFIX}/etc/hinfo.conf X.endif X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in hinfo.txt hinforc.txt X ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X @${MKDIR} ${DBDIR}/${PORTNAME} X.for file in ${DBFILES} X ${INSTALL_DATA} ${WRKSRC}/${file} ${DBDIR}/${PORTNAME}/ X.endfor X X.include END-of-hinfo/Makefile echo c - hinfo/files mkdir -p hinfo/files > /dev/null 2>&1 exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message