summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-02-17 00:53:03 +0000
committerSebastian Pipping <sping@gentoo.org>2010-02-17 00:53:03 +0000
commit16def7b62d46f948765ed970d05efc9c93b6f76d (patch)
tree129053c70c070ab8b35a0cb89dd75919b9878564 /app-admin
parentVersion bump (diff)
downloadhistorical-16def7b62d46f948765ed970d05efc9c93b6f76d.tar.gz
historical-16def7b62d46f948765ed970d05efc9c93b6f76d.tar.bz2
historical-16def7b62d46f948765ed970d05efc9c93b6f76d.zip
app-admin/smolt: Trivial-bump to 1.4.2
Package-Manager: portage-2.2_rc61/cvs/Linux i686
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/smolt/ChangeLog9
-rw-r--r--app-admin/smolt/Manifest4
-rw-r--r--app-admin/smolt/smolt-1.4.2.ebuild79
3 files changed, 89 insertions, 3 deletions
diff --git a/app-admin/smolt/ChangeLog b/app-admin/smolt/ChangeLog
index 48001c78ea49..2cf7e5d0fd69 100644
--- a/app-admin/smolt/ChangeLog
+++ b/app-admin/smolt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/smolt
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/smolt/ChangeLog,v 1.4 2009/10/02 20:09:32 sping Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/smolt/ChangeLog,v 1.5 2010/02/17 00:53:03 sping Exp $
+
+*smolt-1.4.2 (17 Feb 2010)
+
+ 17 Feb 2010; Sebastian Pipping <sping@gentoo.org> +smolt-1.4.2.ebuild:
+ Trivial-bump to 1.4.2
*smolt-1.4 (02 Oct 2009)
diff --git a/app-admin/smolt/Manifest b/app-admin/smolt/Manifest
index 7955ecff5de1..6b42855c6593 100644
--- a/app-admin/smolt/Manifest
+++ b/app-admin/smolt/Manifest
@@ -4,8 +4,10 @@ AUX smolt-1.4-upstream-docdir.patch 2020 RMD160 65444a436a1d3a34c865eb112a8b3261
AUX smolt-1.4-upstream-fix-gzip-calls.patch 1186 RMD160 50adf2f4c86f91f77e35a67f5156e713489cc560 SHA1 b4f9976ce515427acb8afa30f14a03da780d8ed2 SHA256 73547259716351e3960874fb69d1b0ab6cf1e5192a58abffb5250620e96b695d
AUX smolt-init.d 744 RMD160 698454d784174cda03849030d469b64042a51f7e SHA1 204b6c45f2e05a4a5d183fca7e3dd499abab9994 SHA256 fcb6f0b05b8608123a995f131984de6b559a9f35f2c1e74e573c0ee00dc07d76
DIST smolt-1.2.tar.gz 646738 RMD160 f3fcd02dde5051eddac528eddc7637fb595fc9d0 SHA1 57c9d0fb9d6adee6508f655688aac7aa3467938b SHA256 477c0972ef9433e9e8ea18bb846ccefd7bb2c7e4d6efdc1eb979228a69295944
+DIST smolt-1.4.2.tar.gz 765014 RMD160 721021f204bf3d2a4c508567620e8d81c3f7a1bc SHA1 1ed7736b7789d03e9bd70326c48535ceb7069c65 SHA256 71198a17c5d320c7e871cdd6be28d922ef8f06313974156fccdf993e21592e55
DIST smolt-1.4.tar.gz 752848 RMD160 44a998004317fd4e23edd1fe99f6498bd735b033 SHA1 dbbee35d9200190f2ed7abe8b0b15515923b6934 SHA256 26a173f28ab93184a1fe7f57f3c44c4f6012c8aee929456cdfa6b12d10e7437b
EBUILD smolt-1.2.ebuild 2171 RMD160 d63887dedfc624a07227a3c8f9666497d847bd33 SHA1 9c3e02f42197870aa411aed47727275d64b81535 SHA256 9339f92328eb5c166b6c4ae5bb26356ea5b85449547bc6c65c88b0379bdc307a
+EBUILD smolt-1.4.2.ebuild 2181 RMD160 91d6e937f9fd39cad63448c0b584926118da90bd SHA1 d7209e12e52fd764401b9e108a1d9822c2535956 SHA256 498c4d36c5c1a207138c98fae5e470683fd723840fa6300b9d59637bad4683c2
EBUILD smolt-1.4.ebuild 2179 RMD160 8e4c1c74f706ecd096092eea30c546173a4a3287 SHA1 1dd1f4629c121883f2148b4d93af3c6da5a7cbf5 SHA256 7317ef159c622aa5b33b9483d5e373f40cbb0b2119e90cc5a613a35844d6a784
-MISC ChangeLog 1135 RMD160 762defe04d66e3c36346135cc9da4ebb92fa9a38 SHA1 2b37756ccfdcdd3becf8417ad71571ed301980bc SHA256 6fcff3c0c9c191876771ae811db276cdf898206ac98f01b52498af59069b2b45
+MISC ChangeLog 1261 RMD160 025f2199af55522671024436344d7cc30e6efb0b SHA1 6c29e6295f8b84cecc27ec2479eaa6fcbd3e021f SHA256 a57d595274a8a9d5f82f17682dd5c37bab14bbcbda12362dc0ac38f18ec3f86e
MISC metadata.xml 437 RMD160 e507dcaf0b67bd790ea5f36c48d378006ebeda22 SHA1 0c511b041c5de1589e23db5a737d2d1ffb77a146 SHA256 172c7979032f6bd6d304a46c3e6af7678b5069f4ca4845c0fb11d1b1c2974173
diff --git a/app-admin/smolt/smolt-1.4.2.ebuild b/app-admin/smolt/smolt-1.4.2.ebuild
new file mode 100644
index 000000000000..2b1bb6c30fc0
--- /dev/null
+++ b/app-admin/smolt/smolt-1.4.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/smolt/smolt-1.4.2.ebuild,v 1.1 2010/02/17 00:53:03 sping Exp $
+
+EAPI="2"
+
+inherit python eutils
+
+DESCRIPTION="The Fedora hardware profiler"
+HOMEPAGE="https://fedorahosted.org/smolt/"
+SRC_URI="https://fedorahosted.org/releases/s/m/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4"
+
+DEPEND="virtual/python
+ sys-devel/gettext"
+
+RDEPEND="${DEPEND}
+ sys-apps/hal
+ >=dev-python/rhpl-0.213
+ >=dev-python/urlgrabber-3.0.0
+ >=dev-python/simplejson-1.7.1
+ dev-python/dbus-python
+ qt4? ( dev-python/PyQt4 )"
+
+S="${S}/client"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.4-upstream-{fix-gzip-calls,docdir}.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" \
+ || die "Install failed"
+
+ if ! use qt4; then
+ rm "${D}"/usr/bin/smoltGui \
+ "${D}"/usr/share/smolt/client/{gui,smoltGui}.py \
+ "${D}"/usr/share/applications/smolt.desktop \
+ "${D}"/usr/share/man/man1/smoltGui.1.* \
+ || die "rm failed"
+ rmdir "${D}"/usr/share/applications || die "rmdir failed"
+ fi
+
+ bzip2 -9 "${D}"/usr/share/doc/${PF}/PrivacyPolicy || die "bzip2 failed"
+ dodoc ../README ../TODO || die "dodoc failed"
+
+ newinitd "${FILESDIR}"/${PN}-init.d ${PN} || die "newinitd failed"
+}
+
+pkg_postinst() {
+ python_mod_optimize "${ROOT}"/usr/share/${PN}
+
+ if ! [ -f "${ROOT}"/etc/smolt/hw-uuid ]; then
+ elog "Creating this machines UUID in ${ROOT}/etc/smolt/hw-uuid"
+ cat /proc/sys/kernel/random/uuid > "${ROOT}"/etc/smolt/hw-uuid
+ UUID=$(cat "${ROOT}"/etc/smolt/hw-uuid)
+ elog "Your UUID is: ${UUID}"
+ fi
+ echo
+ elog "Call smoltSendProfile as root in order to initialize your profile."
+ echo
+ elog "You can withdraw it from the server if you wish to with"
+ elog " smoltDeleteProfile any time later on."
+ echo
+
+ if use qt4 && has_version "<virtual/python-2.5"; then
+ elog "If you want to view your profile on the web from within smoltGui,"
+ elog "you should have a link mozilla-firefox -> firefox in your path."
+ echo
+ fi
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
+}