1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Roman Bogorodskiy
00075c4911 Fix a segfault on playing an empty file.
Reported by:	Harald Muehlboeckk <home@clef.at>
2006-04-27 08:38:00 +00:00
Roman Bogorodskiy
ef47d1dfcc Fix wrong handling of mp3 files with id3 tag "genre" = 148
Approved by:	krion (mentor)
2005-03-10 16:08:02 +00:00
Simon L. B. Nielsen
2aeb55fbe5 Fix buffer overflow vulnerability.
VuXML:		http://vuxml.FreeBSD.org/3cc84400-6576-11d9-a9e7-0001020eed82.html
Obtained from:	Debian
Approved by:	maintainer, erwin (mentor)
2005-01-15 11:47:51 +00:00
Niels Heinen
44a09f2134 Fixed overflow (see VuXML) and bumped PORTREVISION.
http://www.vuxml.org/freebsd/877e918e-5362-11d9-96d4-00065be4b5b6.html

PR:		ports/75231
Submitted by:	maintainer
Approved by:	nectar (mentor)
2005-01-11 08:57:47 +00:00
Simon L. B. Nielsen
a302915bcf Add a patch for the most recent mpg123 buffer-overflow vulnerability
noted in VuXML.

PR:		ports/73091
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
VuXML:		http://vuxml.FreeBSD.org/20d16518-2477-11d9-814e-0001020eed82.html
Approved by:	clement
2004-11-05 21:47:13 +00:00
Edwin Groothuis
a6c8552742 [ maintainer ] audio/mpg123: fix build with DEFAULT_RECODE option and without esound or nas
Fix compilation error when building with DEFAULT_RECODE and
	without esound or nas support.

PR:		ports/71772
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru>
2004-10-12 01:11:19 +00:00
Tom Rhodes
3b3f21b362 Fix recently found bug.
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
Approved by:	portmgr (linimon)
2004-09-11 04:55:48 +00:00
Alexander Leidinger
f14a57d93b - Fix security issues (and remove forbidden):
* Patch for CAN-2003-0577 was obtained via OpenBSD from
    http://marc.theaimsgroup.com/?l=bugtraq&m=104274357314340&w=2
  * Patch for CAN-2003-0865 was obtained via OpenBSD from
    http://www.debian.org/security/2004/dsa-435

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2004-03-27 14:16:04 +00:00
Dag-Erling Smørgrav
26c43867c9 Correct slip-up in the previous version of patch-ai. 2004-01-31 17:46:01 +00:00
Dag-Erling Smørgrav
400f548755 Fix slow startup problem also in forced rate mode.
Submitted by:		Eugene Grosbein <eugen@grosbein.pp.ru>
2004-01-31 14:59:31 +00:00
Dag-Erling Smørgrav
3541598837 Fix the slow startup problem once and for all (hopefully). When not
using NAS or ESOUND, assume all formats and rates are supported.

PR:		ports/56597
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
2004-01-31 12:50:26 +00:00
Peter Wemm
50439ed0fa Port to amd64, and hopefully ia64 and sparc64 at the same time. 2003-10-23 02:25:27 +00:00
Dag-Erling Smørgrav
14839ee02d Take care not to dereference the return value from getenv(3) without first
checking that it's not NULL.

PR:		ports/45252
Submitted by:	Gleb Smirnoff <glebius@cell.sick.ru>
2003-02-10 11:01:42 +00:00
Dag-Erling Smørgrav
2d783a044c Remove an unwanted hunk that snuck in with the previous commit. 2002-07-08 09:57:13 +00:00
Dag-Erling Smørgrav
6e94c5f703 Use a patch rather than sed magic for the <sys/soundcard.h> issue. 2002-07-01 13:03:07 +00:00
Dag-Erling Smørgrav
a539bac0fb Fully back out the "defer-detect" patch.
Submitted by:	marius@alchemy.franken.de
PR:		33617, 35565
2002-07-01 12:56:35 +00:00
Dag-Erling Smørgrav
b2843ecb4b Don't use -ffast-math, it doesn't work in -CURRENT on Alpha. 2002-07-01 12:55:26 +00:00
Dag-Erling Smørgrav
2b4d7bc2c7 Remove patches that break audio capability detection, as well as a patch
that works around a driver bug that was fixed a year ago.

PR:		ports/33617, ports/32670, ports/35009, ports/32669
2002-02-18 09:34:12 +00:00
Maxim Sobolev
ce4a33661c Deffer detection of supported audio rates/formats until we really know what
rate we are looking for. This allows to avoid checking all possible
combinations and significantly improves mpg123 startup time. Bump PORTREVISION.

Submitted by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
2001-08-21 16:58:33 +00:00
Maxim Sobolev
f8c23b2823 Add ability to recode mp3 tags using iconv library. This is useful for koi8
users, because russian tags usually coded in cp1251 encoding.

Submitted by:	Alexey V. Neyman <avn@any.ru>
		Gleb Smirnoff <glebius@tak.estra.ru>
