Commit Graph

55 Commits

Author SHA1 Message Date
robert
41eb7afc1f Add the arm to NOT_FOR_ARCHS because mpg123 is quiet unusable
without an FPU. People should use mpg321 instead, or mplayer with the
mad flavor.
2005-08-04 22:04:23 +00:00
naddy
199c30b4ac SIZE 2005-01-05 15:47:05 +00:00
espie
48252a0ad4 WANTLIB markers 2004-11-21 17:51:44 +00:00
brad
33573e959c it's stupid to download a separate diff (l3.diff.gz) to fix mpg123 on alpha
and then modify most of it locally to work on other 64-bit archs so just
merge this tiny diff into patch-layer3_c
2004-09-15 20:38:07 +00:00
brad
6566b089c6 sync 2004-09-15 20:35:59 +00:00
pvalchev
e0cda5f23d fix buffer overflow, can allow arbitrary code execution by playing an mp3
with specially crafted header; "Davide Del Vecchio" <dante@alighieri.org>
2004-09-07 21:23:24 +00:00
espie
79fe9efdfd switch to new style PLISTS, using @lib, ditching DYNLIBDIR.
Replace two INSTALL scripts with @sample.
Reorder plists to match auto-generation, add comments for files that
don't get installed.
2004-08-06 14:37:27 +00:00
jolan
57f4c720db remove hppa gcc2 optimization workaround 2004-06-19 23:37:41 +00:00
jolan
17ca57b314 - sync w/update-patches
- respect CFLAGS
- let this at least compile on hppa
2004-04-20 01:45:30 +00:00
pvalchev
23f0243b5f fix amd64, tested by matthieu 2004-03-07 19:54:10 +00:00
naddy
2276d3b230 remove WWW lines 2003-12-15 21:42:08 +00:00
margarida
c0be2e5be4 Security fix:
A problem in the handling of some types of remote files has been reported
in mpg123. Because of this, it may be possible for a remote attacker to
execute arbitrary code with the privileges of the mpg123 user.

ok naddy@ jolan@
2003-11-13 20:51:50 +00:00
jason
febca793e1 things treated as *'s to long should -be- long's lest you raise the ire of
a processor where sizeof(long) != sizeof(int) and strict alignment.
commitski pval.
2003-07-22 03:24:42 +00:00
pvalchev
c779d817a1 sparc64 is 64bit too, let it use code meant for alpha as well (int vs long)
fixes playing issues; found by jason@
2003-07-21 20:24:42 +00:00
brad
0c2046831a A vulnerability in the way mpg123 handles MP3 files with a bitrate
of zero may allow attackers to execute arbitrary code using a
specially crafted MP3 file.

http://marc.theaimsgroup.com/?l=bugtraq&m=104274357314340&w=2
2003-07-17 23:58:33 +00:00
pvalchev
e68304f74e put Espie's license here by his request 2003-06-12 22:25:59 +00:00
pvalchev
844ede5909 remove license term 3 for espie, ports tree appears clean of terms 3/4 now 2003-06-12 22:15:26 +00:00
tedu
23aa20e44a turn on pentium optimization. should still work for all procs. ok naddy@ 2003-05-27 19:15:14 +00:00
naddy
e05e397ffc No regression tests available. 2002-10-24 22:20:03 +00:00
pvalchev
6ec2feaefa not for sparc64 2002-03-29 23:29:55 +00:00
espie
4eeb7add33 bump NEED_VERSION for distinfo 2002-03-21 20:35:40 +00:00
espie
5b37289c23 md5->distinfo 2002-03-21 19:59:18 +00:00
heko
601099c96c deraadt@ on icb: license is not acceptable for CDROM
Remove ho@ from maintainer per his request
2001-10-24 21:32:12 +00:00
naddy
7b081f4b61 oops, add esd dependency for respective flavor 2001-05-22 11:18:26 +00:00
naddy
4fd45d6e59 - cleanup, better CFLAGS/COPTS handling
- add esd flavor
- don't clobber xterm title
no response from maintainer; ok espie@
2001-04-24 00:48:12 +00:00
ho
7ddd30678f If we fail to open the audio device, print a warning about it.
Reported by <rd@thrush.com>.
2001-04-15 15:50:24 +00:00
obecian
1eabde0bc3 + bump NEED_VERSION, add COMMENT to Makefile
+ rm pkg/COMMENT
+ rm deprecated LICENSE_TYPE, add NEED_VERSION,
  spaces->tabs (general update/cleanup, some ports are OLD)
