head	1.29;
access;
symbols
	pkgsrc-2026Q1:1.29.0.40
	pkgsrc-2026Q1-base:1.29
	pkgsrc-2025Q4:1.29.0.38
	pkgsrc-2025Q4-base:1.29
	pkgsrc-2025Q3:1.29.0.36
	pkgsrc-2025Q3-base:1.29
	pkgsrc-2025Q2:1.29.0.34
	pkgsrc-2025Q2-base:1.29
	pkgsrc-2025Q1:1.29.0.32
	pkgsrc-2025Q1-base:1.29
	pkgsrc-2024Q4:1.29.0.30
	pkgsrc-2024Q4-base:1.29
	pkgsrc-2024Q3:1.29.0.28
	pkgsrc-2024Q3-base:1.29
	pkgsrc-2024Q2:1.29.0.26
	pkgsrc-2024Q2-base:1.29
	pkgsrc-2024Q1:1.29.0.24
	pkgsrc-2024Q1-base:1.29
	pkgsrc-2023Q4:1.29.0.22
	pkgsrc-2023Q4-base:1.29
	pkgsrc-2023Q3:1.29.0.20
	pkgsrc-2023Q3-base:1.29
	pkgsrc-2023Q2:1.29.0.18
	pkgsrc-2023Q2-base:1.29
	pkgsrc-2023Q1:1.29.0.16
	pkgsrc-2023Q1-base:1.29
	pkgsrc-2022Q4:1.29.0.14
	pkgsrc-2022Q4-base:1.29
	pkgsrc-2022Q3:1.29.0.12
	pkgsrc-2022Q3-base:1.29
	pkgsrc-2022Q2:1.29.0.10
	pkgsrc-2022Q2-base:1.29
	pkgsrc-2022Q1:1.29.0.8
	pkgsrc-2022Q1-base:1.29
	pkgsrc-2021Q4:1.29.0.6
	pkgsrc-2021Q4-base:1.29
	pkgsrc-2021Q3:1.29.0.4
	pkgsrc-2021Q3-base:1.29
	pkgsrc-2021Q2:1.29.0.2
	pkgsrc-2021Q2-base:1.29
	pkgsrc-2021Q1:1.27.0.36
	pkgsrc-2021Q1-base:1.27
	pkgsrc-2020Q4:1.27.0.34
	pkgsrc-2020Q4-base:1.27
	pkgsrc-2020Q3:1.27.0.32
	pkgsrc-2020Q3-base:1.27
	pkgsrc-2020Q2:1.27.0.28
	pkgsrc-2020Q2-base:1.27
	pkgsrc-2020Q1:1.27.0.8
	pkgsrc-2020Q1-base:1.27
	pkgsrc-2019Q4:1.27.0.30
	pkgsrc-2019Q4-base:1.27
	pkgsrc-2019Q3:1.27.0.26
	pkgsrc-2019Q3-base:1.27
	pkgsrc-2019Q2:1.27.0.24
	pkgsrc-2019Q2-base:1.27
	pkgsrc-2019Q1:1.27.0.22
	pkgsrc-2019Q1-base:1.27
	pkgsrc-2018Q4:1.27.0.20
	pkgsrc-2018Q4-base:1.27
	pkgsrc-2018Q3:1.27.0.18
	pkgsrc-2018Q3-base:1.27
	pkgsrc-2018Q2:1.27.0.16
	pkgsrc-2018Q2-base:1.27
	pkgsrc-2018Q1:1.27.0.14
	pkgsrc-2018Q1-base:1.27
	pkgsrc-2017Q4:1.27.0.12
	pkgsrc-2017Q4-base:1.27
	pkgsrc-2017Q3:1.27.0.10
	pkgsrc-2017Q3-base:1.27
	pkgsrc-2017Q2:1.27.0.6
	pkgsrc-2017Q2-base:1.27
	pkgsrc-2017Q1:1.27.0.4
	pkgsrc-2017Q1-base:1.27
	pkgsrc-2016Q4:1.27.0.2
	pkgsrc-2016Q4-base:1.27
	pkgsrc-2016Q3:1.26.0.14
	pkgsrc-2016Q3-base:1.26
	pkgsrc-2016Q2:1.26.0.12
	pkgsrc-2016Q2-base:1.26
	pkgsrc-2016Q1:1.26.0.10
	pkgsrc-2016Q1-base:1.26
	pkgsrc-2015Q4:1.26.0.8
	pkgsrc-2015Q4-base:1.26
	pkgsrc-2015Q3:1.26.0.6
	pkgsrc-2015Q3-base:1.26
	pkgsrc-2015Q2:1.26.0.4
	pkgsrc-2015Q2-base:1.26
	pkgsrc-2015Q1:1.26.0.2
	pkgsrc-2015Q1-base:1.26
	pkgsrc-2014Q4:1.25.0.6
	pkgsrc-2014Q4-base:1.25
	pkgsrc-2014Q3:1.25.0.4
	pkgsrc-2014Q3-base:1.25
	pkgsrc-2014Q2:1.25.0.2
	pkgsrc-2014Q2-base:1.25
	pkgsrc-2014Q1:1.24.0.20
	pkgsrc-2014Q1-base:1.24
	pkgsrc-2013Q4:1.24.0.18
	pkgsrc-2013Q4-base:1.24
	pkgsrc-2013Q3:1.24.0.16
	pkgsrc-2013Q3-base:1.24
	pkgsrc-2013Q2:1.24.0.14
	pkgsrc-2013Q2-base:1.24
	pkgsrc-2013Q1:1.24.0.12
	pkgsrc-2013Q1-base:1.24
	pkgsrc-2012Q4:1.24.0.10
	pkgsrc-2012Q4-base:1.24
	pkgsrc-2012Q3:1.24.0.8
	pkgsrc-2012Q3-base:1.24
	pkgsrc-2012Q2:1.24.0.6
	pkgsrc-2012Q2-base:1.24
	pkgsrc-2012Q1:1.24.0.4
	pkgsrc-2012Q1-base:1.24
	pkgsrc-2011Q4:1.24.0.2
	pkgsrc-2011Q4-base:1.24
	pkgsrc-2011Q3:1.23.0.14
	pkgsrc-2011Q3-base:1.23
	pkgsrc-2011Q2:1.23.0.12
	pkgsrc-2011Q2-base:1.23
	pkgsrc-2011Q1:1.23.0.10
	pkgsrc-2011Q1-base:1.23
	pkgsrc-2010Q4:1.23.0.8
	pkgsrc-2010Q4-base:1.23
	pkgsrc-2010Q3:1.23.0.6
	pkgsrc-2010Q3-base:1.23
	pkgsrc-2010Q2:1.23.0.4
	pkgsrc-2010Q2-base:1.23
	pkgsrc-2010Q1:1.23.0.2
	pkgsrc-2010Q1-base:1.23
	pkgsrc-2009Q4:1.21.0.28
	pkgsrc-2009Q4-base:1.21
	pkgsrc-2009Q3:1.21.0.26
	pkgsrc-2009Q3-base:1.21
	pkgsrc-2009Q2:1.21.0.24
	pkgsrc-2009Q2-base:1.21
	pkgsrc-2009Q1:1.21.0.22
	pkgsrc-2009Q1-base:1.21
	pkgsrc-2008Q4:1.21.0.20
	pkgsrc-2008Q4-base:1.21
	pkgsrc-2008Q3:1.21.0.18
	pkgsrc-2008Q3-base:1.21
	cube-native-xorg:1.21.0.16
	cube-native-xorg-base:1.21
	pkgsrc-2008Q2:1.21.0.14
	pkgsrc-2008Q2-base:1.21
	cwrapper:1.21.0.12
	pkgsrc-2008Q1:1.21.0.10
	pkgsrc-2008Q1-base:1.21
	pkgsrc-2007Q4:1.21.0.8
	pkgsrc-2007Q4-base:1.21
	pkgsrc-2007Q3:1.21.0.6
	pkgsrc-2007Q3-base:1.21
	pkgsrc-2007Q2:1.21.0.4
	pkgsrc-2007Q2-base:1.21
	pkgsrc-2007Q1:1.21.0.2
	pkgsrc-2007Q1-base:1.21
	pkgsrc-2006Q4:1.20.0.6
	pkgsrc-2006Q4-base:1.20
	pkgsrc-2006Q3:1.20.0.4
	pkgsrc-2006Q3-base:1.20
	pkgsrc-2006Q2:1.20.0.2
	pkgsrc-2006Q2-base:1.20
	pkgsrc-2006Q1:1.19.0.2
	pkgsrc-2006Q1-base:1.19
	pkgsrc-2005Q4:1.14.0.2
	pkgsrc-2005Q4-base:1.14
	pkgsrc-2005Q3:1.12.0.4
	pkgsrc-2005Q3-base:1.12
	pkgsrc-2005Q2:1.12.0.2
	pkgsrc-2005Q2-base:1.12
	pkgsrc-2005Q1:1.11.0.2
	pkgsrc-2005Q1-base:1.11
	pkgsrc-2004Q4:1.10.0.2
	pkgsrc-2004Q4-base:1.10
	pkgsrc-2004Q3:1.9.0.2
	pkgsrc-2004Q3-base:1.9
	pkgsrc-2004Q2:1.8.0.2
	pkgsrc-2004Q2-base:1.8
	pkgsrc-2004Q1:1.7.0.2
	pkgsrc-2004Q1-base:1.7
	pkgsrc-2003Q4:1.5.0.2
	pkgsrc-2003Q4-base:1.5
	netbsd-1-6-1:1.4.0.2
	netbsd-1-6-1-base:1.4
	netbsd-1-6:1.1.1.1.0.4
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.1.1.0.6
	pkgviews-base:1.1
	buildlink2-base:1.1.1.1
	buildlink2:1.1.1.1.0.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.29
