summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2006-08-18 01:44:27 +0000
committerLuis Medinas <metalgod@gentoo.org>2006-08-18 01:44:27 +0000
commitb13563af3da6cfe8b1e08863f29b03b4c2c9ff0c (patch)
treecf9358d8ee952ad1c4b64dadb4668ac14d109f23
parentMarking amd64 stable (diff)
downloadgentoo-2-b13563af3da6cfe8b1e08863f29b03b4c2c9ff0c.tar.gz
gentoo-2-b13563af3da6cfe8b1e08863f29b03b4c2c9ff0c.tar.bz2
gentoo-2-b13563af3da6cfe8b1e08863f29b03b4c2c9ff0c.zip
Version Bump. Closes bug #144117.
(Portage version: 2.1.1_pre5-r2)
-rw-r--r--app-cdr/webcdwriter/ChangeLog9
-rw-r--r--app-cdr/webcdwriter/files/digest-webcdwriter-2.8.03
-rw-r--r--app-cdr/webcdwriter/webcdwriter-2.8.0.ebuild173
3 files changed, 183 insertions, 2 deletions
diff --git a/app-cdr/webcdwriter/ChangeLog b/app-cdr/webcdwriter/ChangeLog
index 66c109bd70b9..1f22ceca8946 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.8 2005/12/26 15:38:47 lu_zero Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v 1.9 2006/08/18 01:44:27 metalgod Exp $
+
+*webcdwriter-2.8.0 (18 Aug 2006)
+
+ 18 Aug 2006; Luis Medinas <metalgod@gentoo.org> +webcdwriter-2.8.0.ebuild:
+ Version Bump. Closes bug #144117.
26 Dec 2005; Luca Barbato <lu_zero@gentoo.org>
webcdwriter-2.6.8-r1.ebuild, webcdwriter-2.7.1.ebuild,
diff --git a/app-cdr/webcdwriter/files/digest-webcdwriter-2.8.0 b/app-cdr/webcdwriter/files/digest-webcdwriter-2.8.0
new file mode 100644
index 000000000000..559bce9d5452
--- /dev/null
+++ b/app-cdr/webcdwriter/files/digest-webcdwriter-2.8.0
@@ -0,0 +1,3 @@
+MD5 400c26a9f2c623f2f642eb081d60fb79 webCDwriter-2.8.0.tar.bz2 616305
+RMD160 9a0bae209290e574aecbabcc5a0907c4db84a140 webCDwriter-2.8.0.tar.bz2 616305
+SHA256 bc8b7d167c99ccfe83d144b26e60d3f5be81af45be52e14d6817112d032ba13c webCDwriter-2.8.0.tar.bz2 616305
diff --git a/app-cdr/webcdwriter/webcdwriter-2.8.0.ebuild b/app-cdr/webcdwriter/webcdwriter-2.8.0.ebuild
new file mode 100644
index 000000000000..9d099aa11ab5
--- /dev/null
+++ b/app-cdr/webcdwriter/webcdwriter-2.8.0.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/webcdwriter-2.8.0.ebuild,v 1.1 2006/08/18 01:44:27 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 vorbis"
+
+RDEPEND="
+ app-cdr/cdrdao
+ app-cdr/cdrtools
+ mp3? ( media-sound/mpg123 )
+ sox? ( media-sound/sox )
+ vorbis? ( 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 vorbis
+ 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"
+}