Commit graph

33 commits

Author SHA1 Message Date
sno
0b35974348 Updating devel/p5-Config-IniFiles from 2.57nb1 to 2.58
pkgsrc changes:
- remove deprecated homepage

Upstream changes:
Version 2.58:   ( Mon May 17 10:43:06 IDT 2010 )
------------------------------------------------
* Incorporated a fix for some broken POD.
    - https://rt.cpan.org/Ticket/Display.html?id=51617
    - Thanks to Frank Wiegand for reporting it.

* Got rid of \r/carriage-returns's in lib/Config/IniFiles.pm .
    - It interfered with applying a patch.

* Applied a patch to get rid of indirect object notation in the
  documentation and code ("new Config::IniFiles") and replace it with
  Config::IniFiles->new().
    - https://rt.cpan.org/Ticket/Display.html?id=57536
    - Thanks to Tom Molesworth for the patch.
2010-09-01 20:17:26 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
sno
6145091be8 Updating devel/p5-Config-IniFiles from 2.56 to 2.57
Upstream changes:
Version 2.57:   ( Mon Mar  1 15:49:54 IST 2010 )
------------------------------------------------
* Fixed failure to read the ini file contents from a filehandle made out of a
  scalar
    - https://rt.cpan.org/Ticket/Display.html?id=45997
    - Applied a patch by Nicolas Mendoza - thanks!
2010-03-16 18:49:05 +00:00
sno
e4c2d357cf Updating devel/p5-Config-IniFiles from 2.54 to 2.56
Upstream changes:
Version 2.56:   ( Thu Dec 31 06:55:01 IST 2009 )
------------------------------------------------

* Hopefully fixed the skip() in t/07misc.t
    - https://rt.cpan.org/Public/Bug/Display.html?id=53238
    - It was skip($num, $label) instead of skip($label, $num) and it
    lacked a "SKIP:" label.

Version 2.55:   ( Tue Dec 22 17:42:59 IST 2009 )
------------------------------------------------

* Refactoring the tests:
    - Converted t/05hash.t to Test::More and modernised it.
    - Converted t/06oo.t to Test::More and modernised it.
    - Testing: extracted t/lib/Config/IniFiles/TestPaths.pm.
    - Converted t/10delta.t to Test::More and modernised it.
    - Add the t_unlink method.
2010-02-02 17:37:39 +00:00
seb
d60704b71c Update p5-Config-IniFiles from version 2.52 to version 2.54.
Upstream changes:
Version 2.54:   ( Wed Nov 18 12:00:44 IST 2009 )
------------------------------------------------

* Adapted t/25line-endings.t to perl-5.6.x .
    - http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6026936.html
    - Failure there.
    - did that by replacing open ">:raw" with "binmode()".

Version 2.53:   ( Fri Nov 13 11:52:40 IST 2009 )
------------------------------------------------

* Converted t/01basic.t to Test::More and modernised it.
* Converted t/02weird.t to Test::More and modernised it.
* Converted t/04import.t to Test::More and modernised it.
* Applied a patch from Steffen Heinrich (SHE) for:
    - https://rt.cpan.org/Ticket/Display.html?id=51445
    - included t/25line-endings.t
        - modified a little.
2009-11-22 12:19:45 +00:00
sno
26b5170b09 Updating package for p5 module Config::IniFiles from 2.51 to 2.52
Upstream changes:
Version 2.52:   ( Sun Jun 28 16:16:09 IDT 2009 )
------------------------------------------------

* Added more keys to Build.PL (author, etc.)
* Added resources and keywords to META.yml.
* Converted t/00load.t to Test-More.
* No longer chdir()-ing into "t" in t/00load.t
* Got rid of the "new Config::IniFiles" syntax in the tests.
- replaced with Config::IniFiles->new().
- see "Perl Best Practices", "Programming Perl", 3rd Edition
2009-07-07 20:59:08 +00:00
sno
959f3097c9 pkgsrc changes:
- Updating package of p5 module Config::InitFiles from 2.49 to 2.51
  - Adjusting LICENSE to ${PERL5_LICENSE} according to META.yaml

Upstream changes:
Version 2.51:   ( Mon Jun  8 12:38:50 IDT 2009 )
------------------------------------------------

