diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/netkit-rusers |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/netkit-rusers')
-rw-r--r-- | net-misc/netkit-rusers/Manifest | 6 | ||||
-rw-r--r-- | net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch | 30 | ||||
-rw-r--r-- | net-misc/netkit-rusers/metadata.xml | 5 | ||||
-rw-r--r-- | net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild | 41 |
4 files changed, 82 insertions, 0 deletions
diff --git a/net-misc/netkit-rusers/Manifest b/net-misc/netkit-rusers/Manifest new file mode 100644 index 000000000000..e84bedc54899 --- /dev/null +++ b/net-misc/netkit-rusers/Manifest @@ -0,0 +1,6 @@ +AUX netkit-rusers-0.17-include.patch 864 SHA256 14c8ccc0bad9c7644e3831527a156b7bfafea55bb95b41da912709048c569fd1 SHA512 59f031b72f227fe55f49c1d41a4132408389466a85fbb0fa31192361f1d128fe25759655dbb731acfb1ec127c7f57a785616dfe3b0cda5afbe0bb10356cb0c57 WHIRLPOOL e9f704d05e076e7398989d8d777918a3065cd74fd9eb003dbf0a1863a289add13722b4176370c8b07d77bf934a933a2dd5ac43c29d78e200723acaec9ee52555 +DIST netkit-rusers-0.17.tar.gz 22063 SHA256 f00138651865ad2dcfec5dedda0cda403cb80c4ab68efcc3bbccafe198c24b6d SHA512 4bc64ead60941c7d92f9d45f18806bd8575441d95d5d2679a718cec58a31001b1b7320d34e20bd7f2f6b5072fc703e003b97c7cfde014d73a767c8e4d3f2b9b6 WHIRLPOOL 59becdbedfd07b2feb6604861840027313a3c08ba716d013495cd902b21607028ef8f9a2664516d38475969cfbfa90b4f200a74dd4c58bdca21392de75e17871 +EBUILD netkit-rusers-0.17-r1.ebuild 930 SHA256 1baac24ffe29bd66be3f68dca019d5f3269326ea35d1ec9f22ddfe8177976516 SHA512 820f84afde8531320942c6dbfa6d23d14e62ef84afbd092a71eea73e61bbd74135a546e9fe1c43b7557f82066cab558a1894b9941dae86f4996e6f72cab5572f WHIRLPOOL 151b21b1f36df36cefadafc2cef20bfc5a2fef0c50a3069de68de1ae1c9de742b9cbed7938e5bf88b5d67233f96345262388b3e9e59012d1281cb7efa0d8096a +MISC ChangeLog 2587 SHA256 1e4aeea4b90caac0ed8ec1d6e6d71e2369ab0376cf053290346e80befcf9b333 SHA512 d3995207d71866559a7a974e1872ee74a4a7f4f7ccdda5f3ab0074e84775434888b8d0fabf915458ebab291b4ff4354cdf132b967403b88a64a1de3920f3514f WHIRLPOOL 7c819b77da2ff177b373b5d7f7fdeb0a3eab70f9aaa5485aa93497bc3ce96f8ca5619ae37aaeb5fddd4712637aa77e2311992a9cb9d80fde4942957dc2662479 +MISC ChangeLog-2015 1234 SHA256 8b6873fbc0badb5ce81a62d6c023a3ad625360f1e9a21e20f802af06b74e058a SHA512 34883d144f2aa2329b1e446d040c410b90ee545abc46a37bd803956185b555c6624d9c1e7df13a9f45de10db528ecb096aaa9b1465fae0ddfab7bbe0509ac25b WHIRLPOOL d76266c6b9371199851ba93e2fec257d31e19b0a3ccad21c56b00032d36da208ddea0d3e886cc8ec34aa1618eabea75a6c7e99c081a8cbe3315e89931761cead +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 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/metadata.xml b/net-misc/netkit-rusers/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-misc/netkit-rusers/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> 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..f2369aa640a1 --- /dev/null +++ b/net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |