From owner-freebsd-ports@FreeBSD.ORG Thu Jan 31 15:55:11 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A370C16A41A for ; Thu, 31 Jan 2008 15:55:11 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7C24613C45D for ; Thu, 31 Jan 2008 15:55:11 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 0DACC65501 for ; Thu, 31 Jan 2008 09:55:11 -0600 (CST) Date: Thu, 31 Jan 2008 09:55:10 -0600 From: Paul Schmehl To: FreeBSD Ports Message-ID: <2E5E730F2C630876A866F1F0@utd59514.utdallas.edu> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Question about non-standard CPAN port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 15:55:11 -0000 I found a really useful (to me) module at CPAN - Snort::Rule - which can dynamically create snort rules from a list of "bad" ips/hostnames. It's not in ports, so I thought I'd create a port for it. But there's a problem. The CPAN macro in ports looks in /modules/by-module, but this module cannot be found there. It can only be found by going to /authors/by-author/S/SA/blah/foo. My question is, should I submit this port even though it uses a non-standard master site from CPAN? Here's the Makefile I created: # ports collection makefile for: perl extension for dynamically building snort rules # Date created: 30 January 2008 # Whom: Paul Schmehl # # $FreeBSD$ # PORTNAME= Snort-Rule PORTVERSION= 1.06 CATEGORIES= security perl5 MASTER_SITES= http://www.cpan.org/modules/by-authors/id/S/SA/SAXJAZMAN/Snort/ MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= p5- MAINTAINER= pauls@utdallas.edu COMMENT= Perl5 extension for dynamically building snort rules PERL_CONFIGURE= yes PLIST_FILES= %%SITE_PERL%%/Snort/Rule.pm \ %%SITE_PERL%%/mach/auto/Snort/Rule/.packlist PLIST_DIRS= %%SITE_PERL%%/mach/auto/Snort/Rule \ %%SITE_PERL%%/mach/auto/Snort \ %%SITE_PERL%%/Snort MAN3= Snort::Rule.3 .include The port installs and uninstalls as expected, but I wonder if I should wait until the module gets included in the standard path. Does anyone know why it wouldn't be there now? Does it have to be vetted to be included? -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/