pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-File-LibMagic Update 1.10 to 1.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1a597ba7d42
branches:  trunk
changeset: 648515:f1a597ba7d42
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Mar 15 14:08:05 2015 +0000

description:
Update 1.10 to 1.12
-------------------
1.12     2015-03-07
- The constructor now accepts named params. In addition to a magic_file param,
  it now accepts follow_symlinks and uncompress params. These do what you'd
  expect, tell the object to follow symlinks and/or uncompress files when
  getting info from them. The old single parameter constructor is still
  supported, but is no longer documented.

- The old APIs are now called "discouraged" rather than "deprecated" in the
  documentation. I have no plan to remove these APIs any time soon or to make
  them warn, so "deprecated" was too strong a word.

- Changed a test to hopefully skip rather than fail on OpenBSD systems.


1.11     2015-03-01
- The info_from_handle() method did not handle binary data correctly, which
  could lead to incorrect results.

- The info_from_*() methods returned a full mime type with encoding in the
  "mime_type" key rather than just the mime type alone.

- Allow File::LibMagic->new() to accept an array reference containing multiple
  magic file paths.

diffstat:

 devel/p5-File-LibMagic/Makefile |  4 ++--
 devel/p5-File-LibMagic/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r bf758b54a2c2 -r f1a597ba7d42 devel/p5-File-LibMagic/Makefile
--- a/devel/p5-File-LibMagic/Makefile   Sun Mar 15 14:05:21 2015 +0000
+++ b/devel/p5-File-LibMagic/Makefile   Sun Mar 15 14:08:05 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2015/02/07 16:01:07 mef Exp $
+# $NetBSD: Makefile,v 1.15 2015/03/15 14:08:05 mef Exp $
 
-DISTNAME=      File-LibMagic-1.10
+DISTNAME=      File-LibMagic-1.12
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=File/}
diff -r bf758b54a2c2 -r f1a597ba7d42 devel/p5-File-LibMagic/distinfo
--- a/devel/p5-File-LibMagic/distinfo   Sun Mar 15 14:05:21 2015 +0000
+++ b/devel/p5-File-LibMagic/distinfo   Sun Mar 15 14:08:05 2015 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2015/02/07 16:01:07 mef Exp $
+$NetBSD: distinfo,v 1.8 2015/03/15 14:08:05 mef Exp $
 
-SHA1 (File-LibMagic-1.10.tar.gz) = 85f714c2f44163b9c3256288bcba7c5f5a3ff923
-RMD160 (File-LibMagic-1.10.tar.gz) = 8dc47cf87649e79e1e3768ea0b5dd4810de66e7d
-Size (File-LibMagic-1.10.tar.gz) = 107487 bytes
+SHA1 (File-LibMagic-1.12.tar.gz) = d96a42a482d2685709f7ce4eaeb7280dfdc85311
+RMD160 (File-LibMagic-1.12.tar.gz) = 860c83af8f3eeecfd4ca70014e5143cc8c35c7b4
+Size (File-LibMagic-1.12.tar.gz) = 124210 bytes
 SHA1 (patch-aa) = a10a0f04dc7b074481017f2e60dfa7f2dcebf5aa



Home | Main Index | Thread Index | Old Index