From owner-cvs-all@FreeBSD.ORG Wed Oct 26 11:08:03 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F2E0106564A; Wed, 26 Oct 2011 11:08:03 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 25DDF8FC08; Wed, 26 Oct 2011 11:08:03 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p9QB83qx067518; Wed, 26 Oct 2011 11:08:03 GMT (envelope-from sunpoet@repoman.freebsd.org) Received: (from sunpoet@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p9QB83Wm067517; Wed, 26 Oct 2011 11:08:03 GMT (envelope-from sunpoet) Message-Id: <201110261108.p9QB83Wm067517@repoman.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 26 Oct 2011 11:08:03 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/net Makefile ports/net/p5-Net-Subnet Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2011 11:08:03 -0000 sunpoet 2011-10-26 11:08:03 UTC FreeBSD ports repository Modified files: net Makefile Added files: net/p5-Net-Subnet Makefile distinfo pkg-descr pkg-plist Log: - Add p5-Net-Subnet 1.02 This is a simple but fast pure Perl module for determining whether a given IP address is in a given set of IP subnets. It's iterative, and it doesn't use any fancy tries, but because it uses simple bitwise operations on strings it's still very fast. All documented functions are exported by default. Subnets have to be given in "address/mask" or "address/length" (CIDR) format. The Socket and Socket6 modules are used to normalise addresses, which means that any of the address formats supported by inet_aton and inet_pton can be used with Net::Subnet. WWW: http://search.cpan.org/dist/Net-Subnet/ PR: ports/161335 Submitted by: Henk van Oers Revision Changes Path 1.2395 +1 -0 ports/net/Makefile 1.1 +26 -0 ports/net/p5-Net-Subnet/Makefile (new) 1.1 +2 -0 ports/net/p5-Net-Subnet/distinfo (new) 1.1 +13 -0 ports/net/p5-Net-Subnet/pkg-descr (new) 1.1 +5 -0 ports/net/p5-Net-Subnet/pkg-plist (new)