pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio Update nas to 1.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09d055384c9f
branches:  trunk
changeset: 528494:09d055384c9f
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat May 05 21:31:09 2007 +0000

description:
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.

diffstat:

 audio/nas-auscope/Makefile |   6 +++---
 audio/nas-auscope/distinfo |   8 ++++----
 audio/nas/Makefile         |   5 ++---
 audio/nas/distinfo         |  14 +++++++-------
 audio/nas/patches/patch-ab |   8 ++++----
 audio/nas/patches/patch-ad |  44 ++++++++++++++++++++++----------------------
 audio/nas/patches/patch-ag |   6 +++---
 7 files changed, 45 insertions(+), 46 deletions(-)

diffs (161 lines):

diff -r 5cc12a062f13 -r 09d055384c9f audio/nas-auscope/Makefile
--- a/audio/nas-auscope/Makefile        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas-auscope/Makefile        Sat May 05 21:31:09 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2007/03/24 20:27:19 markd Exp $
+# $NetBSD: Makefile,v 1.3 2007/05/05 21:31:10 markd Exp $
 
-DISTNAME=      nas-1.8.src
-PKGNAME=       nas-auscope-1.8
+DISTNAME=      nas-1.9.src
+PKGNAME=       nas-auscope-1.9
 CATEGORIES=    audio
 MASTER_SITES=  http://nas.codebrilliance.com/nas/ \
                ftp://ftp.uni-duisburg.de/Sound/NAS/
diff -r 5cc12a062f13 -r 09d055384c9f audio/nas-auscope/distinfo
--- a/audio/nas-auscope/distinfo        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas-auscope/distinfo        Sat May 05 21:31:09 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/03/24 13:47:48 markd Exp $
+$NetBSD: distinfo,v 1.2 2007/05/05 21:31:10 markd Exp $
 
-SHA1 (nas-1.8.src.tar.gz) = 6752861196f0b11db93572d935dc87bc6c0da348
-RMD160 (nas-1.8.src.tar.gz) = c7c99d7c3f66d8255bd5708325bd5c71c73b0a47
-Size (nas-1.8.src.tar.gz) = 1290578 bytes
+SHA1 (nas-1.9.src.tar.gz) = 2ee3151c71a6667bd996a0f1cda18a8b9d7cb0c7
+RMD160 (nas-1.9.src.tar.gz) = a691f10d557bd676bbc2e9f0db949169815446aa
+Size (nas-1.9.src.tar.gz) = 1471635 bytes
 SHA1 (patch-aa) = 1b504906166df26b57d39c8c7e0099ddad7308b2
diff -r 5cc12a062f13 -r 09d055384c9f audio/nas/Makefile
--- a/audio/nas/Makefile        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas/Makefile        Sat May 05 21:31:09 2007 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.74 2007/05/02 12:51:43 gdt Exp $
+# $NetBSD: Makefile,v 1.75 2007/05/05 21:31:09 markd Exp $
 
-DISTNAME=      nas-1.8.src
+DISTNAME=      nas-1.9.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   3
 CATEGORIES=    audio
 MASTER_SITES=  http://nas.codebrilliance.com/nas/ \
                ftp://ftp.uni-duisburg.de/Sound/NAS/
diff -r 5cc12a062f13 -r 09d055384c9f audio/nas/distinfo
--- a/audio/nas/distinfo        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas/distinfo        Sat May 05 21:31:09 2007 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.19 2007/03/24 13:45:05 markd Exp $
+$NetBSD: distinfo,v 1.20 2007/05/05 21:31:09 markd Exp $
 
-SHA1 (nas-1.8.src.tar.gz) = 6752861196f0b11db93572d935dc87bc6c0da348
-RMD160 (nas-1.8.src.tar.gz) = c7c99d7c3f66d8255bd5708325bd5c71c73b0a47
-Size (nas-1.8.src.tar.gz) = 1290578 bytes
+SHA1 (nas-1.9.src.tar.gz) = 2ee3151c71a6667bd996a0f1cda18a8b9d7cb0c7
+RMD160 (nas-1.9.src.tar.gz) = a691f10d557bd676bbc2e9f0db949169815446aa
+Size (nas-1.9.src.tar.gz) = 1471635 bytes
 SHA1 (patch-aa) = 4026d90594cf31b15624a3c8cb72316978224113
-SHA1 (patch-ab) = f86037dc3a52cff543ee077d7f0d0a97cf24d9ff
+SHA1 (patch-ab) = d424b0970bd23584629f6a9bebea8b8c014462b5
 SHA1 (patch-ac) = 36f8ee0ec494e9d6a7994780c608c7a5fbf2114d
-SHA1 (patch-ad) = 5918e8188c8400fc7133c3ae4016d99c7c7594fa
+SHA1 (patch-ad) = d749d1e6f0ede2a848cb663ed8dddcb7ee9f8c48
 SHA1 (patch-ae) = f8ec2cb1809937aa7366ab65bee294e8affce543
 SHA1 (patch-af) = c08e0e2e6bfe6fd3aed7171dfd16a4df99a0b66a
-SHA1 (patch-ag) = fe8e2eed681f94499aaa1bbd19b158d2047a29fd
+SHA1 (patch-ag) = 99a8c9af8385d0ce9c4c08f09b4ae41a2ba268ab
diff -r 5cc12a062f13 -r 09d055384c9f audio/nas/patches/patch-ab
--- a/audio/nas/patches/patch-ab        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas/patches/patch-ab        Sat May 05 21:31:09 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.12 2006/01/11 11:32:38 markd Exp $
+$NetBSD: patch-ab,v 1.13 2007/05/05 21:31:10 markd Exp $
 