date	2021.04.17.09.20.47;	author nia;	state Exp;
branches;
next	1.28;
commitid	zlgkNnMygqSlVCPC;

1.28
date	2021.04.17.09.15.05;	author nia;	state Exp;
branches;
next	1.27;
commitid	mJCzG9qxQfAkTCPC;

1.27
date	2016.12.18.22.58.35;	author adam;	state Exp;
branches;
next	1.26;
commitid	lm2gzQdnR0tEgwyz;

1.26
date	2015.01.01.08.29.07;	author dholland;	state Exp;
branches;
next	1.25;
commitid	Tdqi06HG388avi4y;

1.25
date	2014.05.20.19.59.10;	author adam;	state Exp;
branches;
next	1.24;
commitid	2muyseoaSr6pAjBx;

1.24
date	2011.10.17.19.45.56;	author shattered;	state Exp;
branches;
next	1.23;

1.23
date	2010.03.14.14.47.36;	author martin;	state Exp;
branches;
next	1.22;

1.22
date	2010.02.01.01.16.24;	author joerg;	state Exp;
branches;
next	1.21;

1.21
date	2007.01.26.21.39.00;	author joerg;	state Exp;
branches;
next	1.20;

1.20
date	2006.05.26.12.33.37;	author drochner;	state Exp;
branches;
next	1.19;

