Your message dated Tue, 11 Apr 2006 16:32:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#344914: fixed in nas 1.7-8
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nas
Severity: important
Version: 1.7-3
Tags: patch

Hi,

nas cannot build as-is on hurd-i386, as the underlying microkernel (GNU
Mach) does not support sound.  Still, the libraries and clients are
possible to build with some minor modifications to allow for building
packages which Build-Depend on libaudio-dev.

The attached patch fixes an issue with OPEN_MAX not being defined as
well, and disables building the nas server on GNU/Hurd.

It also handles debian/rules to not build the nas package on hurd.


cheers,

Michael
--- nas-1.7/debian/rules        2005-12-27 14:01:03.000000000 +0100
+++ nas-1.7.new/debian/rules    2005-12-27 13:40:49.000000000 +0100
@@ -2,13 +2,19 @@
 # debian/rules file for NAS
 
 package=nas
-archpacs=nas nas-bin libaudio2 libaudio-dev
-allpacs=nas-doc
 instdirs=BINDIR=/usr/bin USRLIBDIR=/usr/lib MANPATH=/usr/share/man 
INCDIR=/usr/include MANSUFFIX=1nas LIBMANSUFFIX=3nas FILEMANSUFFIX=5nas 
ETCDIR=/etc/nas
 
 DEB_BUILD_GNU_TYPE     ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_GNU_CPU      ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
 DEB_BUILD_GNU_SYSTEM   ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
+DEB_BUILD_ARCH_OS      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+
+ifeq ($(DEB_BUILD_ARCH_OS),hurd)
+archpacs=nas-bin libaudio2 libaudio-dev
+else
+archpacs=nas nas-bin libaudio2 libaudio-dev
+endif
+allpacs=nas-doc
 
 ifneq (, $(filter $(DEB_BUILD_GNU_SYSTEM),kfreebsd-gnu knetbsd-gnu))
 DEB_BUILD_GNU_TYPE = $(DEB_BUILD_GNU_CPU)-gnu
@@ -98,6 +104,7 @@
        # install nas
        (top=`pwd`; cd server && $(MAKE) install $(instdirs) 
DESTDIR=$$top/debian/nas)
        (top=`pwd`; cd server && $(MAKE) install.man $(instdirs) 
DESTDIR=$$top/debian/nas)
+ifneq ($(DEB_BUILD_ARCH_OS),hurd)
        cp debian/nas/etc/nas/nasd.conf.eg debian/nas/etc/nas/nasd.conf 
        mv debian/nas/etc/nas/nasd.conf.eg debian/nas/usr/share/nas
        ln -s ../../../nas/nasd.conf.eg debian/nas/usr/share/doc/nas/examples
