pkgsrc-WIP-changes archive

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

import devel/libextractor as libextractor. 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



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Mon Feb 11 14:13:31 2019 +0000
Changeset:	faad79ff30b710388570b8ce6c87566e2b9c9acd

Modified Files:
	Makefile
Added Files:
	libextractor/DESCR
	libextractor/Makefile
	libextractor/PLIST
	libextractor/buildlink3.mk
	libextractor/distinfo

Log Message:
import devel/libextractor as libextractor.
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=faad79ff30b710388570b8ce6c87566e2b9c9acd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                   |  1 +
 libextractor/DESCR         |  6 ++++++
 libextractor/Makefile      | 39 +++++++++++++++++++++++++++++++++++++++
 libextractor/PLIST         | 44 ++++++++++++++++++++++++++++++++++++++++++++
 libextractor/buildlink3.mk | 16 ++++++++++++++++
 libextractor/distinfo      |  6 ++++++
 6 files changed, 112 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 549242f839..2a0dae86f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1816,6 +1816,7 @@ SUBDIR+=	libepoll-shim
 SUBDIR+=	libeps
 SUBDIR+=	libevhtp
 SUBDIR+=	libexact
+SUBDIR+=	libextractor
 SUBDIR+=	libffi-git
 SUBDIR+=	libfirm-git
 SUBDIR+=	libfolks
diff --git a/libextractor/DESCR b/libextractor/DESCR
new file mode 100644
index 0000000000..bedd70a93c
--- /dev/null
+++ b/libextractor/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/libextractor/Makefile b/libextractor/Makefile
new file mode 100644
index 0000000000..a59ba8976f
--- /dev/null
+++ b/libextractor/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+DISTNAME=	libextractor-1.8
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GNU:=libextractor/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://gnu.org/s/libextractor/
+COMMENT=	Metadata extractor for various file data types
+LICENSE=	gnu-gpl-v3
+
+MAKE_JOBS_SAFE=		no
+
+USE_LIBTOOL=		yes
+USE_LANGUAGES=		c c++03
+USE_PKGLOCALEDIR=	yes
+USE_TOOLS+=		gmake pkg-config
+GNU_CONFIGURE=		yes
+INFO_FILES=		yes
+PTHREAD_OPTS+=		require
+
+CONFLICTS=		csound-{bath,dev}-[0-9]*	# bin/extract
+
+# This package requires dlopen, so save on space by skipping non-PIC libs
+SHLIBTOOL_OVERRIDE=	# empty
+
+DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libgsf/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../multimedia/libmpeg2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libextractor/PLIST b/libextractor/PLIST
new file mode 100644
index 0000000000..8dd2f06e1b
--- /dev/null
+++ b/libextractor/PLIST
@@ -0,0 +1,44 @@
+@comment $NetBSD$
+bin/extract
+include/extractor.h
+info/libextractor.info
+lib/libextractor.la
+lib/libextractor/libextractor_archive.la
+lib/libextractor/libextractor_deb.la
+lib/libextractor/libextractor_dvi.la
+lib/libextractor/libextractor_it.la
+lib/libextractor/libextractor_man.la
+lib/libextractor/libextractor_mime.la
+lib/libextractor/libextractor_mpeg.la
+lib/libextractor/libextractor_nsf.la
+lib/libextractor/libextractor_nsfe.la
+lib/libextractor/libextractor_odf.la
+lib/libextractor/libextractor_ogg.la
+lib/libextractor/libextractor_ole2.la
+lib/libextractor/libextractor_pdf.la
+lib/libextractor/libextractor_png.la
+lib/libextractor/libextractor_ps.la
+lib/libextractor/libextractor_riff.la
+lib/libextractor/libextractor_s3m.la
+lib/libextractor/libextractor_sid.la
+lib/libextractor/libextractor_thumbnailgtk.la
+lib/libextractor/libextractor_wav.la
+lib/libextractor/libextractor_xm.la
+lib/libextractor/libextractor_zip.la
+lib/libextractor_common.la
+lib/pkgconfig/libextractor.pc
+man/man1/extract.1
+man/man3/libextractor.3
+share/locale/de/LC_MESSAGES/libextractor.mo
+share/locale/es/LC_MESSAGES/libextractor.mo
+share/locale/fr/LC_MESSAGES/libextractor.mo
+share/locale/ga/LC_MESSAGES/libextractor.mo
+share/locale/it/LC_MESSAGES/libextractor.mo
+share/locale/nl/LC_MESSAGES/libextractor.mo
+share/locale/pl/LC_MESSAGES/libextractor.mo
+share/locale/ro/LC_MESSAGES/libextractor.mo
+share/locale/rw/LC_MESSAGES/libextractor.mo
+share/locale/sr/LC_MESSAGES/libextractor.mo
+share/locale/sv/LC_MESSAGES/libextractor.mo
+share/locale/uk/LC_MESSAGES/libextractor.mo
+share/locale/vi/LC_MESSAGES/libextractor.mo
diff --git a/libextractor/buildlink3.mk b/libextractor/buildlink3.mk
new file mode 100644
index 0000000000..8696be9577
--- /dev/null
+++ b/libextractor/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libextractor
+
+.if !defined(LIBEXTRACTOR_BUILDLINK3_MK)
+LIBEXTRACTOR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libextractor+=	libextractor>=0.3.10
+BUILDLINK_ABI_DEPENDS.libextractor+=	libextractor>=0.5.20cnb25
+BUILDLINK_PKGSRCDIR.libextractor?=	../../devel/libextractor
+
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../devel/libgsf/buildlink3.mk"
+.endif # LIBEXTRACTOR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libextractor
diff --git a/libextractor/distinfo b/libextractor/distinfo
new file mode 100644
index 0000000000..93905a60b4
--- /dev/null
+++ b/libextractor/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libextractor-1.8.tar.gz) = 32877c1291bf7d15ad33d50e752d7f42a1e349d3
+RMD160 (libextractor-1.8.tar.gz) = d64462fe62702b2fe6935883ee55df9730967dc8
+SHA512 (libextractor-1.8.tar.gz) = 770a0f1711964657ffb570c0509996b0a109886bfa0652c3a9ca63aa645f495fe5919215cf17da68e8a81a09de54bc937b61c82ec03c9e3998149c780f93451a
+Size (libextractor-1.8.tar.gz) = 8315688 bytes


Home | Main Index | Thread Index | Old Index