Raptor is the RDF Parser Toolkit for Redland and currently consists of two
parsers: RDF/XML and N-Triples. Raptor is designed to integrate closely
with Redland and also work entirely standalone, in which case it will use
simple internal routines to perform the functions.
*/*: Add CPE declaration to 617 ports
Improve CPE coverage in the ports tree to help security scanners match
software with vulnerability reports.
Matched project and download URLs from port metadata against references
in the official NVD CPE dictionary. Reviewed product identities to
distinguish applications from related components and similarly named
projects.
Sponsored by: OTTRIA
Differential Revision: https://reviews.freebsd.org/D61941
textproc/raptor2: Clean up port and backport upstream commit
- Backport upstream commit 4dbc4c1da2a033c497d84a1291c46f416a9cac51 to
fix build with newer versions of libxml2
- Use USES= localbase and remove unnecessary CONFIGURE_ARGS
- Move USE_LDCONFIG
PR: 273116
Approved by: kde (jhale)
Sponsored by: Blinkinblox
textproc/raptor2: update to 2.0.16
Changelog:
* Fixes CVE-2017-18926 and CVE-2020-25713
* Multiple Appveyor Windows and CMake build fixes by 0u812. (Note: the
resulting binaries and libraries were not tested on Windows)
* Turtle parser now reads input in chunks so can handle huge files.
Patch by Sebastian Freundt
* Added a serializer for the mKR language. Patch by Richard H.
McCullough.
* Rapper utility now counts triples using longs
* Several smaller portability fixes for OpenBSD and cross building
See the Raptor2 2.0.16 Release Notes [1] for the full details of the changes.
[1] https://librdf.org/raptor/RELEASE.html#rel2_0_16
textproc/raptor2: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
textproc/raptor2 failed to build with clang 15:
raptor_parse.c:260:66: error: incompatible pointer to integer conversion
returning 'void *' from a function with result type 'int' [-Wint-conversion]
RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
./raptor_internal.h:168:12: note: expanded from macro
'RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE'
return ret; \
^~~
This was fixed in https://github.com/dajobe/raptor/commit/567d4d1a by
upstream.
PR: 268336
Approved by: tcberner (maintainer)
MFH: 2022Q4
textproc/raptor2: Improve sort_r(3) API detection.
In a future version of FreeBSD, we would adopt POSIX qsort_r(3) API
which is different from traditional FreeBSD qsort_r(3).
PR: ports/231256
Exp-run by: antoine
Approved by: portmgr
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
Add fix for CVE-2020-25713 raptor2: malformed input file segfault
The sample file in the upstream bug report from the PR causes a
bus error in PORTREVISION 16, and returns an error (as I suppose
it should) now.
PR: 251102
Reported by: pi
Obtained from: upstream
- Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)
Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.
PR: 205120
With hat: portmgr
Sponsored by: Absolight
When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la. So everything that subsequently links with libA will also
link to these extra libraries. This causes too much overlinking.
This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging. However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.
So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
(Only the first 15 lines of the commit message are shown above )
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
(Only the first 15 lines of the commit message are shown above )
Remove unsupported configure argument (pkg-config is gathered from env vars)
While here:
- Add an explicit dependency on pkg-config
- Convert to USES=libtool
Update to 2.0.13.
The changes since the last release on 2013-11-24 are:
* Fix configure not finding curl when curl-config --cflags is empty
* Fixed reported issue 0000562
For full details of the changes see the Raptor 2.0.13 release notes at
http://librdf.org/raptor/RELEASE.html#rel2_0_13
Update to 2.0.8.
Catch up with a few changes introduced in the 2.0.7 release:
- Do not pass the --with-xml-parser to the configure script, as expat
support has been removed altogether.
- Depend on devel/icu as raptor has removed its internal Unicode NFC
checking code.
Upgrade yajl to 2.0.1 (mirror it my self as upstream still not provide real
static distfiles)
Take back maintainership
chase library bump
Feature safe: yes