diff options
-rw-r--r-- | net-www/xxv/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/xxv/Manifest | 21 | ||||
-rw-r--r-- | net-www/xxv/files/digest-xxv-1.0.1-r1 | 3 | ||||
-rw-r--r-- | net-www/xxv/xxv-1.0.1-r1.ebuild | 186 |
4 files changed, 210 insertions, 8 deletions
diff --git a/net-www/xxv/ChangeLog b/net-www/xxv/ChangeLog index b4f824c21ef5..516bc6f5cb7b 100644 --- a/net-www/xxv/ChangeLog +++ b/net-www/xxv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-www/xxv # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/xxv/ChangeLog,v 1.4 2007/12/03 22:58:56 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/xxv/ChangeLog,v 1.5 2007/12/05 20:44:05 hd_brummy Exp $ + +*xxv-1.0.1-r1 (05 Dec 2007) + + 05 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org> +xxv-1.0.1-r1.ebuild: + Version include new use-flag themes; this will support an extra package with + more skins 03 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org> xxv-1.0.1.ebuild: added missing perl modul diff --git a/net-www/xxv/Manifest b/net-www/xxv/Manifest index 552cf7dae8b9..865cf85cc801 100644 --- a/net-www/xxv/Manifest +++ b/net-www/xxv/Manifest @@ -19,6 +19,10 @@ RMD160 cf179b200bca2ba165550530c5a4dc6e3e01838f files/xxvd-logrotate 477 SHA256 3f4aa0de2dd635532df74ad60074724f2dce62a7a716824dac0cdb228d868d95 files/xxvd-logrotate 477 DIST xxv-1.0.1.tgz 920320 RMD160 fa71db154cb9d185e6175f21d4e2ad3fa1747cd6 SHA1 b58e81e218e47e99e9fddbdeab776201c266a044 SHA256 94a13c087e7a6d180b3e23815bd8d36b1ee5ac81fd31faa0f825d0395d8d6f78 DIST xxv-1.0.tgz 1740659 RMD160 94df23da24d2dc228de542882ad84b4d69a81882 SHA1 4858a32f2b23f760a3cb902dc27d1db8f2a43f2c SHA256 8d9d2146141589da450178604121fc050e3c186dddf902d1224d013a3bd0d2cf +EBUILD xxv-1.0.1-r1.ebuild 4397 RMD160 6751d08a2bad8753c7f98f914b4780d18278c3cf SHA1 2897cc08b48953f8ac7753d63d35602206d0fcb4 SHA256 954d8f86f368c104532d68b6b9a268750da0603478dc4c9bb465762679cca1bd +MD5 ff3b32f8a4d6970a88e65a359575c745 xxv-1.0.1-r1.ebuild 4397 +RMD160 6751d08a2bad8753c7f98f914b4780d18278c3cf xxv-1.0.1-r1.ebuild 4397 +SHA256 954d8f86f368c104532d68b6b9a268750da0603478dc4c9bb465762679cca1bd xxv-1.0.1-r1.ebuild 4397 EBUILD xxv-1.0.1.ebuild 4390 RMD160 eba6514436eece53b21ddbe5ae43b698af1bd65b SHA1 19e4203f9fe434f30c4b325aaa4c51f50b519436 SHA256 8374c9e8efc9a2d3336c24a9408ea38f8e0d3038eed90bad885588c96f4a904f MD5 bd53b965242ea79c5232d37551e57a8b xxv-1.0.1.ebuild 4390 RMD160 eba6514436eece53b21ddbe5ae43b698af1bd65b xxv-1.0.1.ebuild 4390 @@ -27,10 +31,10 @@ EBUILD xxv-1.0.ebuild 4512 RMD160 b089cb6f3a38d0f89df86fe4c3023dd68b08c3bd SHA1 MD5 cbb34e55e7ffcb0c71df7003617ad234 xxv-1.0.ebuild 4512 RMD160 b089cb6f3a38d0f89df86fe4c3023dd68b08c3bd xxv-1.0.ebuild 4512 SHA256 48be865a4041666f03056772cc57b2de01ec2348421cf03bc6bff47f431ff9ab xxv-1.0.ebuild 4512 -MISC ChangeLog 790 RMD160 89f437f77fa930b99038da7fec648822466c0c72 SHA1 c1308ec71aef5e65272cc9264c6c145bea8862ac SHA256 dee13dc978e20246659e0162b5f5c06904fe544009643e7b1c1f3285771938a8 -MD5 9fdfc663084413580b32faa8e3d5e0f4 ChangeLog 790 -RMD160 89f437f77fa930b99038da7fec648822466c0c72 ChangeLog 790 -SHA256 dee13dc978e20246659e0162b5f5c06904fe544009643e7b1c1f3285771938a8 ChangeLog 790 +MISC ChangeLog 989 RMD160 31290523f78df9ebb08255d9e59dbeef63b7902c SHA1 e0e0b3549a4d11a6b99d80c678218fc2dc682817 SHA256 aa68f3f68cc5019334372d4dd595eaa82d9165df3568e6acaec931b3d113730c +MD5 c29c041062dd6b5a773d468ba58f5d5d ChangeLog 989 +RMD160 31290523f78df9ebb08255d9e59dbeef63b7902c ChangeLog 989 +SHA256 aa68f3f68cc5019334372d4dd595eaa82d9165df3568e6acaec931b3d113730c ChangeLog 989 MISC metadata.xml 505 RMD160 d9f9f87054d19eb338514ec2a2420e0326cdd820 SHA1 c06a6dd13457eba71d2f85bc0a89ea7660f21a8e SHA256 48e92504e7bab6cb0434cbe74e562ec43a6250f1d530c7533a311b516179890c MD5 cfe09b1dfa7ae8b1caa376a6e771f2d3 metadata.xml 505 RMD160 d9f9f87054d19eb338514ec2a2420e0326cdd820 metadata.xml 505 @@ -41,11 +45,14 @@ SHA256 1816b0280f27fbb2edc0ce02ab5c30ab5681142d305e928987402a2432a91dd0 files/di MD5 c9e153d43be73f7e3706bbca42722562 files/digest-xxv-1.0.1 220 RMD160 eed3a4a6cd10e88901bdd85e2bcd42269048d25f files/digest-xxv-1.0.1 220 SHA256 656ed12e496a6c9a598eef2e28623e8ba3fb667d09b93775faf09f790584a58f files/digest-xxv-1.0.1 220 +MD5 c9e153d43be73f7e3706bbca42722562 files/digest-xxv-1.0.1-r1 220 +RMD160 eed3a4a6cd10e88901bdd85e2bcd42269048d25f files/digest-xxv-1.0.1-r1 220 +SHA256 656ed12e496a6c9a598eef2e28623e8ba3fb667d09b93775faf09f790584a58f files/digest-xxv-1.0.1-r1 220 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: added by hd_brummy@gentoo.org -iD8DBQFHVIondn07HTTCgIoRAjJWAKCuQ896e71W+v/4SI6iwxs5i2vg8gCfRgxq -FIc8+1JJu6W8Ric4qGzxDDU= -=k268 +iD8DBQFHVw2Jdn07HTTCgIoRAnPGAJ4u5RbN3kbtvqR+5HVRELrMW6vXxgCeIKxO +E318PXLwN3XO4JDLasMTdVA= +=Lrwl -----END PGP SIGNATURE----- diff --git a/net-www/xxv/files/digest-xxv-1.0.1-r1 b/net-www/xxv/files/digest-xxv-1.0.1-r1 new file mode 100644 index 000000000000..9b0a862663cb --- /dev/null +++ b/net-www/xxv/files/digest-xxv-1.0.1-r1 @@ -0,0 +1,3 @@ +MD5 2387aa25d1091e131479ca8f0abf9dae xxv-1.0.1.tgz 920320 +RMD160 fa71db154cb9d185e6175f21d4e2ad3fa1747cd6 xxv-1.0.1.tgz 920320 +SHA256 94a13c087e7a6d180b3e23815bd8d36b1ee5ac81fd31faa0f825d0395d8d6f78 xxv-1.0.1.tgz 920320 diff --git a/net-www/xxv/xxv-1.0.1-r1.ebuild b/net-www/xxv/xxv-1.0.1-r1.ebuild new file mode 100644 index 000000000000..1b0f30e45fb2 --- /dev/null +++ b/net-www/xxv/xxv-1.0.1-r1.ebuild @@ -0,0 +1,186 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/xxv/xxv-1.0.1-r1.ebuild,v 1.1 2007/12/05 20:44:05 hd_brummy Exp $ + +inherit eutils + +DESCRIPTION="WWW Admin for the VDR (Video Disk Recorder)" +HOMEPAGE="http://xxv.berlios.de/content/view/37/1/" +SRC_URI="http://download.berlios.de/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="mplayer themes" + +RDEPEND=">=media-video/vdr-1.2.6 + media-video/vdr2jpeg + media-fonts/ttf-bitstream-vera + dev-db/mysql + perl-core/CGI + perl-core/Digest-MD5 + perl-core/Getopt-Long + perl-core/MIME-Base64 + perl-core/Time-HiRes + dev-perl/Compress-Zlib + dev-perl/Config-Tiny + dev-perl/Digest-HMAC + dev-perl/Encode-Detect + dev-perl/GD + dev-perl/DateManip + dev-perl/DBD-mysql + dev-perl/DBI + dev-perl/Event + dev-perl/IO-Socket-INET6 + dev-perl/JSON + dev-perl/Locale-gettext + dev-perl/MP3-Info + dev-perl/Net-Amazon + dev-perl/Net-Telnet + dev-perl/Net-XMPP + dev-perl/Proc-ProcessTable + dev-perl/TextToHTML + dev-perl/Template-Toolkit + dev-perl/SOAP-Lite + dev-perl/XML-RSS + themes? ( =x11-themes/${PN}-skins-${PV} )" + +PDEPEND="mplayer? ( media-video/mplayer )" + +SHAREDIR="/usr/share/${PN}" +LIBDIR="/usr/lib/${PN}" + +DB_VERS="25" + +pkg_setup() { + + if ! built_with_use dev-perl/GD png gif ; then + echo + eerror "Please recompile dev-perl/GD with" + eerror "USE=\"png gif\"" + die "dev-perl/GD need png and gif support" + fi + + if ! has_version "net-www/${PN}"; then + echo + einfo "Before you install xxv at first time you should read" + einfo "http://www.vdr-wiki.de/wiki/index.php/Xxv German only available" + echo + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i "${S}"/bin/xxvd \ + -e "s:debian:Gentoo:" \ + -e "s:/var/log/xxvd.log:/var/log/xxv/xxvd.log:" \ + -e "s:/var/run/xxvd.pid:/var/run/xxv/xxvd.pid:" \ + -e "s:\$RealBin/../lib:${LIBDIR}:" \ + -e "s:\$RealBin/../locale:${SHAREDIR}/locale:" \ + -e "s:\$RealBin/../lib/XXV/MODULES:${LIBDIR}/XXV/MODULES:" \ + -e "s:\$RealBin/../etc/xxvd.cfg:/etc/xxv/xxvd.cfg:" \ + -e "s:\$RealBin/../doc:/usr/share/doc/${P}:" \ + -e "s:HTMLDIR => \"\$RealBin/../:HTMLDIR => \"${SHAREDIR}/skins:" \ + -e "s:\$RealBin/../share/vtx:${SHAREDIR}/vtx:" \ + -e "s:\$RealBin/../lib/XXV/OUTPUT:${LIBDIR}/XXV/OUTPUT:" \ + -e "s:\$RealBin/../share/news:${SHAREDIR}/news:" \ + -e "s:\$RealBin/../contrib:${SHAREDIR}/contrib:" \ + -e "s:\$RealBin/../share/fonts/:/usr/share/fonts/:" + + sed -i "s:\$RealBin/../lib:${LIBDIR}:" ./locale/xgettext.pl +} + +src_compile() { +: +} + +src_install() { + + doinitd "${FILESDIR}"/xxv + + dobin bin/xxvd + + insinto /etc/"${PN}" + newins "${FILESDIR}"/xxvd-1.0.cfg xxvd.cfg + + insinto /etc/logrotate.d + newins "${FILESDIR}"/xxvd-logrotate xxvd + + diropts -m755 -ovdr -gvdr + keepdir /var/cache/xxv + keepdir /var/run/xxv + keepdir /var/log/xxv + + insinto "${LIBDIR}" + doins -r "${S}"/lib/* + + insinto "${SHAREDIR}" + doins -r "${S}"/share/{news,vtx} + + insinto "${SHAREDIR}"/locale + doins -r "${S}"/locale/* + fperms 0755 "${SHAREDIR}"/locale/xgettext.pl + + insinto "${SHAREDIR}"/contrib + doins -r "${S}"/contrib/* + fperms 0755 "${SHAREDIR}"/contrib/update-xxv + + insinto "${SHAREDIR}"/skins + doins -r "${S}"/{html,wml} + doins "${S}"/doc/docu.tmpl + + cd "${S}"/doc + insinto /usr/share/doc/"${P}" + doins docu.tmpl CHANGELOG COPYING LIESMICH NEWS README TODO TUTORIAL.txt.gz + fowners vdr:vdr /usr/share/doc/"${P}" + + doman xxvd.1 +} + +pkg_postinst() { + + if has_version "net-www/${PN}"; then + if has_version "=<net-www/${PN}-0.91_pre1002" ; then + echo + einfo "An update of XXV Database is needed" + echo + einfo "emerge --config ${PN}" + echo + einfo "will update your XXV Database" + fi + else + einfo "You have to create a empty DB for XXV" + einfo "do this by:" + einfo "cd ${SHAREDIR}/contrib" + eerror "read the README" + einfo "edit create-database.sql and run" + einfo "emerge --config ${PN}" + echo + einfo "Set your own language in" + einfo "${SHAREDIR}/locale" + echo + einfo "For First Time Login in Browser use:" + einfo "Pass:Login = xxv:xxv" + echo + eerror "edit /etc/xxv/xxvd.cfg !" + fi +} + +pkg_config() { + + if has_version "=<net-www/${PN}-0.91_pre1002"; then + cd "${ROOT}"/"${SHAREDIR}"/contrib + ./update-xxv + else + cd "${ROOT}"/"${SHAREDIR}" + cat ./contrib/create-database.sql | mysql -u root -p + fi +} + +pkg_postrm() { + + einfo "Cleanup for old "${P}" files" + rm -r /usr/share/doc/"${P}" +} |