head 1.10; access; symbols pkgsrc-2026Q1:1.10.0.30 pkgsrc-2026Q1-base:1.10 pkgsrc-2025Q4:1.10.0.28 pkgsrc-2025Q4-base:1.10 pkgsrc-2025Q3:1.10.0.26 pkgsrc-2025Q3-base:1.10 pkgsrc-2025Q2:1.10.0.24 pkgsrc-2025Q2-base:1.10 pkgsrc-2025Q1:1.10.0.22 pkgsrc-2025Q1-base:1.10 pkgsrc-2024Q4:1.10.0.20 pkgsrc-2024Q4-base:1.10 pkgsrc-2024Q3:1.10.0.18 pkgsrc-2024Q3-base:1.10 pkgsrc-2024Q2:1.10.0.16 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.14 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.10.0.12 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.10 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.8 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.6 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.4 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.2 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.9.0.36 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.34 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.32 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.30 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.28 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.26 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.24 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.22 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.20 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.16 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.18 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.14 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.12 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.10 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.8 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.6 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.4 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.2 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.8.0.42 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.40 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.36 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.34 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.32 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.30 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.28 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.26 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.24 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.22 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.20 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.18 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.16 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.14 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.12 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.10 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.8 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.6 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.4 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.2 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.7.0.32 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.30 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.28 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.26 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.24 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.22 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.20 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.18 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.16 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.14 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.12 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.10 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.8 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.6 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.5.0.18 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.16 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.14 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.12 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.10 pkgsrc-2008Q1:1.5.0.8 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.6 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.4 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.2 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3; locks; strict; comment @# @; 1.10 date 2022.08.19.12.17.46; author tnn; state Exp; branches; next 1.9; commitid dTc63HI5esexbuQD; 1.9 date 2018.03.24.11.09.41; author spz; state Exp; branches; next 1.8; commitid 2KXD2GcWanVFwHvA; 1.8 date 2013.01.05.12.57.22; author mef; state Exp; branches; next 1.7; 1.7 date 2009.02.03.09.39.16; author dbj; state Exp; branches; next 1.6; 1.6 date 2009.01.26.11.50.54; author sketch; state Exp; branches; next 1.5; 1.5 date 2007.05.05.21.31.10; author markd; state Exp; branches; next 1.4; 1.4 date 2006.01.11.11.32.38; author markd; state Exp; branches; next 1.3; 1.3 date 2005.06.04.23.43.51; author markd; state dead; branches; next 1.2; 1.2 date 2005.04.09.01.47.02; author markd; state Exp; branches; next 1.1; 1.1 date 2005.04.07.14.33.56; author markd; state Exp; branches; next ; desc @@ 1.10 log @nas: replicate missing -laudio fix from patch-ag to more places Use a SUBST block instead of a patch since too many Makefiles need fixups. @ text @$NetBSD: patch-ag,v 1.9 2018/03/24 11:09:41 spz Exp $ (from cvs log for 1.4) date: 2006/01/11 11:32:38; author: markd; state: Exp; lines: +12 -14 Some makedepend's object if a referenced header file is a dangling symlink, so create the actual release.h file at the includes stage as the depends stage is too late (server/os is before lib/audio). Fixes PR pkg/32098 from Gilles Dauphin. --- config/NetAudio.tmpl.orig 2013-04-27 00:41:00.000000000 +0000 +++ config/NetAudio.tmpl @@@@ -316,6 +316,8 @@@@ AuComplexProgramTarget(program) release.h: $(TOP)/RELEASE @@@@\ @@echo "static const char *release = \"`cat $(TOP)/RELEASE`\";" > $@@ @@@@\ @@@@\ +includes:: release.h @@@@\ + @@@@\ depend:: release.h @@@@\ @@@@\ clean:: @@@@\ @ 1.9 log @build fixes for NetBSD @ text @d1 1 a1 1 $NetBSD$ d10 2 a11 23 -L$(AUSRC): make sure -laudio gets found when building clients before the package has been installed --- ./config/NetAudio.tmpl.orig 2013-04-27 00:41:00.000000000 +0000 +++ ./config/NetAudio.tmpl @@@@ -178,7 +178,7 @@@@ EXTRA_LOAD_FLAGS=/link /nodefaultlib:lib /* place #ifdef's for other architectures around these lines */ LOCAL_LDFLAGS = _AuUse(-L$(USRLIBDIR), -L$(AUSRC) -L$(USRLIBDIR)) DEPAULIB = - AULIB = -laudio + AULIB = -L$(AUSRC) -laudio #endif /* SunArchitecture */ @@@@ -186,7 +186,7 @@@@ EXTRA_LOAD_FLAGS=/link /nodefaultlib:lib #else /* SharedLibAudio */ LOCAL_LDFLAGS = DEPAULIB = _AuUseCat($(USRLIBDIR),$(AUSRC),/Lib(audio)) - AULIB = LoaderLibPrefix _AuUse(-laudio,$(DEPAULIB)) + AULIB = -L$(AUSRC) LoaderLibPrefix _AuUse(-laudio,$(DEPAULIB)) #endif /* SharedLibAudio */ AUDIODEPLIBS = $(DEPAULIB) $(DEPXTOOLLIB) $(DEPXLIB) @ 1.8 log @(1) Bump version 1.9.1 to 1.9.3 based on PR pkg/45449 ChangeLog attached at the bottom of this Log. (2) patches/patch-ag Delete the first chunk, upstream included the first one. Comments added from cvs log (1.4) (3) patches/patch-ah # fix for "libpthread: Unlocking unlocked mutex" seen on NetBSD-4 removed (upstream included). (4) Comments added for patches/patch-aa -- Add NetBSDArchitecture and DragonFlyArchitecture patches/patch-ab -- (1.9) Convert -lossaudio to portable $(LIBOSSAUDIO) Make this work with audio/oss again. -- (1.13) Add NetBSDArchitecture -- (1.14) In server/Imakefile add a target for $(VOXWARELIBS) that call make for the targets directory. This should fix the occasional problem were make complains with "don't know how to make dda/voxware/libvoxware.a" -- (1.5) Taking care nasd.conf (etc) patches/patch-ae -- Honor ${PKG_SYSCONFDIR}, see SUBST in Makefile. patches/patch-af -- Don't build/install auscope. (5) PLIST.client PLIST.server Convert IMAKE_MANNEWSUFFIX to IMAKE_MAN_SUFFIX which pkglint flagged and by reading the thread starting with http://mail-index.netbsd.org/tech-pkg/2005/12/06/0034.html (Please correct this part if some OS'en get problems.) ----- Version 1.9.3 (stable) 05/13/2011 - overdue 1.9.3 maint release - Older X11 systems used to define SharedLibX and friends if the installed X11 system was built with shared lib support. Newer X11's use SharedLibX11 instead. Same for {Normal|Debug|Profile}LibX. So check for these and set appropriately in NetAudio.tmpl. Shared lib installations should deal with libXau dependancies correctly now. - auerswald: Added MacOS X aka Darwin to list of systems that need to explicitely link libaudio.so against libXau. This enables building of the shared library libaudio.so on MacOS X. There is currently no NAS server for MacOS X. Version 1.9.2 (stable) 03/07/2009 - overdue 1.9.2 release. - patch from Aleksey Cheusov: "fix for "libpthread: Unlocking unlocked mutex" seen on NetBSD-4" libaudio: OpenSvr.c: The server mutex was being unlocked, even though it was never locked in the first place. - Hugo Vanwoerkom reported thousands of diagnostics in his syslog: "doSetup: elementRate == 0! Forcing to 5000". Fix doSetup to only warn about this when the debug level is above 10. - auerswald: document syslog usage use syslog if running as a daemon, stderr otherwise add syslog-usage-change to HISTORY file - steve_mcintyre: Minor man page fix ported from the Debian packages. Multiple minor portability changes ported over from the Debian packages. Cope with Hurd and GNU/KFreeBSD and other systems using glibc - apply patch from sourceforge user moinakg: Libaudio is built with missing linker flags on OpenSolaris like missing lXt, so it results in symbol not found errors at runtime. I am including an Imakefile patch below that fixed this. ----- @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.7 2009/02/03 09:39:16 dbj Exp $ d10 24 a33 3 --- config/NetAudio.tmpl.orig 2007-06-16 12:03:20.000000000 -0700 +++ config/NetAudio.tmpl 2009-02-03 00:57:54.000000000 -0800 @@@@ -287,6 +290,8 @@@@ AuComplexProgramTarget(program) @ 1.7 log @fix problems with missing -lXau on darwin and solaris (at least) by providing a default define of SharedLibX which causes it to use a shared libaudio if the installed imake templates don't define it @ text @d1 8 a8 1 $NetBSD: patch-ag,v 1.6 2009/01/26 11:50:54 sketch Exp $ a11 10 @@@@ -55,6 +55,9 @@@@ EXTRA_LOAD_FLAGS=/link /nodefaultlib:lib #define DebugLibX NO #define ProfileLibX NO +#ifndef SharedLibX +#define SharedLibX YES +#endif #if HasSharedLibraries #define NormalLibAudio NormalLibX @ 1.6 log @Fix package on Solaris. Probably not the 'correct' fix, but it's a small and working one without having to delve too far into imake. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- config/NetAudio.tmpl.orig Sat Jun 16 20:03:20 2007 +++ config/NetAudio.tmpl Mon Jan 26 11:42:48 2009 @@@@ -155,7 +155,11 @@@@ d7 5 d13 3 a15 10 #else /* SharedLibAudio */ +#ifdef SunArchitecture + LOCAL_LDFLAGS = -lXau +#else LOCAL_LDFLAGS = +#endif DEPAULIB = _AuUseCat($(USRLIBDIR),$(AUSRC),/Lib(audio)) AULIB = LoaderLibPrefix _AuUse(-laudio,$(DEPAULIB)) #endif /* SharedLibAudio */ @@@@ -287,6 +291,8 @@@@ @ 1.5 log @Update nas to 1.9 Fixes to several DOS attacks that could be carried out aginst a nasd server, ANSI'fication of most of the server and client code, and significant rework of input and output mixer handling in the voxware (OSS) server. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.4 2006/01/11 11:32:38 markd Exp $ d3 15 a17 3 --- config/NetAudio.tmpl.orig 2006-11-28 08:41:42.000000000 +1300 +++ config/NetAudio.tmpl @@@@ -287,6 +287,8 @@@@ AuComplexProgramTarget(program) @ 1.4 log @Some makedepend's object if a referenced header file is a dangling symlink, so create the actual release.h file at the includes stage as the depends stage is too late (server/os is before lib/audio). Fixes PR pkg/32098 from Gilles Dauphin. Also fix installation of nasd.conf manual page on systems where imake doesn't have an InstallGenManPage rule (ie. solaris with openwin) @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- config/NetAudio.tmpl.orig 2006-01-11 23:44:25.000000000 +1300 d7 1 a7 1 @@echo "static char *release = \"@@(#)`cat $(TOP)/RELEASE`\";" > $@@ @@@@\ @ 1.3 log @Update to version 1.7b 6/3/2005 1.7b (devel) - applied patch from 'Inma', correcting a connection hang in Solaris 9. This reworks some of the very old and primitive fd_set stuff in Aulibint.c . - updated config/config.sub and config.guess to properly detect DragonFly systems. - Applied patch from Mark Davies and Joerg Sonnenberger correcting some BSD issues and adding DragonFly support. Then nasd.conf man page is always installed in $FILEMANDIR for all systems. 4/10/2005 1.7a (devel) - applied patch from Mark Davies correcting audio/Imakefile to properly define BSD44SOCKETS on NetBSD systems. - Applied patch from Steve McIntyre correcting CYWIN -> CYGWIN typo in server/dda/voxware/auvoxware.c - applied patch from Steve McIntyre Correcting some Gcc 4.0 and AMD64 issues. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 2005/04/09 01:47:02 markd Exp $ d3 11 a13 13 --- lib/audio/Imakefile.orig 2004-09-12 07:23:33.000000000 +1200 +++ lib/audio/Imakefile @@@@ -59,8 +59,8 @@@@ #endif XCOMM JET - hmmm. -#if (defined(FreeBSDArchitecture) || defined(BSDArchitecture)) && defined(HasBSD44Sockets) - EXTRA_DEFINES = -DBSD44SOCKETS +#if (defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || defined(BSDArchitecture)) && defined(HasBSD44Sockets) + EXTRA_DEFINES = -DBSD44SOCKETS #endif XCOMM JET - see if we should avoid streams @ 1.2 log @Replace a TAB with a SPACE to make some makes happy. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2005/04/07 14:33:56 markd Exp $ @ 1.1 log @Define BSD44SOCKETS when building libaudio on NetBSD. From PR pkg/20615 by Scott Presnell. Scott's patch was added to nas before 1.7 but then broken, this fixes that. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- lib/audio/Imakefile.orig 2005-04-08 01:55:21.000000000 +1200 d5 1 a5 1 @@@@ -59,7 +59,7 @@@@ d10 1 d12 1 a12 1 EXTRA_DEFINES = -DBSD44SOCKETS d15 1 @