version bump
authorPieter van den Abeele <pvdabeel@gentoo.org>
Fri, 7 Jan 2005 22:48:45 +0000 (22:48 +0000)
committerPieter van den Abeele <pvdabeel@gentoo.org>
Fri, 7 Jan 2005 22:48:45 +0000 (22:48 +0000)
app-portage/basc/ChangeLog
app-portage/basc/Manifest
app-portage/basc/basc-1.5.5.ebuild [new file with mode: 0644]
app-portage/basc/files/digest-basc-1.5.5 [new file with mode: 0644]

index 925699527c392c0b2d8234543d2ece97ce72b037..1e80c5b2f9c83f4e659a6f5c77ebeee19e138ba6 100644 (file)
@@ -1,6 +1,9 @@
 # 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.15 2005/01/04 17:08:44 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/basc/ChangeLog,v 1.16 2005/01/07 22:48:45 pvdabeel Exp $
+
+  07 Jan 2005; Pieter Van den Abeele <pvdabeel@gentoo.org> basc-1.5.5.ebuild:
+  bug 77030
 
   04 Jan 2005; Pieter Van den Abeele <pvdabeel@gentoo.org> basc-1.5.3.ebuild:
   Added new fallback-detection for windowmanager, which searches
index 8da09d1e332dc2914216deae245244f1a5b9f572..890c19ce295e839de4e59ae9d29145f1bd8ff1b7 100644 (file)
@@ -1,8 +1,10 @@
-MD5 02057386bd3c55ce3b7cf4ef730c566f ChangeLog 2274
+MD5 62180932c448652402a3b9ed86301537 ChangeLog 2365
 MD5 3c8e1225812577632847153488b201d7 basc-1.5.2.ebuild 2269
 MD5 98f1fd168142a0154882d295792bdff0 basc-1.5.3.ebuild 2295
-MD5 36441a3af28aa17a592a5c409239a278 metadata.xml 616
 MD5 83bc45469d52fa621d1b0c9b6d97d274 basc-1.5.4.ebuild 2155
-MD5 74753ac6d1c6ab7f0dbf6c43d17045b4 files/digest-basc-1.5.3 61
+MD5 36441a3af28aa17a592a5c409239a278 metadata.xml 616
+MD5 d58e6d6a14f28ee7c4b1b73961503e2d basc-1.5.5.ebuild 2138
 MD5 fad108ecff3fcfbf2987a555420c92cc files/digest-basc-1.5.2 61
+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
diff --git a/app-portage/basc/basc-1.5.5.ebuild b/app-portage/basc/basc-1.5.5.ebuild
new file mode 100644 (file)
index 0000000..dd759c6
--- /dev/null
@@ -0,0 +1,88 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/basc/basc-1.5.5.ebuild,v 1.1 2005/01/07 22:48:45 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 sparc ppc amd64 ~ppc64"
+SLOT="0"
+LICENSE="GPL-2"
+
+IUSE=""
+
+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
+       media-gfx/scrot
+       >=sys-apps/uhinv-0.4"
+
+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
+
+       fowners root:stats /etc/basc
+       fperms ug+w /etc/basc
+
+}
+
+pkg_postinst() {
+
+
+       draw_line
+       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
+       draw_line
+       ebeep
+}
diff --git a/app-portage/basc/files/digest-basc-1.5.5 b/app-portage/basc/files/digest-basc-1.5.5
new file mode 100644 (file)
index 0000000..04c3af8
--- /dev/null
@@ -0,0 +1 @@
+MD5 5910810d5accf1a76998ebfd26d8f52c basc-1.5.5.tar.gz 20454