@@ -105,6 +112,7 @@
        chmod 755 debian/nas/etc/nas
        chmod 755 debian/nas/etc/default
        file debian/nas/usr/bin/* | grep executable | grep -v 'script text 
executable' | cut -d':' -f1 | xargs strip --strip-unneeded 
--remove-section=.comment --remove-section=.note
+endif
 
        # install nas-bin
        (top=`pwd`; cd clients/audio && $(MAKE) install $(instdirs) 
DESTDIR=$$top/debian/nas-bin)
@@ -150,7 +158,7 @@
        -chmod -Rv u+w debian/libaudio-dev/usr/include 
debian/libaudio-dev/usr/share/man
        -chmod -Rv u+w debian/nas-bin/usr/share/man
 
-       chmod -v 644 debian/nas/etc/nas/* 
+       -chmod -v 644 debian/nas/etc/nas/* 
        chmod -v 644 debian/libaudio2/usr/lib/AuErrorDB
        for dir in $(archpacs); do cp debian/copyright 
debian/$$dir/usr/share/doc/$$dir; done
        # Standard package building stuff
diff -Naur nas-1.7/lib/audio/Alibnet.h nas-1.7.new/lib/audio/Alibnet.h
--- nas-1.7/lib/audio/Alibnet.h 2003-12-23 02:01:36.000000000 +0100
+++ nas-1.7.new/lib/audio/Alibnet.h     2005-12-27 12:47:27.000000000 +0100
@@ -135,11 +135,15 @@
 #ifdef NOFILE
 #define OPEN_MAX NOFILE
 #else
+#if defined(_POSIX_OPEN_MAX) && !defined(SCO)
+#define OPEN_MAX _POSIX_OPEN_MAX
+#else
 #define OPEN_MAX NOFILES_MAX
 #endif
 #endif
 #endif
 #endif
+#endif
 
 #if OPEN_MAX > 256
 #undef OPEN_MAX
diff -Naur nas-1.7/server/Imakefile nas-1.7.new/server/Imakefile
--- nas-1.7/server/Imakefile    2005-12-27 14:01:03.000000000 +0100
+++ nas-1.7.new/server/Imakefile        2005-12-27 12:50:46.000000000 +0100
@@ -102,7 +102,7 @@
 #if defined(i386SVR4Architecture) || defined(__FreeBSD__) || 
defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || 
defined(GNUArchitecture) || defined(i386BsdArchitecture) || 
defined(USLArchitecture) || defined(cygwinArchitecture)
 # define CanBuildAuServer      YES
 
-# if defined(LinuxArchitecture) || defined(GNUArchitecture)
+# if defined(LinuxArchitecture) || defined(GNUArchitecture) || 
defined(GNUMachArchitecture)
     RCMANDIR = $(FILEMANDIR)
     RCMANSUFFIX = 5nas
 # else
@@ -116,7 +116,9 @@
 ALL1 = nasd
 # endif
 
+#if !defined(GNUMachArchitecture)
 # define BuildVoxServer
+# endif
 #endif
 
 ALL = $(ALL1)

--- End Message ---
--- Begin Message ---
Source: nas
Source-Version: 1.7-8

We believe that the bug you reported is fixed in the latest version of
nas, which is due to be installed in the Debian FTP archive:

libaudio-dev_1.7-8_alpha.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_alpha.deb
libaudio-dev_1.7-8_hppa.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_hppa.deb
libaudio-dev_1.7-8_i386.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_i386.deb
libaudio-dev_1.7-8_ia64.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_ia64.deb
libaudio-dev_1.7-8_mips.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_mips.deb
libaudio-dev_1.7-8_powerpc.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_powerpc.deb
libaudio-dev_1.7-8_sparc.deb
  to pool/main/n/nas/libaudio-dev_1.7-8_sparc.deb
libaudio2_1.7-8_alpha.deb
  to pool/main/n/nas/libaudio2_1.7-8_alpha.deb
libaudio2_1.7-8_hppa.deb
  to pool/main/n/nas/libaudio2_1.7-8_hppa.deb
libaudio2_1.7-8_i386.deb
  to pool/main/n/nas/libaudio2_1.7-8_i386.deb
libaudio2_1.7-8_ia64.deb
  to pool/main/n/nas/libaudio2_1.7-8_ia64.deb
libaudio2_1.7-8_mips.deb
  to pool/main/n/nas/libaudio2_1.7-8_mips.deb
libaudio2_1.7-8_powerpc.deb
  to pool/main/n/nas/libaudio2_1.7-8_powerpc.deb
libaudio2_1.7-8_sparc.deb
  to pool/main/n/nas/libaudio2_1.7-8_sparc.deb
nas-bin_1.7-8_alpha.deb
  to pool/main/n/nas/nas-bin_1.7-8_alpha.deb
nas-bin_1.7-8_hppa.deb
  to pool/main/n/nas/nas-bin_1.7-8_hppa.deb
nas-bin_1.7-8_i386.deb
  to pool/main/n/nas/nas-bin_1.7-8_i386.deb
nas-bin_1.7-8_ia64.deb
  to pool/main/n/nas/nas-bin_1.7-8_ia64.deb
nas-bin_1.7-8_mips.deb
  to pool/main/n/nas/nas-bin_1.7-8_mips.deb
nas-bin_1.7-8_powerpc.deb
  to pool/main/n/nas/nas-bin_1.7-8_powerpc.deb
nas-bin_1.7-8_sparc.deb
  to pool/main/n/nas/nas-bin_1.7-8_sparc.deb
nas-doc_1.7-8_all.deb
  to pool/main/n/nas/nas-doc_1.7-8_all.deb
nas_1.7-8.diff.gz
  to pool/main/n/nas/nas_1.7-8.diff.gz
nas_1.7-8.dsc
  to pool/main/n/nas/nas_1.7-8.dsc
nas_1.7-8_alpha.deb
  to pool/main/n/nas/nas_1.7-8_alpha.deb
nas_1.7-8_hppa.deb
  to pool/main/n/nas/nas_1.7-8_hppa.deb
nas_1.7-8_i386.deb
  to pool/main/n/nas/nas_1.7-8_i386.deb
nas_1.7-8_ia64.deb
  to pool/main/n/nas/nas_1.7-8_ia64.deb
nas_1.7-8_mips.deb
  to pool/main/n/nas/nas_1.7-8_mips.deb
nas_1.7-8_powerpc.deb
  to pool/main/n/nas/nas_1.7-8_powerpc.deb
nas_1.7-8_sparc.deb
  to pool/main/n/nas/nas_1.7-8_sparc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <[EMAIL PROTECTED]> (supplier of updated nas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 11 Apr 2006 23:17:08 +0100
Source: nas
Binary: nas-doc libaudio-dev nas libaudio2 nas-bin
Architecture: all alpha hppa i386 ia64 mips powerpc source sparc 
Version: 1.7-8
Distribution: unstable
Urgency: low
Maintainer: Steve McIntyre <[EMAIL PROTECTED]>
Changed-By: Steve McIntyre <[EMAIL PROTECTED]>
Description: 
 libaudio-dev - The Network Audio System (NAS). (development files)
 libaudio2  - The Network Audio System (NAS). (shared libraries)
 nas        - The Network Audio System (NAS). (local server)
 nas-bin    - The Network Audio System (NAS). (client binaries)
Closes: 344914
Changes: 
 nas (1.7-8) unstable; urgency=low
 .
   * YA update for hurd, thanks to Samuel Thibault. Closes: #344914
Files: 
 063d0e9cea879c90fc87a72acc4ad2be 125150 sound optional nas_1.7-8.diff.gz
 10319dd997b69b73173704e8b0288bc3 529022 sound extra nas-bin_1.7-8_powerpc.deb
 13d50a3280895ecd327a2b52363f5e05 471252 sound extra nas-bin_1.7-8_sparc.deb
 20ddcbb2673ee3255e331251402d924e 82934 libs optional libaudio2_1.7-8_alpha.deb
 308640d1ed3a3af8c2544a59b2d374bb 73160 libs optional libaudio2_1.7-8_mips.deb
 33d5972761578f750964dffa23d3dff2 111320 sound optional nas_1.7-8_mips.deb
 4906a1a6b824faa26061728cd3415d86 489608 libdevel optional 
libaudio-dev_1.7-8_i386.deb
 4a61d8e11e942d7e0fa7ad40736d7225 141664 sound optional nas_1.7-8_ia64.deb
 4a9cc41c6bafa193feb30cf3bfdaab13 489672 libdevel optional 
libaudio-dev_1.7-8_sparc.deb
 4c81ba9d511a6913e0d9842a969e9792 72558 libs optional libaudio2_1.7-8_i386.deb
 4e762b7c0059d8a6a5433e38195d668d 110588 sound optional nas_1.7-8_hppa.deb
 50d985b243a3656734825fbe068269c2 574692 sound extra nas-bin_1.7-8_hppa.deb
 529127204d82e4f4b31f9aff1b5f4001 554820 libdevel optional 
libaudio-dev_1.7-8_powerpc.deb
 554e1dc82dd6099de5b1df9a97dc35e4 103856 sound optional nas_1.7-8_powerpc.deb
 640800d042372ccd3e2cb536d83a510c 561966 libdevel optional 
libaudio-dev_1.7-8_hppa.deb
 6a5c51c1c788ba9d6e480a300a06a209 78994 libs optional libaudio2_1.7-8_hppa.deb
 6e970d99137397c13afb301c45374f26 492896 sound extra nas-bin_1.7-8_i386.deb
 770da9032c6b331f8c16b9c26a007037 97022 sound optional nas_1.7-8_i386.deb
 5a32bb6599a4edebef9fc2cda8a0ae3a 715 sound optional nas_1.7-8.dsc
 86443008efd12e4e53dee9c671332fbc 803734 sound extra nas-bin_1.7-8_ia64.deb
 8e128b1a6236ef527f9c0d39666e326b 118718 sound optional nas_1.7-8_alpha.deb
 93087115f8a4d3af087a1acfc05646c6 74992 libs optional 
libaudio2_1.7-8_powerpc.deb
 989a4ae229a3ee342570c2dcdaa07f6a 600020 sound extra nas-bin_1.7-8_alpha.deb
 ad39d280e818435d88ae32af7f19d8a0 547088 sound extra nas-bin_1.7-8_mips.deb
 ca02530f9c6b305379d4b35743bbaf53 512698 libdevel optional 
libaudio-dev_1.7-8_mips.deb
 df674be3ea2e4e0c8077a97220208b02 558732 libdevel optional 
libaudio-dev_1.7-8_ia64.deb
 edbe273c3b8cb2ee3c45db63f5a6fa4d 70428 libs optional libaudio2_1.7-8_sparc.deb
 f13f1dfe078f7b5d6b126bdd3dc5b98a 150690 doc extra nas-doc_1.7-8_all.deb
 f3932e93180c7592838f0d26c1992fa7 100096 libs optional libaudio2_1.7-8_ia64.deb
 fde01bf934b950cc724cbcf98a6c1ec0 560390 libdevel optional 
libaudio-dev_1.7-8_alpha.deb
 fe3259e759cb39c296389eafca536e16 97918 sound optional nas_1.7-8_sparc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEPDWCfDt5cIjHwfcRAhVrAJ46Lrev3WgmGljzxG4fAFOaK2RHEwCggnTU
KViRkCXsSLWi5eGB6fCTe24=
=KqQm
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to