diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2010-11-27 15:54:09 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2010-11-27 15:54:09 +0000 |
commit | 05147386287d4cc340531085a1c3f81906f9bd32 (patch) | |
tree | eeb67eb615cb72f44490fc4b7e7794d8b573551d /www-misc | |
parent | Backport upstream patch to fix radegast crash (bug #341435 by tman). (diff) | |
download | historical-05147386287d4cc340531085a1c3f81906f9bd32.tar.gz historical-05147386287d4cc340531085a1c3f81906f9bd32.tar.bz2 historical-05147386287d4cc340531085a1c3f81906f9bd32.zip |
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/xxv/ChangeLog | 7 | ||||
-rw-r--r-- | www-misc/xxv/Manifest | 10 | ||||
-rw-r--r-- | www-misc/xxv/xxv-1.6.1.ebuild | 185 |
3 files changed, 197 insertions, 5 deletions
diff --git a/www-misc/xxv/ChangeLog b/www-misc/xxv/ChangeLog index 709afdd969b2..25c192705a33 100644 --- a/www-misc/xxv/ChangeLog +++ b/www-misc/xxv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-misc/xxv # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/ChangeLog,v 1.12 2010/05/09 21:10:35 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/ChangeLog,v 1.13 2010/11/27 15:54:09 hd_brummy Exp $ + +*xxv-1.6.1 (27 Nov 2010) + + 27 Nov 2010; Joerg Bornkessel <hd_brummy@gentoo.org> +xxv-1.6.1.ebuild: + version bump 09 May 2010; Joerg Bornkessel <hd_brummy@gentoo.org> xxv-1.6.ebuild: added missing depend dev-perl/JSON; fixed permisssion for xxv.cfg diff --git a/www-misc/xxv/Manifest b/www-misc/xxv/Manifest index 63d539c260f3..f34b57226518 100644 --- a/www-misc/xxv/Manifest +++ b/www-misc/xxv/Manifest @@ -8,17 +8,19 @@ AUX xxvd-1.0.cfg 2257 RMD160 2f0ed9987f6a85fa4bc1a7ae68b31251f4e72b00 SHA1 f82ef AUX xxvd-logrotate 478 RMD160 5945c1c40750b594dce1bec7ba8cf9cc7aa43ea0 SHA1 450c4e18023716851a86a1afc8a8ce749a9e3513 SHA256 0b16eda74181e54f0beb5a3de92d2e12288270bc891e378d61a076274e53f11a DIST xxv-1.4.tgz 915079 RMD160 af230b55e988139cc8144a6e9493a30f8277a1e6 SHA1 ff64ae9d763df2fdc83bf80a8f647e1b35ec07a2 SHA256 ae551cfc315e7b9b6035597f9bf580422e6dc71218a84c021a2855966c72ca79 DIST xxv-1.5.tgz 987576 RMD160 e45305f4981b90e6ff9dc42791fb8a91aaf4c510 SHA1 c0040a26dfe8fa7282d84322ff3d58b2f1f9cb8a SHA256 7d7bd518b96e9cc367cd6fc036e7131a4f1faa4cac4e19d6d40b87f3ef16f594 +DIST xxv-1.6.1.tgz 992065 RMD160 72da3a277aed8ca662faff881647b41264f2f833 SHA1 aaed0fb0158d67c56a0d2028877e3530f2a789b5 SHA256 14288f7fb4c16c536e0c861b4f213bc1a7bf19e036b6d37777989acaa9b82643 DIST xxv-1.6.tgz 989847 RMD160 cdcc28836a8b1d216c99c3e44c032173d25c923d SHA1 64aff646e05c5abded0d7f0d1a07326cac887e40 SHA256 36a30939d605622276e025733a404f9674379d90f37229337bfa6dccaca12a60 EBUILD xxv-1.4.ebuild 4464 RMD160 ab9064d777df59719ec409aa2baf6123db0ba8e7 SHA1 8983e195ab2ac8439ca4e7c6d6b0f4f8592fa45c SHA256 c2be4dfb6d8d1fab2a0f302cc9033b2478d73d11041d54c70c54f30895df09e7 EBUILD xxv-1.5.ebuild 4483 RMD160 7f158ca5536198fb045751c6d5fac8638e591b1c SHA1 cc326a769dc0c5e5af5bb75be00b2d2a4d118ab7 SHA256 1799f4a9f12ef924c0387ed124244253f4bcde14558cc40870bca3990357c3a1 +EBUILD xxv-1.6.1.ebuild 4544 RMD160 b755b6ecbfcb5721d8d31ea65ffc5c06e3a49ba6 SHA1 2c7d3f1c44f515b3c74c03b5031635219b821ac7 SHA256 9bccd0049507aaa5c93cde59850021a58f581c350e2f7f3f6975a79a88c5960a EBUILD xxv-1.6.ebuild 4541 RMD160 f73a92ff8894fd2ae0576d0c1502b4cec11cfcc1 SHA1 d7dbccee1944ae798294ecb3a676a1f9a2323641 SHA256 08a6d331653875df37a52d68649aa74b7c4550b1325fd4cc934dcb3a2db24ea2 -MISC ChangeLog 5015 RMD160 b119e4fd67ef60b4b71dade58c33a017f27c5f44 SHA1 055694c9a8bf3333f887ea002477c7305bf24271 SHA256 e7dbd24e9d1f5a5ca89bc4555e10d6a8ba7ccfb5f5186b871fb20f238b7485da +MISC ChangeLog 5131 RMD160 9d09369e48472dd45850f72292b7dfe5c6289375 SHA1 867216a96034661831ed5227aead276fdc8527b8 SHA256 4bce1089baca2a70b98c95de540da2f934b7a96813c39e77c8aa654e19cd9f18 MISC metadata.xml 607 RMD160 423ff4aae1b8fcfab1b50267a6d0084bea950655 SHA1 be987c97532f8a8efa4746ca36772352490e6b7f SHA256 b1dc077f8c2d9cba527f27261f18b2186275f7202e5393c367cd594b57d18037 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: added by hd_brummy@gentoo.org -iD8DBQFL5yUydn07HTTCgIoRAum0AJ42BdQxZIV8eaD05IXT+JSSuhAXQwCgj/Iu -OlKATyrCBc6KBsi8ks1b9AY= -=DPPW +iD8DBQFM8Smxdn07HTTCgIoRAnKMAKCMXlFsZWTW8BuaE/xDda17f0BTjACeI0pI +kS36saQj1OtSQm5dXJmwGBg= +=Ckc6 -----END PGP SIGNATURE----- diff --git a/www-misc/xxv/xxv-1.6.1.ebuild b/www-misc/xxv/xxv-1.6.1.ebuild new file mode 100644 index 000000000000..d04eee11fe7e --- /dev/null +++ b/www-misc/xxv/xxv-1.6.1.ebuild @@ -0,0 +1,185 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/xxv-1.6.1.ebuild,v 1.1 2010/11/27 15:54:09 hd_brummy Exp $ + +EAPI="2" + +inherit eutils versionator + +DESCRIPTION="WWW Admin for the VDR (Video Disk Recorder)" +HOMEPAGE="http://xxv.berlios.de/content/view/47/42/" +SRC_URI="mirror://berlios/${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 + virtual/perl-CGI + virtual/perl-Digest-MD5 + virtual/perl-Getopt-Long + virtual/perl-MIME-Base64 + virtual/perl-Time-HiRes + perl-core/IO-Compress + dev-perl/Config-Tiny + dev-perl/DateManip + dev-perl/DBD-mysql + dev-perl/DBI + dev-perl/Digest-HMAC + dev-perl/Encode-Detect + dev-perl/Event + dev-perl/Font-TTF + dev-perl/GD[png,gif] + dev-perl/IO-Socket-INET6 + dev-perl/JSON + dev-perl/JSON-XS + dev-perl/Linux-Inotify2 + 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/SOAP-Lite + dev-perl/TextToHTML + dev-perl/Template-Toolkit + 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="32" + +db_update_check() { + + DB_VERS_OLD="`cat /var/db/pkg/www-misc/xxv-*/xxv-*.ebuild | grep DB_VERS | head -n 1 | cut -c10-11`" + + if [ "${DB_VERS_OLD}" -lt "${DB_VERS}" ]; then + echo + elog "An update of XXV Database is needed !!!" + echo + elog "\tcd ${SHAREDIR}/contrib" + echo + elog "\tIt is really importend to edit the create-database.sql" + elog "\tfor UTF-8 Support changes in Mysql DB !!!" + echo + elog "\tafter this run ./update-xxv -h for more info" + echo + else + echo + elog "If this is a new install" + elog "You have to create an empty DB for XXV" + echo + elog "do this by:" + elog "cd ${SHAREDIR}/contrib" + eerror "read the README" + elog "For UTF-8 support it is really importend to" + elog "edit create-database.sql and run" + elog "emerge --config ${PN}" + echo + elog "Set your own language in" + elog "${SHAREDIR}/locale" + echo + elog "For First Time Login in Browser use:" + elog "Pass:Login = xxv:xxv" + echo + eerror "edit /etc/xxv/xxvd.cfg !" + fi +} + +pkg_setup() { + + if ! has_version "www-misc/${PN}"; then + echo + einfo "After you install xxv at first time you should read" + einfo "http://www.vdr-wiki.de/wiki/index.php/Xxv German only available" + echo + fi + + db_update_check +} + +src_prepare() { + + 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/:" \ + -e "s:\$RealBin/../share/xmltv:${SHAREDIR}/xmltv:" + + sed -i "s:\$RealBin/../lib:${LIBDIR}:" ./locale/xgettext.pl +} + +src_install() { + + newinitd "${FILESDIR}"/xxv.utf8-v5 xxv + + dobin bin/xxvd + + insinto /etc/"${PN}" + newins "${FILESDIR}"/xxvd-1.0.cfg xxvd.cfg + chown vdr:vdr "${D}"/etc/"${PN}"/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,xmltv} + + 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 README + fowners vdr:vdr /usr/share/doc/"${P}" + + doman xxvd.1 +} + +pkg_config() { + + cd "${ROOT}"/"${SHAREDIR}" + cat ./contrib/create-database.sql | mysql -u root -p +} + +pkg_postrm() { + + einfo "Cleanup for old "${P}" files" + rm -r /usr/share/doc/"${P}" +} |