XMLStarlet is a set of command line utilities (tools) which can be used to
transform, query, validate, and edit XML documents and files using simple set
of shell commands in similar way it is done for plain text files using UNIX
grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can be used by those who deal with many XML
documents on UNIX shell command prompt as well as for automated XML processing
with shell scripts.
===> The following configuration options are available for xmlstarlet-1.6.1_5:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888
textproc/xmlstarlet: fix build with clang 16
Clang 16 has a new error about incompatible function types, which shows
up when building textproc/xmlstarlet:
src/xml_elem.c:271:27: error: incompatible function pointer types passing
'void (void *, void *, xmlChar *)' (aka 'void (void *, void *, unsigned char
*)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, const
unsigned char *)') [-Wincompatible-function-pointer-types]
xmlHashScan(uniq, hash_key_put, &lines);
^~~~~~~~~~~~
/usr/local/include/libxml2/libxml/hash.h:213:22: note: passing argument to
parameter 'f' here
xmlHashScanner f,
^
In this case, the libxml2 callback function requires a const xmlChar
pointer, so fix the parameter in the definition.
PR: 271413
Approved by: portmgr (build fix blanket)
MFH: 2023Q2
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).
Co-authors: bapt, madpilot and bsam (me)
Update to 1.0.5. Changes include:
- use XSLT_PARSE_OPTIONS, else CDATA nodes can cause
corruption (Bug 3158482)
- fix typo in help message
- get rid of warnings in -ansi -pedantic mode
- required libxml2 version is 2.6.23
- usage strings use argv[0] as program name
- --help prints to stdout and exits with success
- double /'s under msys to avoid path conversion
Update to 1.0.4. Changes include:
- encode special XML characters in arguments (can now include quotes in xpath)
- non-zero exit code when input file is not found (Bug 3158488)
- ed with --pf/--ps options doesn't reformat output (Bug 3158490)
- exit() instead of segfault when trying to delete namespace nodes
- use TESTS and XFAIL_TESTS for testing, nicer output
Feature safe: yes
PR: ports/154072
- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors
actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick
download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED
Approved by: portmgr (pav)
Fix build when textproc/libxslt are compiled with GCRYPT
PR: 86632
Reported by: Adam VanderHook <acidos@bandwidth-junkies.net>
Approved by: pav (mentor)