diff options
author | Lars Weiler <pylon@gentoo.org> | 2005-08-07 00:29:52 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2005-08-07 00:29:52 +0000 |
commit | 33028bbade3e042b5a3d48657f118deb3ed9d2b8 (patch) | |
tree | e147e1d2ff899633c6fe0d94d92a143070cfbdfb | |
parent | Change text output to unicode if requested; Bug 99681. (diff) | |
download | historical-33028bbade3e042b5a3d48657f118deb3ed9d2b8.tar.gz historical-33028bbade3e042b5a3d48657f118deb3ed9d2b8.tar.bz2 historical-33028bbade3e042b5a3d48657f118deb3ed9d2b8.zip |
Corrected java-dependencies; Bug 99686.
Package-Manager: portage-2.0.51.22-r2
-rw-r--r-- | app-cdr/webcdwriter/ChangeLog | 7 | ||||
-rw-r--r-- | app-cdr/webcdwriter/Manifest | 4 | ||||
-rw-r--r-- | app-cdr/webcdwriter/files/digest-webcdwriter-2.6.8-r1 | 1 | ||||
-rw-r--r-- | app-cdr/webcdwriter/webcdwriter-2.6.8-r1.ebuild | 126 |
4 files changed, 136 insertions, 2 deletions
diff --git a/app-cdr/webcdwriter/ChangeLog b/app-cdr/webcdwriter/ChangeLog index 6699e58dc3b8..c7cebbafd118 100644 --- a/app-cdr/webcdwriter/ChangeLog +++ b/app-cdr/webcdwriter/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-cdr/webcdwriter # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v 1.2 2005/06/11 11:45:34 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v 1.3 2005/08/07 00:29:52 pylon Exp $ + +*webcdwriter-2.6.8-r1 (07 Aug 2005) + + 07 Aug 2005; Lars Weiler <pylon@gentoo.org> +webcdwriter-2.6.8-r1.ebuild: + Corrected java-dependencies; Bug 99686. 11 Jun 2005; David Holm <dholm@gentoo.org> webcdwriter-2.6.8.ebuild: Added to ~ppc. diff --git a/app-cdr/webcdwriter/Manifest b/app-cdr/webcdwriter/Manifest index 1f81753ad03b..f13783f29d7d 100644 --- a/app-cdr/webcdwriter/Manifest +++ b/app-cdr/webcdwriter/Manifest @@ -1,7 +1,9 @@ -MD5 c79daed3e716b88c730d999859694f54 ChangeLog 567 +MD5 3d14511fc8754605492e7d678947b2df ChangeLog 723 MD5 cfe975200ea41b14081dcb465baaf0c4 metadata.xml 656 +MD5 f63b3e7423cf61aab078f7a6b08f26ca webcdwriter-2.6.8-r1.ebuild 3007 MD5 262d58735b82515d8ba4c2fd9dfce1e6 webcdwriter-2.6.8.ebuild 3035 MD5 de11fda53f812cf8a6bccc2f4df4cff5 files/config-root.patch 260 MD5 8f8f44c42ee38330ea3a7b9e559aaab3 files/configure.patch 397 MD5 5be299cc59fc9d258fe669c9f3ab8dc6 files/digest-webcdwriter-2.6.8 70 MD5 825a17dfddef56176d77713efd969aec files/webcdwriter.rc 803 +MD5 5be299cc59fc9d258fe669c9f3ab8dc6 files/digest-webcdwriter-2.6.8-r1 70 diff --git a/app-cdr/webcdwriter/files/digest-webcdwriter-2.6.8-r1 b/app-cdr/webcdwriter/files/digest-webcdwriter-2.6.8-r1 new file mode 100644 index 000000000000..48983bb7bdc7 --- /dev/null +++ b/app-cdr/webcdwriter/files/digest-webcdwriter-2.6.8-r1 @@ -0,0 +1 @@ +MD5 fb17bcc03dcdcd720f771ea3909fbc33 webCDwriter-2.6.8.tar.bz2 539368 diff --git a/app-cdr/webcdwriter/webcdwriter-2.6.8-r1.ebuild b/app-cdr/webcdwriter/webcdwriter-2.6.8-r1.ebuild new file mode 100644 index 000000000000..f906f4cbd534 --- /dev/null +++ b/app-cdr/webcdwriter/webcdwriter-2.6.8-r1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/webcdwriter-2.6.8-r1.ebuild,v 1.1 2005/08/07 00:29:52 pylon Exp $ + +inherit eutils java-pkg + +MY_P="${P/cd/CD}" +DESCRIPTION="Make a single CD-writer available to the users in your network" +HOMEPAGE="http://joerghaeger.de/webCDwriter/index.html" +SRC_URI="http://joerghaeger.de/webCDwriter/download/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="java pam mp3 sox oggvorbis" + +RDEPEND=" + app-cdr/cdrdao + app-cdr/cdrtools + mp3? ( media-sound/mpg123 ) + sox? ( media-sound/sox ) + oggvorbis? ( media-sound/vorbis-tools ) + java? ( >=virtual/jre-1.4 )" +DEPEND="java? ( >=virtual/jdk-1.4 ) + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + epatch ${FILESDIR}/configure.patch + epatch ${FILESDIR}/config-root.patch + + local myconf + + use pam || myconf="--pam" + myconf="${myconf} --user=root --group=root" + ./configure ${myconf} || die "configure failed" + make || die "make failed" +} + +src_install() { + + exeinto /etc/init.d/ + newexe ${FILESDIR}/${PN}.rc CDWserver + + diropts -m700 + dodir /etc/CDWserver + keepdir /var/CDWserver/bin + dodir /var/CDWserver/export/Server/tools + dodir /var/CDWserver/http/rcdrecord + keepdir /var/CDWserver/projects + keepdir /var/log/CDWserver + keepdir /var/spool/CDWserver + + insinto /etc/CDWserver + + mv ${S}/webCDcreator/start.html ${S}/webCDcreator/index.html + + cd ${S}/CDWserver/config + for name in `find -name '[!M]*' -type f` + do + doins ${name} + done + + cd ${S}/CDWserver/http + for dirname in `find -type d` + do + cd ${S}/CDWserver/http/${dirname} + dodir /var/CDWserver/http/${dirname} + insinto /var/CDWserver/http/${dirname} + for name in `find -name '[!M]*' -type f` + do + doins ${name} + done + done + + insinto /var/CDWserver/http/rcdrecord + + cd ${S}/rcdrecord + for name in `find -name '*.html'` + do + doins ${name} + done + + cd ${S}/webCDcreator + for dirname in `find -type d` + do + cd ${S}/webCDcreator/${dirname} + dodir /var/CDWserver/http/webCDcreator/${dirname} + insinto /var/CDWserver/http/webCDcreator/${dirname} + for name in `find -name '[!Mak]*' -type f` + do + doins ${name} + done + done + + cd ${S} + + dosbin ${S}/CDWserver/CDWserver + dobin ${S}/CDWserver/CDWrootGate + dobin ${S}/CDWserver/CDWverify + dobin ${S}/CDWserver/setScheduler + dobin ${S}/rcdrecord/rcdrecord + + dosym /usr/sbin/CDWserver /usr/sbin/CDWpasswd + dosym /usr/sbin/CDWserver /usr/sbin/CDWuseradd + dosym /usr/bin/rcdrecord /usr/bin/files2cd + dosym /usr/bin/rcdrecord /usr/bin/image2cd + + insinto /var/CDWserver/export/Server/tools + doins ${S}/MD5Verify/MD5Verify.jar + + dodoc COPYING ChangeLog README CREDITS + dohtml *.html +} + +pkg_postinst() { + # ripped from the makefile + einfo "Now you can start CDWserver by" + einfo " /etc/init.d/CDWserver start" + einfo "Then visit" + einfo " http://localhost:12411" + einfo "or try rcdrecord or files2cd on the command line." + echo + ewarn "Remember to setup /etc/CDWserver/config" +} |