Commit graph

78 commits

Author SHA1 Message Date
nia
e89be95ceb faad2: Update to 2.9.2
2.9.2:
	[ Michał Janiszewski ]
	* Only use x86-assembly when explicitly on x86
	* Use unsigned integers correctly
	* Initialize pointers that might otherwise not be

	[ Fabian Greffrath ]
	* update README esp. WRT directory structure

	[ Rosen Penev ]
	* fix compilation without SBR/PS_DEC (#48)
	* fix compilation with LC_ONLY_DECODER (#47)

	[ Fabian Greffrath ]
	* fix "inline function 'cfftf1' declared but never defined" compiler warning
	* fix some inconsistencies in the frontend output
	* mp4read_open: add check for failed frame buffer allocation
	* stszin: add check for allocation error and integer overflow
	* add a pkg-config file

	[ Stefan Pöschel ]
	* frontend: address compile warning + add missing LF (#50)

	[ François Cartegnie ]
	* library name is faad (#52)
	* Unbreak PS audio (#51)
2020-05-08 13:03:20 +00:00
nia
8f73255755 faad2: Update to 2.9.1
[ Fabian Greffrath ]

    Include stdio.h in libfaad/ps_dec.c for stderr (Michael Fink)
    Fix Tille -> Title typo in frontend/mp4read.c (Alexander Thomas)
2019-11-08 11:10:01 +00:00
nia
8018788231 faad2: xmms-faad is gone 2019-09-17 10:39:08 +00:00
nia
1292c478be faad2: Update to 2.9.0
Changes:

[ Krzysztof Nikiel ]

    Build system fixes and code clean-up

[ LoRd_MuldeR ]

    Fix compiler warnings and code indentation
    Fix compilation with GCC <= 4.7.3
    MSVC solution file clean-up

[ Cameron Cawley ]

    Fix compilation with GCC 4.7.4
    Fix compilation with MinGW

[ Michael Fink ]

    MSVC 2017 project file update

[ Hugo Lefeuvre ]

    Fix crash with unsupported MP4 files (NULL pointer dereference,
    division by zero)
    CVE-2019-6956: ps_dec: sanitize iid_index before mixing
    CVE-2018-20196: sbr_fbt: sanitize sbr->M (should not exceed MAX_M)
    CVE-2018-20199, CVE-2018-20360: specrec: better handle unexpected
    parametric stereo (PS)
    CVE-2018-20362, CVE-2018-19504, CVE-2018-20195, CVE-2018-20198,
    CVE-2018-20358: syntax.c: check for syntax element inconsistencies
    CVE-2018-20194, CVE-2018-19503, CVE-2018-20197, CVE-2018-20357,
    CVE-2018-20359, CVE-2018-20361: sbr_hfadj: sanitize frequency band
    borders

[ Hugo Beauzée-Luyssen ]

    CVE-2019-15296, CVE-2018-19502: Fix a couple buffer overflows

[ Filip Roséen ]

    Prevent crash on SCE followed by CPE

[ Gianfranco Costamagna ]

    Fix linking with GCC 9 and "-Wl,--as-needed"

[ Fabian Greffrath ]

    Enable the frontend to be built reproducibly
2019-09-14 13:34:06 +00:00
nia
ec4337e98f faad2: Backport some security fixes from upstream.
CVE-2018-20194:
6b4a7cde30.patch

CVE-2018-20362:
466b01d504.patch

Misc buffer overflows:
942c3e0aee.patch
2019-07-11 09:03:35 +00:00
nia
0c0f72aabb faad2: GCC_REQD+= 4.8 2019-06-17 10:48:32 +00:00
nia
dcbb7e07b6 faad2: Update to 2.8.8
* Add new files to Makefile.am
* Include "utils" in source package
* Some improvements to "unicode_support.h" + include this file on ALL
platforms.
* Fixed possible buffer overflow.
2019-06-05 06:07:27 +00:00
adam
d8b87595f0 faad2: updated to 2.8.6
2.8.6:
2.8.5:
        - another package fix
2.8.4:
        - minor fix to released packages
2.8.3
        - better autotools support
2.8.2
        - PNS bug fixed
        - New MP4 input module
        - NeAACDecGetVersion:
                new api function to get version and copyright strings
2017-12-01 11:17:51 +00:00
adam
f233efe2ef 2.8.1:
- seeking support for MP4 files
2.8.0:
- patches and fixed bugs
2017-07-23 16:09:17 +00:00
agc
b734eb2ebf Add SHA512 digests for distfiles for audio category
Problems found with existing distfiles:
	/pub/pkgsrc/distfiles/amp-0.7.6.tgz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/kid3-3.3.0.tar.gz
	/pub/pkgsrc/distfiles/libdca-0.0.5.tar.bz2
	/pub/pkgsrc/distfiles/mp3to.gz
	/pub/pkgsrc/distfiles/squeezeboxserver-7.5.1-noCPAN.tgz
No changes made to these file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:12:23 +00:00
jperkin
6e475c3c5b Remove binary restrictions. Since version 2.6 the licensing issues were
clarified by upstream and at least Debian and FreeBSD have provided binary
distributions since then.

Bump PKGREVISION.
2013-08-30 11:01:06 +00:00
wiz
e18b0dc315 Fix build with automake-1.13. 2013-01-21 16:02:34 +00:00
asau
2fead99d50 "user-destdir" is default these days 2012-09-11 23:59:21 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
wiz
662a258e1b Remove workaround for compiler bug in gcc2 on sparc64. 2010-01-16 17:57:36 +00:00
drochner
03ba320e21 make the installed include files more consistent: don't rely
on HAVE_STDINT_H defined by the client app, don't install
mp4ffint.h which is purely internal,
fix build of the xmms plugin,
bump PKGREVISION
2009-08-11 11:16:37 +00:00
tnn
054be6a058 fix a typo 2009-08-10 00:05:35 +00:00
tnn
a712a8750b - Update to faad2-2.7
- set LICENSE to gnu-gpl-v2
- install faad(1) manpage

2009-02-02 - Version 2.7
* DAB+ support
* Use public headers internally to prevent duplicate declarations
* Explicitly typedef all types as signed
* Made sure MAIN prediction can't be started after the first frame
* Lot's of compilation issues solved
* Bugfix in SBR envelope border calculation
2009-08-10 00:01:55 +00:00
tnn
082a4d2df5 patch-at: fix build on Linux (uint32_t was not in scope) 2009-08-08 04:24:20 +00:00
tonio
fb4dc7a08c Let audio/faad2 install libmp4ff.
It is used by musicpd to play m4a files.

Fixes PR/40584 applying a very similar patch.
2009-07-13 12:55:54 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
tonnerre
f7e0bcaaaf Fix for faad2 decodeMP4file() heap overflow. If the sample count looks
insane, it may as well be insane. Also bump PKGREVISION.
2008-09-24 22:25:14 +00:00
sborrill
aa4dea3882 Bump API and ABI depends versions as API changed between 2.0 and 2.6 meaning
that things like vlc will not compile
2008-02-25 16:12:34 +00:00
joerg
453a763bab Fix pthread linkage. 2007-12-29 19:56:04 +00:00
drochner
fe3f25053e update to 2.6.1
This adds SBR/PS support and bugfixes.
The licensing problems which appeared in 2.5 were resolved in 2.6.1.
pkgsrc notes:
-no dependency on libmp4v2 anymore
-added a patch to the "faad" standalone player to restore previous
 behaviour: The -w option writes .wav format (with riff header)
 to stdout.

Thanks to Raymond Meyer for help and testing.
2007-12-09 10:55:30 +00:00
heinz
ed24cd8faf The package supports installation to DESTDIR. 2007-07-01 15:47:54 +00:00
drochner
6f91bbcf2a -build against libmp4v2 instead of the full mpeg4ip
-don't build the plugin for the mpeg4ip player
-kill SDL dependency
-bump PKGREVISION
2007-02-09 20:10:50 +00:00
wiz
7c913c66ee Merge in patches from xmms-faad. 2006-08-06 10:38:42 +00:00
wiz
ef98051bf9 Fix build with m4-1.4.5. Use newer automake package instead of 1.4 one.
(Build dependency change only, so no PKGREVISION bump.)
2006-07-27 17:27:29 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
wiz
ad782541d0 Bump PKGREVISION and BUILDLINK_ABI_DEPENDS (where applicable)
for SDL shlib changes.
2006-06-12 16:28:05 +00:00
tron
c25560b422 Fix package list issue (which CHECK_FILES=yes doesn't catch reliably
for some reason) and bump package revision again.
2006-05-30 20:53:48 +00:00
tron
8de900330e Disable bundled and outdated "mp4v2" library. Depend on newer version
from "mpeg4ip" package instead which resolves the conflict between
the two packages. Patch taken from PLD linux.
Bump package revision because of thix fix.
2006-05-30 20:28:34 +00:00
tron
5d42af6261 Disable bundled and outdated "mp4v2" library. Depend on newer version
from "mpeg4ip" package instead which resolves the conflict between
the two packages. Patch taken from PLD linux.
Bump package revision because of thix fix.
2006-05-30 20:23:32 +00:00
adrianp
dcb34d2ace faad2 and mpeg4ip conflict on lib/libmp4v2.la so add the appropriate
CONFLICTS statement.
2006-05-19 12:21:52 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
bd2df73ecd Write newline character to stderr instead of stdout, to avoid
polluting the output stream when -w is used. From Parag Patel in PR 32268.
While here, add missing directory to PLIST. Bump PKGREVISION.
2005-12-08 10:06:32 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
ben
2923403c64 This change addresses PR#31443
Copy config.h to faad2-config.h.  Modify systems.h to refer to
faad2-config.h, and install faad2-config.h.  This situation is
discussed here:
http://lists.gnu.org/archive/html/automake/2000-10/msg00114.html

Remove the undef of PACKAGE and VERSION, and add a 3rd non-empty
argument to AM_INIT_AUTOMAKE.  This situation is discussed here:
http://lists.gnu.org/archive/html/automake/2000-10/msg00108.html

Modify the condition from HAVE_GLIB_H to __G_LIB_H__, which was
easier because faad2 doesn't depend on glib.

Bump pkgrevision.
2005-10-09 03:23:11 +00:00
ben
4db3e9a2b4 This change addresses PR#31443
Install header files in include/faad2

Install include/faad2/config.h

Add include/faad2 to search path in buildlink3.mk

Since software depending on mp4.h won't be able to build without this
change, bump PKGREVISION and update BUILDLINK_DEPENDS.faad2 in
buildlink3.mk
2005-10-06 13:13:28 +00:00
tonio
33140c0757 add simple patches for gcc-4 support
approved by cube@
2005-08-05 13:01:57 +00:00
grant
fa3c7b2267 just use CPPFLAGS.SunOS instead of OPSYS conditional. 2005-07-01 06:35:15 +00:00
grant
37d810b40c fix typo in CPPFLAGS, allowing this to build on Solaris. 2005-07-01 00:22:13 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00