Here is an update for XML::Simple. 

What's new upstream [0]:

- disable entity expansion when using XML::Parser (for improved
  security)
- call to XML::Parser constructor is now in its own method, so
  it can be overridden 

What's new in the port:

- the Makefile is more compliant to Makefile.template
- enable pod testing
- refresh depends

Testing: 

- 'make test' passes
- There are 14 direct consumers, and there are no new 
  failures [1] due to that update.

Comments and feedback are welcome!

Charlène.


[0] https://metacpan.org/source/GRANTM/XML-Simple-2.25/Changes
[1] http://0x0.st/zTL2.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-Simple/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile    11 May 2017 15:46:33 -0000      1.27
+++ Makefile    7 May 2019 20:51:15 -0000
@@ -4,15 +4,18 @@ COMMENT=      trivial perl API for reading/wr
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME =     XML-Simple-2.24
-CATEGORIES=    textproc
 
-RUN_DEPENDS=   textproc/p5-XML-Parser>=2 \
-               textproc/p5-XML-SAX>=0.16 \
-               textproc/p5-XML-SAX-Expat
-BUILD_DEPENDS= ${RUN_DEPENDS}
+DISTNAME=      XML-Simple-2.25
+
+CATEGORIES=    textproc
 
 # GPL/Artistic
 PERMIT_PACKAGE_CDROM=  Yes
+
+RUN_DEPENDS=   textproc/p5-XML-NamespaceSupport>=1.04 \
+               textproc/p5-XML-SAX-Expat \
+               textproc/p5-XML-SAX>=0.15
+
+MAKE_ENV+=     TEST_POD=Yes AUTHOR_TESTING=Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-Simple/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo    11 May 2017 15:46:33 -0000      1.11
+++ distinfo    7 May 2019 20:51:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (XML-Simple-2.24.tar.gz) = mhSBn9F8dfu5CtzsBEbOqzVsqwzK/4cPLhZZIF3CQk8=
-SIZE (XML-Simple-2.24.tar.gz) = 77412
+SHA256 (XML-Simple-2.25.tar.gz) = Ux/drr6iQWdD61xP36sCj1AhI9miIEBaQQDmj8SA2/g=
+SIZE (XML-Simple-2.25.tar.gz) = 78443

Reply via email to