diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2012-02-07 10:37:17 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2012-02-07 10:37:17 +0000 |
commit | dfe2fdf39a0d10a919ae141fda3028c93cc76043 (patch) | |
tree | 2520546c6123065812f2618a4ac739d6c493c71d /www-misc | |
parent | added missing Homepage, added new download URL (diff) | |
download | historical-dfe2fdf39a0d10a919ae141fda3028c93cc76043.tar.gz historical-dfe2fdf39a0d10a919ae141fda3028c93cc76043.tar.bz2 historical-dfe2fdf39a0d10a919ae141fda3028c93cc76043.zip |
added missing homepage, added download url, cleanup
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/xxv/ChangeLog | 8 | ||||
-rw-r--r-- | www-misc/xxv/Manifest | 16 | ||||
-rw-r--r-- | www-misc/xxv/xxv-1.4.ebuild | 182 | ||||
-rw-r--r-- | www-misc/xxv/xxv-1.5.ebuild | 183 | ||||
-rw-r--r-- | www-misc/xxv/xxv-1.6.1.ebuild | 11 | ||||
-rw-r--r-- | www-misc/xxv/xxv-1.6.ebuild | 186 |
6 files changed, 18 insertions, 568 deletions
diff --git a/www-misc/xxv/ChangeLog b/www-misc/xxv/ChangeLog index 6611fa8fee98..b8eecfe2baf5 100644 --- a/www-misc/xxv/ChangeLog +++ b/www-misc/xxv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-misc/xxv -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/ChangeLog,v 1.17 2011/10/30 19:36:55 hd_brummy Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/ChangeLog,v 1.18 2012/02/07 10:37:17 hd_brummy Exp $ + + 07 Feb 2012; Joerg Bornkessel <hd_brummy@gentoo.org> -xxv-1.4.ebuild, + -xxv-1.5.ebuild, -xxv-1.6.ebuild, xxv-1.6.1.ebuild: + added missing homepage, added download url, cleanup 30 Oct 2011; Joerg Bornkessel <hd_brummy@gentoo.org> xxv-1.4.ebuild, xxv-1.5.ebuild, xxv-1.6.ebuild, xxv-1.6.1.ebuild: diff --git a/www-misc/xxv/Manifest b/www-misc/xxv/Manifest index 3887036e745c..7c92ea6fda8f 100644 --- a/www-misc/xxv/Manifest +++ b/www-misc/xxv/Manifest @@ -6,21 +6,15 @@ AUX xxv.utf8-v4 2402 RMD160 0383b510616c4606fc75ee614524ccd04bb5d724 SHA1 76054d AUX xxv.utf8-v5 2113 RMD160 3dae7d1af8330d1886795c22c0f4658a8ab9aca5 SHA1 db69c5519239eb6243bd16b7966647c748baff53 SHA256 05d9f66e2bfc50231e393e861e63eb8cbec0b2c234796ae517db0dbfa08eada0 AUX xxvd-1.0.cfg 2257 RMD160 2f0ed9987f6a85fa4bc1a7ae68b31251f4e72b00 SHA1 f82efba3aefb1216067767e52236e119da6d65dc SHA256 a49c7c402e8c9990f84e8b3ae5207559f9dd9262075b5ab0606058ff08061016 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 4417 RMD160 3cf8353ef6e603f86a84198d26338b678a4a14ad SHA1 50da62e8fefc106ec6e5e33e100e349f9a3983ae SHA256 ae082f3b3b6bbaf62ae1fd518d4baf3d07db19f692179f07aea10cdb047f77a1 -EBUILD xxv-1.5.ebuild 4436 RMD160 0741e0e4e36e5277bc9a47bd2873a336cdafe654 SHA1 9ce1453bc3039c4d7754c905df070961d37ed7fb SHA256 de5494c4c6ee0835e9eacccea696a34f2701d8630ae56fc0a17be84397470b14 -EBUILD xxv-1.6.1.ebuild 4619 RMD160 e4fb7bc8facd78b6c1c3e3a7d91472cc10c1fa02 SHA1 b0271dca933a291c93d0eb2585fd321920fa8f3c SHA256 0f0a10326af964392707e8fe318c0d2991d0f70e364d2381f33607049a305564 -EBUILD xxv-1.6.ebuild 4516 RMD160 0999d61178469e34569039d2424fe102a0c8117c SHA1 caa332114cb670673cfa683c46503f1a7a565b6f SHA256 a3bde6ad25f53ea915299a17cff281274776ea169e7baae97e35a3a341cd36dd -MISC ChangeLog 5754 RMD160 b05288ebf5e6b3d4cea25738f4c35d30db0f69db SHA1 1a5558650315b0070dc055d2322480d7b493b858 SHA256 c482c865cb8493593e9b0dc9ae4ecfd58a14876a4bc79d58d76d71d7c2e35929 +EBUILD xxv-1.6.1.ebuild 4754 RMD160 8f4ddcb34bdad5de4e8ceec12be3486ef38b5f5c SHA1 2380040260a14522a56d687f16ef26065766d5c7 SHA256 1f366e0146c331094f6f5b8cd80b6092a4a1ca427cd80c543ba6133795e3393c +MISC ChangeLog 5935 RMD160 6c598fe8c3a27ab2c3c4f6efdb427a759e5911f4 SHA1 8c2d4e6f477b9a2a0bf71fe628a1d3c19df30c3f SHA256 33fa4f33d71995160cd7f78fb920871ddaa49956b0949e58f9b177ab30392a59 MISC metadata.xml 585 RMD160 b0b357c93ae3621b4987dc08aa17035aba6db141 SHA1 a6980f5834e35f06e420b21ee475d5585b98a739 SHA256 e7d51f153d3ab51a13a168000d0cbf2253e9db4ab2580a98049079c8a45e3af1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: added by hd_brummy@gentoo.org -iD8DBQFOraeOdn07HTTCgIoRAkeYAKCM1FBCpNSui2zavVElgm7DxXdBoACfRl/j -JLdvjkzZKZuMCAAD2Esn6JA= -=xMi+ +iD8DBQFPMP7ndn07HTTCgIoRAk0lAKCjFtVeX2mZKBEAI26WptwysvlarQCgimQS +T/9ultAljkC6ollWpDD46Ik= +=zdJZ -----END PGP SIGNATURE----- diff --git a/www-misc/xxv/xxv-1.4.ebuild b/www-misc/xxv/xxv-1.4.ebuild deleted file mode 100644 index 6207fdc9b53e..000000000000 --- a/www-misc/xxv/xxv-1.4.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/xxv-1.4.ebuild,v 1.3 2011/10/30 19:36:55 hd_brummy Exp $ - -EAPI="2" - -inherit eutils versionator - -DESCRIPTION="WWW Admin for the VDR (Video Disk Recorder)" -HOMEPAGE="" -SRC_URI="mirror://gentoo/${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/Digest-HMAC - dev-perl/Encode-Detect - dev-perl/GD[png,gif] - dev-perl/DateManip - dev-perl/DBD-mysql - dev-perl/DBI - dev-perl/Event - dev-perl/IO-Socket-INET6 - 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/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="31" - -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 - - 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}" -} diff --git a/www-misc/xxv/xxv-1.5.ebuild b/www-misc/xxv/xxv-1.5.ebuild deleted file mode 100644 index e0b5faf20339..000000000000 --- a/www-misc/xxv/xxv-1.5.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/xxv-1.5.ebuild,v 1.2 2011/10/30 19:36:55 hd_brummy Exp $ - -EAPI="2" - -inherit eutils versionator - -DESCRIPTION="WWW Admin for the VDR (Video Disk Recorder)" -HOMEPAGE="" -SRC_URI="mirror://gentoo/${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-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 - - 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}" -} diff --git a/www-misc/xxv/xxv-1.6.1.ebuild b/www-misc/xxv/xxv-1.6.1.ebuild index d43c60b9fdc2..68bc5167ee2e 100644 --- a/www-misc/xxv/xxv-1.6.1.ebuild +++ b/www-misc/xxv/xxv-1.6.1.ebuild @@ -1,14 +1,17 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 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.5 2011/10/30 19:36:55 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/xxv-1.6.1.ebuild,v 1.6 2012/02/07 10:37:17 hd_brummy Exp $ EAPI="2" inherit eutils versionator +VERSION="718" # every bump, new version + DESCRIPTION="WWW Admin for the VDR (Video Disk Recorder)" -HOMEPAGE="" -SRC_URI="mirror://gentoo/${P}.tgz" +HOMEPAGE="http://projects.vdr-developer.org/projects/xxv" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz + mirror://gentoo/${P}.tgz" LICENSE="GPL-2" SLOT="0" diff --git a/www-misc/xxv/xxv-1.6.ebuild b/www-misc/xxv/xxv-1.6.ebuild deleted file mode 100644 index b29ec4399b8f..000000000000 --- a/www-misc/xxv/xxv-1.6.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/xxv-1.6.ebuild,v 1.4 2011/10/30 19:36:55 hd_brummy Exp $ - -EAPI="2" - -inherit eutils versionator - -DESCRIPTION="WWW Admin for the VDR (Video Disk Recorder)" -HOMEPAGE="" -SRC_URI="mirror://gentoo/${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-GD - 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}" -} |