* Fixed "#46721: $config->exists() does not pay attention to -nocase => 1"
- https://rt.cpan.org/Ticket/Display.html?id=46721

Version 2.50:   ( Sun May 31 14:54:14 IDT 2009 )
------------------------------------------------

* Fixed the POD for SetParameterEOT:
- https://rt.cpan.org/Ticket/Display.html?id=28375
* Added t/pod.t and t/pod-coverage.t and fixed the problems they pointed:
- Removed some trailing pod.
    - http://rt.cpan.org/Ticket/Display.html?id=46549
- Documented the ->OutputConfig() method.
2009-06-14 22:28:07 +00:00
sno
c485ca5425 PkgSrc changes:
- Updating package for p5 module Config::IniFiles from 2.48 to 2.49
  - Fixing license

Upstream changes:
Version 2.49:   ( Sat May  2 17:16:28 IDT 2009 )
------------------------------------------------

* Fixed bug https://rt.cpan.org/Public/Bug/Display.html?id=45209 :
- Makefile.PL lacked the empty "PL_FILES" directive.

* Fixed bug https://rt.cpan.org/Ticket/Display.html?id=45588 :
- Failure to read ini file contents from a scalar (via "IO::Scalar").
- added t/23scalar-ref.t
2009-05-05 05:55:18 +00:00
sno
467a54d5b1 PkgSrc changes:
- Updating package for p5 module Config::IniFiles to 2.48
  - Set license to artistic-2.0

Upstream changes:
Version 2.48:   ( Tue Apr  7 15:24:55 IDT 2009 )
------------------------------------------------

* Fixed bug https://rt.cpan.org/Ticket/Display.html?id=30402 :
- Trailing comments at the end of the file are not written.
- added a test (t/22trailing-comment-lines.t ) and a test file.

* Reverted the fix to bug #34067 ( "Multiline values returned as array
references in tied hash interface"), as it could potentially break a lot
of old code, and was not such a good idea, and was less preferable from
interface-sanity reasons.

* Documented the old API in regards to bug #34067 - see above.
2009-04-12 19:30:04 +00:00
he
de6364ae93 Update from version 2.46 to 2.47.
Upstream changes:

Version 2.47:   ( Wed Jan 21 11:32:24 IST 2009 )
------------------------------------------------

* Fixed bug https://rt.cpan.org/Ticket/Display.html?id=34067 :
  - Multiline values returned as array references in tied hash interface
  - This was as opposed to the documentation.
  - added t/21multiline-values-in-tied.t and fixed some older tests.

* Moved the eval'ed debugging code (_assert_invariants) to its own module,
  without the eval so the perl-5.6.2 will be happy. Now explicitly use'ing it
  from t/lib where appropriate. See for example:
  - http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3101788.html
2009-03-08 19:00:04 +00:00
he
44def6b04f Update from version 2.45 to 2.46.
Upstream changes:

Version 2.46:  ( Sat Jan 17 16:31:52 IST 2009 )
-----------------------------------------------

* Added regression tests for bug #1720915
- https://sourceforge.net/tracker/index.php?func=detail&aid=1720915&group_id=6926&atid=106926
- the bug seems to be fixed in trunk.

* Added a regression test for RT #36584
- https://rt.cpan.org/Ticket/Display.html?id=36584
- the bug seems to be fixed in trunk.

* Added a regression test for RT #36309
- https://rt.cpan.org/Ticket/Display.html?id=36309
- Testing for allowedcommentchars.
- the bug seems to be fixed in trunk.

* Converted t/03comments.t to Test::More and did other cleanups in preparation
  of solving a few bugs.

* Now GetSectionComment does the documented behaviour in scalar context and
  returns the string joined by newlines:
- https://rt.cpan.org/Ticket/Display.html?id=8612

* Now GetParameterComment returns the right thing in scalar context (joined
  by newlines). It was documented and tested.
- https://rt.cpan.org/Ticket/Display.html?id=8612
2009-01-19 23:46:21 +00:00
he
63dc0cf656 Update from version 2.38nb3 to 2.45.
Pkgsrc changes:
 o Add commented-out HOMEPAGE using search.cpan.org