2001-04-10 12:19:08 +00:00
Maxim Sobolev
ea41b1bd6a Fix building on the plain old i386. 2001-03-10 10:10:03 +00:00
Kris Kennaway
fd5612a029 Switch the ASM selection code to use CPUTYPE on -current, and hence
automatically select the correct version without needing to set a
non-standard environment variable.
Use random() instead of rand() because I'm sick of getting the same songs
over and over in shuffle play.
Quell a format string warning with -Wnon-const-format
Bump PORTREVISION

Reviewed by:    maintainer timeout
2001-03-03 00:23:13 +00:00
Maxim Sobolev
fd77c885bf Add optional NAS support.
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2001-02-27 12:39:16 +00:00
Maxim Sobolev
40c0df04d2 Provide workaround for a bug in pcm driver introduced with format emulation
changes.

At present newpcm has sticky parameter settings, even when an
inappropriate value is set.  For instance, set format to alaw on h/w
that does not support alaw; newpcm interface state records format as
alaw, and subsequent unrelated state changes may fail, ie a rate change.

In mpg123 this can cause files to be played at lower quality
than available because of mis-diagnosis of available formats and
sample rates.  E.g downsamples everything to 11025Hz on this h/w as
12kHz probing breaks state and subsequent probes for higher supported
sampling rates.

PR:		25046
Submitted by:	Orion Hodson <oh@btinternet.com>
2001-02-13 15:00:44 +00:00
Jeremy Lea
712a219938 Implement WANT_ESOUND, USE_ESOUND. 2000-10-05 05:19:38 +00:00
Joseph Koshy
a0c2e00b0a An attempt at making mpg123 work on FreeBSD/Alpha.
Submitted by:		Christian Weisgerber <naddy@mips.inka.de>
2000-05-05 07:20:23 +00:00
Joseph Koshy
d6c9acec8d Correct patch breakage introduced in rev 1.15. 2000-01-31 09:38:53 +00:00
Brian Feldman
f92bd5bf9f Enable 3DNow! support. You can set OPT_ARCH=3dnow to get an mpg123 with
3DNow! support, rather than teh default i586 support.

Approved by:	jkoshy
2000-01-28 07:50:12 +00:00
Munechika SUMIKAWA
3c806f4c9f Support IPv6.
No response from: 	maintainer
2000-01-26 07:37:49 +00:00
Joseph Koshy
2eb46161f0 Remove a redundant `getenv()' call in this patch. 1999-11-11 06:53:38 +00:00
Joseph Koshy
f6dfb71844 Add ESound support to the mpg123 port.
Requested by:	"Daniel O'Connor" <doconnor@gsoft.com.au> and
		Oh Junseon <hollywar@holywar.net>
1999-11-11 05:41:25 +00:00
Joseph Koshy
d12e424cdd Add terminal handling support to mpg123.
PR:		ports/13139
Submitted by:	Alexander Langer <alex@cichlids.com>
1999-08-17 06:55:06 +00:00
Joseph Koshy
3bbea6905b Remove hardcoded xterm title bar manipulation.
Submitted by:	"Louis A. Mamakos" <louie@TransSys.COM>
1999-08-13 06:25:50 +00:00
Joseph Koshy
5a3d2e54f9 Upgrade to v0.59r. mpg123 can now be built tuned for your specific x86
architecture at port build time.

PR:		ports/12814
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
1999-08-05 05:53:54 +00:00
Joseph Koshy
3aa5224366 Respect PREFIX.
PR:		ports/12210
Submitted by:	Nick Hibma <nick.hibma@jrc.it>
1999-06-15 04:28:02 +00:00
Kris Kennaway
647b3bf7c8 Respect CC and CFLAGS
Reviewed by:	Maintainer
1999-03-24 13:23:30 +00:00
Joseph Koshy
2975b7bf34 Update to v0.59q.
Requested by: Vanilla GTK+ Shu <vanilla@ns.oneway.net> (and others)
1999-02-01 09:01:09 +00:00
Joseph Koshy
95f6a22a73 Move $(CFLAGS) to end of line to make user-overrides easier.
Requested by: 	Sheldon Hearn <axl@iafrica.com>
1999-01-19 03:48:58 +00:00
Joseph Koshy
729d475280 Honor CFLAGS.
PR:		ports/9488
Submitted by:	Sheldon Hearn <axl@iafrica.com>
Reviewed by:	jkoshy
1999-01-15 05:34:03 +00:00
Joseph Koshy
0d64b3f065 Add a call to fpsetmask(3) to suppress FP related signals {new 'patch-ab'}.
The patch can probably be made less specific to FreeBSD; to be visited
after the 2.2.8 ports freeze ...

Tweak work/.../Makefile to add -O2 to compiles.

Submitted by:	Matthew Hunt <mph@FreeBSD.ORG>
1998-11-25 01:30:34 +00:00
Joseph Koshy
906d75ba1c Allow the ELF case to also inherit CFLAGS. 1998-11-17 03:20:56 +00:00
Vanilla I. Shu
e40571f939 Add a define(READ_MMAP) from gqmpeg's README,
use system's CFLAG now.
1998-11-16 16:19:01 +00:00
Joseph Koshy
eefb5a8dd3 Unbreak for ELF builds, take over as maintainer. 1998-10-03 12:09:54 +00:00
Torsten Blum
5aac451066 upgrade to 0.59o 1998-05-28 13:34:35 +00:00