diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2007-12-02 16:45:59 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2007-12-02 16:45:59 +0000 |
commit | cec4b8cba621385e7b23b7f3283d126a9e602347 (patch) | |
tree | f1730bc65a368c52161b79753d28eac10ca3659e /net-www/xxv | |
parent | And more pkg_setup checking for prev. commit. (diff) | |
download | historical-cec4b8cba621385e7b23b7f3283d126a9e602347.tar.gz historical-cec4b8cba621385e7b23b7f3283d126a9e602347.tar.bz2 historical-cec4b8cba621385e7b23b7f3283d126a9e602347.zip |
version bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-www/xxv')
-rw-r--r-- | net-www/xxv/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/xxv/Manifest | 22 | ||||
-rw-r--r-- | net-www/xxv/files/digest-xxv-1.0.1 | 3 | ||||
-rw-r--r-- | net-www/xxv/xxv-1.0.1.ebuild | 192 |
4 files changed, 216 insertions, 8 deletions
diff --git a/net-www/xxv/ChangeLog b/net-www/xxv/ChangeLog index 8176696e3ccd..ae24c7342058 100644 --- a/net-www/xxv/ChangeLog +++ b/net-www/xxv/ChangeLog @@ -1,6 +1,11 @@ # 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.1 2007/11/11 13:46:30 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/xxv/ChangeLog,v 1.2 2007/12/02 16:45:59 hd_brummy Exp $ + +*xxv-1.0.1 (02 Dec 2007) + + 02 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org> +xxv-1.0.1.ebuild: + version bump *xxv-1.0 (11 Nov 2007) diff --git a/net-www/xxv/Manifest b/net-www/xxv/Manifest index 7ba71f8d1efc..0dfa82480d27 100644 --- a/net-www/xxv/Manifest +++ b/net-www/xxv/Manifest @@ -17,15 +17,20 @@ AUX xxvd-logrotate 477 RMD160 cf179b200bca2ba165550530c5a4dc6e3e01838f SHA1 c761 MD5 ec839ca437e6a294d800e480619446cf files/xxvd-logrotate 477 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.ebuild 4516 RMD160 8b71d035e927eed6cf0a00893a1485805df5dcb0 SHA1 533158d919a5ce099dd99ed3526e8a20adbf071a SHA256 b31e68cd930afd28d38dd3e9e9c7fd628de41d64553ee8de91fd3762d106b879 +MD5 03c0912f5551eee0b02c5f906ce67c1c xxv-1.0.1.ebuild 4516 +RMD160 8b71d035e927eed6cf0a00893a1485805df5dcb0 xxv-1.0.1.ebuild 4516 +SHA256 b31e68cd930afd28d38dd3e9e9c7fd628de41d64553ee8de91fd3762d106b879 xxv-1.0.1.ebuild 4516 EBUILD xxv-1.0.ebuild 4512 RMD160 b089cb6f3a38d0f89df86fe4c3023dd68b08c3bd SHA1 6740a4ffd802963f9f1a9806494ae4ad6506bf14 SHA256 48be865a4041666f03056772cc57b2de01ec2348421cf03bc6bff47f431ff9ab MD5 cbb34e55e7ffcb0c71df7003617ad234 xxv-1.0.ebuild 4512 RMD160 b089cb6f3a38d0f89df86fe4c3023dd68b08c3bd xxv-1.0.ebuild 4512 SHA256 48be865a4041666f03056772cc57b2de01ec2348421cf03bc6bff47f431ff9ab xxv-1.0.ebuild 4512 -MISC ChangeLog 462 RMD160 033e325d2227b51348f0e18c7c701556813b6050 SHA1 77fcdc4c9fdfd88e80c48833865985dc020d5a82 SHA256 2c1d628f4dd004c68e02ec1e15b0c163bb60e1e8565f935932e8fa2664024e11 -MD5 54f4f087377f199116a4ce3f68e6eeef ChangeLog 462 -RMD160 033e325d2227b51348f0e18c7c701556813b6050 ChangeLog 462 -SHA256 2c1d628f4dd004c68e02ec1e15b0c163bb60e1e8565f935932e8fa2664024e11 ChangeLog 462 +MISC ChangeLog 578 RMD160 40e10046057418fa17cbabed26c0be0b551cd36c SHA1 affd531f3ff32ea46bcc0e233792beb9af2b6262 SHA256 03f33121e9a10b285a44299938748640455b39423446a8b46b73fa61ea9d9343 +MD5 cef78a1b6a413150f9526919616d9d5e ChangeLog 578 +RMD160 40e10046057418fa17cbabed26c0be0b551cd36c ChangeLog 578 +SHA256 03f33121e9a10b285a44299938748640455b39423446a8b46b73fa61ea9d9343 ChangeLog 578 MISC metadata.xml 505 RMD160 d9f9f87054d19eb338514ec2a2420e0326cdd820 SHA1 c06a6dd13457eba71d2f85bc0a89ea7660f21a8e SHA256 48e92504e7bab6cb0434cbe74e562ec43a6250f1d530c7533a311b516179890c MD5 cfe09b1dfa7ae8b1caa376a6e771f2d3 metadata.xml 505 RMD160 d9f9f87054d19eb338514ec2a2420e0326cdd820 metadata.xml 505 @@ -33,11 +38,14 @@ SHA256 48e92504e7bab6cb0434cbe74e562ec43a6250f1d530c7533a311b516179890c metadata MD5 9409262cdc328ac49e942fc4dc4d3ed3 files/digest-xxv-1.0 217 RMD160 dd23a539f69d2d82a4d1fb24f185c16b1da84dc1 files/digest-xxv-1.0 217 SHA256 1816b0280f27fbb2edc0ce02ab5c30ab5681142d305e928987402a2432a91dd0 files/digest-xxv-1.0 217 +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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: added by hd_brummy@gentoo.org -iD8DBQFHNwfhdn07HTTCgIoRApnjAKC8PI//5CKo9fOirmVHJLJvclcwTgCeKY7K -aF7kdqVfox+XsMh/6bU9cS4= -=oTH2 +iD8DBQFHUuE7dn07HTTCgIoRAnyBAKCPgUE5U3jJZqM/nMayPxSvU3OrYwCePlH6 +D0E2ZBpyMQFGAYJm7s6e2m4= +=J1hv -----END PGP SIGNATURE----- diff --git a/net-www/xxv/files/digest-xxv-1.0.1 b/net-www/xxv/files/digest-xxv-1.0.1 new file mode 100644 index 000000000000..9b0a862663cb --- /dev/null +++ b/net-www/xxv/files/digest-xxv-1.0.1 @@ -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.ebuild b/net-www/xxv/xxv-1.0.1.ebuild new file mode 100644 index 000000000000..79db0cbeaa60 --- /dev/null +++ b/net-www/xxv/xxv-1.0.1.ebuild @@ -0,0 +1,192 @@ +# 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.ebuild,v 1.1 2007/12/02 16:45:59 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" + +RDEPEND=">=media-video/vdr-1.2.6 + perl-core/Test-Simple + perl-core/MIME-Base64 + perl-core/Time-HiRes + dev-perl/DBI + dev-perl/Event + dev-perl/URI + dev-perl/Locale-gettext + dev-perl/DBD-mysql + dev-db/mysql + dev-perl/Locale-gettext + dev-perl/WWW-Mechanize + dev-perl/GD + dev-perl/GDGraph + dev-perl/GD-Graph3d + dev-perl/Proc-ProcessTable + dev-perl/WWW-Mechanize-FormFiller + dev-perl/XML-RSS + dev-perl/Net-XMPP + dev-perl/Term-ReadLine-Perl + dev-perl/Term-ReadLine-Gnu + dev-perl/TimeDate + dev-perl/Template-Toolkit + dev-perl/Log-Log4perl + dev-perl/SOAP-Lite + dev-perl/Net-IP + dev-perl/Data-Random + dev-perl/Net-Amazon + dev-perl/JSON + dev-perl/Net-Telnet + dev-perl/Socket6 + dev-perl/IO-Socket-INET6 + dev-perl/Config-Tiny + media-video/vdr2jpeg + media-fonts/ttf-bitstream-vera" + +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 + +# epatch "${FILESDIR}"/"${P}"-logerror.patch +} + +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}" +} |