Upstream changes:

Version 2.45:  ( Sat Dec 27 17:21:45 IST 2008 )
-----------------------------------------------

* Fixed bug #1230339:
- https://sourceforge.net/tracker/index.php?func=detail&aid=1230339&group_id=6926&atid=106926
- Can't store and retrive "\nEOT\n"
- Fixed by checking for the existence of the here-doc terminator in the
  string, and if so appending more characters.

* Fixed bug #1565180
- https://sourceforge.net/tracker/index.php?func=detail&aid=1565180&group_id=6926&atid=106926
- -nocase breaks -default.
- If a default-values section is specified, then -nocase did not look it up
  if it's not lowercase.

* Fixed bug #1831654
- https://sourceforge.net/tracker/index.php?func=detail&aid=1831654&group_id=6926&atid=106926
- multiline-values are tainted.
- Added a test as t/17untainted-multiline-values.t

Version 2.44:  ( Thu Dec 25 11:44:07 IST 2008 )
-----------------------------------------------

* Eliminated an assignment of $VERSION into itself to "get rid of warnings".
  Only caused warnings at Build.PL, and is unnecessary now that we
  "use vars".

Version 2.43:  ( Thu Dec  4 18:56:02 IST 2008 )
-----------------------------------------------

* Placed IniFiles.pm under lib/Config/IniFiles.pm.

* Added a Build.PL file for the distribution.

* Moved the ChangeLog to its own file - Changes.

* Made the README contain the useful information and nothing else
  - previously it was a copy of the module's entire POD.

* Added a regression test for:

https://sourceforge.net/tracker/index.php?func=detail&aid=778593&group_id=6926&atid=106926

When copying tied-hashes representing sections with multiline values as
keys, one used to get a reference instead of a copy. This was fixed in SVN
but not in CPAN.

* Added a test for opening an empty file, inspired by:

https://sourceforge.net/tracker/index.php?func=detail&aid=927111&group_id=6926&atid=106926

* Added a fix for this bug:

https://sourceforge.net/tracker/index.php?func=detail&aid=767913&group_id=6926&atid=106926

With a test that I wrote myself: in list context, ->val() returned the list
containing (undef()) if there was no such key. Now returning the empty
list which evaluates to false.

* Added a test for bug

    "[ 2030786 ] Brackets within values are treated as section headers"

It seems to be fixed on SVN.

Revision 2.40  2003/12/08 10:33:13  domq
Documentation tidyup

Revision 2.39  2003/12/06 07:54:21  wadg
[By Proxy for domq]
* Encapsulation of internal data structures even for use within the
  class: e.g. ReadConfig() and the TIEHASH interface operate using accessor
  methods on $self. Causes massive simplification of the code.

* TIEHASH interface made load-on-demand. Order of each() in TIEHASH
  same as configuration file's order (i.e. $self->Sections() and
  $self->Parameters()).

* push() and exists() methods

* -allowempty and -deltas parameters to new()

* support for loading config from a SCALAR reference. Unfortunately
  this also requires a small patch to IO::Scalar, whose author has yet
  to respond to my email

* ->{myparms} and ->{mysects} fields, supporting -delta=>1 option to
  WriteConfig()

* _assert_invariants() method (used only in t/01basic.t and
  t/02weird.t, maybe should be packaged otherwise)

Revision 2.39  2003/11/10 15:37:48  dom
* Encapsulation of internal data structures even for use within the
  class: e.g. ReadConfig() and the TIEHASH interface operate using accessor
  methods on $self. Causes massive simplification of the code.

* TIEHASH interface made load-on-demand. Order of each() in TIEHASH
  same as configuration file's order (i.e. $self->Sections() and
  $self->Parameters()).

* push() and exists() methods

* -allowempty and -deltas parameters to new()

* support for loading config from a SCALAR reference. Unfortunately
  this also requires a small patch to IO::Scalar, whose author has yet
  to respond to my email

* ->{myparms} and ->{mysects} fields, supporting -delta=>1 option to
  WriteConfig()

* _assert_invariants() method (used only in t/01basic.t and
  t/02weird.t, maybe should be packaged otherwise)
