From owner-freebsd-ports Wed Oct 25 18:50:10 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D3C4B37B4C5 for ; Wed, 25 Oct 2000 18:50:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA06871; Wed, 25 Oct 2000 18:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from indigo.external.org (c1118643-a.chmpgn1.il.home.com [24.181.130.26]) by hub.freebsd.org (Postfix) with ESMTP id 175C137B479 for ; Wed, 25 Oct 2000 18:41:38 -0700 (PDT) Received: (from root@localhost) by indigo.external.org (8.9.3/8.9.3) id UAA80764; Wed, 25 Oct 2000 20:41:36 -0500 (CDT) (envelope-from jeremy) Message-Id: <200010260141.UAA80764@indigo.external.org> Date: Wed, 25 Oct 2000 20:41:36 -0500 (CDT) From: Jeremy Shaffner To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22298: Port Update devel/p5-IniConf Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22298 >Category: ports >Synopsis: Move devel/p5-IniConf to devel/p5-Config-IniFiles >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: Wed Oct 25 18:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jeremy Shaffner >Release: FreeBSD 3.5-STABLE i386 >Organization: >Environment: >Description: IniConf has changed to Config::IniFiles I'm killing two birds with one PR: 1) Finding abandoned Ports 2) Getting Config::IniFiles in the tree so I can submit ReportMagic which requires it. So here's a recursive diff for a Repo Copy. Also note that files/patch-aa is not present in the new version. >How-To-Repeat: >Fix: diff -ruN p5-IniConf/Makefile p5-Config-IniFiles/Makefile --- p5-IniConf/Makefile Tue May 9 15:07:15 2000 +++ p5-Config-IniFiles/Makefile Wed Oct 25 20:20:17 2000 @@ -5,19 +5,18 @@ # $FreeBSD: ports/devel/p5-IniConf/Makefile,v 1.13 2000/04/16 23:12:32 mharo Exp $ # -PORTNAME= IniConf -PORTVERSION= 0.92 +PORTNAME= Config-IniFiles +PORTVERSION= 1.8 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= IniConf +MASTER_SITE_SUBDIR= Config PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}.pm-${PORTVERSION} -MAINTAINER= jfitz@FreeBSD.org +MAINTAINER= jeremy@external.org USE_PERL5= YES -MAN3= IniConf.pm.3 +MAN3= Config::IniFiles.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-configure: diff -ruN p5-IniConf/README.html p5-Config-IniFiles/README.html --- p5-IniConf/README.html Thu Sep 16 16:08:43 1999 +++ p5-Config-IniFiles/README.html Wed Dec 31 18:00:00 1969 @@ -1,30 +0,0 @@ - - The FreeBSD Ports Collection (devel/p5-IniConf) -

The FreeBSD Ports Collection ("devel/p5-IniConf")


- - -

You are now in the directory for the port "devel/p5-IniConf" (package name "p5-IniConf-0.92"). - -

This is the one-line description for this port: - -


-Perl5 module for reading .ini-style configuration files -


- -

Please read the file "pkg/DESCR" for a -longer description. - -

Go to the top of the ports tree for -a summary on how to use the ports collection. - -

- -

- - -


