Commit Graph

82 Commits

Author SHA1 Message Date
Christian Weisgerber 09f4feebf5 Explicitly link libvorbisfile with -lm.
The bundled libtool is broken and loses the -lm dependency_lib, but
it is also bad practice to rely on the dependencies of a dependency.

Submitted by:	tijl
2020-07-11 17:10:02 +00:00
Christian Weisgerber 02b776df38 Use the libtool script from devel/libtool.
The included libtool appears to be broken and loses the -lm dependency_lib,
so libvorbisenc and libvorbisfile did not get linked with -lm.

PR:		247799
2020-07-06 17:10:08 +00:00
Christian Weisgerber ca6b525e67 Update to 1.3.7 for an accumulation of small bug fixes. No interface changes.
The port already had the CVE fixes.
2020-07-05 17:43:47 +00:00
Christian Weisgerber 7b5e4f228f Pick fixes for two security vulnerabilities from upstream repository:
CVE-2017-14160: Fix bounds check on very low sample rates.
CVE-2018-10392: Sanity check number of channels in setup.

These were committed upstream two years ago, but there has been no
release since.

Reported by:	T.J. Townsend <tj@openbsd.org>
Security:	4200d5f5-b985-11ea-b08a-f8b156b6dcc8
2020-06-28 21:52:02 +00:00
Dmitry Marakasov c9ac89b0e1 - Add LICENSE
Approved by:	portmgr blanket
2018-05-08 09:03:59 +00:00
Jan Beich 7cf9ef46f9 audio/libvorbis: update to 1.3.6
Changes:	https://gitlab.xiph.org/xiph/vorbis/tags/v1.3.6
ABI:		https://abi-laboratory.pro/tracker/timeline/libvorbis/
Security:	7943794f-707f-4e31-9fea-3bbf1ddcedc1
Security:	64ee858e-e035-4bb4-9c77-2468963dddb8
2018-03-16 21:07:55 +00:00
Mathieu Arnold 37677d32e3 Switch some MASTER_SITES from http/ftp to https.
Also some cleanup of dead entries.

PR:		226203
Submitted by:	Sam H
Sponsored by:	Absolight
2018-02-27 13:03:48 +00:00
Tijl Coosemans 7ae3f48312 Remove libogg.so.8, libvorbis.so.4 and libvorbisfile.so.6 compatibility
links that were added in r374303 to prevent massive PORTREVISION bumps.
Bump dependent ports that have not been bumped since.
2016-12-08 15:38:24 +00:00
Mathieu Arnold 8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Christian Weisgerber 0b0cf9fc3e Use the new test framework in my ports, if applicable.
While here, also strip more libraries.
2015-10-13 20:07:54 +00:00
Christian Weisgerber 03b8d4a69d Update to 1.3.5. Changes in this release:
* Tolerate single-entry codebooks.
* Fix decoder crash with invalid input.
* Fix encoder crash with non-positive sample rates.
* Fix issues in vorbisfile's seek bisection code.
* Spec errata.
* Reject multiple headers of the same type.
2015-03-05 20:29:43 +00:00
Tijl Coosemans 60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Baptiste Daroussin a6abc3b420 Cleanup plist 2014-10-20 06:35:58 +00:00
Christian Weisgerber 5c1aa60680 Bump PORTREVISION after USES=libtool switch.
Submitted by:	tijl
2014-05-21 10:51:34 +00:00
Christian Weisgerber de6dafb35e Switch to USES=libtool:oldver. 2014-05-20 20:03:16 +00:00
Christian Weisgerber 62ef31db61 USE_BZIP2 -> USES+=tar:bzip2
USE_XZ    -> USES+=tar:xz
2014-03-13 16:11:14 +00:00
Christian Weisgerber 85d222b201 Maintenance update to 1.3.4. No user-visible changes. 2014-01-28 15:52:29 +00:00
Baptiste Daroussin 75d1dff36d Fix properties on pkg-plist 2014-01-21 22:55:59 +00:00
Christian Weisgerber 487b0e5355 Use MAKE_CMD to run regression tests. 2013-12-17 16:01:38 +00:00
Christian Weisgerber 317202fdf8 Make good use of stage for optionally packaging docs. 2013-09-24 16:15:33 +00:00
Baptiste Daroussin 110f3583b6 Remove NO_STAGE to ports natively stage ready shown by a FORCE_STAGE exp-run
Exp-run by:	bdrewery
2013-09-24 06:24:17 +00:00
Baptiste Daroussin 183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Christian Weisgerber 9c7a77ab1e For all my ports
* remove MAKE_JOBS_SAFE (default now)
* change USE_GMAKE=yes to USES=gmake
2013-08-01 20:22:27 +00:00
Christian Weisgerber e882a6e060 Minor cleanup. 2013-05-22 15:29:09 +00:00
Eitan Adler 334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00
Christian Weisgerber 6f90146232 Convert to OptionsNG and trim Makefile headers. 2012-12-18 21:29:04 +00:00
Christian Weisgerber bcd6fbdee4 libogg.so.8: Bump PORTREVISION for ports that depend on libogg,
directly or indirectly (via libvorbis, libtheora).
2012-07-19 20:15:37 +00:00
Christian Weisgerber de6ee71d53 Update to 1.3.3:
* additional proofing against invalid/malicious streams in decode
* fix a memory leak in vorbis_commentheader_out().
* updates, corrections and clarifications in the Vorbis I specification
  document
