Up to [cvs.NetBSD.org] / pkgsrc / devel / libextractor
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libextractor: update to 1.19.
Thu Jul 30 11:14:02 PM CEST 2026
Add new RTF and msoffice plugins.
Fix interesting bugs and performance issues in ancient unzip logic.
Fix offset calculation issue in WAV extractor.
Minor memory leaks fixed in ELF extractor.
Add support for OSSfuzz.
Releasing GNU libextractor 1.19. -CG
Tue Jul 28 11:14:02 PM CEST 2026
Detect secure execution mode properly when deciding whether to
honor LIBEXTRACTOR_PREFIX: use secure_getenv() where available,
and otherwise fall back to issetugid() or to comparing the real
against the effective UID/GID, instead of merely checking for
root (#11609).
Releasing GNU libextractor 1.18. -CG
Sun Jul 5 10:55:57 PM CEST 2026
Fixing various minor issues, including a missing 0 terminator
in ZIP handling under particular circumstances.
Thanks to Haitam Lazaar for reporting.
Releasing GNU libextractor 1.17. -CG
Tue Jun 30 05:13:30 PM CEST 2026
Fix tIME chunk parser in PNG plugin.
Fix mime-type detection in QT plugin.
Fix wrong constant used in REAL plugin.
Fix multi-chunked decompression in DEB plugin.
Fix memory leak in GIF plugin (on error path).
Fix error handling in W32 IPC logic.
Fix some bit-flags set incorrectly for gzip-compressed headers.
Security fix to not honor LIBEXTRACTOR_PREFIX in case we
are linked into SUID binary and are running as root (which
is anyway a bad idea, but we can be more conservative).
Thanks to Haitam Lazaar for reporting.
Releasing GNU libextractor 1.16. -CG
libextractor: update to 1.15.
Security fix release.
Fix pkglint.
Add test arget.
Mon Jun 29 07:58:39 PM CEST 2026
Fix potential 4 MB on-stack memory allocation that could
result in a stack-based buffer overflow in the OLE2 extractor.
Thanks to Haitam Lazaar for reporting.
Releasing GNU libextractor 1.15. -CG
Mon May 25 12:43:20 PM CEST 2026
Revive REAL plugin (fixes #2518).
Revive VLC plugin (fixes #2075).
Fix issues in ELF plugin (fixes #8514).
Fix issues in HTML plugin (fixes #8620).
Fix issues in EXIV2 plugin (fixes #8513, #9223).
Revive Applefile plugin (fixes #2517).
Revive MPEG plugin (fixes #2078/#2231).
Revive PDF plugin (fixes #2072).
Releasing GNU libextractor 1.14. -CG
libextractor: update to version 1.13
Changelog:
Tue Dec 5 05:18:44 PM JST 2023
Misc. fixes to build system and code to support more recent libexiv2.
* m4/gettext.m4: Upgrade to gettext-0.21.
* m4/host-cpu-c-abi.m4: New file, from gettext-0.21.
* m4/iconv.m4: Upgrade to gettext-0.21.
* m4/intlmacosx.m4: New file, from gettext-0.21.
* m4/lib-ld.m4: Upgrade to gettext-0.21.
* m4/lib-link.m4: Upgrade to gettext-0.21.
* m4/lib-prefix.m4: Upgrade to gettext-0.21.
* m4/nls.m4: Upgrade to gettext-0.21.
* m4/po.m4: Upgrade to gettext-0.21.
* m4/progtest.m4: Upgrade to gettext-0.21.
* m4/Makefile.am (EXTRA_DIST): Add the new files.
* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.21.
Releasing GNU libextractor 1.13. -CG
Sun 02 May 2021 10:30:33 PM CEST
Revive REAL plugin (fixes #2518). -CG
Sat 01 May 2021 10:57:55 PM CEST
Revive ELF plugin (fixes #2516). -CG
Tue 20 Apr 2021 06:33:46 PM CEST
Removing plugins depending on buggy, unstable libffmpeg library. -CG
libextractor: updated to 1.11 libextractor 1.11 Fix 6709: mask SIGPIPE to avoid test case failure with latest librpm. Remove plibc.h logic. Fix 6613: test failure with latest exiv2 library (harmless). Add hard timeout for zzuf test suite on systems where timeout command exists. libextractor 1.10 Fixed some code that called deprecated libav routines. Improved configure reporting.
libextractor: Add more dependencies (from ng0@ via wip) * include buildlink3 for: libarchive, flac, libsmf, exiv2, jpeg, tiff, libmp4v2, tidy * update PLIST
devel/libextractor: Update to 1.8 (by ng0 in wip) pkgsrc changes: * Update to version 1.8 * Change MASTER_SITE to use GNU_MIRROR * Change HOMEPAGE to use new gnu.org homepage * Add License (gpl3) * Remove libltdl convenience bl3 * Use gtk3 bl3 * Regenerate distinfo and PLIST * drop patches as they seem to be no longer necessary upstream changes: Sun Nov 18 11:19:28 CET 2018 Releasing GNU libextractor 1.8. -CG Sun Aug 5 22:37:28 CEST 2018 Fix missing 0-terminator on corrupted ZIP files reported by AdLab of Venustech (#5405). -CG Thu Jul 12 22:26:36 CEST 2018 Fix potential infinite loop in mpeg extractor. Fix build issue with FFmpeg 4.0 (Debian #888373). Releasing GNU libextractor 1.7. -CG Thu Jul 12 21:23:43 CEST 2018 Fixing length calculation error in unzip logic reported by ADLab of Venustech. -CG Wed Nov 1 09:06:07 CET 2017 Fixing NULL pointer issues in GIF, IT, NSFE, S3M, SID and XM plugins, caused (except for GIF) by signed/unsigned confusion. Found by Leon Zhao. -CG Tue Oct 17 08:49:31 CEST 2017 Fix integer overflows in DVI extractor found by Leon Zhao, which could cause SEGVs (read-only). -CG Sun Oct 15 19:36:41 CEST 2017 Fix potential file descriptor leak (on error handling path). Fix potential assign-after-free (on IPC error handling path). Make sure to only pass "unsigned char" to functions like isspace(). Avoid malloc(0) in DEB extractor under certain conditions. Properly initialize 'duration' in ffmpeg extractor. Fix potential buffer underflow read in DEB extractor. Avoid NPE in 'extract' if extracted value has 0 bytes. Fix various minor cosmetic issues. Releasing GNU libextractor 1.6. -CG Fri Oct 13 12:30:37 CEST 2017 Properly check read error in NSF plugin (from signedness confusion) found by Leon Zhao. -CG Fri Oct 13 12:27:38 CEST 2017 Protect against problematic integer offset in NSFE plugin found by Leon Zhao. -CG Fri Oct 13 12:15:35 CEST 2017 Protect against integer overflows in PNG plugin found by Leon Zhao. -CG Wed Oct 11 20:14:12 CEST 2017 Releasing GNU libextractor 1.5. -CG Mon Oct 9 15:33:01 CEST 2017 Fix NPE in FLAC plugin found by Leon Zhao. -CG Mon Oct 9 15:30:01 CEST 2017 Fix SIGFPE in WAV plugin found by Leon Zhao. -CG Sat Jun 10 14:12:44 CEST 2017 Make code compile against libexiv 0.26. Avoid use of deprecated libtidy header. Releasing GNU libextractor 1.4. -CG Sun Apr 30 01:50:01 CEST 2017 Updating French translation. -SA Wed Oct 12 14:54:03 CEST 2016 Moving from Subversion to Git. -CG Sat Mar 26 16:23:56 CET 2016 Adding PDF support using pdfinfo. Likely conflicts with Apparmor. -CG Mon Aug 31 19:19:17 CEST 2015 Adding apparmor support. -jmorvan/CG Sun Dec 22 23:11:28 CET 2013 Releasing GNU libextractor 1.3. -CG Sun Dec 22 17:47:38 CET 2013 Fixing issue where one plugin blocked indefinitely could prevent others from ever (successfully) seeking and thus extracting data. -CG Sat Dec 21 00:26:34 CET 2013 Fix check for Gtk3. -CG Added opus audio-preview plugin. -bratao Sat Oct 19 16:30:37 CEST 2013 Increase select() timeout, handle timeout case better. Releasing GNU libextractor 1.2. -CG Mon Sep 23 14:42:58 CEST 2013 Required external installation of libltdl. Check for presence of tidyNodeGetValue in libtidy. -CG Wed Aug 21 18:42:04 CEST 2013 Updated Dutch translation. -CG Sun Aug 18 21:28:58 CEST 2013 Fix build with libavcodec >= 54.25.0. -CG Sat Jun 29 21:28:39 CEST 2013 Releasing GNU libextractor 1.1. -CG Tue Jun 25 14:24:00 CEST 2013 Fixing bug where LE could hang due to failure to process all received data from the plugin. -CG Sun Dec 2 08:31:17 CET 2012 Added Polish translation. -CG Thu Oct 11 15:51:06 CEST 2012 Thu Oct 11 15:51:06 CEST 2012 Fixing test for ffmpeg to not accept ancient ffmpeg library. -CG Thu Oct 11 09:19:42 CEST 2012 Fixing archive-plugin crash on ".lnk" files (#2586). -bratao Tue Oct 9 22:28:50 CEST 2012 Fixing use-after-free in plugin IPC if plugin crashes while no seek is pending. -CG Sat Oct 6 15:24:20 CEST 2012 Fixing installation path discovery on Darwin (#2562). Releasing GNU libextractor 1.0.1. -CG Tue Sep 25 16:25:05 CEST 2012 Releasing GNU libextractor 1.0.0. -CG Thu Sep 6 09:52:13 CEST 2012 Updated Ukrainian translation. -CG Tue Mar 27 15:04:00 CEST 2012 Refactoring plugin API to allow seeks to arbitrary positions in the file (breaks existing plugins, so the current version will not work). -LRN Sun Jan 29 17:27:08 CET 2012 Documented recently discovered issues with pthreads and out-of-process plugin executions in the manual. -CG Tue Nov 29 12:55:40 CET 2011 Improved IPC code on W32 to use APIs correctly and make it work on NT 6.1. -LRN Mon Nov 28 17:16:16 CET 2011 Reduce false-positives in MP3 extractor file format detection. -LRN Mon Nov 28 17:15:59 CET 2011 Improved winsock2 detection. -LRN Mon Nov 28 12:17:42 CET 2011 Fixing compiler warnings, cleaning up ASF plugin. Finishing Matroska plugin. -CG Releasing libextractor 0.6.3. Fri Jul 22 21:46:32 CEST 2011 Added Ukrainian translation. -CG Sat Aug 14 23:01:59 CEST 2010 Various minor bugfixes (largely resource leaks on error paths). -CG Sun Jun 13 13:15:43 CEST 2010 Releasing libextractor 0.6.2. Sat Jun 12 22:32:32 CEST 2010 Fixing various bugs, including some that can cause crashes given malformed inputs. -CG Sat Jun 12 16:23:14 CEST 2010 Only pass 'unsigned char's to 'isspace' and similar functions. -CG Sun Mar 14 00:09:45 CET 2010 Releasing libextractor 0.6.1. Wed Jan 13 17:11:07 CET 2010 Releasing libextractor 0.6.0. Wed Jan 13 14:36:24 CET 2010 Adding support for extracting data from the end of files. -CG Sun Dec 13 16:53:35 CET 2009 Starting with major API breakage with the goal to fix all of the not-so-nice things that have accumulated since version 0.0.0. Added support for out-of-process execution from plugins. -CG Sat Dec 5 11:32:30 CET 2009 Adding extraction of Iptc data using exiv2. Sat Jul 4 23:05:22 CEST 2009 Fixed code to work with RPM 4.7. Releasing libextractor 0.5.23. Sat Apr 11 20:46:14 MDT 2009 Removed code from libexiv2, linking against it instead. Fri Feb 20 00:28:00 MST 2009 Releasing libextractor 0.5.22. Sun Feb 15 16:57:46 MST 2009 Upgraded to libtool 2.x (and the libltdl from that release). Sun Nov 2 20:19:02 MST 2008 Releasing libextractor 0.5.21. Tue Aug 12 04:40:49 EEST 2008 Added an S3M (Scream Tracker 3 Module) plugin. Tue Aug 12 03:55:01 EEST 2008 Added an XM (eXtended Module) plugin. Mon Aug 11 00:43:46 EEST 2008 Added an IT (Impulse Tracker) plugin. Tue Jul 22 02:51:33 MDT 2008 Changed RPM extractor to use librpm. Fixed crash in OpenOffice extractor. Fixed crash in tiff extractor.
Remove @dirrm entries from PLISTs
Update to version 0.5.20c (needed for gnunet). Changes since 0.5.18a: Fixed endianess issues in mp3 extractor. Fixed build issues (need to link C++ code explicitly against libstdc++ on BSD). Releasing libextractor 0.5.20c. Fixed concurrency issues in plugin (un-)loading by adding locking around libltdl functions. Added an FFmpeg-based thumbnail extractor plugin, initially supporting only bmp and png files. Fixed security issues in XPDF-based PDF extractor. Added track number and ISRC for FLAC/mp3/ogg files. Added a plugin for AppleSingle/AppleDouble files. Various minor code cleanups. Fixed security issues in XPDF-based PDF extractor. Added a FLAC (.flac) plugin. Added a Flash Video (.flv) plugin. Add support for some common iTunes tags to qtextractor. Disable libgsf logging (for corrupt files). Added escape (\n) handling to split extractor. Fixed problem with newer versions of libgsf. Fixed problem with automake 1.10 not setting MKDIR_P. Releasing libextractor 0.5.18a.
Fix PLIST. Bump revision.
Changes 0.5.18: This release adds support for NSFE files. Removal of duplicate keywords is now biased against keywords obtained from splitting. The build process should now work properly if no C++ compiler is found. The thumbnail-extractors should now load properly in all cases (resolved a symbol naming problem).
Changes 0.5.17: * Added an SID (C64 music file) plugin * Added an NSF (NES Sound Format) plugin
Fix PLIST, bump revision.
Changes 0.5.15: * Fixed minor problems in the PDF extractors * Improved PNG extractor
Pullup ticket 1664 - requested by salo
security update for libextractor
Revisions pulled up:
- pkgsrc/devel/libextractor/Makefile 1.16, 1.17
- pkgsrc/devel/libextractor/PLIST 1.6
- pkgsrc/devel/libextractor/distinfo 1.13, 1.14
- pkgsrc/devel/libextractor/patches/patch-ab 1.4, 1.5
- pkgsrc/devel/libextractor/patches/patch-ac removed
- pkgsrc/devel/libextractor/patches/patch-ad 1.6, 1.7
Module Name: pkgsrc
Committed By: adam
Date: Mon May 1 21:06:56 UTC 2006
Modified Files:
pkgsrc/devel/libextractor: Makefile PLIST distinfo
pkgsrc/devel/libextractor/patches: patch-ab patch-ad
Removed Files:
pkgsrc/devel/libextractor/patches: patch-ac
Log Message:
Changes 0.5.13:
Added dictionaries for Finnish, French, Gaelic and Swedish
(for printable extractors).
Word history extraction works (wordleaker).
exiv2 works.
Added Python binding.
libextractor becomes a GNU package.
Thumbnails work.
---
Module Name: pkgsrc
Committed By: adam
Date: Tue May 23 10:52:22 UTC 2006
Modified Files:
pkgsrc/devel/libextractor: Makefile distinfo
pkgsrc/devel/libextractor/patches: patch-ab patch-ad
Log Message:
Changes 0.5.14:
* Bug fixes
* MPEG2 support
Changes 0.5.13:
Added dictionaries for Finnish, French, Gaelic and Swedish
(for printable extractors).
Word history extraction works (wordleaker).
exiv2 works.
Added Python binding.
libextractor becomes a GNU package.
Thumbnails work.
Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
Pullup ticket 1225 - requested by Joerg Sonnenberger security update for libextractor Patch provided by the submitter. Module Name: pkgsrc Committed By: adam Date: Sun Mar 5 22:06:38 UTC 2006 Modified Files: pkgsrc/devel/libextractor: Makefile PLIST buildlink3.mk distinfo pkgsrc/devel/libextractor/patches: patch-ab patch-ac Removed Files: pkgsrc/devel/libextractor/patches: patch-aa patch-ad patch-ae Log Message: Changes 0.5.10: * Yet another round of XPDF-related security fixes. * Mis-detection of man pages as part of TAR archives fixed. * More Mime-types for the OLE2 extractor. Also ignore (harmless) libc errors in plugins when extracting. * More TAR improvements: keywords 'date' and 'format' are extracted. More checksums variants were added. Long filenames as produced by GNU and Schilling tar (possibly Solaris pax also) are extracted. Changes 0.5.9: * Made TAR extractor parsing more robust. * Fixing crash in MIME-extractor due to typo in the code. * Fixed security problems in PDF extractor --- Module Name: pkgsrc Committed By: joerg Date: Thu Mar 16 14:04:58 UTC 2006 Modified Files: pkgsrc/devel/libextractor: distinfo Added Files: pkgsrc/devel/libextractor/patches: patch-aa Log Message: Stupid code using zlib's prototype header. Patch away.
Changes 0.5.10: * Yet another round of XPDF-related security fixes. * Mis-detection of man pages as part of TAR archives fixed. * More Mime-types for the OLE2 extractor. Also ignore (harmless) libc errors in plugins when extracting. * More TAR improvements: keywords 'date' and 'format' are extracted. More checksums variants were added. Long filenames as produced by GNU and Schilling tar (possibly Solaris pax also) are extracted. Changes 0.5.9: * Made TAR extractor parsing more robust. * Fixing crash in MIME-extractor due to typo in the code. * Fixed security problems in PDF extractor
Changes 0.5.2: Bugfixes in exiv2 extractor fixing remaining issues. Changed plugins to not use filename but always only rely on mmapped memory. Extended API with function that allows running getKeywords on data in memory (instead of filename). Extended API with encode and decode functions for binary metadata. Changes 0.5.1: Preliminary integration of exiv2 support (not enabled by default due to bugs). Moved Python and Java bindings into separate packages. print keywords.
Pullup ticket 551 - requested by Lubomir Sedlacik
security update for libextractor
Revisions pulled up:
- pkgsrc/devel/libextractor/Makefile 1.7
- pkgsrc/devel/libextractor/PLIST 1.2
- pkgsrc/devel/libextractor/distinfo 1.5
- pkgsrc/devel/libextractor/buildlink3.mk 1.2
- pkgsrc/devel/libextractor/patches/patch-ac removed
- pkgsrc/devel/libextractor/patches/patch-ad removed
Module Name: pkgsrc
Committed By: tv
Date: Fri Jun 10 17:03:35 UTC 2005
Modified Files:
pkgsrc/devel/libextractor: Makefile PLIST distinfo
Removed Files:
pkgsrc/devel/libextractor/patches: patch-ac patch-ad
Log Message:
Update libextractor to 0.4.2.
Fixes (second half of) Secunia SA: http://secunia.com/advisories/15651/
(first half was fixed in 0.3.11nb1)
ChangeLog excerpts:
Thu Feb 24 00:32:44 EST 2005
Added extractor that extracts binary (!) thumbnails from
images using ImageMagick. Decoder function for the binary
string is in the thumbnailextractor.c source.
Sun Feb 20 16:36:17 EST 2005
Fixed similar problem in REAL extractor. Added support
for new Helix/Real format to REAL extractor.
Sun Feb 20 12:48:15 EST 2005
Fixed (rare) integer overflow bug in PNG extractor.
Fri Jan 21 15:23:43 PST 2005
Fixed security problem in PDF extractor.
Fri Dec 24 13:28:59 CET 2004
Added support for Unicode to the pdf extractor.
Thu Dec 23 18:14:10 CET 2004
Avoided exporting symbol OPEN (conflicts on OSX
with same symbol from GNUnet). Added conversion
to utf8 to various plugqins (see todo) and
added conversion from utf8 to current locale to
print keywords.
----
Module Name: pkgsrc
Committed By: salo
Date: Fri Jun 10 22:59:22 UTC 2005
Modified Files:
pkgsrc/devel/libextractor: buildlink3.mk
Log Message:
Set BUILDLINK_RECOMMENDED after recent security fixes. (hi tv!)
Update libextractor to 0.4.2. Fixes (second half of) Secunia SA: http://secunia.com/advisories/15651/ (first half was fixed in 0.3.11nb1) ChangeLog excerpts: Thu Feb 24 00:32:44 EST 2005 Added extractor that extracts binary (!) thumbnails from images using ImageMagick. Decoder function for the binary string is in the thumbnailextractor.c source. Sun Feb 20 16:36:17 EST 2005 Fixed similar problem in REAL extractor. Added support for new Helix/Real format to REAL extractor. Sun Feb 20 12:48:15 EST 2005 Fixed (rare) integer overflow bug in PNG extractor. Fri Jan 21 15:23:43 PST 2005 Fixed security problem in PDF extractor. Fri Dec 24 13:28:59 CET 2004 Added support for Unicode to the pdf extractor. Thu Dec 23 18:14:10 CET 2004 Avoided exporting symbol OPEN (conflicts on OSX with same symbol from GNUnet). Added conversion to utf8 to various plugqins (see todo) and added conversion from utf8 to current locale to print keywords.
libextractor-0.3.10, a metadata generator for arbitrary files: libextractor is a simple library for keyword extraction. libextractor does not support all formats but supports a simple plugging mechanism such that you can quickly add extractors for additional formats, even without recompiling libextractor. libextractor typically ships with a dozen helper-libraries that can be used to obtain keywords from common file-types.
Initial revision