2009-01-04 17:45:43 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
martti
40caf56463 Removed the buildlink3.mk
I got few private comments that one should not use buildlink3.mk but the
standard DEPENDS statement because we do not link against libraries
in this case.
2005-11-07 11:16:32 +00:00
martti
49311fd737 Added buildlink3.mk for this package. 2005-11-05 06:16:55 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
he
63a52bc103 Update p5-Config-IniFiles from version 2.23 to 2.38.
Change log:

         Revision 2.38  2003/05/14 01:30:32  wadg
         - fixed RewriteConfig and ReadConfig to work with open file handles
         - added a test to ensure that blank files throw no warnings
         - added a test for error messages from malformed lines

         Revision 2.37  2003/01/31 23:00:35  wadg
         Updated t/07misc test 4 to remove warning

         Revision 2.36  2002/12/18 01:43:11  wadg
	 - Improved error message when an invalid line is encountered in
	   INI file
         - Fixed bug 649220; importing a non-file-based object into a file one
           no longer destroys the original object

         Revision 2.33  2002/11/12 14:48:16  grail
	 Addresses feature request - [ 403496 ] A simple change
	 will allow support on more platforms

         Revision 2.32  2002/11/12 14:15:44  grail
         Addresses bug - [225971] Respect Read-Only Permissions of File System

         Revision 2.31  2002/10/29 01:45:47  grail
         [ 540867 ] Add GetFileName method

         Revision 2.30  2002/10/15 18:51:07  wadg
         Patched to stopwarnings about utf8 usage.

         Revision 2.29  2002/08/15 21:33:58  wadg
         - Support for UTF Byte-Order-Mark (Raviraj Murdeshwar)
         - Made tests portable to Mac (p. kent)
         - Made file parsing portable for s390/EBCDIC, etc. (Adam Fischler)
         - Fixed import bug with Perl 5.8.0 (Marek Rouchal)
         - Fixed precedence bug in WriteConfig (Luc St Louis)
	 - Fixed broken group detection in SetGroupMember and
	   RemoveGroupMember (Kay Ro"pke)
         - Added line continuation character (/) support (Marek Rouchal)
         - Added configurable comment character support (Marek Rouchal)

         Revision 2.28  2002/07/04 03:56:05  grail
	 Changes for resolving bug 447532 - _section::FETCH should
	 return array ref for multiline values.

         Revision 2.27  2001/12/20 16:03:49  wadg
	 - Fixed bug introduced in new valid file check where ';'
	   comments in first lines were not considered valid
	 - Rearranged some tests to put them in the proper files
	   (case and -default)
         - Added more comment test to cover more cases
         - Fixed first two comments tests which weren't doing anything

         Revision 2.26  2001/12/19 22:20:50  wadg
         #481513 Recognize badly formatted files

         Revision 2.25  2001/12/12 20:44:48  wadg
         Update to bring CVS version in synch

         Revision 2.24  2001/12/07 10:03:06  wadg
         222444 Ability to load from arbitrary source
2004-12-05 16:56:37 +00:00
minskim
32ac325107 Bl3ify and enable pkgviews installation. 2004-04-25 04:07:45 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
seb
0d75c1efb1 Use buildlink2. Use perl5/module.mk. 2002-10-20 17:45:59 +00:00
mjl
982ca55901 Update to 2.23
Fixed bugs 482353,233372. Updated doc for new mgr.
	Bug fix: multiple blank lines counted as one
	Added checks for method parameters being defined
		fixed some regexes to make them stricter
	Fixed greps to make them consistent through the code (also a vain
		attempt to help my editors do syntax colouring properly)
	Added AddSection method, replaced chunk of ReadConfig with AddSection
	Added case handling stuff to more methods
	Added RemoveGroupMember
	Made variable names more consistent through OO methods
	Restored Unix EOLs
2001-12-19 10:43:20 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
mjl
fb6140d016 Initial import of p5-Config-IniFiles 2.19
Config::IniFiles provides a way to have readable configuration files
outside your Perl script. Configurations can be imported (inherited,
stacked,...), sections can be grouped, and settings can be accessed from
a tied hash.
2001-08-10 12:25:04 +00:00