Commit graph

127 commits

Author SHA1 Message Date
asau
3997aff2d7 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 23:47:56 +00:00
jperkin
506e4c7a0c Disable hand-rolled assembly on Solaris, the style is incompatible with
the Solaris linker, and -mimpure-text is no longer an option with GCC.

Fixes build on Solaris/GCC.
2012-09-26 12:55:11 +00:00
tron
9eecf6a5de Build with generic FPU code under Mac OS X Lion as the assembler code
causes linker errors.
2012-06-17 07:17:57 +00:00
shattered
6e50f8ab35 PR/44543 -- recognize any non-zero return value getaddrinfo() as error.
Bump revisions of all variant packages.

(wearing pointy hat)
2011-10-17 21:43:27 +00:00
shattered
6d94c3c41d PR/44543 -- recognize any non-zero return value getaddrinfo() as error.
Bump revisions of all variant packages.
2011-10-17 19:45:55 +00:00
hans
12de281290 Fix build on SunOS. 2011-09-14 15:44:23 +00:00
zafer
705b0bec3b Update mpg123 to 1.12.5
Changelog:
Version 1.12.5:
This release fixes a buffer overflow issue in the mpg123 frontend application when printing ID3 data in non-UTF-8 environments. It has been introduced in version 1.12.4 and Jakub Bogusz was so kind to bump my head into this. Please upgrade. Thanks.

Version 1.12.4:
This is a little bugfix release that improves printout of metadata (ID3) in UTF-8 terminals, fixing one of those distro bug reports that I am getting aware of late... Get it from the usual places.

Version 1.12.3:
The newest release fixes bug 3022850, a long-standing bug that managed to break http streaming with ICY metadata in a non-obvious manner. It's a little change with big impact... for those who listen to web radio, that is.

Version 1.12.2:
The fresh maintenance release mainly fixes bug 2996045, invalid memory access prompted by addresses in the upper half of the address space. I introduced that one with a bad alignment algorithm, sorry.

Along with this go several other fixes/improvements:

    * Various build and portability fixes (including making some exotic configure switches work (again)).
    * Add dump_seekindex example
    * Sync mpg123_clr (.NET wrapper) to 1.12 feature set, patch provided by Malcolm Boczek -- and actually include it in release tarball!
    * Rework mpg123.h logic for large file stuff a bit, clients can control it by defining MPG123_NO_LARGENAME or MPG123_LARGESUFFIX.
    * Include dumb wrappers to provide names suffixed with _64 on 64 bit machines and _32 on 32 bit machines, respectively, to help clients that insist on defining _FILE_OFFSET_BITS where it is not needed (or with a non-large value).
    * Tuning of the internal buffer code for feeder mode to minimize its performance impact (works in 4K blocks now).
    * Workaround for compiler bugs in Open64/PathScale/SunStudio (bug 3004396, suggestion by Doug Gilmore).
      Note that Sun Studio is still a tricky fellow, at least when it comes to our preprocessed assembly (generic build works). Also, x86-Open64 recently produced another segfault in layer3.c on my box... GNU and intel compilers are what one can use as something stable.
    * Make mpg123_getformat() return more error codes (like MPG123_NEED_MORE).
    * Fix handle I/O for clients with small file offset (32 bit when libmpg123 has 64 bit).
    * Fix 3DNow(Ext) standalone builds.
