Date: Wed, 25 Oct 2000 20:41:36 -0500 (CDT) From: Jeremy Shaffner <jeremy@external.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22298: Port Update devel/p5-IniConf Message-ID: <200010260141.UAA80764@indigo.external.org>
next in thread | raw e-mail | index | archive | help
>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 @@ -<html> -<title> The FreeBSD Ports Collection (devel/p5-IniConf)</title> -<head><h1> The FreeBSD Ports Collection ("devel/p5-IniConf")</h1> </head> <hr> -<body> - -<p>You are now in the directory for the port "devel/p5-IniConf" (package name "p5-IniConf-0.92"). - -<p>This is the one-line description for this port: - -<p><hr><p> -Perl5 module for reading .ini-style configuration files -<p><hr> - -<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a -longer description. - -<p>Go to the <a href="../../README.html">top of the ports tree</a> for -a summary on how to use the ports collection. - -<p> - -<p> - - -<p><hr><p> -<a href="../README.html"> Go up one level</a> -| -<a href="../../README.html"> Go to top of ports tree</a> -</body> -</html> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010260141.UAA80764>