---- server/Imakefile.orig      2005-06-04 16:40:58.000000000 +1200
+--- server/Imakefile.orig      2006-08-14 13:04:17.000000000 +1200
 +++ server/Imakefile
 @@ -61,7 +61,7 @@ XCOMM $NCDId: @(#)Imakefile,v 1.17 1995/
  #endif
@@ -15,8 +15,8 @@
  #endif
  
  
--#if defined(i386SVR4Architecture) || defined(__FreeBSD__) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(i386BsdArchitecture) || defined(USLArchitecture) || 
defined(cygwinArchitecture) || defined(__DragonFly__)
-+#if defined(i386SVR4Architecture) || defined(__FreeBSD__) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(i386BsdArchitecture) || 
defined(USLArchitecture) || defined(cygwinArchitecture) || defined(__DragonFly__)
+-#if defined(i386SVR4Architecture) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(i386BsdArchitecture) || 
defined(USLArchitecture) || defined(cygwinArchitecture) || defined(__DragonFly__)
++#if defined(i386SVR4Architecture) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || 
defined(i386BsdArchitecture) || defined(USLArchitecture) || defined(cygwinArchitecture) || defined(__DragonFly__)
  # define CanBuildAuServer     YES
  
  # if defined(cygwinArchitecture)
diff -r 5cc12a062f13 -r 09d055384c9f audio/nas/patches/patch-ad
--- a/audio/nas/patches/patch-ad        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas/patches/patch-ad        Sat May 05 21:31:09 2007 +0000
@@ -1,30 +1,30 @@
-$NetBSD: patch-ad,v 1.10 2004/11/23 08:50:24 adam Exp $
+$NetBSD: patch-ad,v 1.11 2007/05/05 21:31:10 markd Exp $
 
---- server/dda/voxware/auvoxware.c.orig        2004-10-22 21:44:47.000000000 +0000
+--- server/dda/voxware/auvoxware.c.orig        2007-03-18 17:05:55.000000000 +1200
 +++ server/dda/voxware/auvoxware.c
-@@ -242,8 +242,13 @@ SndStat sndStatIn =
-       256,                    /* fragSize */
-       3,                      /* minFrags */
-       32,                     /* maxFrags */
+@@ -249,8 +249,13 @@ SndStat sndStatIn = {
+     256,                        /* fragSize */
+     3,                          /* minFrags */
+     32,                         /* maxFrags */
 +#if defined(__NetBSD__)
-+      "@DEVOSSAUDIO@",                /* device */
-+      "/dev/mixer",           /* mixer */
++    "@DEVOSSAUDIO@",                /* device */
++    "/dev/mixer",              /* mixer */
 +#else
-       "/dev/dsp1",            /* device */
-       "/dev/mixer1",          /* mixer */
+     "/dev/dsp1",                /* device */
+     "/dev/mixer1",              /* mixer */
 +#endif
- #if defined(__CYGWIN__)
-       O_RDONLY,               /* howToOpen */
- #else
-@@ -264,7 +269,11 @@ SndStat sndStatIn =
-       256,                    /* fragSize */
-       3,                      /* minFrags */
-       32,                     /* maxFrags */
+     O_RDONLY,                   /* howToOpen */
+     1,                          /* autoOpen */
+     0,                          /* forceRate */
+@@ -270,7 +275,11 @@ SndStat sndStatOut = {
+     256,                        /* fragSize */
+     3,                          /* minFrags */
+     32,                         /* maxFrags */
 +#if defined(__NetBSD__)
-+      "@DEVOSSAUDIO@",                /* device */
++    "@DEVOSSAUDIO@",                 /* device */
 +#else
-       "/dev/dsp",             /* device */
+     "/dev/dsp",                 /* device */
 +#endif
-       "/dev/mixer",           /* mixer */
- #if defined(__CYGWIN__)
-       O_WRONLY,               /* howToOpen */
+     "/dev/mixer",               /* mixer */
+     O_WRONLY,                   /* howToOpen */
+     1,                          /* autoOpen */
diff -r 5cc12a062f13 -r 09d055384c9f audio/nas/patches/patch-ag
--- a/audio/nas/patches/patch-ag        Sat May 05 21:27:31 2007 +0000
+++ b/audio/nas/patches/patch-ag        Sat May 05 21:31:09 2007 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ag,v 1.4 2006/01/11 11:32:38 markd Exp $
+$NetBSD: patch-ag,v 1.5 2007/05/05 21:31:10 markd Exp $
 
---- config/NetAudio.tmpl.orig  2006-01-11 23:44:25.000000000 +1300
+--- config/NetAudio.tmpl.orig  2006-11-28 08:41:42.000000000 +1300
 +++ config/NetAudio.tmpl
 @@ -287,6 +287,8 @@ AuComplexProgramTarget(program)
  release.h: $(TOP)/RELEASE                                                 @@\
-       @echo "static char *release = \"@(#)`cat $(TOP)/RELEASE`\";" > $@   @@\
+       @echo "static const char *release = \"`cat $(TOP)/RELEASE`\";" > $@   @@\
                                                                            @@\
 +includes:: release.h                                                      @@\
 +                                                                          @@\



Home | Main Index | Thread Index | Old Index