media-libs/nas contains sound daemon nasd that must be launched before nas library can be used to play sound. nas-1.6c ebuild doesn't install necessary script to /etc/init.d. Attached patch fixes this. It also renames /etc/nas/nas.conf.eg to /etc/nas/conf. The result is that installation of NAS is now as simple as emerge nas rc-update add nas default BTW, media-sound category would fit this package better than media-libs, it's not only a library, but does similar things to what the media-sound/esound package does.
Created attachment 27987 [details, diff] patch for nas-1.6c ebuild
Created attachment 27988 [details] files/nas.conf.d this file is needed by the ebuild
Created attachment 27989 [details] files/nas.init.d ...and this one as well.
Thanks for nas-1.6c-r1! There's a little bug in it, though -- the sed code reads mv ${D}/etc/nas/nasd.conf.eg ${D}/etc/nas/nasd.conf dosed 's,\(MixerInit.*\)"\(.*\)",\1"no",' /etc/nas/nasd.conf.eg in the ebuild, but the second line should be dosed 's,\(MixerInit.*\)"\(.*\)",\1"no",' /etc/nas/nasd.conf or the two lines should be in reverse order, because /etc/nas/nasd.conf.eg doesn't exist at that point anymore.
whoops... thanks for noticing... =)