summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-09-16 15:46:45 +0000
committerChristian Heim <phreak@gentoo.org>2006-09-16 15:46:45 +0000
commitb13608e785dc3a147826845ce294c62974cda196 (patch)
treef9801349e8fd0899efa8d21dfcf0d5a63bb43a84 /app-admin
parentppc stable (diff)
downloadgentoo-2-b13608e785dc3a147826845ce294c62974cda196.tar.gz
gentoo-2-b13608e785dc3a147826845ce294c62974cda196.tar.bz2
gentoo-2-b13608e785dc3a147826845ce294c62974cda196.zip
Revision bump, fixing compilation with gcc-4 (#146138, thanks to Janne Pikkarainen for the inital patch), fixing usage with gcc-3.4 (#102339, WORKSFORME with gcc-3.4.6). Also updating the ChangeLog (ChrisWhite didn't on 2005/11/06). Taking maintainership of the package.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/whowatch/ChangeLog26
-rw-r--r--app-admin/whowatch/files/digest-whowatch-1.5.22
-rw-r--r--app-admin/whowatch/files/digest-whowatch-1.5.2-r13
-rw-r--r--app-admin/whowatch/files/whowatch-1.5.2-Makefile.in.patch13
-rw-r--r--app-admin/whowatch/files/whowatch-1.5.2-gcc4.patch13
-rw-r--r--app-admin/whowatch/metadata.xml13
-rw-r--r--app-admin/whowatch/whowatch-1.5.2-r1.ebuild33
7 files changed, 92 insertions, 11 deletions
diff --git a/app-admin/whowatch/ChangeLog b/app-admin/whowatch/ChangeLog
index edeb2b27147e..e354e24ee389 100644
--- a/app-admin/whowatch/ChangeLog
+++ b/app-admin/whowatch/ChangeLog
@@ -1,6 +1,21 @@
# ChangeLog for app-admin/whowatch
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/whowatch/ChangeLog,v 1.11 2005/01/01 11:35:57 eradicator Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/whowatch/ChangeLog,v 1.12 2006/09/16 15:46:45 phreak Exp $
+
+*whowatch-1.5.2-r1 (16 Sep 2006)
+
+ 16 Sep 2006; Christian Heim <phreak@gentoo.org>
+ +files/whowatch-1.5.2-Makefile.in.patch, +files/whowatch-1.5.2-gcc4.patch,
+ metadata.xml, +whowatch-1.5.2-r1.ebuild:
+ Revision bump, fixing compilation with gcc-4 (#146138, thanks to Janne
+ Pikkarainen for the inital patch), fixing usage with gcc-3.4 (#102339,
+ WORKSFORME with gcc-3.4.6). Also updating the ChangeLog (ChrisWhite didn't
+ on 2005/11/06). Taking maintainership of the package.
+
+ 30 Nov 2005; Chris White <chriswhite@gentoo.org> whowatch-1.5.2.ebuild:
+ Updating the ebuild, removing lots of invalid stuff, adding HOMEPAGE,
+ KEYWORDS, LICENSE, SLOT, IUSE. Modify src_compile to use econf and emake;
+ src_install is now using einstall.
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> whowatch-1.5.2.ebuild:
Add die following econf for bug 48950
@@ -11,18 +26,17 @@
29 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> whowatch-1.5.2.ebuild:
inherit eutils for epatch
- 01 Feb 2004; Jon Portnoy <avenj@gentoo.org> whowatch-1.5.2.ebuild :
+ 01 Feb 2004; Jon Portnoy <avenj@gentoo.org> whowatch-1.5.2.ebuild:
AMD64 keywords.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
+
*whowatch-1.5.2 (1 Feb 2002)
- 30 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> whowatch-1.5.2.ebuild :
+ 30 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> whowatch-1.5.2.ebuild:
Added ppc to KEYWORDS.
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
diff --git a/app-admin/whowatch/files/digest-whowatch-1.5.2 b/app-admin/whowatch/files/digest-whowatch-1.5.2
index 4109e1f1d642..9aa9d74f5a06 100644
--- a/app-admin/whowatch/files/digest-whowatch-1.5.2
+++ b/app-admin/whowatch/files/digest-whowatch-1.5.2
@@ -1 +1,3 @@
MD5 95ad3ea12b1c33e59e93c9a1ab1812d3 whowatch-1.5.2.tar.gz 51613
+RMD160 ec3ce5a72a688202a9c5bcb2e52376cfc79e1611 whowatch-1.5.2.tar.gz 51613
+SHA256 fa4d9fbb94529f2dac28c14c9cc37587754df3acc5fd69bd780fd46fafebcc9f whowatch-1.5.2.tar.gz 51613
diff --git a/app-admin/whowatch/files/digest-whowatch-1.5.2-r1 b/app-admin/whowatch/files/digest-whowatch-1.5.2-r1
new file mode 100644
index 000000000000..9aa9d74f5a06
--- /dev/null
+++ b/app-admin/whowatch/files/digest-whowatch-1.5.2-r1
@@ -0,0 +1,3 @@
+MD5 95ad3ea12b1c33e59e93c9a1ab1812d3 whowatch-1.5.2.tar.gz 51613
+RMD160 ec3ce5a72a688202a9c5bcb2e52376cfc79e1611 whowatch-1.5.2.tar.gz 51613
+SHA256 fa4d9fbb94529f2dac28c14c9cc37587754df3acc5fd69bd780fd46fafebcc9f whowatch-1.5.2.tar.gz 51613
diff --git a/app-admin/whowatch/files/whowatch-1.5.2-Makefile.in.patch b/app-admin/whowatch/files/whowatch-1.5.2-Makefile.in.patch
new file mode 100644
index 000000000000..0bb0a8689463
--- /dev/null
+++ b/app-admin/whowatch/files/whowatch-1.5.2-Makefile.in.patch
@@ -0,0 +1,13 @@
+diff -Nur whowatch-1.5.2/Makefile.in whowatch-1.5.2-new/Makefile.in
+--- whowatch-1.5.2/Makefile.in Sun Mar 11 15:04:41 2001
++++ whowatch-1.5.2-new/Makefile.in Thu Jun 28 09:09:27 2001
+@@ -70,7 +70,9 @@
+ rm -rf ./*.o
+ rm -f whowatch
+ install: whowatch
++ $(INSTALL) -d $(bindir)
+ $(INSTALL) -m 755 whowatch $(bindir)/whowatch
++ $(INSTALL) -d $(mandir)/man1
+ $(INSTALL) -m 644 whowatch.1 $(mandir)/man1/whowatch.1
+
+ distclean:
diff --git a/app-admin/whowatch/files/whowatch-1.5.2-gcc4.patch b/app-admin/whowatch/files/whowatch-1.5.2-gcc4.patch
new file mode 100644
index 000000000000..d731cc67968c
--- /dev/null
+++ b/app-admin/whowatch/files/whowatch-1.5.2-gcc4.patch
@@ -0,0 +1,13 @@
+Index: whowatch-1.5.2/process.c
+===================================================================
+--- whowatch-1.5.2.orig/process.c
++++ whowatch-1.5.2/process.c
+@@ -74,7 +74,7 @@ void synchronize()
+ memset(z, 0, sizeof *z);
+ check_line(l);
+ z->line = l++;
+- (struct process *) p->priv = z;
++ p->priv = z;
+ z->proc = p;
+ if (*current){
+ z->next = *current;
diff --git a/app-admin/whowatch/metadata.xml b/app-admin/whowatch/metadata.xml
index 7656282fe720..9d798cf90115 100644
--- a/app-admin/whowatch/metadata.xml
+++ b/app-admin/whowatch/metadata.xml
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>maintainer-needed@gentoo.org</email>
-</maintainer>
-<longdescription>A interactive who program that displays information about the users currently logged into the machine.</longdescription>
+ <maintainer>
+ <email>phreak@gentoo.org</email>
+ <name>Christian Heim</name>
+ </maintainer>
+ <longdescription>
+ A interactive who program that displays information about the users currently logged into the machine.
+ </longdescription>
</pkgmetadata>
diff --git a/app-admin/whowatch/whowatch-1.5.2-r1.ebuild b/app-admin/whowatch/whowatch-1.5.2-r1.ebuild
new file mode 100644
index 000000000000..31ab9675352a
--- /dev/null
+++ b/app-admin/whowatch/whowatch-1.5.2-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/whowatch/whowatch-1.5.2-r1.ebuild,v 1.1 2006/09/16 15:46:45 phreak Exp $
+
+inherit eutils
+
+DESCRIPTION="interactive who-like program that displays information about users currently logged on in real time"
+HOMEPAGE="http://wizard.ae.krakow.pl/~mike/"
+SRC_URI="http://wizard.ae.krakow.pl/~mike/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Makefile.in.patch
+ epatch "${FILESDIR}"/${P}-gcc4.patch
+}
+
+src_compile() {
+ econf || die "econf failed"
+ make || die
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS ChangeLog KEYS NEWS README TODO VERSION
+}