punt old and clean up latest ebuild
authorMike Frysinger <vapier@gentoo.org>
Thu, 30 Dec 2004 10:41:09 +0000 (10:41 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 30 Dec 2004 10:41:09 +0000 (10:41 +0000)
app-portage/basc/Manifest
app-portage/basc/basc-1.3.9-r1.ebuild [deleted file]
app-portage/basc/basc-1.3.9.ebuild [deleted file]
app-portage/basc/basc-1.4.0.ebuild [deleted file]
app-portage/basc/basc-1.5.0.ebuild
app-portage/basc/files/digest-basc-1.3.9 [deleted file]
app-portage/basc/files/digest-basc-1.3.9-r1 [deleted file]
app-portage/basc/files/digest-basc-1.4.0 [deleted file]

index fa9cbd26981963d3d6bfaac77c0e591c8339f129..33fea79fd886ed77045c064876d49e8a4af7646a 100644 (file)
@@ -1,10 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 0b47a58a9bf901edcc629d7ef8725334 ChangeLog 937
-MD5 01f7a8fd07110a4efa67aad2eb752185 basc-1.3.9-r1.ebuild 1863
-MD5 dcb8dc246c5de4b71523851e3328623c basc-1.3.9.ebuild 1860
 MD5 f771ec5e8f277ad4d47d4339d412ba85 metadata.xml 257
-MD5 ef0b96bcea6556e638594fd33069d98a basc-1.4.0.ebuild 1937
-MD5 0288131fe2de9aa726190fe164388bea basc-1.5.0.ebuild 1988
-MD5 e2d5a46d807b9a6fc2aba48df22d2971 files/digest-basc-1.3.9 61
-MD5 e2d5a46d807b9a6fc2aba48df22d2971 files/digest-basc-1.3.9-r1 61
-MD5 9caadc0bb597176ab249c93650452438 files/digest-basc-1.4.0 61
+MD5 692f212cf12e9ddc6372a88ee46867bc basc-1.5.0.ebuild 1871
 MD5 2c675d7d3e70daedb76091e742fed699 files/digest-basc-1.5.0 61
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFB09t9roRuSHgZdywRAq95AJ9aLDpM5kqDIf36miSDlrcYrfnTcACdEvLF
+6DQgJ+G2FPgNkjDmbhGhk0g=
+=Eax8
+-----END PGP SIGNATURE-----
diff --git a/app-portage/basc/basc-1.3.9-r1.ebuild b/app-portage/basc/basc-1.3.9-r1.ebuild
deleted file mode 100644 (file)
index 4890feb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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.3.9-r1.ebuild,v 1.2 2004/12/23 09:14:04 pvdabeel Exp $
-
-# ebuild contributed by Alexander Mieland and Daniel Herzog
-
-inherit eutils gcc
-
-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 ~mips ~hppa ppc ~amd64"
-SLOT="0"
-LICENSE="GPL-2"
-
-IUSE=""
-
-RDEPEND="app-portage/gentoolkit
-       dev-lang/perl
-       dev-perl/DateManip
-       net-misc/wget
-       sys-devel/gcc
-       sys-apps/sed
-       sys-apps/grep
-       app-arch/gzip
-       >=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
-       sed -i "s:/usr/local:/usr:g" client/hgenlop
-       $(gcc-getCC) ${CFLAGS} -o client/smt-detect client/smt-detect.c
-}
-
-src_install() {
-       exeinto /usr/bin
-       doexe client/basc client/hgenlop client/smt-detect
-       dodoc README ChangeLog TEAM
-       dodir /etc/basc
-       touch ${D}/etc/basc/basc.conf
-
-       fowners root:stats /etc/basc
-       fperms og+w /etc/basc
-
-       fowners root:stats /etc/basc/basc.conf
-       fperms og+w /etc/basc/basc.conf
-}
-
-pkg_postinst() {
-       local GU=`/usr/bin/hgenlop -nt gcc`
-       echo "GU=\"${GU}\"" >> /etc/basc/basc.conf
-
-       draw_line
-       einfo
-       einfo "The Gentoo Buildtime and Statistics client can be started by"
-       einfo "typing:"
-       einfo ""
-       einfo "  \"basc -u\"."
-       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 >/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/basc-1.3.9.ebuild b/app-portage/basc/basc-1.3.9.ebuild
deleted file mode 100644 (file)
index fe4e4f9..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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.3.9.ebuild,v 1.2 2004/12/23 08:05:02 pvdabeel Exp $
-
-# ebuild contributed by Alexander Mieland and Daniel Herzog
-
-inherit eutils gcc
-
-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 ~mips ~hppa ppc ~amd64"
-SLOT="0"
-LICENSE="GPL-2"
-
-IUSE=""
-
-RDEPEND="app-portage/gentoolkit
-       dev-lang/perl
-       dev-perl/DateManip
-       net-misc/wget
-       sys-devel/gcc
-       sys-apps/sed
-       sys-apps/grep
-       app-arch/gzip
-       >=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
-       sed -i "s:/usr/local:/usr:g" client/hgenlop
-       $(gcc-getCC) ${CFLAGS} -o client/smt-detect client/smt-detect.c
-}
-
-src_install() {
-       exeinto /usr/bin
-       doexe client/basc client/hgenlop client/smt-detect
-       dodoc README ChangeLog TEAM
-       dodir /etc/basc
-       touch ${D}/etc/basc/basc.conf
-
-       fowners root:stats /etc/basc
-       fperms og+w /etc/basc
-
-       fowners root:stats /etc/basc/basc.conf
-       fperms og+w /etc/basc/basc.conf
-}
-
-pkg_postinst() {
-       local GU=`/usr/bin/hgenlop -nt gcc`
-       echo "GU=\"${GU}\"" >> /etc/basc/basc.conf
-
-       draw_line
-       einfo
-       einfo "The Gentoo Buildtime and Statistics client can be started by"
-       einfo "typing:"
-       einfo ""
-       einfo "  \"basc -u\"."
-       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 >/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/basc-1.4.0.ebuild b/app-portage/basc/basc-1.4.0.ebuild
deleted file mode 100644 (file)
index 7912e9c..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# 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.4.0.ebuild,v 1.2 2004/12/28 11:30:19 mr_bones_ Exp $
-
-# ebuild contributed by Alexander Mieland and Daniel Herzog
-
-inherit eutils gcc
-
-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 ~mips ~hppa ppc amd64"
-SLOT="0"
-LICENSE="GPL-2"
-
-IUSE=""
-
-RDEPEND="app-portage/gentoolkit
-       dev-lang/perl
-       dev-perl/DateManip
-       net-misc/wget
-       sys-devel/gcc
-       sys-apps/sed
-       sys-apps/grep
-       app-arch/gzip
-       >=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
-       sed -i "s:/usr/local:/usr:g" client/hgenlop
-       $(gcc-getCC) ${CFLAGS} -o client/smt-detect client/smt-detect.c
-}
-
-src_install() {
-       exeinto /usr/bin
-       doexe client/basc client/hgenlop client/smt-detect
-       dodoc README ChangeLog TEAM
-       dodir /etc/basc
-       touch ${D}/etc/basc/basc.conf
-
-       fowners root:stats /etc/basc
-       fperms ug+w /etc/basc
-
-       fowners root:stats /etc/basc/basc.conf
-       fperms ug+w /etc/basc/basc.conf
-}
-
-pkg_postinst() {
-       local GU=`/usr/bin/hgenlop -nt gcc`
-       echo "GU=\"${GU}\"" >> /etc/basc/basc.conf
-
-       draw_line
-       einfo
-       einfo "The Gentoo Buildtime and Statistics client can be started by"
-       einfo "typing:"
-       einfo ""
-       einfo "  \"basc -u\"."
-       einfo ""
-       einfo "Note: You have to be in the stats group 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 >/dev/null 2>&1\""
-       einfo ""
-       einfo "will start the client every day at 00:00am"
-       einfo
-       draw_line
-       ebeep
-}
index 40b9d0b8a96be8603e4887ebeadee645f3605a67..7cff100950df6c97d627cbd76c17e206d0e3f7f9 100644 (file)
@@ -1,19 +1,16 @@
 # 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.0.ebuild,v 1.2 2004/12/29 12:39:20 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/basc/basc-1.5.0.ebuild,v 1.3 2004/12/30 10:41:09 vapier Exp $
 