2001-04-13 03:23:59 +00:00
espie
aa4a7733cc Complete a few MAINTAINER names. 2000-10-22 14:02:46 +00:00
brad
cfadb7f488 - use 07/13/2000 KAME patch
- use better filenames for patches
- respect CFLAGS
2000-08-02 10:33:24 +00:00
espie
0f542db4e8 Don't segfault if TERM is not defined... 2000-06-26 23:04:50 +00:00
espie
ddffff5d8b Fix problems on alpha,
from Christian Weisgerber <naddy@unix-ag.uni-kl.de>
2000-06-11 17:26:25 +00:00
espie
39c49b2f64 Various minor clean-ups:
- use new CONFIGURE_STYLE
- use PLIST/DESCR substitution to add HOMEPAGE and various fragments
- add systematic @comment $OpenBSD$ to PLIST
- remove FAKE=Yes
2000-06-10 17:39:11 +00:00
espie
0fd05ef2ce Move all NEED_VERSION right after CATEGORY 2000-03-24 22:11:32 +00:00
brad
f00630efeb - use 02/17/2000 kame patch
- respect CC
- remove kludge and enable IPv6 support by default
2000-03-20 06:51:48 +00:00
espie
56e58566fa Fake 2000-03-11 01:09:01 +00:00
ho
4bae087db7 Add the COPYING file to install & package. Fix licensing info. 2000-03-03 02:21:54 +00:00
ho
9dbb7627c4 Use DISTNAME/PATCHFILES obviously. 2000-02-23 17:28:06 +00:00
ho
d60d495fb4 IPv6 patch. (from itojun@) 2000-02-18 20:18:00 +00:00
ho
eba8ef7dce term_restore() should do nothing. (from espie@) 2000-01-12 17:58:08 +00:00
ho
c47169adaa Upgrade to mpg123-0.59r
Tested by niklas@
2000-01-12 15:47:13 +00:00
espie
8332044369 Restore TERM capability.
Code scavenged from tracker, since it's known to work...
removed all special cases, since it's needed only for OpenBSD.
Tweaks after some ho@'s comments.
1999-12-01 16:22:01 +00:00
ho
fbcb05ab40 New maintainer. (provos@ ok) 1999-12-01 15:26:59 +00:00
turan
05530dce8d TERM_CONTROL does not work on openbsd. deraadt@ 1999-10-30 07:55:15 +00:00
brad
1e9933835c new dist site and new homepage 1999-09-07 14:55:21 +00:00
brad
0a185ecc87 - style
- enable terminal handling support
1999-08-17 15:51:21 +00:00
jason
2f6939a18d allow commandline selection of output device; file & patch forwarded to author. 1999-06-07 22:28:13 +00:00
espie
c3ac4733dc Crisper comments, remove unnecessary part, don't begin with an uppercase
unless semantically significant, remove trailing dot.
1999-04-20 01:09:51 +00:00
espie
caaef9a183 Erm... forgot the actual patch... why does cvs tell me about missing files
after the commit ? so that I can either get careless, or waste
time/bandwidth by running each commit twice...

Anyways, files/audio_openbsd.c is a `caching' audio system.
It's much smarter than the old one: uses get encoding to map the reasonable
encodings, does not even cross-check alaw/ulaw when 8 bit/16 bit work okay.

It does keep audio opened all the way instead of closing/reopening all the
time.

and it avoids gratuitous assumptions about PC broken hardware, such as not
having support for 8 bits signed and other brain-damage.

Missing part: it won't convert endianess on the fly when the only `right'
modes have the wrong endianess... this might occur with e.g., a sb16 on
an alpha.
1999-03-23 21:38:26 +00:00
espie
d43acf86bf Reworked from the ground up.
Basically, mpg123 assumptions about audio is broken. It assumes that
audio ioctl that change mode are instantaneous, which they are not, most
often, so that with the old model, start-up was 80 ioctl, which amounts to
~10 seconds with wss.

Added lazyness to basic audio.c so that it won't try to determine whether
we can play @ 8000Hz mono when 44100Hz stereo is what we want, and it
works...
1999-03-23 21:33:49 +00:00
brad
82e5b0175c add forgotten patch 1999-03-05 14:29:54 +00:00