1.19
date	2006.03.04.21.28.57;	author jlam;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2006.02.05.23.08.12;	author joerg;	state Exp;
branches;
next	1.17;

1.17
date	2006.01.09.22.00.25;	author tron;	state Exp;
branches;
next	1.16;

1.16
date	2006.01.09.21.42.49;	author tron;	state Exp;
branches;
next	1.15;

1.15
date	2006.01.09.17.43.59;	author tron;	state Exp;
branches;
next	1.14;

1.14
date	2005.12.10.21.31.41;	author heinz;	state Exp;
branches;
next	1.13;

1.13
date	2005.10.03.15.17.14;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	2005.06.01.18.02.38;	author jlam;	state Exp;
branches
	1.12.4.1;
next	1.11;

1.11
date	2005.01.12.14.17.44;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2004.11.07.08.55.04;	author tron;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2004.09.07.22.14.10;	author salo;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2004.04.24.23.16.32;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.10.09.32.47;	author tron;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.28.12.48.24;	author xtraeme;	state Exp;
branches;
next	1.5;

1.5
date	2003.09.18.16.25.14;	author jmmv;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2002.11.28.12.24.06;	author markd;	state Exp;
branches;
next	1.3;

1.3
date	2002.08.31.14.25.37;	author wiz;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.21.02.43.44;	author grant;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.25.06.28.00;	author rh;	state Exp;
branches
	1.1.1.1;
next	;

1.19.2.1
date	2006.05.27.11.24.06;	author ghen;	state Exp;
branches;
next	;

1.12.4.1
date	2005.10.03.19.00.34;	author salo;	state Exp;
branches;
next	;