-# ebuild contributed by Alexander Mieland and Daniel Herzog
+inherit eutils toolchain-funcs
 
-inherit eutils gcc
-
-DESCRIPTION="Python client for Buildtime And Statistics Client for http://www.gentoo-stats.org"
-HOMEPAGE="http://www.gentoo-stats.org"
+DESCRIPTION="client for Buildtime And Statistics Client (Unofficial Gentoo Project)"
+HOMEPAGE="http://www.gentoo-stats.org/"
 SRC_URI="http://www.gentoo-stats.org/download/${P}.tar.gz"
 
-KEYWORDS="x86 sparc ~mips ~hppa ppc amd64"
-SLOT="0"
 LICENSE="GPL-2"
-
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~mips ppc sparc x86"
 IUSE=""
 
 RDEPEND="app-portage/gentoolkit
@@ -32,17 +29,15 @@ pkg_setup() {
 }
 
 src_compile() {
-       sed -i "s:/usr/local:/usr:g" client/basc
-       sed -i "s:/usr/local:/usr:g" client/hgenlop
-       $(gcc-getCC) ${CFLAGS} -o client/smt-detect client/smt-detect.c >/dev/null 2>&1
+       sed -i "s:/usr/local:/usr:g" client/basc client/hgenlop
+       $(tc-getCC) ${CFLAGS} -o client/smt-detect client/smt-detect.c || die "build failed"
 }
 
 src_install() {
-       exeinto /usr/bin
-       doexe client/basc client/hgenlop client/smt-detect client/urandom.sh
+       dobin client/basc client/hgenlop client/smt-detect client/urandom.sh || die "dobin"
        dodoc README ChangeLog TEAM
        dodir /etc/basc
-       touch ${D}/etc/basc/basc.conf
+       touch "${D}"/etc/basc/basc.conf
 
        fowners root:stats /etc/basc
        fperms ug+w /etc/basc
@@ -55,7 +50,6 @@ pkg_postinst() {
        local GU=`/usr/bin/hgenlop -nt gcc`
        echo "GU=\"${GU}\"" >> /etc/basc/basc.conf
 
-       draw_line
        einfo
        einfo "The Gentoo Buildtime and Statistics client can be started by"
        einfo "typing:"
@@ -74,6 +68,4 @@ pkg_postinst() {
        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.3.9 b/app-portage/basc/files/digest-basc-1.3.9
deleted file mode 100644 (file)
index 286bff5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 94d1cb6286e9d30073d72f0517b46b0d basc-1.3.9.tar.gz 13775
diff --git a/app-portage/basc/files/digest-basc-1.3.9-r1 b/app-portage/basc/files/digest-basc-1.3.9-r1
deleted file mode 100644 (file)
index 286bff5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 94d1cb6286e9d30073d72f0517b46b0d basc-1.3.9.tar.gz 13775
diff --git a/app-portage/basc/files/digest-basc-1.4.0 b/app-portage/basc/files/digest-basc-1.4.0
deleted file mode 100644 (file)
index 8a86307..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 de9ac8d652608d3506eed169cf2c4924 basc-1.4.0.tar.gz 14108