2010-10-26 21:06:44 +00:00
martin
91928656f3 Switch to oss default module on FreeBSD and DragonFly, per PR pkg/43279. 2010-05-12 13:16:15 +00:00
martin
a40df271ef Use ${LIBOSSAUDIO} from oss.buildlink3.mk. (PR pkg/43077) 2010-03-30 10:29:22 +00:00
martin
e9924ac83c Add oss specific build environment when defaulting to mpg123-oss output
module. Should fix PR pkg/43077.
2010-03-30 09:12:04 +00:00
tron
a63aac217d Set "PKG_DESTDIR_SUPPORT" before including "bsd.prefs.mk" so it actually
takes effect.
2010-03-14 17:03:04 +00:00
martin
0d004f9f7e Add pulse and arts output modules for mpg123. 2010-03-14 16:28:02 +00:00
schmonz
ebad97eaf5 Use Core Audio by default on OS X, tested on 10.6. From martin@. 2010-03-14 15:46:05 +00:00
martin
14862201d7 Add missing references (modules using this file) 2010-03-14 15:03:34 +00:00
martin
f1612f9184 Update mpg123 to version 1.10.1.
Thanks to <wiz> for answering lots of stupid questions and general guidance.
2010-03-14 14:19:19 +00:00
abs
355126fa37 +PKG_DESTDIR_SUPPORT 2009-05-19 22:16:08 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
martin
7a9fefbf73 Improve error handling for broken input streams and make the backend deal
with a dying frontend. Fixes PR pkg/39378.
2008-08-20 22:17:30 +00:00
tnn
f59935a965 Honour PKGMANDIR 2008-05-20 18:36:47 +00:00
tron
c4de5c631a Remove as maintainer. Blair Sadewitz is working on an update version
already.
2008-04-29 11:02:13 +00:00
gdt
d0c8606d10 replace no-commercial-use with actual license 2007-03-22 14:54:38 +00:00
drochner
3a085a2425 fix buffer overflow (CVE-2006-1655), from Debian
bump PKGREVISION
2006-05-26 12:16:13 +00:00
tron
0d43c2ae73 Provide a default for "TARGET_SUFFIX" variable to avoid "bmake" errors
on various platforms. This fixes PR pkg/32824 by Brandon Bergren.
2006-02-19 22:53:27 +00:00
tron
8756625bb7 Use correct target when building "mpg123" with NAS support under Linux. 2006-01-09 22:04:38 +00:00
tron
7fc53aea7b Correct default NetBSD build target. This should make "mpg123-nas" work
under NetBSD-amd64. Patch provided by Wojciech Puchar in PR pkg/30861.
2006-01-09 17:52:07 +00:00
tron
2c5d66057e I only maintain the "mpg123" package and not the "mpg123-nas" and
"mpg123-esound" flavours.
2006-01-09 17:43:58 +00:00
joerg
edd49bd8f1 Provide nsd target and fix esd target for FreeBSD and DragonFly. 2005-12-11 21:59:29 +00:00
heinz
7713e9c809 Converted packages audio/mpg123* to bsd.options.mk framework (Approved by tron).
No bump of PKGREVISION necessary.
2005-12-10 21:31:41 +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
joerg
1536724ec9 Use the FreeBSD rules for DragonFly as well. 2005-10-03 15:25:14 +00:00
joerg
5e00c79bb0 Correct usage of errno and ctype macros. The former is wrong when thread
linking is active, the latter can result in segfaults.

Bump revisions of mpg123, mpg123-esound and mpg123-nas for the ctype
bugfix.
2005-10-03 15:17:14 +00:00
rillig
412629b608 Removed trailing empty line. 2005-05-31 22:13:24 +00:00
rillig
dd3cb57f3f Removed an empty line. 2005-05-24 13:54:50 +00:00
wiz
c66a9cdd88 tron volunteered to maintain this package. 2005-04-18 13:20:40 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schwarz
5c4f14268e added support for "old" (i.e. pre-6.X) IRIX audio libraries.
(approved by recht and jschauma)
2005-03-28 19:52:21 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
minskim
b1946f84a6 Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 03:28:49 +00:00
wiz
fb4bca134a Add MPG123_ARM_FIXED64 to BUILD_DEFS.
Noted by Jesse Off in PR 29411.
2005-02-17 11:45:49 +00:00
wiz
9989d6c79e PKGREVISION bump for security fix (previous bump was >4 days ago. 2005-01-12 14:17:44 +00:00
drochner
acab60afcc another header valdation (CAN-2004-0991)
ride on recent PKGREVISION bump
2005-01-12 11:52:38 +00:00
drochner
80e13c626a Fix a buffer overflow by a malicous playlist (CAN-2004-1284).
Being here, fix a possible problem which was mentioned in conjunction
with CAN-2003-0577 - zero bitrate makes mpg123 assume a negative
frame size.
bump PKGREVISION
2005-01-07 14:52:13 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
tron
06f374e77e Add fix for security vulnerability reported in CAN-2004-0982 based on
patches from Debian's advisory DSA-578. Bump package revision because of
this fix.
2004-11-07 08:55:04 +00:00
salo
dd49dadba1 PKGREVISION++
- fix a buffer overflow:

  "A malicious formatted mp3/2 causes mpg123 to fail header checks,
   this may allow arbitrary code to be executed with the privilege
   of the user trying to play the mp3."

- patch from Debian but retain code style.
2004-09-07 22:14:09 +00:00
xtraeme
eae4ce120f bl3ify 2004-04-11 17:33:14 +00:00
grant
d520043fc9 add LICENSE=no-commercial-use. noted by Bruce J.A. Nourish in
PR pkg/24510.
2004-04-09 11:50:59 +00:00
danw
7dc2ba4d4c add a darwin-esd target 2004-03-17 04:49:48 +00:00
bouyer
f87d85d050 Needs to include compiler.mk before using PKGSRC_COMPILER. 2004-03-05 14:24:30 +00:00
tron
ab3123c4af Fix security vulnerability reported in CAN-2003-0865. Bump package revision
because of this fix.
2004-02-10 09:32:47 +00:00