2012-02-05 20:03:20 +00:00
Ade Lovett 4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Christian Weisgerber 2de38fbe56 Update to 1.3.2: robustness fixes and documentation updates. 2010-11-25 17:01:05 +00:00
Christian Weisgerber 0df5f843f0 Update to 1.3.1. Improvements in this release:
* Optimized/coupled surround support for 5.1 encoding at 44.1/48kHz
* Added encoder control call to disable channel coupling
* Corrected an overflow bug in very low-bitrate encoding on 32 bit
  machines that caused inflated bitrates
* Numerous API hardening, leak and build fixes
* Correct bug in 22kHz compand setup that could cause a crash
* Correct bug in 16kHz codebooks that could cause unstable pure
  tones at high bitrates
2010-06-06 20:36:53 +00:00
Christian Weisgerber 5135446f5e Fix handling of malformed Vorbis streams that would crash libvorbis.
CVE-2008-1420 (improved), CVE-2009-3379

Obtained from:	xiph.org SVN
Security:	http://www.vuxml.org/freebsd/94edff42-d93d-11de-a434-0211d880e350.html
2009-11-24 21:32:39 +00:00
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Christian Weisgerber 214af4077e Bugfix update to 1.2.3. From the change log:
* correct a vorbisfile bug that prevented proper playback of
  Vorbis files where all audio in a logical stream is in a
  single page
* Additional decode setup hardening against malicious streams
2009-07-10 20:28:37 +00:00
Christian Weisgerber b3bd686a99 Update to 1.2.2. From the change log:
* define VENDOR and ENCODER strings
* fix regression from CVE-2008-1420; 1.0b1 files work again
* mark all tables as constant to reduce memory occupation
* additional decoder hardening against malicious streams
* substantially reduce amount of seeking performed by Vorbisfile
* Multichannel decode bugfix
* Improved robustness with corrupt streams.
* New ov_read_filter() vorbisfile call allows filtering decoded
  audio as floats before converting to integer samples.
* Fix an encoder bug with multichannel streams.
* Bare bones self test under 'make check'.
* Fix a problem encoding some streams between 14 and 28 kHz.
* Fix a numerical instability in the edge extrapolation filter.
* Specification correction.
2009-07-06 21:23:56 +00:00
Christian Weisgerber 045099965f allow parallel building 2009-03-24 14:47:42 +00:00
Christian Weisgerber 0917c4afb0 Install a few missing docs.
Submitted by:	Tim van der Molen (via OpenBSD)
2009-02-07 16:19:22 +00:00
Christian Weisgerber 09ea3216e5 * add code to prevent heap attacks by exploiting dim=bignum and
partition_codewords = partion_values
* correctly handle the nonsensical codebook.dim==0 case
* dd checks/rejection for absurdly huge codebooks

Obtained from:	Xiph SVN
Security:	http://www.vuxml.org/freebsd/f5a76faf-244c-11dd-b143-0211d880e350
2008-05-17 20:28:41 +00:00
Joe Marcus Clarke 4acc6fb2a4 Presenting GNOME 2.20.1 and all related works for FreeBSD. The official
GNOME 2.20 release notes can be found at
http://www.gnome.org/start/2.20/notes/en/ .  Beyond that, this update
includes the new GIMP 2.4 (courtesy of ahze).

The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME
hierarchy.  We are now using the more standard DATADIR of ${PREFIX}/share
rather than ${PREFIX}/share/gnome. The result is that fewer patches and
hacks are needed to port GNOME components to FreeBSD.  This will mean some
user changes may be required, so be sure to read /usr/ports/UPDATING for
more details.

This release and the things we accomplished in it would not have been
possible without mezz's crazy idea to collapse DATADIR, and his persistence
to make it happen successfully.  Ahze and pav also deserve thanks for
their work on porting modules and testing the whole ball of wax on
pointyhat (respectively).

The FreeBSD GNOME team would also like to thank our various testers and
contributors:

Yasuda Keisuke
Frank Jahnke
Pawel Worach
Brian Gruber
Franz Klammer
Yuri Pankov
Nick Barkas
Cristian KLEIN
Tony Maher
Scot Hetzel
Martin Matuska (mm)
Benoit Dejean
Martin Wilke (miwi)
(And anyone else I may have missed)

PRs fixed in this release:

111272, 113470, 115995, 116338
2007-10-24 23:37:25 +00:00
Martin Wilke adedd02ba3 - Add backup mirror
Submitted by:	pointyhat via pav
Approved by:	portmgr (pav)
2007-07-28 21:49:35 +00:00
Martin Wilke e4320d51ce - Update to 1.2.0
Approved by:	maintainer timeout (security, 1 day), simon (secteam)
Security:	http://www.vuxml.org/freebsd/b73335a5-3bbe-11dc-8e83-0016179b2dd5.html
2007-07-28 12:26:26 +00:00
Jeremy Messenger 5a8f6b511a Back out to fix the patch, my mistake for test in wrong branch (tested in MC)
and I always thought that gnomehack is post-patch, which isn't and is in
pre-patch.
2007-05-01 18:36:29 +00:00
Jeremy Messenger 98786cd777 Fix two patches to create against to the actually orignal file. No function
change.

Approved by:	naddy (maintainer)
2007-04-30 17:47:42 +00:00
Kris Kennaway ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Christian Weisgerber d570fb971e Maintenance update to libogg 1.1.3 and libvorbis 1.1.2.
No user-visible changes.
2005-12-03 22:13:25 +00:00
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Christian Weisgerber 7541c4c5e5 Update to 1.1.1. Minor bug and documentation fixes. 2005-07-04 14:48:39 +00:00
Christian Weisgerber 67fa53ac77 Remove obsolete and ineffectual libtool hack. 2004-12-15 14:59:18 +00:00