diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2009-02-06 16:44:27 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2009-02-06 16:44:27 +0000 |
commit | 6a44a4ae27a96c6888fe580406db49d26f3d2ef4 (patch) | |
tree | 95b0952cacd238ecb17f8194f5846667c962c921 | |
parent | Fix ecommit (diff) | |
download | drizzt-6a44a4ae27a96c6888fe580406db49d26f3d2ef4.tar.gz drizzt-6a44a4ae27a96c6888fe580406db49d26f3d2ef4.tar.bz2 drizzt-6a44a4ae27a96c6888fe580406db49d26f3d2ef4.zip |
We need herdstat!
(Portage version: 2.2_rc23/svn/Linux x86_64)
svn path=/; revision=153
-rw-r--r-- | app-portage/herdstat/ChangeLog | 10 | ||||
-rw-r--r-- | app-portage/herdstat/Manifest | 7 | ||||
-rw-r--r-- | app-portage/herdstat/files/herds-xml-location-update.patch | 22 | ||||
-rw-r--r-- | app-portage/herdstat/files/herdstat-1.1.91-undefined-lhp.patch | 22 | ||||
-rw-r--r-- | app-portage/herdstat/herdstat-1.1.91-r1.ebuild | 103 | ||||
-rw-r--r-- | app-portage/herdstat/metadata.xml | 9 |
6 files changed, 173 insertions, 0 deletions
diff --git a/app-portage/herdstat/ChangeLog b/app-portage/herdstat/ChangeLog new file mode 100644 index 0000000..1b0430f --- /dev/null +++ b/app-portage/herdstat/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-portage/herdstat +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Feb 2009; Timothy Redaelli <drizzt@gentoo.org> + +files/herdstat-1.1.91-undefined-lhp.patch, + +files/herds-xml-location-update.patch, +metadata.xml, + +herdstat-1.1.91-r1.ebuild: + We need herdstat! + diff --git a/app-portage/herdstat/Manifest b/app-portage/herdstat/Manifest new file mode 100644 index 0000000..855c2b5 --- /dev/null +++ b/app-portage/herdstat/Manifest @@ -0,0 +1,7 @@ +AUX herds-xml-location-update.patch 1184 RMD160 287738ca7aff64eafbd6de4959afc1192f18736c SHA1 894d617be57d8898d7b43ea28cc595450895615a SHA256 8ba1772689d1465ce69013f2e0b46c65469f54531d7e356a494e9f655847b974 +AUX herdstat-1.1.91-undefined-lhp.patch 619 RMD160 0d4437f391e781df3a1b8e3d617cf7c9efbc0fe2 SHA1 659fda1a3a35cdc0b651943c0a11ebee0fb15dae SHA256 a65617822f25d1cbfd90af3bdf914673300b404c4341e9c162e46a162f852b93 +DIST herdstat-1.1.91.tar.bz2 366562 RMD160 8f1330d85673e8ff58d3bab0eed9495235595463 SHA1 890bb1f7d4d635e5165d397f699866fb172d7050 SHA256 fbf47c2502c85c522832b4ef4ef5264e7c3addc5bcf7de6b549257ae6122b8eb +DIST herdstat-test-data-20060119.tar.bz2 15549 RMD160 d48b869e00ad03771a4a2fa9fc2ecfead80810da SHA1 737dd1bb32ff093b726afa81e004ef9dfd6661c9 SHA256 0d154483310b59054cfd6ddb9fb5c477ad786cdb7ff11cdfaa74a82c0c0e8633 +EBUILD herdstat-1.1.91-r1.ebuild 2746 RMD160 2a589b47ba0a26a4757ae06d349dd3010b01bfe9 SHA1 503b52f4b48422463b463ff766f4f5c1a70e344c SHA256 253806f8d0176c58f345fe4b9e4f21fbb56fa9b65faea7178672403bf4cfa901 +MISC ChangeLog 327 RMD160 445d9bd23a5b10c12b70346bb3c6eff0b51ca7fe SHA1 791bd87505e055eef7a59e962ef9e4eb96334c44 SHA256 9efdb9f4a3a7a9087bc7f439d15ab35efbd4137760a200afa18ad2bca552eb4e +MISC metadata.xml 246 RMD160 7b3a212531bf410456573eaab88dbacb8310ac26 SHA1 51f32cc963d5679809bd574a72cf597d23a7f8be SHA256 d9936672523955a3d01af3d37e99da31780f35cc1433fadcea2c3a9601cb6d9e diff --git a/app-portage/herdstat/files/herds-xml-location-update.patch b/app-portage/herdstat/files/herds-xml-location-update.patch new file mode 100644 index 0000000..05021c0 --- /dev/null +++ b/app-portage/herdstat/files/herds-xml-location-update.patch @@ -0,0 +1,22 @@ +--- src/herdstat.cc 2007-02-11 22:56:25.000000000 -0600 ++++ src/herdstat.cc 2007-02-11 22:58:30.000000000 -0600 +@@ -632,7 +632,7 @@ + + /* only set if it wasnt specified on the command line */ + if (options.herdsxml().empty()) +- options.set_herdsxml(gentoocvs+"/gentoo/misc/herds.xml"); ++ options.set_herdsxml(gentoocvs+"/gentoo/xml/htdocs/proj/en/metastructure/herds/herds.xml"); + if (options.userinfoxml().empty()) + options.set_userinfoxml(gentoocvs+"/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml"); + } +--- src/common.cc 2007-02-11 23:12:12.000000000 -0600 ++++ src/common.cc 2007-02-11 23:12:37.000000000 -0600 +@@ -30,7 +30,7 @@ + #include "options.hh" + #include "common.hh" + +-#define HERDSXML_REMOTE "http://www.gentoo.org/cgi-bin/viewcvs.cgi/misc/herds.xml?rev=HEAD;cvsroot=gentoo;content-type=text/plain" ++#define HERDSXML_REMOTE "http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/metastructure/herds/herds.xml?rev=HEAD;cvsroot=gentoo;content-type=text/plain" + #define HERDSXML_LOCAL LOCALSTATEDIR"/herds.xml" + #define DEVAWAYXML_REMOTE "http://dev.gentoo.org/devaway/xml/index.php" + #define DEVAWAYXML_LOCAL LOCALSTATEDIR"/devaway.xml" diff --git a/app-portage/herdstat/files/herdstat-1.1.91-undefined-lhp.patch b/app-portage/herdstat/files/herdstat-1.1.91-undefined-lhp.patch new file mode 100644 index 0000000..c77a057 --- /dev/null +++ b/app-portage/herdstat/files/herdstat-1.1.91-undefined-lhp.patch @@ -0,0 +1,22 @@ +--- src/io/handler.hh 2007-01-31 01:55:13.000000000 -0600 ++++ src/io/handler.hh 2007-01-31 01:53:51.000000000 -0600 +@@ -34,6 +34,8 @@ + #include "handler_map.hh" + #include "action/handler.hh" + ++extern HandlerMap<ActionHandler> *lhp; ++ + /** + * @class IOHandler + * @brief Input/Output handler base class. All front-ends ultimately derive +--- src/io/handler.cc 2007-01-31 01:55:00.000000000 -0600 ++++ src/io/handler.cc 2007-01-31 01:51:09.000000000 -0600 +@@ -36,7 +36,7 @@ + + using namespace herdstat; + +-extern HandlerMap<ActionHandler> *lhp; ++HandlerMap<ActionHandler> *lhp; + + IOHandler::IOHandler() + : _local() diff --git a/app-portage/herdstat/herdstat-1.1.91-r1.ebuild b/app-portage/herdstat/herdstat-1.1.91-r1.ebuild new file mode 100644 index 0000000..1257642 --- /dev/null +++ b/app-portage/herdstat/herdstat-1.1.91-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/app-portage/herdstat/Attic/herdstat-1.1.91-r1.ebuild,v 1.4 2008/01/20 02:00:58 halcy0n dead $ + +inherit bash-completion eutils + +TEST_DATA_PV="20060119" +TEST_DATA_P="${PN}-test-data-${TEST_DATA_PV}" + +DESCRIPTION="A multi-purpose query tool capable of things such as displaying herd/developer information and displaying category/package metadata" +HOMEPAGE="http://developer.berlios.de/projects/herdstat/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2 + test? ( mirror://berlios/lib${PN}/${TEST_DATA_P}.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc readline test" + +RDEPEND=">=dev-cpp/libherdstat-0.2.0 + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + dev-util/pkgconfig + doc? ( dev-python/docutils )" + +pkg_setup() { + if has test $FEATURES && ! use test ; then + die "FEATURES=test is set but USE=test is not; tests will fail without USE=test" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + if ! use readline ; then + epatch "${FILESDIR}"/${PN}-1.1.91-undefined-lhp.patch + fi + + epatch "${FILESDIR}"/herds-xml-location-update.patch +} + +src_compile() { + econf \ + --with-test-data="${WORKDIR}"/${TEST_DATA_P} \ + --without-gtk \ + --without-qt \ + $(use_enable debug) \ + $(use_with readline) \ + || die "econf failed" + + emake || die "emake failed" + + if use doc ; then + cd doc ; make html || die "failed to build html" + fi +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dobashcompletion bashcomp + dodoc AUTHORS ChangeLog README TODO NEWS doc/*.txt \ + doc/herdstatrc.example + use doc && dohtml doc/* + + keepdir /var/lib/herdstat + fperms 0775 /var/lib/herdstat +} + +pkg_postinst() { + chgrp portage "${ROOT}"/var/lib/herdstat + # remove any previous caches, as it's possible that the internal + # format has changed, and may cause bugs. + rm -f "${ROOT}"/var/lib/herdstat/*cache* + + elog + elog "You must be in the portage group to use herdstat." + elog + if use doc ; then + elog "See /usr/share/doc/${PF}/html/examples.html" + else + elog "See /usr/share/doc/${PF}/examples.txt.gz" + fi + elog "for a sleu of examples on using herdstat." + elog + elog "As of 1.1.1, ${PN} supports configuration files." + elog "See /usr/share/doc/${PF}/herdstatrc.example.gz" + elog "for more information." + elog + + if use readline ; then + elog "For information on using the new readline front-end," + if use doc ; then + elog "see /usr/share/doc/${PF}/html/readline.html" + else + elog "see /usr/share/doc/${PF}/readline.txt.gz." + fi + elog + fi + + bash-completion_pkg_postinst +} diff --git a/app-portage/herdstat/metadata.xml b/app-portage/herdstat/metadata.xml new file mode 100644 index 0000000..5aec0d2 --- /dev/null +++ b/app-portage/herdstat/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>bsd</herd> +<maintainer> +<email>drizzt@gentoo.org</email> +<name>Timothy Redaelli</name> +</maintainer> +</pkgmetadata> |