From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R2ALn-0000Y8-JO for garchives@archives.gentoo.org; Fri, 09 Sep 2011 23:19:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61FF121C102; Fri, 9 Sep 2011 23:19:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1612021C102 for ; Fri, 9 Sep 2011 23:19:04 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 405DF1B401D for ; Fri, 9 Sep 2011 23:19:03 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2130) id 091042004C; Fri, 9 Sep 2011 23:19:02 +0000 (UTC) From: "Vlastimil Babka (caster)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, caster@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-cdr/webcdwriter: webcdwriter-2.8.2-r2.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: webcdwriter-2.8.2-r2.ebuild ChangeLog X-VCS-Directories: app-cdr/webcdwriter X-VCS-Committer: caster X-VCS-Committer-Name: Vlastimil Babka Content-Type: text/plain; charset=utf8 Message-Id: <20110909231902.091042004C@flycatcher.gentoo.org> Date: Fri, 9 Sep 2011 23:19:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8300536360ff3d3944fbdf5e1aa0d3ad caster 11/09/09 23:19:02 Modified: ChangeLog Added: webcdwriter-2.8.2-r2.ebuild Log: Switch JNLP dep once again, bug #382351. =20 (Portage version: 2.2.0_alpha54/cvs/Linux x86_64) Revision Changes Path 1.19 app-cdr/webcdwriter/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/webcdwrite= r/ChangeLog?rev=3D1.19&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/webcdwrite= r/ChangeLog?rev=3D1.19&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/webcdwrite= r/ChangeLog?r1=3D1.18&r2=3D1.19 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ChangeLog 8 Sep 2011 11:59:40 -0000 1.18 +++ ChangeLog 9 Sep 2011 23:19:01 -0000 1.19 @@ -1,6 +1,12 @@ # ChangeLog for app-cdr/webcdwriter # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v 1.18 = 2011/09/08 11:59:40 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/ChangeLog,v 1.19 = 2011/09/09 23:19:01 caster Exp $ + +*webcdwriter-2.8.2-r2 (09 Sep 2011) + + 09 Sep 2011; Vlastimil Babka + +webcdwriter-2.8.2-r2.ebuild: + Switch JNLP dep once again, bug #382351. =20 *webcdwriter-2.8.2-r1 (08 Sep 2011) =20 1.1 app-cdr/webcdwriter/webcdwriter-2.8.2-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/webcdwrite= r/webcdwriter-2.8.2-r2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/webcdwrite= r/webcdwriter-2.8.2-r2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: webcdwriter-2.8.2-r2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/webcdwriter/webcdwriter-2.8.2-= r2.ebuild,v 1.1 2011/09/09 23:19:01 caster Exp $ inherit eutils java-pkg-2 pam MY_P=3D${P/cd/CD} DESCRIPTION=3D"Make CD-writer(s) available to all users in your network" HOMEPAGE=3D"http://joerghaeger.de/webCDwriter/index.html" SRC_URI=3D"http://joerghaeger.de/webCDwriter/download/${MY_P}.tar.bz2" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86" IUSE=3D"pam mp3 sox vorbis" DEPEND=3D">=3Dvirtual/jdk-1.4 dev-java/jnlp-api" RDEPEND=3D">=3Dvirtual/jre-1.4 app-cdr/cdrdao virtual/cdrtools mp3? ( media-sound/mpg123 ) sox? ( media-sound/sox ) vorbis? ( media-sound/vorbis-tools )" S=3D${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.pat= ch local myconf local java_conf=3D"$(java-pkg_javac-args) -classpath $(java-pkg_getjar -= -build-only jnlp-api jnlp-api.jar)" java_conf=3D"${java_conf} -encoding ISO-8859-1" use pam || myconf=3D"--pam" myconf=3D"${myconf} --user=3Droot --group=3Droot" ./configure ${myconf} --javac-flags=3D"${java_conf}" || die "configure f= ailed" 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=3D"12411" if use mp3 then MP3=3D"on" else MP3=3D"off" fi if use vorbis then OGG=3D"on" else OGG=3D"off" fi if use sox then AUDIO=3D"on" else AUDIO=3D"off" fi cd "${S}"/CDWserver/config cat config.default \ | sed s*#portNo=3D12411*portNo=3D${PORT}*g \ | sed s*#MP3decoding=3Don*MP3decoding=3D${MP3}*g \ | sed s*"# ogg123"*oggDecoding=3D${OGG}*g \ | sed s*#audioCDSupport=3Don*audioCDSupport=3D${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}" !=3D 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 sessio= n } pkg_postinst() { # ripped from the makefile local PORTEXT if [ "${PORT}" =3D=3D "80" ] then PORTEXT=3D"" else PORTEXT=3D":${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" }