Subject: pkg/12637: new package p5-AppConfig
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nrahlstr@winternet.com>
List: netbsd-bugs
Date: 04/13/2001 09:06:18
>Number:         12637
>Category:       pkg
>Synopsis:       new package p5-AppConfig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 13 11:55:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Ahlstrom
>Release:        04/13/2001 pkgsrc
>Organization:
me
>Environment:
System: NetBSD games 1.5.1_BETA NetBSD 1.5.1_BETA (GAMES) #0: Tue Apr 10 17:28:44 CDT 2001 root@games:/a/src/sys/arch/i386/compile/GAMES i386

>Description:
	new package p5-AppConfig.  AppConfig is used for parsing configuration
	files and command line arguments.
>How-To-Repeat:
	Neede by the template-toolkit perl module.
>Fix:
	Shar archive with pkg below as well as Change Log from the dist.

# 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:
#
#	p5-AppConfig
#	p5-AppConfig/files
#	p5-AppConfig/files/md5
#	p5-AppConfig/pkg
#	p5-AppConfig/pkg/DESCR
#	p5-AppConfig/pkg/PLIST
#	p5-AppConfig/Makefile
#
echo c - p5-AppConfig
mkdir -p p5-AppConfig > /dev/null 2>&1
echo c - p5-AppConfig/files
mkdir -p p5-AppConfig/files > /dev/null 2>&1
echo x - p5-AppConfig/files/md5
sed 's/^X//' >p5-AppConfig/files/md5 << 'END-of-p5-AppConfig/files/md5'
X$NetBSD$
X
XSHA1 (AppConfig-1.52.tar.gz) = 974e41ed348b43d98ae59ba6ccd88ab0a7061a94
END-of-p5-AppConfig/files/md5
echo c - p5-AppConfig/pkg
mkdir -p p5-AppConfig/pkg > /dev/null 2>&1
echo x - p5-AppConfig/pkg/DESCR
sed 's/^X//' >p5-AppConfig/pkg/DESCR << 'END-of-p5-AppConfig/pkg/DESCR'
XAppConfig is a bundle of perl5 modules for parsing configuration files and 
Xcommand line arguments.  It has a very powerful configuration file processor
Xand a simple, efficient mechanism for parsing command line arguments.  It
Xalso will use the Getopt::Long module where available to extend its own
Xcommand line parsing abilities.
END-of-p5-AppConfig/pkg/DESCR
echo x - p5-AppConfig/pkg/PLIST
sed 's/^X//' >p5-AppConfig/pkg/PLIST << 'END-of-p5-AppConfig/pkg/PLIST'
X@comment $NetBSD$
END-of-p5-AppConfig/pkg/PLIST
echo x - p5-AppConfig/Makefile
sed 's/^X//' >p5-AppConfig/Makefile << 'END-of-p5-AppConfig/Makefile'
X# $NetBSD$
X
XDISTNAME=	AppConfig-1.52
XPKGNAME=	p5-${DISTNAME}
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN:=App/ABW/}
X
XMAINTAINER=	packages@NetBSD.org
XHOMEPAGE=	http://www.kfs.org/~abw
XCOMMENT=	p5 module for parsing config files and command line arguments
X
XUSE_PERL5=	#defined
XPERL5_PACKLIST=	${PERL5_SITEARCH}/auto/AppConfig/.packlist
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-p5-AppConfig/Makefile
exit



========================================================================
Version 1.52  Date: 1998/10/29 11:44:23  Author: abw
------------------------------------------------------------------------

* Modified AppConfig::Getopt to work with Getopt::Long version 2.17,
  instead of the yet-to-be-released-as-of-29-Oct-1998 version 2.93
  (3.00 beta).  Getopt::Long version 3.00 offers object-orientation
  but will continue to be backwardly compatible with earlier versions.
  Thus, AppConfig::Getopt should continue with future versions of
  Getopt::Long.  Nice one, Johan!

* Added code to AppConfig::State::define() to handle the compact format.
  The ALIAS and ARGS options are extracted from it and the ARGCOUNT 
  is determined from the ARGS parameter.

* Added Getopt::Long version 2.17 as a dependency in Makefile.PL.
  Added documentation to note this and explain how to modify the 
  Makefile.PL to avoid this check.

* Added t/compact.t and expanded t/getopt.t test files.

* Added documentation for AppConfig::Getopt use and the compact definition
  format.

* Added documentation for +/- prefix format in configuration files.

* Other minor documentation fixes.


========================================================================
Version 1.51  Date: 1998/10/22 09:22:53  Author: abw
------------------------------------------------------------------------

* Added '+variable' (set on) and '-variable' (reset to 0 or default)
  syntax for configuration files, as suggested by Chip Salzenberg.

* Fixed auto-creation of variables that was generating two warning 
  messages each time.

* Removed some straggling references to the AppConfig::Const module. 

* Changed Makefile.PL to explicitly list MAN3PODS for all AppConfig::*
  modules.  ExtUtils::MakeMaker ignores files that match the pattern 
  /(config|setup).*\.pm/i;  Thanks to Alex Medina for catching that.  


========================================================================
Version 1.50  Date: 1998/10/21 09:28:15  Author: abw
------------------------------------------------------------------------

* Completed documentation.

* First public beta release.

========================================================================

>Release-Note:
>Audit-Trail:
>Unformatted: