summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-12-31 18:40:32 +0000
committerJeroen Roovers <jer@gentoo.org>2010-12-31 18:40:32 +0000
commit11370a32316df7140bf9a1daf2a818e71efbd8a6 (patch)
tree76b8832c1154f3e2dd7145d08f480bdc5261ef6d
parentVersion bump, no longer uses gnome-vfs, requires at least python-2.5 and othe... (diff)
downloadhistorical-11370a32316df7140bf9a1daf2a818e71efbd8a6.tar.gz
historical-11370a32316df7140bf9a1daf2a818e71efbd8a6.tar.bz2
historical-11370a32316df7140bf9a1daf2a818e71efbd8a6.zip
Respect LDFLAGS (bug #337620), CC. Fix some includes. Remove empty DEPEND.
Package-Manager: portage-2.2.0_alpha10/cvs/Linux i686
-rw-r--r--net-misc/netkit-rusers/ChangeLog10
-rw-r--r--net-misc/netkit-rusers/Manifest4
-rw-r--r--net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch30
-rw-r--r--net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild42
4 files changed, 83 insertions, 3 deletions
diff --git a/net-misc/netkit-rusers/ChangeLog b/net-misc/netkit-rusers/ChangeLog
index 7a3964559a34..43744b87b266 100644
--- a/net-misc/netkit-rusers/ChangeLog
+++ b/net-misc/netkit-rusers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/netkit-rusers
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rusers/ChangeLog,v 1.6 2009/09/23 19:40:07 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rusers/ChangeLog,v 1.7 2010/12/31 18:40:32 jer Exp $
+
+*netkit-rusers-0.17-r1 (31 Dec 2010)
+
+ 31 Dec 2010; Jeroen Roovers <jer@gentoo.org> +netkit-rusers-0.17-r1.ebuild,
+ +files/netkit-rusers-0.17-include.patch:
+ Respect LDFLAGS (bug #337620), CC. Fix some includes. Remove empty DEPEND.
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> netkit-rusers-0.17.ebuild:
Remove virtual/libc
diff --git a/net-misc/netkit-rusers/Manifest b/net-misc/netkit-rusers/Manifest
index e9b51808ae3f..1546fcf6162a 100644
--- a/net-misc/netkit-rusers/Manifest
+++ b/net-misc/netkit-rusers/Manifest
@@ -1,4 +1,6 @@
+AUX netkit-rusers-0.17-include.patch 864 RMD160 9b0300450b44b2767e15282da49fe768bb4a8206 SHA1 b96422fc246e1fd7c7c4029f2e83db44098cca0e SHA256 14c8ccc0bad9c7644e3831527a156b7bfafea55bb95b41da912709048c569fd1
DIST netkit-rusers-0.17.tar.gz 22063 RMD160 19bfd7ca12b6899f8b55778d8cbf7a55e8903803 SHA1 ed73eb825c62047ca4792d8931ac95ba8d4d9f77 SHA256 f00138651865ad2dcfec5dedda0cda403cb80c4ab68efcc3bbccafe198c24b6d
+EBUILD netkit-rusers-0.17-r1.ebuild 1053 RMD160 68e13918c8df514d7d30711d8e06a8be6bed5c36 SHA1 311d451c30620c9fce1148c6a3f9ef5e97065a3a SHA256 bb73e4df98cce41ae5762f8487cef3661cb2a086946c6257bbeec6b28096dc7e
EBUILD netkit-rusers-0.17.ebuild 867 RMD160 bd9d8fad6dfbdec09d2c5b90334557882e1e19b8 SHA1 cabf6a407d5f31e10dba2b5562c1afaf37588512 SHA256 f306e7e0fda160f0a0244a6f8865cf1b8ebbd94b5d5eaedb088b89f397ca29dc
-MISC ChangeLog 893 RMD160 8d29a49f5b12202939fb6c02b573b0fd217598cb SHA1 bac8fd29174be310a8e1812c42e42e57e3001bb2 SHA256 ebd03ecd43fe55fe0aa62f91ddde36359ba987a41d017ade7a75d5748a349d44
+MISC ChangeLog 1126 RMD160 a43b4e78090c1846afda9a59fabe002a8fd54c44 SHA1 bcf0bcf4bb7177207d0ca84949b6002064ee1ab6 SHA256 e8b846253c9aed18a151de4832d6dc2f6fe23dfb9a19a19612faa34886d1e45d
MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
diff --git a/net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch b/net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch
new file mode 100644
index 000000000000..9dccf5442c41
--- /dev/null
+++ b/net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch
@@ -0,0 +1,30 @@
+--- ./rup/err.c.orig 1997-04-06 00:13:31.000000000 +0200
++++ ./rup/err.c 2010-12-31 19:29:41.000000000 +0100
+@@ -8,6 +8,7 @@
+ #include <stdio.h>
+ #include <stdarg.h>
+ #include <err.h>
++#include <stdlib.h> /* exit() */
+
+ void err(int eval, const char *fmt, ...) {
+ va_list ap;
+--- ./rpc.rusersd/rusers_proc.c.orig 2000-07-23 05:11:56.000000000 +0200
++++ ./rpc.rusersd/rusers_proc.c 2010-12-31 19:27:50.000000000 +0100
+@@ -40,6 +40,7 @@
+ #include <sys/socket.h>
+ #include <sys/param.h>
+ #include <sys/stat.h>
++#include <time.h> /* time() */
+ #ifdef XIDLE
+ #include <setjmp.h>
+ #include <X11/Xlib.h>
+--- ./rusers/rusers.c.orig 1999-12-12 20:32:05.000000000 +0100
++++ ./rusers/rusers.c 2010-12-31 19:30:33.000000000 +0100
+@@ -44,6 +44,7 @@
+ #include <utmp.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <time.h> /* ctime() */
+
+ #include "../version.h"
+
diff --git a/net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild b/net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild
new file mode 100644
index 000000000000..485b8e796ab1
--- /dev/null
+++ b/net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild,v 1.1 2010/12/31 18:40:32 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Netkit - rup rpc.rusersd rusers"
+HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-include.patch
+ sed -i configure -e '/^LDFLAGS=/d' || die "sed configure"
+}
+
+src_configure() {
+ ./configure --with-c-compiler=$(tc-getCC) || die
+ sed -i MCONFIG -e "s:-O2::" -e "s:-Wpointer-arith::" || die "sed MCONFIG"
+}
+
+src_compile() {
+ # see bug #244867 for parallel make issues
+ emake -j1 || die
+}
+
+src_install() {
+ into /usr
+ dobin rup/rup
+ doman rup/rup.1
+ dobin rpc.rusersd/rusersd
+ doman rpc.rusersd/rpc.rusersd.8
+ dobin rusers/rusers
+ doman rusers/rusers.1
+ dodoc README ChangeLog
+}