summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2005-11-12 18:30:30 +0000
committerLuis Medinas <metalgod@gentoo.org>2005-11-12 18:30:30 +0000
commit746ee243eba2b77230b8017edc2115014662e708 (patch)
treef307f1fbc95c6ca1f08d3913175913df72f37e3b /app-cdr/webcdwriter
parentkillsoft is being retired. (diff)
downloadgentoo-2-746ee243eba2b77230b8017edc2115014662e708.tar.gz
gentoo-2-746ee243eba2b77230b8017edc2115014662e708.tar.bz2
gentoo-2-746ee243eba2b77230b8017edc2115014662e708.zip
Version Bump.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'app-cdr/webcdwriter')
-rw-r--r--app-cdr/webcdwriter/ChangeLog7
-rw-r--r--app-cdr/webcdwriter/Manifest24
-rw-r--r--app-cdr/webcdwriter/files/digest-webcdwriter-2.7.31
-rw-r--r--app-cdr/webcdwriter/webcdwriter-2.7.3.ebuild173
4 files changed, 188 insertions, 17 deletions
diff --git a/app-cdr/webcdwriter/ChangeLog b/app-cdr/webcdwriter/ChangeLog
index e2cf60ae7034..512059a3d993 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.6 2005/09/01 04:26:02 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v 1.7 2005/11/12 18:30:30 metalgod Exp $
+
+*webcdwriter-2.7.3 (12 Nov 2005)
+
+ 12 Nov 2005; Luis Medinas <metalgod@gentoo.org> +webcdwriter-2.7.3.ebuild:
+ Version Bump.
*webcdwriter-2.7.2 (01 Sep 2005)
diff --git a/app-cdr/webcdwriter/Manifest b/app-cdr/webcdwriter/Manifest
index c9d9eb8dfafe..b460e5dc85c4 100644
--- a/app-cdr/webcdwriter/Manifest
+++ b/app-cdr/webcdwriter/Manifest
@@ -1,21 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7f048745738443e7ee8da4ada8b0a7b3 ChangeLog 1238
-MD5 cfe975200ea41b14081dcb465baaf0c4 metadata.xml 656
-MD5 f63b3e7423cf61aab078f7a6b08f26ca webcdwriter-2.6.8-r1.ebuild 3007
-MD5 d36eba7272b87d7d83e37a37c737d477 webcdwriter-2.7.1.ebuild 3864
-MD5 ebaca58627aa10b96e1f278bf248d147 webcdwriter-2.7.2.ebuild 3874
+MD5 298b90f5a75ee922e90a343aebb7d174 ChangeLog 1366
MD5 de11fda53f812cf8a6bccc2f4df4cff5 files/config-root.patch 260
MD5 8f8f44c42ee38330ea3a7b9e559aaab3 files/configure.patch 397
-MD5 825a17dfddef56176d77713efd969aec files/webcdwriter.rc 803
MD5 5be299cc59fc9d258fe669c9f3ab8dc6 files/digest-webcdwriter-2.6.8-r1 70
MD5 17cbf02ad0f7dfa38d7783853c2b80e7 files/digest-webcdwriter-2.7.1 70
MD5 57e8f1d60148f132d2480439dbbcabf8 files/digest-webcdwriter-2.7.2 70
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDFpBUwUpWvClEHQoRAvOoAJ9gqtkhb8M5LwBSZLkfAQmJgognbACfeGb/
-a5+cq0lsjgWwdTQPw5tqTPg=
-=XrUQ
------END PGP SIGNATURE-----
+MD5 199d09fade121e66b76b1d9e781d643b files/digest-webcdwriter-2.7.3 70
+MD5 825a17dfddef56176d77713efd969aec files/webcdwriter.rc 803
+MD5 cfe975200ea41b14081dcb465baaf0c4 metadata.xml 656
+MD5 f63b3e7423cf61aab078f7a6b08f26ca webcdwriter-2.6.8-r1.ebuild 3007
+MD5 d36eba7272b87d7d83e37a37c737d477 webcdwriter-2.7.1.ebuild 3864
+MD5 ebaca58627aa10b96e1f278bf248d147 webcdwriter-2.7.2.ebuild 3874
+MD5 ebaca58627aa10b96e1f278bf248d147 webcdwriter-2.7.3.ebuild 3874
diff --git a/app-cdr/webcdwriter/files/digest-webcdwriter-2.7.3 b/app-cdr/webcdwriter/files/digest-webcdwriter-2.7.3
new file mode 100644
index 000000000000..bba40d11c2d1
--- /dev/null
+++ b/app-cdr/webcdwriter/files/digest-webcdwriter-2.7.3
@@ -0,0 +1 @@
+MD5 21360681b4c731978aac28967d0819de webCDwriter-2.7.3.tar.bz2 593194
diff --git a/app-cdr/webcdwriter/webcdwriter-2.7.3.ebuild b/app-cdr/webcdwriter/webcdwriter-2.7.3.ebuild
new file mode 100644
index 000000000000..c7bead191cb9
--- /dev/null
+++ b/app-cdr/webcdwriter/webcdwriter-2.7.3.ebuild
@@ -0,0 +1,173 @@
+# 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.7.3.ebuild,v 1.1 2005/11/12 18:30:30 metalgod Exp $
+
+inherit eutils java-pkg
+
+MY_P="${P/cd/CD}"
+DESCRIPTION="Make CD-writer(s) available to all 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="~amd64 ~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
+
+ 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
+
+ PORT="12411"
+ if use mp3
+ then
+ MP3="on"
+ else
+ MP3="off"
+ fi
+ if use oggvorbis
+ then
+ OGG="on"
+ else
+ OGG="off"
+ fi
+ if use sox
+ then
+ AUDIO="on"
+ else
+ AUDIO="off"
+ fi
+
+ cd ${S}/CDWserver/config
+ cat config.default \
+ | sed s*#portNo=12411*portNo=${PORT}*g \
+ | sed s*#MP3decoding=on*MP3decoding=${MP3}*g \
+ | sed s*"# ogg123"*oggDecoding=${OGG}*g \
+ | sed s*#audioCDSupport=on*audioCDSupport=${AUDIO}*g \
+ > 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
+
+ cd ${S}/CDWserver/test
+ make || die "make -C CDWserver/test failed"
+ for name in `find -type f -perm -111`
+ do
+ dobin ${name}
+ done
+
+ insinto /var/CDWserver/http/rcdrecord
+
+ cd ${S}/rcdrecord
+ for name in `find -name '*.html'`
+ do
+ doins ${name}
+ done
+
+ cd ${S}/webCDcreator
+ cp start.html index.html
+ 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 -type f`
+ do
+ if test "${name}" != Makefile
+ then
+ doins ${name}
+ fi
+ done
+ done
+
+ cd ${S}/tools
+ make || die "make -C tools failed"
+ mv CDWconfig.sh.tmp ${S}/CDWserver/CDWconfig.sh
+
+ cd ${S}
+
+ dosbin ${S}/CDWserver/CDWconfig.sh
+ 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
+ local PORTEXT
+ if [ "${PORT}" == "80" ]
+ then
+ PORTEXT=""
+ else
+ PORTEXT=":${PORT}"
+ fi
+ einfo "To do:"
+ einfo "1. Enter \"/etc/init.d/CDWserver start\" to start your webCDwriter"
+ einfo "2. Open your web browser and try"
+ einfo " \"http://127.0.0.1${PORTEXT}\" or \"http://`hostname`${PORTEXT}\""
+ einfo "to check the status of your webCDwriter"
+# einfo "3. Run \"/usr/sbin/CDWconfig.sh\" to set the rights of CDWserver"
+ echo
+ ewarn "Remember to setup /etc/CDWserver/config"
+}