From 86278696e166cee4c53ceaa747a24a9292d39ea7 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Fri, 9 Mar 2007 03:08:07 +0000 Subject: [PATCH] Add more docs, bug 138492 Package-Manager: portage-2.1.2.2 --- media-libs/nas/ChangeLog | 9 +++- media-libs/nas/Manifest | 22 ++++++-- media-libs/nas/files/digest-nas-1.7-r2 | 3 ++ media-libs/nas/files/digest-nas-1.8-r1 | 3 ++ media-libs/nas/nas-1.7-r2.ebuild | 71 ++++++++++++++++++++++++++ media-libs/nas/nas-1.8-r1.ebuild | 64 +++++++++++++++++++++++ 6 files changed, 167 insertions(+), 5 deletions(-) create mode 100644 media-libs/nas/files/digest-nas-1.7-r2 create mode 100644 media-libs/nas/files/digest-nas-1.8-r1 create mode 100644 media-libs/nas/nas-1.7-r2.ebuild create mode 100644 media-libs/nas/nas-1.8-r1.ebuild diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog index 5756b2cc6dfc..2a856db9f00c 100644 --- a/media-libs/nas/ChangeLog +++ b/media-libs/nas/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/nas # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.50 2007/01/31 14:46:56 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.51 2007/03/09 03:08:07 beandog Exp $ + +*nas-1.8-r1 (09 Mar 2007) +*nas-1.7-r2 (09 Mar 2007) + + 09 Mar 2007; Steve Dibb +nas-1.7-r2.ebuild, + +nas-1.8-r1.ebuild: + Add more docs, bug 138492 *nas-1.8 (31 Jan 2007) diff --git a/media-libs/nas/Manifest b/media-libs/nas/Manifest index 7b340cd18263..88f9217dfeb4 100644 --- a/media-libs/nas/Manifest +++ b/media-libs/nas/Manifest @@ -20,14 +20,22 @@ EBUILD nas-1.7-r1.ebuild 1902 RMD160 50eea7fdbb6da5beaa07db96336b653b04efd2fc SH MD5 7dfca199051b64b508b2e6e975e34cd9 nas-1.7-r1.ebuild 1902 RMD160 50eea7fdbb6da5beaa07db96336b653b04efd2fc nas-1.7-r1.ebuild 1902 SHA256 3717ff82afb11c2f85a0a0d10fbb60826379ddd2d44d61c5f8c823d1f969cb16 nas-1.7-r1.ebuild 1902 +EBUILD nas-1.7-r2.ebuild 1981 RMD160 461e05a3156e177f8a2e9444346a415f9bc5e737 SHA1 dbecc73355c54f0e0382f4aaf7dde36173f261ad SHA256 27e34214ebed2f0e08687c540a54daa4362810db3ca0eb96539c2304df83c7c8 +MD5 daf2baba8a5e97c2b4c77b8fb78953b9 nas-1.7-r2.ebuild 1981 +RMD160 461e05a3156e177f8a2e9444346a415f9bc5e737 nas-1.7-r2.ebuild 1981 +SHA256 27e34214ebed2f0e08687c540a54daa4362810db3ca0eb96539c2304df83c7c8 nas-1.7-r2.ebuild 1981 +EBUILD nas-1.8-r1.ebuild 1861 RMD160 2b27c022bb6b2cf5c57dc6ae09a1d30e42347c5a SHA1 15693355eb5a6ad150aae2d6e19e7cb193a00e64 SHA256 f956656145a9ae129324c04f7d551fc3d86cb1fc2395b70e64fe3bbdcd1bc721 +MD5 adc03ec8bc6c167b4a014c2b9d58fbe3 nas-1.8-r1.ebuild 1861 +RMD160 2b27c022bb6b2cf5c57dc6ae09a1d30e42347c5a nas-1.8-r1.ebuild 1861 +SHA256 f956656145a9ae129324c04f7d551fc3d86cb1fc2395b70e64fe3bbdcd1bc721 nas-1.8-r1.ebuild 1861 EBUILD nas-1.8.ebuild 1787 RMD160 ad80a2a4450c5a6e17f75faed8a4844b3b086a1d SHA1 8aaad255cf15c958ce220d671911b255c067c549 SHA256 e426a71ac3943e3e3eefa54d5975cd1da6d6c3d409513c17f84f72e0d9e2bfab MD5 ea47673365d3dcc04769dc780a7f8e42 nas-1.8.ebuild 1787 RMD160 ad80a2a4450c5a6e17f75faed8a4844b3b086a1d nas-1.8.ebuild 1787 SHA256 e426a71ac3943e3e3eefa54d5975cd1da6d6c3d409513c17f84f72e0d9e2bfab nas-1.8.ebuild 1787 -MISC ChangeLog 6489 RMD160 6580a855a6dee3c5fa0357d429d528cd0f892ce1 SHA1 373d174643d3498561c6156b777ad073ef0d1446 SHA256 f681277dde0173ab41acfae5e43f11c996344362a4e7c31a12068cd7a1edaae1 -MD5 7c43d9801f7fb8bc3566a1a0c51c1018 ChangeLog 6489 -RMD160 6580a855a6dee3c5fa0357d429d528cd0f892ce1 ChangeLog 6489 -SHA256 f681277dde0173ab41acfae5e43f11c996344362a4e7c31a12068cd7a1edaae1 ChangeLog 6489 +MISC ChangeLog 6660 RMD160 3bac17b8539099e19ef20c3fdd9199055b9b830f SHA1 33917b1bb334f1cc1b2a8bfb0e33a743ae5f5d2a SHA256 b269fda9665d3d2a2b9818db6551cf4c879df8a185ab709d3e5f48ae1b081480 +MD5 790ce956c1e0289b1f4c5b1c538e4120 ChangeLog 6660 +RMD160 3bac17b8539099e19ef20c3fdd9199055b9b830f ChangeLog 6660 +SHA256 b269fda9665d3d2a2b9818db6551cf4c879df8a185ab709d3e5f48ae1b081480 ChangeLog 6660 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 @@ -35,6 +43,12 @@ SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata MD5 3f0f954c114436734c0525b1f499eaf5 files/digest-nas-1.7-r1 238 RMD160 df9f7452a589a511ea39db78831736f32431c329 files/digest-nas-1.7-r1 238 SHA256 07d5d2dec9c7efdc704a236eed234956e4c72b82733e4b7b63620dad17870495 files/digest-nas-1.7-r1 238 +MD5 3f0f954c114436734c0525b1f499eaf5 files/digest-nas-1.7-r2 238 +RMD160 df9f7452a589a511ea39db78831736f32431c329 files/digest-nas-1.7-r2 238 +SHA256 07d5d2dec9c7efdc704a236eed234956e4c72b82733e4b7b63620dad17870495 files/digest-nas-1.7-r2 238 MD5 32e9dfb48dc2e58f326fa1e8b5f751bd files/digest-nas-1.8 238 RMD160 470cc3606f81dbeb2a3f135cb7c37108397ec133 files/digest-nas-1.8 238 SHA256 d5afbbbd3bd3026d605285f61887cf9f580e24ce508177f2fb89e9d9d59fc6dc files/digest-nas-1.8 238 +MD5 32e9dfb48dc2e58f326fa1e8b5f751bd files/digest-nas-1.8-r1 238 +RMD160 470cc3606f81dbeb2a3f135cb7c37108397ec133 files/digest-nas-1.8-r1 238 +SHA256 d5afbbbd3bd3026d605285f61887cf9f580e24ce508177f2fb89e9d9d59fc6dc files/digest-nas-1.8-r1 238 diff --git a/media-libs/nas/files/digest-nas-1.7-r2 b/media-libs/nas/files/digest-nas-1.7-r2 new file mode 100644 index 000000000000..ca22ae847b47 --- /dev/null +++ b/media-libs/nas/files/digest-nas-1.7-r2 @@ -0,0 +1,3 @@ +MD5 c9918e9c9c95d587a95b455bbabe3b49 nas-1.7.src.tar.gz 1288569 +RMD160 227ddc4f5f9d264c97066dc461bad138776d1dfd nas-1.7.src.tar.gz 1288569 +SHA256 6f7cf0167d35aa1c04b0ea105b29df39638f0cea172890715ead9e419d693435 nas-1.7.src.tar.gz 1288569 diff --git a/media-libs/nas/files/digest-nas-1.8-r1 b/media-libs/nas/files/digest-nas-1.8-r1 new file mode 100644 index 000000000000..f4e08f1e7597 --- /dev/null +++ b/media-libs/nas/files/digest-nas-1.8-r1 @@ -0,0 +1,3 @@ +MD5 7e5ecab75a48c75b0c6305fcced34a97 nas-1.8.src.tar.gz 1290578 +RMD160 c7c99d7c3f66d8255bd5708325bd5c71c73b0a47 nas-1.8.src.tar.gz 1290578 +SHA256 e9b1e17f469c5db04f693c233886b78fce92fb48fe967976257eebadb09eb98d nas-1.8.src.tar.gz 1290578 diff --git a/media-libs/nas/nas-1.7-r2.ebuild b/media-libs/nas/nas-1.7-r2.ebuild new file mode 100644 index 000000000000..a8e099c7f2b1 --- /dev/null +++ b/media-libs/nas/nas-1.7-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.7-r2.ebuild,v 1.1 2007/03/09 03:08:07 beandog Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Network Audio System" +HOMEPAGE="http://radscan.com/nas.html" +SRC_URI="http://radscan.com/nas/${P}.src.tar.gz" +LICENSE="X11" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc" +RDEPEND="|| ( + ( + x11-libs/libXt + x11-libs/libXau + x11-libs/libXaw + x11-libs/libX11 + x11-libs/libXres + x11-libs/libXTrap + x11-libs/libXp + ) + virtual/x11 + )" +DEPEND="${RDEPEND} + || ( + ( x11-misc/gccmakedep x11-misc/imake app-text/rman x11-proto/xproto ) + virtual/x11 + )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-header.patch + epatch "${FILESDIR}"/${P}-gcc4.patch +} + +src_compile() { + xmkmf || die + touch doc/man/lib/tmp.{_man,man} + emake \ + MAKE="${MAKE:-gmake}" CDEBUGFLAGS="${CFLAGS}" CXXDEBUFLAGS="${CXXFLAGS}" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ + RANLIB="$(tc-getRANLIB)" World || die +} + +src_install () { + make DESTDIR=${D} install || die + make DESTDIR=${D} install.man || die + + dodoc BUGS BUILDNOTES FAQ HISTORY README RELEASE TODO + mv ${D}/usr/lib/X11/doc/html ${D}/usr/share/doc/${P}/ + rmdir ${D}/usr/lib/X11/doc + use doc && dodoc doc/*.ps doc/protocol.txt doc/pdf/*.pdf doc/actions + + # rename example nasd.conf.eg to nasd.conf and change it so that NAS + # doesn't change mixer's settings (inspired by Debian package): + mv ${D}/etc/nas/nasd.conf{.eg,} + sed -i -e 's,\(MixerInit.*\)"\(.*\)",\1"no",' ${D}/etc/nas/nasd.conf + + newconfd "${FILESDIR}"/nas.conf.d nas + newinitd "${FILESDIR}"/nas.init.d nas +} + +pkg_postinst() { + elog "To enable NAS on boot you will have to add it to the" + elog "default profile, issue the following command as root to do so." + elog "" + elog "rc-update add nas default" +} diff --git a/media-libs/nas/nas-1.8-r1.ebuild b/media-libs/nas/nas-1.8-r1.ebuild new file mode 100644 index 000000000000..2bda4e617be4 --- /dev/null +++ b/media-libs/nas/nas-1.8-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.8-r1.ebuild,v 1.1 2007/03/09 03:08:07 beandog Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Network Audio System" +HOMEPAGE="http://radscan.com/nas.html" +SRC_URI="http://radscan.com/nas/${P}.src.tar.gz" +LICENSE="X11" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc" +RDEPEND="|| ( + ( + x11-libs/libXt + x11-libs/libXau + x11-libs/libXaw + x11-libs/libX11 + x11-libs/libXres + x11-libs/libXTrap + x11-libs/libXp + ) + virtual/x11 + )" +DEPEND="${RDEPEND} + || ( + ( x11-misc/gccmakedep x11-misc/imake app-text/rman x11-proto/xproto ) + virtual/x11 + )" + +src_compile() { + xmkmf || die + touch doc/man/lib/tmp.{_man,man} + emake \ + MAKE="${MAKE:-gmake}" CDEBUGFLAGS="${CFLAGS}" CXXDEBUFLAGS="${CXXFLAGS}" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ + RANLIB="$(tc-getRANLIB)" World || die +} + +src_install () { + make DESTDIR=${D} install || die + make DESTDIR=${D} install.man || die + + dodoc BUGS BUILDNOTES FAQ HISTORY README RELEASE TODO + mv ${D}/usr/lib/X11/doc/html ${D}/usr/share/doc/${P}/ + rmdir ${D}/usr/lib/X11/doc + use doc && dodoc doc/*.ps doc/protocol.txt doc/pdf/*.pdf doc/actions + + # rename example nasd.conf.eg to nasd.conf and change it so that NAS + # doesn't change mixer's settings (inspired by Debian package): + mv ${D}/etc/nas/nasd.conf{.eg,} + sed -i -e 's,\(MixerInit.*\)"\(.*\)",\1"no",' ${D}/etc/nas/nasd.conf + + newconfd "${FILESDIR}"/nas.conf.d nas + newinitd "${FILESDIR}"/nas.init.d nas +} + +pkg_postinst() { + elog "To enable NAS on boot you will have to add it to the" + elog "default profile, issue the following command as root to do so." + elog "" + elog "rc-update add nas default" +} -- 2.26.2