1.10.2.1
date	2005.01.15.07.00.18;	author snj;	state Exp;
branches;
next	;

1.9.2.1
date	2004.11.09.08.50.38;	author salo;	state Exp;
branches;
next	;

1.5.2.1
date	2004.02.10.15.59.42;	author agc;	state Exp;
branches;
next	;

1.1.1.1
date	2002.05.25.06.28.00;	author rh;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2002.05.25.06.28.00;	author jlam;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2002.06.23.18.38.42;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.29
log
@mpg123-nas: revert accidental changes to wrong directory
@
text
@# $NetBSD: Makefile,v 1.27 2016/12/18 22:58:35 adam Exp $

MPG123_MODULE=	nas

.include "../../audio/mpg123/Makefile.common"

.include "../../audio/mpg123/buildlink3.mk"
.include "../../audio/nas/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.28
log
@add audio/mpg123-jack

JACK output module for the mpg123 audio player.
@
text
@d3 1
a3 1
MPG123_MODULE=	jack
d8 2
a9 1
.include "../../audio/jack/buildlink3.mk"
@


1.27
log
@Changes 1.23.8:
- Fix long-standing bad memory read (via integer underflow) in ID3 parser
  for crafted ID3v2 tags with tiny size information
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2015/01/01 08:29:07 dholland Exp $
d3 1
a3 1
MPG123_MODULE=	nas
d8 1
a8 2
.include "../../audio/nas/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
@


1.26
log
@Comment out NOT_FOR_COMPILER and remove ONLY_FOR_PLATFORM restriction that
appears to have originated in a much earlier mpg123's build system.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2014/05/20 19:59:10 adam Exp $
a4 2
#NOT_FOR_COMPILER=	sunpro

@


1.25
log
@Changes 1.19.0:
- Support float and 32/24 bit integer output also with fixed-point decoders (conversion from 16 bit precision).
- A-Law output encoding is actually implemented now (Michael introduced the encoding back in the old days without ever implementing theconversion table, apparently).
- Added --with-cpu=arm_fpu as decoder choice for runtime switch between plain fpu code and NEON.
- Fix ARM builds to work properly on debian systems without special CFLAGS (NEON decoder, specifically).
- Make scripts/benchmark-cpu.pl check the return value instead of delivering crazy timings for crashed mpg123.
- Trigger track initialization in mpg123_info() to avoid use of uninitialized variables (watch out for MPG123_NEED_MORE return value!).
- Fix integer code to 32 bit numbers where it would waste 64 bit on modern systems.
- Add non-executable stack marking also to ARM assembly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2011/10/17 19:45:56 shattered Exp $
d5 1
a5 3
NOT_FOR_COMPILER=	sunpro
ONLY_FOR_PLATFORM=	DragonFly-*-* FreeBSD-*-* Linux-*-* NetBSD-*-* \
			SunOS-*-*
@


1.24
log
@PR/44543 -- recognize any non-zero return value getaddrinfo() as error.
Bump revisions of all variant packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2010/03/14 14:47:36 martin Exp $
a4 2
PKGREVISION=	1

d9 1
a9 1
.include "${.CURDIR}/../../audio/mpg123/Makefile.common"
d11 1
a13 1
.include "../../audio/mpg123/buildlink3.mk"
@


1.23
log
@Adapt to new mpg123 world order
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2010/02/01 01:16:24 joerg Exp $
d3 1
d5 1
a5 1
MPG123_MODULE=	nas
@


1.22
log
@DESTDIR ready
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2007/01/26 21:39:00 joerg Exp $
a2 3
PKGNAME=	mpg123${TARGET_SUFFIX}-${MPG123_VERSION}
PKGREVISION=	10
COMMENT=	Command-line player for mpeg layer 1, 2 and 3 audio with NAS output
d4 1
a4 7
MAINTAINER=	pkgsrc-users@@NetBSD.org

PKG_DESTDIR_SUPPORT=	user-destdir

TARGET_SUFFIX=	-nas

CONFLICTS+=		mpg123-[0-9]*
d10 1
a10 3
PKG_OPTIONS_VAR=PKG_OPTIONS.mpg123-nas

.include "../../audio/mpg123/Makefile.common"
d14 1
@


1.21
log
@Modular Xorg support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/05/26 12:33:37 drochner Exp $
d9 2
@


