summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-cdr/webcdwriter/Manifest1
-rw-r--r--app-cdr/webcdwriter/files/2.8.2-javac-flags.patch67
-rw-r--r--app-cdr/webcdwriter/files/configure.patch16
-rw-r--r--app-cdr/webcdwriter/files/webcdwriter.rc30
-rw-r--r--app-cdr/webcdwriter/metadata.xml15
-rw-r--r--app-cdr/webcdwriter/webcdwriter-2.8.2-r2.ebuild184
6 files changed, 0 insertions, 313 deletions
diff --git a/app-cdr/webcdwriter/Manifest b/app-cdr/webcdwriter/Manifest
deleted file mode 100644
index 96ec50a3a35..00000000000
--- a/app-cdr/webcdwriter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST webCDwriter-2.8.2.tar.bz2 619761 SHA256 52dd4792ec80b3bd8b6c96e42a00c43d0f73bda5c4277cd065333d279f3f5cf3 SHA512 6dc35439f0dbe3dbc02cf791703904d6f194e4f0d3ba9b19563c109e15a56d94f1999783d0e6093782cd1ab5fbc54605462e9163e2e6a248a206562c9348651b WHIRLPOOL f98bc7e3ce5c9217fd6a62bed2280dad5704094684399c8ebc046a6fea259477903574dcd418629eec6f1de3bcee5037602c4607da233a1c4a6aa4549cc3d105
diff --git a/app-cdr/webcdwriter/files/2.8.2-javac-flags.patch b/app-cdr/webcdwriter/files/2.8.2-javac-flags.patch
deleted file mode 100644
index 3236d74a4b2..00000000000
--- a/app-cdr/webcdwriter/files/2.8.2-javac-flags.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -ur webCDwriter-2.8.2.orig/configure webCDwriter-2.8.2/configure
---- webCDwriter-2.8.2.orig/configure 2007-03-20 15:14:30.000000000 +0200
-+++ webCDwriter-2.8.2/configure 2008-06-07 13:56:36.000000000 +0300
-@@ -47,6 +47,9 @@
- --destDir=*)
- DESTDIR=`echo $1 | sed "s:--destDir=::g"`
- ;;
-+ --javac-flags=*)
-+ JAVACFLAGS=`echo $1 | sed "s:--javac-flags=::g"`
-+ ;;
- --doNotCompileCDWserver)
- doNotCompileCDWserver="on"
- ;;
-@@ -105,6 +108,8 @@
-
- --destDir use a prefix invisible to the installed files
-
-+--javac-flags flags for javac
-+
- --doNotCompileCDWserver if you want to install CDWserver Pro
-
- --doNotCompileWebCDcreator use the precompiled and signed webCDcreator
-@@ -152,7 +157,7 @@
- }
- }
- EOF
--javac Test.java 2> /dev/null \
-+javac ${JAVACFLAGS} Test.java Test0.java \
- && webCDcreator="webCDcreator.jar $webCDcreator" \
- && echo " OK -> will build webCDcreator.jar" \
- || echo " not found -> will use precompiled webCDcreator.jar"
-@@ -284,12 +289,15 @@
- forPluginRSA=""
- fi
-
-+echo "JAVACFLAGS=${JAVACFLAGS}"
-+
- cat webCDcreator/Makefile.in \
- | sed s/@nosCert@/"$nosCert"/g \
- | sed s/@sunCert@/"$sunCert"/g \
- | sed s/@all@/"$webCDcreator"/g \
- | sed s/@4pi@/"$forPlugin"/g \
- | sed s/@4ns@/"$forPluginRSA"/g \
-+ | sed s_@JAVACFLAGS@_"$JAVACFLAGS"_g \
- > webCDcreator/Makefile
-
-
-diff -ur webCDwriter-2.8.2.orig/webCDcreator/Makefile.in webCDwriter-2.8.2/webCDcreator/Makefile.in
---- webCDwriter-2.8.2.orig/webCDcreator/Makefile.in 2007-04-21 01:22:20.000000000 +0300
-+++ webCDwriter-2.8.2/webCDcreator/Makefile.in 2008-06-07 13:57:56.000000000 +0300
-@@ -14,6 +14,7 @@
-
- nosCert=@nosCert@
- sunCert=@sunCert@
-+JAVACFLAGS=@JAVACFLAGS@
-
- all: @all@
-
-@@ -21,7 +22,7 @@
- $(MAKE) -C icons
-
- webCDcreator.jar: *.java icons/up.jpg
-- javac -encoding ISO-8859-1 -source 1.4 -target 1.4 *.java
-+ javac -encoding ISO-8859-1 ${JAVACFLAGS} *.java netscape/security/*.java
- jar cfm webCDcreator.jar Manifest \
- gpl.html \
- *.class \
diff --git a/app-cdr/webcdwriter/files/configure.patch b/app-cdr/webcdwriter/files/configure.patch
deleted file mode 100644
index 1ea64f7c28d..00000000000
--- a/app-cdr/webcdwriter/files/configure.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.old 2004-05-01 20:45:25.000000000 +0200
-+++ configure 2004-09-24 15:07:52.489668584 +0200
-@@ -202,11 +202,11 @@
- MAKE=gmake
- ;;
- Linux)
-- cxxflags="-D_REENTRANT"
-+ cxxflags="$CXXFLAGS -D_REENTRANT"
- if [ "$DEBUG" = "yes" ]; then
- cxxflags="-g $cxxflags"
- else
-- cxxflags="-O2 $cxxflags"
-+ cxxflags=" $cxxflags"
- fi
- lflags="-lcrypt -lpthread"
- if [ "$PRO" = "yes" ]; then
diff --git a/app-cdr/webcdwriter/files/webcdwriter.rc b/app-cdr/webcdwriter/files/webcdwriter.rc
deleted file mode 100644
index ce02364306c..00000000000
--- a/app-cdr/webcdwriter/files/webcdwriter.rc
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting CDWserver"
- for tool in cdrdao cdrecord mkisofs readcd
- do
- if [ -e /usr/bin/$tool ]
- then
- cp /usr/bin/$tool /var/CDWserver/bin
- fi
- done
- start-stop-daemon --start --quiet --pidfile /var/run/CDWserver.pid \
- --exec /usr/sbin/CDWserver
- eend $?
- touch /var/lock/subsys/CDWserver
-}
-
-stop() {
- ebegin "Stopping CDWserver"
- start-stop-daemon --stop --quiet --pidfile /var/run/CDWserver.pid
- eend $?
- rm -f /var/lock/subsys/CDWserver
-}
diff --git a/app-cdr/webcdwriter/metadata.xml b/app-cdr/webcdwriter/metadata.xml
deleted file mode 100644
index 5949fe200ae..00000000000
--- a/app-cdr/webcdwriter/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-<longdescription>webCDwriter can be used to make the CD- and DVD-writer(s)
- connected to a Linux box available to all users in your network. It consists
- of the server CDWserver and the clients webCDcreator and rcdrecord.
- CDWserver stores the files transmitted by the clients, reserves the
- CD-writer and controls the CD-writer using cdrecord. webCDcreator is a Java
- applet that runs within your browser, assists you when putting together a CD
- and transmits the files.</longdescription>
-</pkgmetadata>
diff --git a/app-cdr/webcdwriter/webcdwriter-2.8.2-r2.ebuild b/app-cdr/webcdwriter/webcdwriter-2.8.2-r2.ebuild
deleted file mode 100644
index 272d0622f49..00000000000
--- a/app-cdr/webcdwriter/webcdwriter-2.8.2-r2.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils java-pkg-2 pam
-
-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 ~x86"
-IUSE="pam mp3 sox vorbis"
-
-DEPEND=">=virtual/jdk-1.4
- dev-java/jnlp-api"
-RDEPEND=">=virtual/jre-1.4
- app-cdr/cdrdao
- virtual/cdrtools
- mp3? ( media-sound/mpg123 )
- sox? ( media-sound/sox )
- vorbis? ( media-sound/vorbis-tools )"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- rm -v "${S}"/MD5Verify/*.jar "${S}"/webCDcreator/4plugin/*.jar || die
-}
-
-src_compile() {
- epatch "${FILESDIR}/configure.patch" "${FILESDIR}"/${PV}-javac-flags.patch
-
- local myconf
-
- local java_conf="$(java-pkg_javac-args) -classpath $(java-pkg_getjar --build-only jnlp-api jnlp-api.jar)"
- java_conf="${java_conf} -encoding ISO-8859-1"
- use pam || myconf="--pam"
- myconf="${myconf} --user=root --group=root"
- ./configure ${myconf} --javac-flags="${java_conf}" || die "configure failed"
- make || die "make failed"
-}
-
-src_install() {
- newinitd "${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
-
- # back to defaults from -m700
- diropts -m755
- java-pkg_regjar "${D}"/var/CDWserver/http/webCDcreator/*.jar
-
- java-pkg_jarinto /var/CDWserver/export/Server/tools
- java-pkg_dojar "${S}/MD5Verify/MD5Verify.jar"
-
- dodoc ChangeLog README CREDITS || die
- dohtml *.html || die
-
- use pam && pamd_mimic system-auth cdwserver auth account password session
-}
-
-pkg_postinst() {
- # ripped from the makefile
- local PORTEXT
- if [ "${PORT}" == "80" ]
- then
- PORTEXT=""
- else
- PORTEXT=":${PORT}"
- fi
- elog "To do:"
- elog "1. Enter \"/etc/init.d/CDWserver start\" to start your webCDwriter"
- elog "2. Open your web browser and try"
- elog " \"http://127.0.0.1${PORTEXT}\" or \"http://`hostname`${PORTEXT}\""
- elog "to check the status of your webCDwriter"
-# elog "3. Run \"/usr/sbin/CDWconfig.sh\" to set the rights of CDWserver"
- echo
- ewarn "Remember to setup /etc/CDWserver/config"
-}