Updated version, mostly bug fixes
authorPieter van den Abeele <pvdabeel@gentoo.org>
Wed, 12 Jan 2005 17:43:23 +0000 (17:43 +0000)
committerPieter van den Abeele <pvdabeel@gentoo.org>
Wed, 12 Jan 2005 17:43:23 +0000 (17:43 +0000)
app-portage/basc/ChangeLog
app-portage/basc/Manifest
app-portage/basc/basc-1.5.6.ebuild [new file with mode: 0644]
app-portage/basc/files/digest-basc-1.5.6 [new file with mode: 0644]

index a93c6480a938ae1f115af7656c39af9496a84ce8..ab996c5b5d50ca110128f4cc2cd042c57e097525 100644 (file)
@@ -1,9 +1,20 @@
 # ChangeLog for app-portage/basc
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/basc/ChangeLog,v 1.17 2005/01/09 01:49:03 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/basc/ChangeLog,v 1.18 2005/01/12 17:43:23 pvdabeel Exp $
+
+*basc-1.5.6 (12 Jan 2005) 
+
+  12 Jan 2005; Pieter Van den Abeele <pvdabeel@gentoo.org>  basc-1.5.6.ebuild :
+  Made X an optional dependency. Fixed bug 77198 , 77245
+
 
 *basc-1.5.4 (09 Jan 2005)
 
+  12 Jan comment about the policy violation ciaranm is ranting about:
+  The ebuild was tested on at least 3 different mips machines, including my
+  own SGI Octane ip30. We assumed that per Gentoo policy that was enough
+  for a highly experimental architecture.
+
   09 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> basc-1.5.2.ebuild,
   basc-1.5.3.ebuild, basc-1.5.4.ebuild:
   Remove mips keywords, since it hasn't been tested by a mips developer.
@@ -29,6 +40,7 @@
   31 Dec 2004; Ferris McCormick <fmccor@gentoo.org> basc-1.5.2.ebuild:
   Stable for sparc, Bug 76123.
 
+
 * basc-1.5.2 (31 Dec 2004) 
 
   31 Dec 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + basc-1.5.2.ebuild:
@@ -37,6 +49,7 @@
   31 Dec 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> -basc-1.5.{0|1}.ebuild:
   Pruned older versions from portage
 
+
 * basc-1.5.1 (31 Dec 2004)
 
   31 Dec 2004; Daniel Drake <dsd@gentoo.org> +basc-1.5.1.ebuild:
   30 Dec 2004; Daniel Drake <dsd@gentoo.org> metadata.xml:
   Add Alexander Mieland as project maintainer
 
+
 * basc-1.5.0 (28 Dec 2004) 
 
   28 Dec 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> basc-1.5.0.ebuild :
 
   Client version Python rewrite, improved error handling.
 
+
 * basc-1.4.0 (26 Dec 2004)
 
   26 Dec 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> basc-1.4.0.ebuild :
   
   New filesystem type detection and improved windowmanager detection.
 
+
 * basc-1.3.9 (23 Dec 2004)
 
   23 Dec 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> basc-1.3.9.ebuild :
   
   Small upstream bugfix, only triggered when user forced client to run as root.
 
+
 * basc-1.3.9 (22 Dec 2004)
 
   22 Dec 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> basc-1.3.9.ebuild :
index 50f31c0fdc847dbbf8fb941cd1370af921d96ef9..07f432f6deceb52044df090f4a20a26c41a272dc 100644 (file)
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 afcfbf8a59eb5ba519d8c1aa6d70b730 basc-1.5.4.ebuild 2149
-MD5 a0814b8e669d5621b902132a810060ee ChangeLog 2726
+MD5 f0da47945bf77a5ca0611fa12263f9ff ChangeLog 3162
 MD5 02290c3da33c247fe6f0daf871a5fe15 basc-1.5.2.ebuild 2260
+MD5 fe60f25e43f552542fa7fe018f52a025 basc-1.5.3.ebuild 2289
+MD5 afcfbf8a59eb5ba519d8c1aa6d70b730 basc-1.5.4.ebuild 2149
 MD5 36441a3af28aa17a592a5c409239a278 metadata.xml 616
+MD5 609049c30808cae3ab6dddb68c8df75f basc-1.5.6.ebuild 2152
 MD5 3c6c7d2b9f3954b2f84785403d52a0a7 basc-1.5.5.ebuild 2137