1.20
log
@also bump PKGREVISION for mpg123 security fix, pointed out
by Joerg Sonnenberger
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2006/03/04 21:28:57 jlam Exp $
d22 1
a22 1
.include "../../mk/x11.buildlink3.mk"
@


1.19
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2006/02/05 23:08:12 joerg Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.19.2.1
log
@Pullup ticket 1673 - requested by drochner
security fix for mpg123

Revisions pulled up:
- pkgsrc/audio/mpg123/Makefile		1.42
- pkgsrc/audio/mpg123/distinfo		1.27
- pkgsrc/audio/mpg123/patches/patch-ai	1.4
- pkgsrc/audio/mpg123-esound/Makefile	1.17
- pkgsrc/audio/mpg123-nas/Makefile	1.20

   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Fri May 26 12:16:13 UTC 2006

   Modified Files:
           pkgsrc/audio/mpg123: Makefile distinfo
           pkgsrc/audio/mpg123/patches: patch-ai

   Log Message:
   fix buffer overflow (CVE-2006-1655), from Debian
   bump PKGREVISION
---
   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Fri May 26 12:33:37 UTC 2006

   Modified Files:
           pkgsrc/audio/mpg123-esound: Makefile
           pkgsrc/audio/mpg123-nas: Makefile

   Log Message:
   also bump PKGREVISION for mpg123 security fix, pointed out
   by Joerg Sonnenberger
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/05/26 12:33:37 drochner Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.18
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2006/01/09 22:00:25 tron Exp $
d7 1
a7 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


1.17
log
@Limit this package to platforms for which NAS support is really available
in "mpg123". Also exclude SUNWspro because there's only a NAS target
for Solaris using GCC as the compiler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2006/01/09 21:42:49 tron Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.16
log
@Bump package revision because NAS support was not compiled previously
on all NetBSD platforms except arm, i386 and m68k.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2006/01/09 17:43:59 tron Exp $
d11 5
a15 1
CONFLICTS+=	mpg123-[0-9]*
d18 1
@


1.15
log
@I only maintain the "mpg123" package and not the "mpg123-nas" and
"mpg123-esound" flavours.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/12/10 21:31:41 heinz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.14
log
@Converted packages audio/mpg123* to bsd.options.mk framework (Approved by tron).
No bump of PKGREVISION necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/10/03 15:17:14 joerg Exp $
d7 2
@


1.13
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2005/06/01 18:02:38 jlam Exp $
d11 1
@


1.12
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2005/01/12 14:17:44 wiz Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.12.4.1
log
@Pullup ticket 798 - requested by Joerg Sonnenberger
bugfixes for mpg123

Revisions pulled up:
- pkgsrc/audio/mpg123/Makefile			1.40
- pkgsrc/audio/mpg123/distinfo			1.24
- pkgsrc/audio/mpg123-esound/Makefile		1.12
- pkgsrc/audio/mpg123-nas/Makefile		1.13
- pkgsrc/audio/mpg123/patches/patch-aq		1.3
- pkgsrc/audio/mpg123/patches/patch-av		1.1
- pkgsrc/audio/mpg123/patches/patch-aw		1.1

   Module Name:		pkgsrc
   Committed By:	joerg
   Date:		Mon Oct  3 15:17:14 UTC 2005

   Modified Files:
   	pkgsrc/audio/mpg123: Makefile distinfo
   	pkgsrc/audio/mpg123-esound: Makefile
   	pkgsrc/audio/mpg123-nas: Makefile
   	pkgsrc/audio/mpg123/patches: patch-aq
   Added Files:
   	pkgsrc/audio/mpg123/patches: patch-av patch-aw

   Log Message:
   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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/10/03 15:17:14 joerg Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.11