- Go up one level -| - Go to top of ports tree - - diff -ruN p5-IniConf/distinfo p5-Config-IniFiles/distinfo --- p5-IniConf/distinfo Sat Sep 13 21:54:58 1997 +++ p5-Config-IniFiles/distinfo Wed Oct 25 18:40:58 2000 @@ -1 +1 @@ -MD5 (IniConf.pm-0.92.tar.gz) = 0057de0a61aacf1de8ec966fd70c9ded +MD5 (Config-IniFiles-1.8.tar.gz) = 2f76f242fac3a6c8975c41bec8ce0b86 diff -ruN p5-IniConf/files/patch-aa p5-Config-IniFiles/files/patch-aa --- p5-IniConf/files/patch-aa Wed Sep 9 19:58:33 1998 +++ p5-Config-IniFiles/files/patch-aa Wed Dec 31 18:00:00 1969 @@ -1,36 +0,0 @@ -*** IniConf.pm.orig Fri Jul 11 09:39:59 1997 ---- IniConf.pm Thu Sep 10 04:49:00 1998 -*************** -*** 203,209 **** - \$SIG{$sig} = 'IGNORE'; - \$${class}::instance[$instnum]->ReadConfig; - if (\$oldhandler[$instnum] && \$oldhandler[$instnum] ne 'IGNORE') { -! eval '&$oldhandler[$instnum];'; - } - \$SIG{$sig} = '$newhandler' - } ---- 203,209 ---- - \$SIG{$sig} = 'IGNORE'; - \$${class}::instance[$instnum]->ReadConfig; - if (\$oldhandler[$instnum] && \$oldhandler[$instnum] ne 'IGNORE') { -! eval '&\$oldhandler[$instnum];'; - } - \$SIG{$sig} = '$newhandler' - } -*************** -*** 346,352 **** - $self->{v}{$sect} = {}; - } - } -! elsif (($parm, $val) = /\s*(\S+)\s*=\s*(.*)/) { # new parameter - $parm = lc($parm) if $nocase; - $self->{pCMT}{$sect}{$parm} = [@cmts]; - @cmts = ( ); ---- 346,352 ---- - $self->{v}{$sect} = {}; - } - } -! elsif (($parm, $val) = /\s*([^\s=]+)\s*=\s*(.*)/) { # new parameter - $parm = lc($parm) if $nocase; - $self->{pCMT}{$sect}{$parm} = [@cmts]; - @cmts = ( ); diff -ruN p5-IniConf/pkg-descr p5-Config-IniFiles/pkg-descr --- p5-IniConf/pkg-descr Thu Oct 24 03:11:12 1996 +++ p5-Config-IniFiles/pkg-descr Wed Oct 25 20:06:14 2000 @@ -1,17 +1,20 @@ -IniConf provides a way to have readable configuration files outside your -Perl script. The configuration can be safely reloaded upon receipt of a -signal. +Config::IniFiles provides a way to have readable configuration files +outside your Perl script. The configuration can be safely reloaded upon +receipt of a signal. Configurations can be imported (inherited, +stacked,...), sections can be grouped, and settings can be accessed from +a tied hash. -USAGE +USAGE -Get a new IniConf object with the new method: +Get a new Config::IniFiles object with the *new* method: - $cfg = IniConf->new( -file => "/path/configfile.ini" ); - $cfg = new IniConf -file => "/path/configfile.ini"; + $cfg = Config::IniFiles->new( -file => "/path/configfile.ini" ); + $cfg = new Config::IniFiles -file => "/path/configfile.ini"; Optional named parameters may be specified after the configuration file -name. See the new in the METHODS section, below. INI files consist of a -number of sections, each preceeded with the section name in square brackets. -Parameters are specified in each section as Name=Value. Any spaces around -the equals sign will be ignored, and the value extends to the end of the -line +name. See the *new* in the METHODS section, below. + +INI files consist of a number of sections, each preceeded with the +section name in square brackets. Parameters are specified in each section +as Name=Value. Any spaces around the equals sign will be i gnored, and the +value extends to the end of the line. diff -ruN p5-IniConf/pkg-plist p5-Config-IniFiles/pkg-plist --- p5-IniConf/pkg-plist Mon Jan 11 09:33:55 1999 +++ p5-Config-IniFiles/pkg-plist Wed Oct 25 19:54:32 2000 @@ -1,3 +1,3 @@ -lib/perl5/site_perl/%%PERL_VER%%/IniConf.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IniConf.pm/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IniConf.pm +lib/perl5/site_perl/%%PERL_VER%%/Config/IniFiles.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/IniFiles/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/IniFiles >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message