-MD5 fe60f25e43f552542fa7fe018f52a025 basc-1.5.3.ebuild 2289
-MD5 144c814e142b0b00a52220a4114f4af3 files/digest-basc-1.5.5 61
-MD5 0d0e5ae721dc3402d7b52269750aa9b7 files/digest-basc-1.5.4 61
-MD5 74753ac6d1c6ab7f0dbf6c43d17045b4 files/digest-basc-1.5.3 61
 MD5 fad108ecff3fcfbf2987a555420c92cc files/digest-basc-1.5.2 61
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB4I3OLLFUmVNQ7rkRAibAAJ40rvpdvpeZ9V45Ifbk4sJLzgryEwCeIIsj
-xUhIe79OEX4kSDF7D8TjPNQ=
-=9Sgp
------END PGP SIGNATURE-----
+MD5 74753ac6d1c6ab7f0dbf6c43d17045b4 files/digest-basc-1.5.3 61
+MD5 0d0e5ae721dc3402d7b52269750aa9b7 files/digest-basc-1.5.4 61
+MD5 144c814e142b0b00a52220a4114f4af3 files/digest-basc-1.5.5 61
+MD5 c5c7d0367c00009c8b8151101fe7755f files/digest-basc-1.5.6 61
diff --git a/app-portage/basc/basc-1.5.6.ebuild b/app-portage/basc/basc-1.5.6.ebuild
new file mode 100644 (file)
index 0000000..759a3c6
--- /dev/null
@@ -0,0 +1,85 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/basc/basc-1.5.6.ebuild,v 1.1 2005/01/12 17:43:23 pvdabeel Exp $
+
+# ebuild contributed by Alexander Mieland and Daniel Herzog
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Buildtime And Statistics Client for http://www.gentoo-stats.org"
+HOMEPAGE="http://www.gentoo-stats.org"
+SRC_URI="http://www.gentoo-stats.org/download/${P}.tar.gz"
+
+KEYWORDS="x86 ppc ~sparc amd64 ~ppc64"
+SLOT="0"
+LICENSE="GPL-2"
+
+IUSE="screenshot"
+
+RDEPEND="app-portage/gentoolkit
+       dev-lang/perl
+       dev-perl/DateManip
+       sys-devel/gcc
+       sys-apps/sed
+       sys-apps/grep
+       app-arch/gzip
+       sys-apps/diffutils
+       >=sys-apps/uhinv-0.4
+       screenshot? (media-gfx/scrot)"
+
+pkg_setup() {
+       enewgroup stats
+       enewuser stats -1 /bin/false /tmp stats
+}
+
+src_compile() {
+       sed -i "s:/usr/local:/usr:g" client/basc client/hgenlop
+       useq x86 && $(tc-getCC) ${CFLAGS} -o client/smt-detect client/smt-detect.c >/dev/null 2>&1
+}
+
+src_install() {
+       exeinto /usr/bin
+       doexe client/basc client/hgenlop client/urandom.sh
+
+       useq x86 && doexe client/smt-detect
+
+       dodoc README ChangeLog TEAM
+       dodir /etc/basc
+
+       cp /var/log/emerge* ${D}/etc/basc
+
+       chown -R root:stats ${D}/etc/basc
+       chmod -R ug+rw ${D}/etc/basc
+
+}
+
+pkg_postinst() {
+       einfo
+       einfo "The Gentoo Buildtime and Statistics client can be started by"
+       einfo "typing:"
+       einfo ""
+       einfo "  \"basc\""
+       einfo ""
+       einfo "Note:"
+       einfo ""
+       einfo "You have to be in the stats group to use the client!"
+       einfo "A user can be added to the stats group by executing:"
+       einfo ""
+       einfo "  \"usermod -G \$(groups <ME> | sed -e 's/ /,/g'),stats <ME>\""
+       einfo ""
+       einfo "Replace <ME> with your username on the system."
+       einfo "After a login, you are ready to use the client."
+       einfo ""
+       einfo "If you want to automatically launch the client every 24h,"
+       einfo "you must set up a cronjob for the stats user or a user in"
+       einfo "the stats group."
+       einfo ""
+       einfo "For example:"
+       einfo ""
+       einfo "   \"0 0 * * * /usr/bin/basc -q -y >/dev/null 2>&1\""
+       einfo ""
+       einfo "will start the client every day at 00:00am"
+       einfo
+       ebeep
+}
+
diff --git a/app-portage/basc/files/digest-basc-1.5.6 b/app-portage/basc/files/digest-basc-1.5.6
new file mode 100644 (file)
index 0000000..22d4701
--- /dev/null
@@ -0,0 +1 @@
+MD5 f4f2340a75231410ab59e30a1aec1896 basc-1.5.6.tar.gz 20875