log
@PKGREVISION bump for security fix (previous bump was >4 days ago.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/11/07 08:55:04 tron Exp $
a10 2
USE_X11=	yes

d14 1
@


1.10
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/09/07 22:14:10 salo Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.10.2.1
log
@Pullup ticket 227 - requested by Matthias Drochner
security fix for mpg123

   Module Name:  pkgsrc
   Committed By: drochner
   Date:         Fri Jan  7 14:52:13 UTC 2005

   Modified Files:
         pkgsrc/audio/mpg123: Makefile distinfo
   Added Files:
         pkgsrc/audio/mpg123/patches: patch-as patch-at

   Log Message:
   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
---
   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Wed Jan 12 11:52:38 UTC 2005

   Modified Files:
           pkgsrc/audio/mpg123: distinfo
           pkgsrc/audio/mpg123/patches: patch-ar

   Log Message:
   another header valdation (CAN-2004-0991)
   ride on recent PKGREVISION bump
---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Wed Jan 12 14:17:44 UTC 2005

   Modified Files:
           pkgsrc/audio/mpg123: Makefile
           pkgsrc/audio/mpg123-esound: Makefile
           pkgsrc/audio/mpg123-nas: Makefile

   Log Message:
   PKGREVISION bump for security fix (previous bump was >4 days ago.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2005/01/12 14:17:44 wiz Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.9
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/04/24 23:16:32 wiz Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.9.2.1
log
@Pullup ticket 134 - requested by Matthias Scheler
security fix for mpg123

        Module Name:	pkgsrc
        Committed By:	tron
        Date:		Sun Nov  7 08:55:04 UTC 2004

        Modified Files:
        	pkgsrc/audio/mpg123: Makefile distinfo
        	pkgsrc/audio/mpg123-esound: Makefile
        	pkgsrc/audio/mpg123-nas: Makefile
        	pkgsrc/audio/mpg123/patches: patch-aq

        Log Message:
        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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/11/07 08:55:04 tron Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.8
log
@bl3 packages should only include bl3 files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/02/10 09:32:47 tron Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.7
log
@Fix security vulnerability reported in CAN-2003-0865. Bump package revision
because of this fix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/01/28 12:48:24 xtraeme Exp $
d15 1
a15 1
.include "../../audio/nas/buildlink2.mk"
@


1.6
log
@There's no need to use 'USE_X11BASE' in mpg123-nas package, we'll use
USE_X11 instead, bump PKGREVISION.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.5 2003/09/18 16:25:14 jmmv Exp $
#
d4 1
a4 1
PKGREVISION=	2
@


1.5
log
@Specify the category when including other files and when depending on other
packages.  From PR pkg/21864 by ccatrian at eml.cc.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/11/28 12:24:06 markd Exp $
d5 1
a5 1
PKGREVISION=	1
d12 1
a12 1
USE_X11BASE=	# defined
@


1.5.2.1
log
@Pullup security fix to the pkgsrc-2003Q4 branch, requested by Matthias Scheler.

        Module Name:    pkgsrc
        Committed By:   tron
        Date:           Tue Feb 10 09:32:47 UTC 2004

        Modified Files:
                pkgsrc/audio/mpg123: Makefile distinfo
                pkgsrc/audio/mpg123-esound: Makefile
                pkgsrc/audio/mpg123-nas: Makefile
        Added Files:
                pkgsrc/audio/mpg123/patches: patch-aq

        Log Message:
        Fix security vulnerability reported in CAN-2003-0865. Bump package revision
        because of this fix.

Also pull in the intermmediate USE_X11BASE -> USE_X11 fix, to ensure
consistent binary package naming across pkgsrc-2003Q4 branch and the
head.
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.7 2004/02/10 09:32:47 tron Exp $
d5 1
a5 1
PKGREVISION=	3
d12 1
a12 1
USE_X11=	yes
@


1.4
log
@Use the mpg123 Makefile.common to build mpg123-nas.
Based on PR 18532 from Greg A. Woods.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/08/31 14:25:37 wiz Exp $
d14 1
a14 1
.include "../mpg123/Makefile.common"
@


1.3
log
@Convert to buildlink2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/08/21 02:43:44 grant Exp $
d4 2
a5 12
DISTNAME=	mpg123-0.59r
PKGNAME=	mpg123-nas-0.59.18
CATEGORIES=	audio
MASTER_SITES=	http://www.mpg123.de/mpg123/ \
		http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/

PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/ \
		http://www.unix-ag.org/Linux-Alpha/Packages/
PATCHFILES=	mpg123-059r-v6-20000713b.diff.gz l3.diff.gz

MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www.mpg123.de/
d8 1
a8 3
BUILD_DEFS+=	USE_INET6
DIST_SUBDIR=	mpg123
FILESDIR=	${.CURDIR}/../mpg123/files
d12 1
a12 32
USE_X11BASE=		# defined
USE_BUILDLINK2=		# defined

# for OBJECT_FMT
.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386"
.if ${OBJECT_FMT} == "ELF"
ALL_TARGET=	netbsd-i386-elf
.else
ALL_TARGET=	netbsd-i386
.endif
.elif ${MACHINE_ARCH} == "arm32"
ALL_TARGET=	netbsd-arm32
.elif ${MACHINE_ARCH} == "m68k"
ALL_TARGET=	netbsd-m68k
.else
ALL_TARGET=	${LOWER_OPSYS}
.endif

.if ${OPSYS} == "SunOS"
ALL_TARGET=	solaris-gcc
.endif

.if defined(USE_INET6) && ${USE_INET6} == "YES"
CPPFLAGS+=	-DINET6
.endif

MAKE_FLAGS+=	PREFIX="${PREFIX}"

pre-patch:
	${LN} -s . ${WRKSRC}/mpg123
d14 1
a14 7
post-patch:
	${RM} -f ${WRKSRC}/mpg123
	${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/
	cd ${WRKSRC} ; ${MV} decode_i586.s decode_i586.s.orig ;\
	${SED} \
		-e 's@@^/@@#/@@g' \
		<decode_i586.s.orig >decode_i586.s
@


1.2
log
@check that USE_INET6 is defined.
remove extraneous parenthesis around .if (${FOO} ..) conditions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2002/05/25 06:28:00 rh Exp $
d25 1
a25 1
USE_BUILDLINK_ONLY=	# defined
d65 1
a65 1
.include "../../audio/nas/buildlink.mk"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d30 2
a31 2
.if (${MACHINE_ARCH} == "i386")
.if (${OBJECT_FMT} == "ELF")
d36 1
a36 1
.elif (${MACHINE_ARCH} == "arm32")
d38 1
a38 1
.elif (${MACHINE_ARCH} == "m68k")
@


1.1.1.1
log
@Initial import of mpg123-nas-0.59.18, an mpg123 (mp3 player) variant with
an NAS backend.  This closes PR pkg/14317.
@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch buildlink2 on 2002-06-23 18:38:42 +0000
@
text
@d1 66
@


1.1.1.1.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 66
# $NetBSD: Makefile,v 1.1.1.1.2.1 2002/06/23 18:38:42 jlam Exp $
#

DISTNAME=	mpg123-0.59r
PKGNAME=	mpg123-nas-0.59.18
CATEGORIES=	audio
MASTER_SITES=	http://www.mpg123.de/mpg123/ \
		http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/

PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/ \
		http://www.unix-ag.org/Linux-Alpha/Packages/
PATCHFILES=	mpg123-059r-v6-20000713b.diff.gz l3.diff.gz

MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www.mpg123.de/
COMMENT=	Command-line player for mpeg layer 1, 2 and 3 audio with NAS output

BUILD_DEFS+=	USE_INET6
DIST_SUBDIR=	mpg123
FILESDIR=	${.CURDIR}/../mpg123/files

CONFLICTS+=	mpg123-[0-9]*

USE_X11BASE=		# defined
USE_BUILDLINK_ONLY=	# defined

# for OBJECT_FMT
.include "../../mk/bsd.prefs.mk"

.if (${MACHINE_ARCH} == "i386")
.if (${OBJECT_FMT} == "ELF")
ALL_TARGET=	netbsd-i386-elf
.else
ALL_TARGET=	netbsd-i386
.endif
.elif (${MACHINE_ARCH} == "arm32")
ALL_TARGET=	netbsd-arm32
.elif (${MACHINE_ARCH} == "m68k")
ALL_TARGET=	netbsd-m68k
.else
ALL_TARGET=	${LOWER_OPSYS}
.endif

.if ${OPSYS} == "SunOS"
ALL_TARGET=	solaris-gcc
.endif

.if defined(USE_INET6) && ${USE_INET6} == "YES"
CPPFLAGS+=	-DINET6
.endif

MAKE_FLAGS+=	PREFIX="${PREFIX}"

pre-patch:
	${LN} -s . ${WRKSRC}/mpg123

post-patch:
	${RM} -f ${WRKSRC}/mpg123
	${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/
	cd ${WRKSRC} ; ${MV} decode_i586.s decode_i586.s.orig ;\
	${SED} \
		-e 's@@^/@@#/@@g' \
		<decode_i586.s.orig >decode_i586.s

.include "../../audio/nas/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
@
