public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orphaned Packages Process <packaging-reports@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rusers] rawhide: Orphaned for 6+ weeks
Date: Fri, 19 Jun 2026 20:31:49 GMT [thread overview]
Message-ID: <178190110940.1.14228894940131588312.rpms-rusers-d178dcd10be9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rusers
Branch : rawhide
Commit : d178dcd10be979ba9a27a670a048623c18c3f0ff
Author : Orphaned Packages Process <packaging-reports@fedoraproject.org>
Date : 2026-06-19T15:31:44-05:00
Stats : +1/-1842 in 28 file(s)
URL : https://src.fedoraproject.org/rpms/rusers/c/d178dcd10be979ba9a27a670a048623c18c3f0ff?branch=rawhide
Log:
Orphaned for 6+ weeks
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 6d9ed1b..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-netkit-rusers-0.17.tar.gz
-rstatd.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..5204a84
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Orphaned for 6+ weeks
diff --git a/netkit-rusers-0.15-numusers.patch b/netkit-rusers-0.15-numusers.patch
deleted file mode 100644
index 338e9dc..0000000
--- a/netkit-rusers-0.15-numusers.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- netkit-rusers-0.15/rpc.rusersd/rusers_proc.c.numusers Mon Sep 20 10:03:12 1999
-+++ netkit-rusers-0.15/rpc.rusersd/rusers_proc.c Mon Sep 20 10:03:54 1999
-@@ -204,13 +204,14 @@
- char *
- rusers_num(void *ign1, struct svc_req *ign2)
- {
-- static int num_users = 0;
-+ static int num_users;
- struct utmp *uptr;
- (void)ign1;
- (void)ign2;
-
- /* only use entries with both name and line fields */
-
-+ num_users = 0;
- setutent();
- while ((uptr = getutent())!=NULL) {
- if (*uptr->ut_name && *uptr->ut_line &&
diff --git a/rstatd-jbj.patch b/rstatd-jbj.patch
deleted file mode 100644
index 5209621..0000000
--- a/rstatd-jbj.patch
+++ /dev/null
@@ -1,139 +0,0 @@
---- netkit-rusers-0.15/rpc.rstatd/rstat_proc.c.jbj Wed Feb 10 17:01:01 1999
-+++ netkit-rusers-0.15/rpc.rstatd/rstat_proc.c Fri Aug 27 13:00:06 1999
-@@ -62,10 +62,10 @@
- #define CP_USER 0
- #define CP_NICE 1
- #define CP_SYS 2
--#define CP_INTR 3
--#define CP_IDLE 4
-+#define CP_IDLE 3
-+#define CP_INTR 4
- #define CPUSTATES 5
--static int cp_xlat[4] = { CP_USER, CP_NICE, CP_SYS, CP_IDLE };
-+static int cp_xlat[CPUSTATES] = { CP_USER, CP_NICE, CP_SYS, CP_IDLE };
-
- /*
- * System wide statistics counters.
-@@ -317,10 +317,13 @@
- stat_init(void)
- {
- stat_is_init = 1;
-- setup();
-+
-+ /* Prime the pump */
- updatestat(0);
-+
- (void) signal(SIGALRM, updatestat);
- alarm(1);
-+ pause();
- }
-
- statstime *
-@@ -361,8 +364,8 @@
- (void)&arg; (void)&rqstp;
- if (!stat_is_init)
- stat_init();
-- sincelastreq = 0;
- have = havedisk();
-+ sincelastreq = 0;
- return (&have);
- }
-
-@@ -391,7 +394,7 @@
- };
-
- static void
--getstat(unsigned *cuse, unsigned *cice, unsigned *csys, unsigned long *cide,
-+getstat(unsigned long *cuse, unsigned long *cice, unsigned long *csys, unsigned long *cide,
- unsigned *pin, unsigned *pout, unsigned *sin, unsigned *sout,
- unsigned *itot, unsigned *i1, unsigned *ct, struct _ldisk *d)
- {
-@@ -407,7 +410,7 @@
- *itot = 0;
- *i1 = 1; /* ensure assert below will fail if the sscanf bombs */
- b = strstr(buff, "cpu ");
-- sscanf(b, "cpu %u %u %u %lu", cuse, cice, csys, cide);
-+ sscanf(b, "cpu %lu %lu %lu %lu", cuse, cice, csys, cide);
- b = strstr(buff, "disk ");
- sscanf(b, "disk %u %u %u %u", d->xfer+0, d->xfer+1, d->xfer+2, d->xfer+3);
- b = strstr(buff, "disk_rio ");
-@@ -537,12 +540,17 @@
- static int hz;
- static struct timeval tm, btm;
- static double avrun[3];
--static unsigned int cpu_use[2], cpu_nic[2], cpu_sys[2];
-+static unsigned long cpu_use[2], cpu_nic[2], cpu_sys[2];
- static unsigned long cpu_idl[2];
- static struct _ldisk disk[2];
- static unsigned int pgpgin[2], pgpgout[2], pswpin[2], pswpout[2];
- static unsigned int inter[2], ticks[2], ctxt[2];
-+
-+#ifdef NOTYET /* XXX noop to match solaris behavior */
- #define _DELTA(_x, _i) ( (_x)[(_i)] - (_x)[!(_i)] )
-+#else
-+#define _DELTA(_x, _i) ( (_x)[(_i)] )
-+#endif
-
- extern int uptime(double *, double *);
- extern void loadavg(double *, double *, double *);
-@@ -568,7 +576,6 @@
- getstat(cpu_use+tog,cpu_nic+tog,cpu_sys+tog,cpu_idl+tog,
- pgpgin+tog,pgpgout+tog,pswpin+tog,pswpout+tog,
- inter+tog,ticks+tog,ctxt+tog, disk+tog);
-- tog = !tog;
-
- dk_ndrive = 0;
- for (i = 0; i < 4; i++) {
-@@ -578,11 +585,11 @@
- dk_ndrive++;
- }
-
-- cur.cp_time[CP_USER] = _DELTA(cpu_use, tog);
-- cur.cp_time[CP_NICE] = _DELTA(cpu_nic, tog);
-- cur.cp_time[CP_SYS] = _DELTA(cpu_sys, tog);
-+ cur.cp_time[CP_USER] = (_DELTA(cpu_use, tog)) % UINT_MAX;
-+ cur.cp_time[CP_NICE] = (_DELTA(cpu_nic, tog)) % UINT_MAX;
-+ cur.cp_time[CP_SYS] = (_DELTA(cpu_sys, tog)) % UINT_MAX;
- cur.cp_time[CP_INTR] = 0;
-- cur.cp_time[CP_SYS] = (_DELTA(cpu_idl, tog)) % UINT_MAX;
-+ cur.cp_time[CP_IDLE] = (_DELTA(cpu_idl, tog)) % UINT_MAX;
-
- cnt.v_pgpgin = pgpgin[tog];
- cnt.v_pgpgout = pgpgout[tog];
-@@ -590,6 +597,7 @@
- cnt.v_pswpout = pswpout[tog];
- cnt.v_intr = inter[tog];
- cnt.v_swtch = ctxt[tog];
-+ tog = !tog;
- }
-
- static void
-@@ -597,11 +605,10 @@
- {
- int i, save_errno = errno;
-
-- (void)&signo;
- #ifdef DEBUG
- syslog(LOG_DEBUG, "entering updatestat");
- #endif
-- if (sincelastreq >= closedown) {
-+ if (signo != 0 && sincelastreq >= closedown) {
- #ifdef DEBUG
- syslog(LOG_DEBUG, "about to closedown");
- #endif
-@@ -678,15 +685,6 @@
- alarm(1);
- errno = save_errno;
- }
--
--static void
--setup(void)
--{
-- /* Prime the pump */
-- convert_stats();
-- sleep(1);
--}
--
-
- /*
- * returns true if have a disk
diff --git a/rstatd-man.patch b/rstatd-man.patch
deleted file mode 100644
index 9531b6d..0000000
--- a/rstatd-man.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -up netkit-rusers-0.17/rpc.rstatd/rpc.rstatd.8.old netkit-rusers-0.17/rpc.rstatd/rpc.rstatd.8
---- netkit-rusers-0.17/rpc.rstatd/rpc.rstatd.8.old 2016-12-14 08:49:52.073732006 +0100
-+++ netkit-rusers-0.17/rpc.rstatd/rpc.rstatd.8 2016-12-14 08:50:59.021211518 +0100
-@@ -47,9 +47,7 @@
- is a server which returns performance statistics obtained from the kernel.
- These statistics are usually read using the
- .Xr rup 1
--command. They are also used by the
--.Xr rpc.lockd 8
--server during crash recovery.
-+command.
- The
- .Nm rpc.rstatd
- daemon is normally invoked by
-@@ -61,4 +59,3 @@ uses an RPC protocol defined in
- .Sh SEE ALSO
- .Xr rup 1 ,
- .Xr inetd 8 ,
--.Xr rpc.lockd 8
diff --git a/rstatd.service b/rstatd.service
deleted file mode 100644
index 2eee685..0000000
--- a/rstatd.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Remote Machine Performance Metrics Gatherer
-Requires=network.target rpcbind.service
-After=rpcbind.service
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/rpc.rstatd
-StandardError=syslog
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/rusers-0.17-2.4.patch b/rusers-0.17-2.4.patch
deleted file mode 100644
index a2d2031..0000000
--- a/rusers-0.17-2.4.patch
+++ /dev/null
@@ -1,96 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.2.4 Wed Feb 14 20:54:31 2001
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c Wed Feb 14 20:55:08 2001
-@@ -385,12 +385,14 @@
-
- #if defined(__linux__)
-
-+#define MAX_DISKS 4
-+
- struct _ldisk {
-- unsigned int xfer[4];
-- unsigned int rio[4];
-- unsigned int wio[4];
-- unsigned int rblk[4];
-- unsigned int wblk[4];
-+ unsigned int xfer[MAX_DISKS];
-+ unsigned int rio[MAX_DISKS];
-+ unsigned int wio[MAX_DISKS];
-+ unsigned int rblk[MAX_DISKS];
-+ unsigned int wblk[MAX_DISKS];
- };
-
- static void
-@@ -401,7 +403,8 @@
- static int stat;
- #define BUFFSIZE 1024
- char buff[BUFFSIZE];
--
-+ int ndisks;
-+
- if ((stat=open("/proc/stat", O_RDONLY, 0)) != -1) {
- char* b;
- buff[BUFFSIZE-1] = 0; /* ensure null termination in buffer */
-@@ -410,24 +413,29 @@
- *itot = 0;
- *i1 = 1; /* ensure assert below will fail if the sscanf bombs */
- b = strstr(buff, "cpu ");
-+ if(b)
- sscanf(b, "cpu %lu %lu %lu %lu", cuse, cice, csys, cide);
-- b = strstr(buff, "disk ");
-- sscanf(b, "disk %u %u %u %u", d->xfer+0, d->xfer+1, d->xfer+2, d->xfer+3);
-- b = strstr(buff, "disk_rio ");
-- sscanf(b, "disk_rio %u %u %u %u", d->rio+0, d->rio+1, d->rio+2, d->rio+3);
-- b = strstr(buff, "disk_wio ");
-- sscanf(b, "disk_rio %u %u %u %u", d->wio+0, d->wio+1, d->wio+2, d->wio+3);
-- b = strstr(buff, "disk_rblk ");
-- sscanf(b, "disk_rblk %u %u %u %u", d->rblk+0,d->rblk+1,d->rblk+2,d->rblk+3);
-- b = strstr(buff, "disk_wblk ");
-- sscanf(b, "disk_wblk %u %u %u %u", d->wblk+0,d->wblk+1,d->wblk+2,d->wblk+3);
-+ b = strstr(buff, "disk_io:");
-+ ndisks = 0;
-+ while ( (b = strstr(b, "):")) != NULL && ndisks < MAX_DISKS ) {
-+ sscanf (b, "):(%u,%u,%u,%u,%u)", &d->xfer[ndisks],
-+ &d->rio[ndisks], &d->rblk[ndisks],
-+ &d->wio[ndisks], &d->wblk[ndisks]);
-+ ndisks++;
-+ b += 2;
-+ }
-+
- b = strstr(buff, "page ");
-+ if(b)
- sscanf(b, "page %u %u", pin, pout);
- b = strstr(buff, "swap ");
-+ if(b)
- sscanf(b, "swap %u %u", sin, sout);
- b = strstr(buff, "intr ");
-+ if(b)
- sscanf(b, "intr %u %u", itot, i1);
- b = strstr(buff, "ctxt ");
-+ if(b)
- sscanf(b, "ctxt %u", ct);
- assert(*itot>*i1);
- }
-@@ -477,6 +485,7 @@
- {
- switch (procnetdev_vsn) {
- case 3:
-+ if(bp)
- sscanf(bp,
- "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld",
- &ife->stats.rx_bytes,
-@@ -498,6 +507,7 @@
- &ife->stats.tx_compressed);
- break;
- case 2:
-+ if(bp)
- sscanf(bp, "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld",
- &ife->stats.rx_bytes,
- &ife->stats.rx_packets,
-@@ -516,6 +526,7 @@
- ife->stats.rx_multicast = 0;
- break;
- case 1:
-+ if(bp)
- sscanf(bp, "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld %ld",
- &ife->stats.rx_packets,
- &ife->stats.rx_errors,
diff --git a/rusers-0.17-bigendian.patch b/rusers-0.17-bigendian.patch
deleted file mode 100644
index 841a142..0000000
--- a/rusers-0.17-bigendian.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.bigendian 2005-09-07 15:42:11.000000000 +0200
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c 2005-09-07 15:43:29.000000000 +0200
-@@ -805,8 +805,8 @@
-
- /* ======================================= */
-
-- gettimeofday((struct timeval *)&stats_all.s3.curtime,
-- (struct timezone *) 0);
-+ stats_all.s3.curtime.tv_sec = tm.tv_sec;
-+ stats_all.s3.curtime.tv_usec = tm.tv_usec;
- alarm(1);
- errno = save_errno;
- }
diff --git a/rusers-0.17-freerpc.patch b/rusers-0.17-freerpc.patch
deleted file mode 100644
index e31095b..0000000
--- a/rusers-0.17-freerpc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.freerpc netkit-rusers-0.17/rpc.rstatd/rstat_proc.c
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.freerpc 2013-07-29 17:32:29.501179053 +0200
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c 2013-07-29 17:33:56.882155180 +0200
-@@ -1133,6 +1133,8 @@ rstat_service(struct svc_req *rqstp, SVC
- }
- memset(&argument, 0, sizeof(argument));
- if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) {
-+ /* try to free already allocated memory during decoding */
-+ svc_freeargs(transp, xdr_argument, (caddr_t)&argument);
- svcerr_decode(transp);
- return;
- }
diff --git a/rusers-0.17-includes.patch b/rusers-0.17-includes.patch
deleted file mode 100644
index aa1ee31..0000000
--- a/rusers-0.17-includes.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- netkit-rusers-0.17/rup/err.c.includes Sun Apr 6 00:13:31 1997
-+++ netkit-rusers-0.17/rup/err.c Wed Jul 25 15:08:27 2001
-@@ -6,6 +6,7 @@
- "$Id: err.c,v 1.1 1997/04/05 22:13:31 dholland Exp $";
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <stdarg.h>
- #include <err.h>
-
---- netkit-rusers-0.17/rpc.rusersd/rusers_proc.c.includes Wed Jul 25 15:07:24 2001
-+++ netkit-rusers-0.17/rpc.rusersd/rusers_proc.c Wed Jul 25 15:10:14 2001
-@@ -31,7 +31,7 @@
-
- #include <signal.h>
- #include <sys/types.h>
--#include <sys/time.h>
-+#include <time.h>
- #include <utmp.h>
- #include <stdio.h>
- #include <syslog.h>
---- netkit-rusers-0.17/rusers/rusers.c.includes Sun Dec 12 20:32:05 1999
-+++ netkit-rusers-0.17/rusers/rusers.c Wed Jul 25 15:12:27 2001
-@@ -44,6 +44,7 @@
- #include <utmp.h>
- #include <stdlib.h>
- #include <unistd.h>
-+#include <time.h>
-
- #include "../version.h"
-
---- netkit-rusers-0.17/rpc.rstatd/rstatd.c.includes Wed Feb 10 20:27:53 1999
-+++ netkit-rusers-0.17/rpc.rstatd/rstatd.c Wed Jul 25 15:13:09 2001
-@@ -40,6 +40,8 @@
- #include <signal.h>
- #include <syslog.h>
- #include <rpcsvc/rstat.h>
-+#include <sys/socket.h>
-+#include <unistd.h>
-
- extern void rstat_service();
-
diff --git a/rusers-0.17-incompatible-pointer-types.patch b/rusers-0.17-incompatible-pointer-types.patch
deleted file mode 100644
index 4c23e9e..0000000
--- a/rusers-0.17-incompatible-pointer-types.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.old 2024-02-12 12:35:20.618002537 +0100
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c 2024-02-12 12:35:46.315174441 +0100
-@@ -1082,7 +1082,7 @@
-
- switch (rqstp->rq_proc) {
- case NULLPROC:
-- (void)svc_sendreply(transp, xdr_void, (char *)NULL);
-+ (void)svc_sendreply(transp, (xdrproc_t) xdr_void, (char *)NULL);
- return;
- break;
-
---- netkit-rusers-0.17/rpc.rstatd/rstatd.c.old 2024-02-12 12:47:37.635932927 +0100
-+++ netkit-rusers-0.17/rpc.rstatd/rstatd.c 2024-02-12 12:48:04.091109903 +0100
-@@ -77,7 +77,7 @@
- * See if inetd started us
- */
- fromlen = sizeof(from);
-- if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) {
-+ if (getsockname(0, (struct sockaddr *)&from, (socklen_t *)&fromlen) < 0) {
- from_inetd = 0;
- sock = RPC_ANYSOCK;
- proto = IPPROTO_UDP;
diff --git a/rusers-0.17-license.patch b/rusers-0.17-license.patch
deleted file mode 100644
index 0ef5e0e..0000000
--- a/rusers-0.17-license.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -hur netkit-rusers-0.17.old/COPYING netkit-rusers-0.17/COPYING
---- /dev/null 2017-02-21 13:50:17.491261463 +0100
-+++ netkit-rusers-0.17/COPYING 2017-02-21 13:48:08.758463774 +0100
-@@ -0,0 +1,27 @@
-+Copyright (c) 1990, 1993 The Regents of the University of California.
-+Copyright (c) 1993, John Brezak
-+Copyright (c) 2010, Oracle America, Inc.
-+All rights reserved.
-+
-+Redistribution and use in source and binary forms, with or without modification,
-+are permitted provided that the following conditions are met:
-+
-+* Redistributions of source code must retain the above copyright notice, this
-+list of conditions and the following disclaimer.
-+* Redistributions in binary form must reproduce the above copyright notice,
-+this list of conditions and the following disclaimer in the documentation
-+and/or other materials provided with the distribution.
-+* Neither the name of the organisations nor the names of its contributors
-+may be used to endorse or promote products derived from this software
-+without specific prior written permission.
-+
-+THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY
-+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-+DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
-+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/rusers-0.17-manhelp.patch b/rusers-0.17-manhelp.patch
deleted file mode 100644
index ecef0a4..0000000
--- a/rusers-0.17-manhelp.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up netkit-rusers-0.17/rup/rup.c.manhelp netkit-rusers-0.17/rup/rup.c
---- netkit-rusers-0.17/rup/rup.c.manhelp 2013-05-19 11:59:04.451701391 +0200
-+++ netkit-rusers-0.17/rup/rup.c 2013-05-19 11:59:43.033905751 +0200
-@@ -335,7 +335,7 @@ allhosts(void)
-
- static void usage(void)
- {
-- fprintf(stderr, "Usage: rup [-dhlt] [hosts ...]\n");
-+ fprintf(stderr, "Usage: rup [-dshlt] [hosts ...]\n");
- exit(1);
- }
-
diff --git a/rusers-0.17-new-rpc-license.patch b/rusers-0.17-new-rpc-license.patch
deleted file mode 100644
index 2432875..0000000
--- a/rusers-0.17-new-rpc-license.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -up netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.oldlicense netkit-rusers-0.17/rpc.rstatd/rstat_proc.c
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.oldlicense 2010-08-26 15:56:26.984457003 -0400
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c 2010-08-26 15:56:30.621457002 -0400
-@@ -1,33 +1,36 @@
- /* $OpenBSD: rstat_proc.c,v 1.10 1998/07/10 08:06:10 deraadt Exp $ */
-
--/*
-- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
-- * unrestricted use provided that this legend is included on all tape
-- * media and as a part of the software program in whole or part. Users
-- * may copy or modify Sun RPC without charge, but are not authorized
-- * to license or distribute it to anyone else except as part of a product or
-- * program developed by the user.
-- *
-- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
-- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
-- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
-+/*
-+ * Copyright (c) 2010, Oracle America, Inc.
- *
-- * Sun RPC is provided with no support and without any obligation on the
-- * part of Sun Microsystems, Inc. to assist in its use, correction,
-- * modification or enhancement.
-+ * All rights reserved.
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions are met:
- *
-- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
-- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
-- * OR ANY PART THEREOF.
-+ * - Redistributions of source code must retain the above copyright notice,
-+ * this list of conditions and the following disclaimer.
- *
-- * In no event will Sun Microsystems, Inc. be liable for any lost revenue
-- * or profits or other special, indirect and consequential damages, even if
-- * Sun has been advised of the possibility of such damages.
-- *
-- * Sun Microsystems, Inc.
-- * 2550 Garcia Avenue
-- * Mountain View, California 94043
-+ * - Redistributions in binary form must reproduce the above copyright notice,
-+ * this list of conditions and the following disclaimer in the documentation
-+ * and/or other materials provided with the distribution.
-+ *
-+ * Neither the name of the “Oracle America, Inc.” nor the names of its
-+ * contributors may be used to endorse or promote products derived from this
-+ * software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
- */
-+
- #ifndef lint
- /*static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";*/
- /*static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";*/
-@@ -37,7 +40,6 @@ static char rcsid[] = "$OpenBSD: rstat_p
- /*
- * rstat service: built with rstat.x and derived from rpc.rstatd.c
- *
-- * Copyright (c) 1984 by Sun Microsystems, Inc.
- */
-
- #include <stdio.h>
diff --git a/rusers-0.17-procdiskstats.patch b/rusers-0.17-procdiskstats.patch
deleted file mode 100644
index aca6041..0000000
--- a/rusers-0.17-procdiskstats.patch
+++ /dev/null
@@ -1,137 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.procdiskstats 2006-08-09 14:15:27.000000000 +0200
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c 2006-08-09 14:28:45.000000000 +0200
-@@ -397,9 +397,88 @@
- };
-
- static void
-+getdiskstat(struct _ldisk *d)
-+{
-+ FILE *statfp;
-+ int dsk = 0;
-+ unsigned int active;
-+ unsigned int ma, mi, xfer;
-+ /* merges, ticks, in flight meals, and aveq are not used */
-+ unsigned int rd_ios, rd_merges, rd_sectors, rd_ticks;
-+ unsigned int wr_ios, wr_merges, wr_sectors, wr_ticks;
-+ unsigned int ios_in_flight, io_ticks, aveq;
-+ int cd_check = 0;
-+ char disk_name[256];
-+ static char line[2560];
-+ char *s;
-+
-+ /* Open /proc/partitions file */
-+ if ((statfp = fopen("/proc/diskstats", "r")) == NULL) {
-+ syslog(LOG_ERR, "Cannot open %s: %s\n", "/proc/diskstats", strerror(errno));
-+ exit(1);
-+ }
-+
-+ /* The first two lines are unimportant. */
-+ fgets(line, 2560, statfp);
-+ fgets(line, 2560, statfp);
-+ while (fgets(line, 2560, statfp) != NULL && dsk < MAX_DISKS) {
-+ sscanf (line, "%4d %4d %s %d %d %d %d %d %d %d %d %d %d %d",
-+ &ma, &mi, disk_name,
-+ &rd_ios, &rd_merges, &rd_sectors, &rd_ticks,
-+ &wr_ios, &wr_merges, &wr_sectors, &wr_ticks,
-+ &ios_in_flight, &io_ticks, &aveq);
-+ /* Check for compaq devices */
-+ for(s=disk_name;*s;s++) {
-+ if(*s == '/') {
-+ cd_check=1;
-+ }
-+ }
-+
-+ /*
-+ * if we set cd_check we need to check
-+ * the name of the device using the compaq c#d#p#
-+ * format, else we can just use the h/sda# format
-+ */
-+ if(cd_check) {
-+ /*
-+ * if the second or third from the last character
-+ * is p then this is a partition
-+ */
-+ if((s[-2] == 'p') || (s[-3] == 'p'))
-+ continue;
-+ goto found_dsk;
-+ } else {
-+ /*
-+ * if the last value is a digit, its a
-+ * partition, so go back to the top of the whlie loop
-+ */
-+ if (isdigit(s[-1])) {
-+ continue;
-+ }
-+found_dsk:
-+ xfer = rd_ios + wr_ios;
-+ /* this is how /proc/stat determines which devices to display in /proc/stat */
-+ active = xfer + rd_sectors, wr_sectors;
-+ if (active) {
-+ dsk++;
-+ d->xfer[dsk] = xfer;
-+ d->rio[dsk] = rd_ios;
-+ d->rblk[dsk] = rd_sectors;
-+ d->wio[dsk] = wr_ios;
-+ d->wblk[dsk] = wr_sectors;
-+ } else {
-+ /* Do not count inactive devices. */
-+ }
-+ }
-+ }
-+ /* Close /proc/partitions file */
-+ fclose(statfp);
-+}
-+
-+static void
- getstat(unsigned long *cuse, unsigned long *cice, unsigned long *csys, unsigned long *cide,
- unsigned *pin, unsigned *pout, unsigned *sin, unsigned *sout,
-- unsigned *itot, unsigned *i1, unsigned *ct, struct _ldisk *d)
-+ unsigned *itot, unsigned *i1, unsigned *ct)
- {
- static int stat;
- #define BUFFSIZE 1024
-@@ -428,34 +507,6 @@
- b = strstr(buff, "cpu ");
- if(b)
- sscanf(b, "cpu %lu %lu %lu %lu", cuse, cice, csys, cide);
-- b = strstr(buff, "disk ");
-- if(b)
-- sscanf(b, "disk %u %u %u %u", &d->xfer[0], &d->xfer[1], &d->xfer[2], &d->xfer[3]);
-- b = strstr(buff, "disk_rio ");
-- if(b)
-- sscanf(b, "disk_rio %u %u %u %u", &d->rio[0], &d->rio[1], &d->rio[2], &d->rio[3]);
-- b = strstr(buff, "disk_wio ");
-- if(b)
-- sscanf(b, "disk_wio %u %u %u %u", &d->wio[0], &d->wio[1], &d->wio[2], &d->wio[3]);
-- b = strstr(buff, "disk_rblk ");
-- if(b)
-- sscanf(b, "disk_rblk %u %u %u %u", &d->rblk[0], &d->rblk[1], &d->rblk[2], &d->rblk[3]);
-- b = strstr(buff, "disk_wblk ");
-- if(b)
-- sscanf(b, "disk_wblk %u %u %u %u", &d->wblk[0], &d->wblk[1], &d->wblk[2], &d->wblk[3]);
--
-- b = strstr(buff, "disk_io:");
-- if(b) {
-- ndisks = 0;
-- while ( (b = strstr(b, "):")) != NULL && ndisks < MAX_DISKS ) {
-- sscanf (b, "):(%u,%u,%u,%u,%u)", &d->xfer[ndisks],
-- &d->rio[ndisks], &d->rblk[ndisks],
-- &d->wio[ndisks], &d->wblk[ndisks]);
-- ndisks++;
-- b += 2;
-- }
-- }
--
- b = strstr(buff, "page ");
- if(b)
- sscanf(b, "page %u %u", pin, pout);
-@@ -664,7 +715,8 @@
-
- getstat(cpu_use+tog,cpu_nic+tog,cpu_sys+tog,cpu_idl+tog,
- pgpgin+tog,pgpgout+tog,pswpin+tog,pswpout+tog,
-- inter+tog,ticks+tog,ctxt+tog, disk+tog);
-+ inter+tog,ticks+tog,ctxt+tog);
-+ getdiskstat(disk+tog);
-
- dk_ndrive = 0;
- for (i = 0; i < 4; i++) {
diff --git a/rusers-0.17-procps.patch b/rusers-0.17-procps.patch
deleted file mode 100644
index b5aba8d..0000000
--- a/rusers-0.17-procps.patch
+++ /dev/null
@@ -1,100 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/GNUmakefile.procps 2004-07-12 17:41:48.179608944 +0200
-+++ netkit-rusers-0.17/rpc.rstatd/GNUmakefile 2004-07-12 17:41:48.190607585 +0200
-@@ -6,10 +6,6 @@
- CFLAGS += -DGNU_LIBC -D_GNU_SOURCE
- endif
-
--#LIBS += -lproc
--# XXX FIXME!
--LIBS += /lib/$(shell cd /lib && echo libproc.so.*)
--
- RPCGEN=rpcgen
-
- # Warning, do not put this in the current directory without updating
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.procps 2004-07-12 17:41:48.174609561 +0200
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c 2004-07-12 17:55:36.605332290 +0200
-@@ -45,6 +45,7 @@
- #include <string.h>
- #include <signal.h>
- #include <fcntl.h>
-+#include <locale.h>
-
- #include <limits.h>
- #include <rpc/rpc.h>
-@@ -596,27 +597,71 @@
- #define _DELTA(_x, _i) ( (_x)[(_i)] )
- #endif
-
--extern int uptime(double *, double *);
--extern void loadavg(double *, double *, double *);
--
- static void
- convert_stats(void)
- {
- static int tog = 0;
- double up;
- int i;
-+ int fd;
-+ static char buf[1024];
-+ char *savelocale;
-
- hz = sysconf(_SC_CLK_TCK);
- gettimeofday(&tm, (struct timezone *) 0);
-
-- i = uptime(&up, NULL);
-+ fd = open("/proc/uptime", O_RDONLY);
-+ if (fd == -1) {
-+ fprintf(stderr, "Error opening /proc/uptime, please make sure /proc is mounted.\n");
-+ exit(1);
-+ }
-+
-+ i = read(fd, buf, sizeof(buf) - 1);
-+ if (i < 0) {
-+ perror("/proc/uptime");
-+ close(fd);
-+ exit(1);
-+ }
-+ buf[i] = '\0';
-+ savelocale = setlocale(LC_NUMERIC, NULL);
-+ setlocale(LC_NUMERIC, "C");
-+ if (sscanf(buf, "%lf", &up) < 1) {
-+ fprintf(stderr, "bad data in /proc/uptime\n");
-+ exit(1);
-+ }
-+ setlocale(LC_NUMERIC, savelocale);
-+ close(fd);
-+
-+ i = (int)up;
-+
- btm.tv_sec = tm.tv_sec - i;
- btm.tv_usec = 0;
- up -= i;
- if (up > 0)
- btm.tv_usec = 1000000 * up;
-
-- loadavg(&avrun[0], &avrun[1], &avrun[2]);
-+ fd = open("/proc/loadavg", O_RDONLY);
-+ if (fd == -1) {
-+ fprintf(stderr, "Error opening /proc/loadavg, please make sure /proc is mounted.\n");
-+ exit(1);
-+ }
-+
-+ i = read(fd, buf, sizeof(buf) - 1);
-+ if (i < 0) {
-+ perror("/proc/loadavg");
-+ close(fd);
-+ exit(1);
-+ }
-+ buf[i] = '\0';
-+ savelocale = setlocale(LC_NUMERIC, NULL);
-+ setlocale(LC_NUMERIC, "C");
-+ if (sscanf(buf, "%lf %lf %lf", &avrun[0], &avrun[1], &avrun[2]) < 3) {
-+ fprintf(stderr, "bad data in /proc/loadavg\n");
-+ exit(1);
-+ }
-+ setlocale(LC_NUMERIC, savelocale);
-+ close(fd);
-+
- getstat(cpu_use+tog,cpu_nic+tog,cpu_sys+tog,cpu_idl+tog,
- pgpgin+tog,pgpgout+tog,pswpin+tog,pswpout+tog,
- inter+tog,ticks+tog,ctxt+tog, disk+tog);
diff --git a/rusers-0.17-return.patch b/rusers-0.17-return.patch
deleted file mode 100644
index 2913226..0000000
--- a/rusers-0.17-return.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- netkit-rusers-0.17/rup/rup.c.orig 2006-02-07 14:26:47.423011784 +0530
-+++ netkit-rusers-0.17/rup/rup.c 2006-02-07 14:41:22.035029176 +0530
-@@ -242,7 +242,7 @@
- }
-
- static
--void
-+int
- onehost(const char *host)
- {
- CLIENT *rstat_clnt;
-@@ -251,7 +251,7 @@
- rstat_clnt = clnt_create(host, RSTATPROG, RSTATVERS_TIME, "udp");
- if (rstat_clnt == NULL) {
- warnx("%s", clnt_spcreateerror(host));
-- return;
-+ return 1;
- }
-
- memset(&remote_host_stat, 0, sizeof(remote_host_stat));
-@@ -263,7 +263,7 @@
- timeout) != RPC_SUCCESS)
- {
- warnx("%s", clnt_sperror(rstat_clnt, host));
-- return;
-+ return 1;
- }
-
- if (sort_type != SORT_NONE) {
-@@ -272,19 +272,23 @@
- print_rup_data(host, &remote_host_stat);
- }
- clnt_destroy(rstat_clnt);
-+ return 0;
- }
-
- static
- void
- enumhosts(int argc, char *argv[], int optind)
- {
-+ int returnval = 0;
- if (sort_type != SORT_NONE) {
- printf("collecting responses...");
- fflush(stdout);
- }
-
- for (; optind < argc; optind++)
-- onehost(argv[optind]);
-+ returnval += onehost(argv[optind]);
-+
-+ if (returnval) exit(1);
-
- if (sort_type != SORT_NONE) {
- int i;
diff --git a/rusers-0.17-rstatd-no-static-buffer.patch b/rusers-0.17-rstatd-no-static-buffer.patch
deleted file mode 100644
index 09d0e2d..0000000
--- a/rusers-0.17-rstatd-no-static-buffer.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.buffer Thu May 30 16:24:12 2002
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c Thu May 30 16:59:13 2002
-@@ -402,14 +402,26 @@
- {
- static int stat;
- #define BUFFSIZE 1024
-- char buff[BUFFSIZE];
-+ char *buff = NULL;
-+ off_t buffsize = 1;
- int ndisks;
-
- if ((stat=open("/proc/stat", O_RDONLY, 0)) != -1) {
- char* b;
-- buff[BUFFSIZE-1] = 0; /* ensure null termination in buffer */
-- read(stat,buff,BUFFSIZE-1);
-+ b = buff;
-+
-+ do {
-+ buffsize += BUFFSIZE;
-+ buff = realloc(buff, buffsize);
-+ if (buff == NULL) {
-+ perror("getstat(): realloc");
-+ abort();
-+ }
-+ b = buff + buffsize - BUFFSIZE - 1;
-+ } while (read(stat,b,BUFFSIZE) == BUFFSIZE);
- close(stat);
-+ buff[buffsize - 1] = '\0';
-+
- *itot = 0;
- *i1 = 1; /* ensure assert below will fail if the sscanf bombs */
- b = strstr(buff, "cpu ");
-@@ -437,7 +449,10 @@
- b = strstr(buff, "ctxt ");
- if(b)
- sscanf(b, "ctxt %u", ct);
-- assert(*itot>*i1);
-+ /* avoid breaking with certain kernels where all the
-+ interrupt numbers have 1000000000 added to the value */
-+ /* assert(*itot>*i1); */
-+ free(buff);
- }
- }
-
diff --git a/rusers-0.17-rup-stack.patch b/rusers-0.17-rup-stack.patch
deleted file mode 100644
index f593e2b..0000000
--- a/rusers-0.17-rup-stack.patch
+++ /dev/null
@@ -1,62 +0,0 @@
---- netkit-rusers-0.17/rup/rup.c.orig 2005-04-11 10:00:09.000000000 -0400
-+++ netkit-rusers-0.17/rup/rup.c 2005-04-11 10:01:46.000000000 -0400
-@@ -54,6 +54,8 @@
-
- #define HOST_WIDTH 24
-
-+static statstime remote_host_stat;
-+
- static int print_rup_data(const char *host, statstime *host_stat);
-
- static int printtime; /* print the remote host(s)'s time */
-@@ -244,7 +246,6 @@
- onehost(const char *host)
- {
- CLIENT *rstat_clnt;
-- statstime host_stat;
- struct timeval timeout = { 25, 0 };
-
- rstat_clnt = clnt_create(host, RSTATPROG, RSTATVERS_TIME, "udp");
-@@ -253,11 +254,11 @@
- return;
- }
-
-- memset(&host_stat, 0, sizeof(host_stat));
-+ memset(&remote_host_stat, 0, sizeof(remote_host_stat));
- if (clnt_call(rstat_clnt, RSTATPROC_STATS,
- (xdrproc_t) xdr_void, NULL,
- (xdrproc_t) xdr_statstime,
-- (caddr_t) &host_stat,
-+ (caddr_t) &remote_host_stat,
-
- timeout) != RPC_SUCCESS)
- {
-@@ -266,9 +267,9 @@
- }
-
- if (sort_type != SORT_NONE) {
-- remember_rup_data(host, &host_stat);
-+ remember_rup_data(host, &remote_host_stat);
- } else {
-- print_rup_data(host, &host_stat);
-+ print_rup_data(host, &remote_host_stat);
- }
- clnt_destroy(rstat_clnt);
- }
-@@ -300,7 +301,6 @@
- void
- allhosts(void)
- {
-- statstime host_stat;
- enum clnt_stat clnt_stat;
- int i;
-
-@@ -312,7 +312,7 @@
- clnt_stat = clnt_broadcast(RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS,
- (xdrproc_t) xdr_void, NULL,
- (xdrproc_t) xdr_statstime,
-- (char *) &host_stat,
-+ (char *) &remote_host_stat,
- (resultproc_t) rstat_reply);
- if (clnt_stat != RPC_SUCCESS && clnt_stat != RPC_TIMEDOUT) {
- warnx("%s", clnt_sperrno(clnt_stat));
diff --git a/rusers-0.17-rup-timeout.patch b/rusers-0.17-rup-timeout.patch
deleted file mode 100644
index 830bf8d..0000000
--- a/rusers-0.17-rup-timeout.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- netkit-rusers-0.17/rup/rup.c.timeout 2003-05-21 15:09:29.000000000 -0400
-+++ netkit-rusers-0.17/rup/rup.c 2003-05-21 15:09:44.000000000 -0400
-@@ -245,7 +245,7 @@ onehost(const char *host)
- {
- CLIENT *rstat_clnt;
- statstime host_stat;
-- struct timeval foo;
-+ struct timeval timeout = { 25, 0 };
-
- rstat_clnt = clnt_create(host, RSTATPROG, RSTATVERS_TIME, "udp");
- if (rstat_clnt == NULL) {
-@@ -259,7 +259,7 @@ onehost(const char *host)
- (xdrproc_t) xdr_statstime,
- (caddr_t) &host_stat,
-
-- foo) != RPC_SUCCESS)
-+ timeout) != RPC_SUCCESS)
- {
- warnx("%s", clnt_sperror(rstat_clnt, host));
- return;
diff --git a/rusers-0.17-rup.patch b/rusers-0.17-rup.patch
deleted file mode 100644
index 2f84c8e..0000000
--- a/rusers-0.17-rup.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- netkit-rusers-0.17/rup/rup.c.rup Sat Jul 22 21:51:40 2000
-+++ netkit-rusers-0.17/rup/rup.c Wed Jul 17 15:08:17 2002
-@@ -256,19 +256,48 @@
- memset(&host_stat, 0, sizeof(host_stat));
- if (clnt_call(rstat_clnt, RSTATPROC_STATS,
- (xdrproc_t) xdr_void, NULL,
-- (xdrproc_t) xdr_statstime, &host_stat,
-+ (xdrproc_t) xdr_statstime,
-+ (caddr_t) &host_stat,
-+
- foo) != RPC_SUCCESS)
- {
- warnx("%s", clnt_sperror(rstat_clnt, host));
- return;
- }
-
-- print_rup_data(host, &host_stat);
-+ if (sort_type != SORT_NONE) {
-+ remember_rup_data(host, &host_stat);
-+ } else {
-+ print_rup_data(host, &host_stat);
-+ }
- clnt_destroy(rstat_clnt);
- }
-
- static
- void
-+enumhosts(int argc, char *argv[], int optind)
-+{
-+ if (sort_type != SORT_NONE) {
-+ printf("collecting responses...");
-+ fflush(stdout);
-+ }
-+
-+ for (; optind < argc; optind++)
-+ onehost(argv[optind]);
-+
-+ if (sort_type != SORT_NONE) {
-+ int i;
-+ putchar('\n');
-+ qsort(rup_data, rup_data_idx, sizeof(struct rup_data), compare);
-+
-+ for (i = 0; i < rup_data_idx; i++) {
-+ print_rup_data(rup_data[i].host, &rup_data[i].statstime);
-+ }
-+ }
-+}
-+
-+static
-+void
- allhosts(void)
- {
- statstime host_stat;
-@@ -337,10 +366,8 @@
-
- if (argc == optind)
- allhosts();
-- else {
-- for (; optind < argc; optind++)
-- onehost(argv[optind]);
-- }
-+ else
-+ enumhosts(argc, argv, optind);
-
- exit(0);
- }
diff --git a/rusers-0.17-rusersd-droppriv.patch b/rusers-0.17-rusersd-droppriv.patch
deleted file mode 100644
index 5ab4bcd..0000000
--- a/rusers-0.17-rusersd-droppriv.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -up netkit-rusers-0.17/rpc.rusersd/rusersd.c.orig netkit-rusers-0.17/rpc.rusersd/rusersd.c
---- netkit-rusers-0.17/rpc.rusersd/rusersd.c.orig 2000-07-23 00:09:28.000000000 -0400
-+++ netkit-rusers-0.17/rpc.rusersd/rusersd.c 2007-09-15 06:30:12.000000000 -0400
-@@ -74,23 +74,6 @@ main(void)
-
- /* Open syslog */
- openlog("rpc.rusersd", LOG_PID, LOG_DAEMON);
--
-- /* Drop privilege */
-- if (getuid() == 0) {
-- struct passwd *pw;
--
-- if ((pw = getpwnam("nobody")) == NULL) {
-- syslog(LOG_WARNING, "Unable to find user nobody: %m");
-- exit(1);
-- }
-- if (setgroups(1, &pw->pw_gid) < 0
-- || setgid(pw->pw_gid) < 0
-- || setuid(pw->pw_uid) < 0) {
-- syslog(LOG_WARNING, "Failed to drop privilege: %m");
-- exit(1);
-- }
-- }
--
-
- /*
- * See if inetd started us
-@@ -128,6 +111,23 @@ main(void)
- syslog(LOG_ERR, "unable to register (RUSERSPROG, RUSERSVERS_IDLE, %s).", proto?"udp":"(inetd)");
- exit(1);
- }
-+
-+ /* Drop privilege */
-+ if (getuid() == 0) {
-+ struct passwd *pw;
-+
-+ if ((pw = getpwnam("nobody")) == NULL) {
-+ syslog(LOG_WARNING, "Unable to find user nobody: %m");
-+ exit(1);
-+ }
-+ if (setgroups(1, &pw->pw_gid) < 0
-+ || setgid(pw->pw_gid) < 0
-+ || setuid(pw->pw_uid) < 0) {
-+ syslog(LOG_WARNING, "Failed to drop privilege: %m");
-+ exit(1);
-+ }
-+ }
-+
-
- svc_run();
- syslog(LOG_ERR, "svc_run returned");
diff --git a/rusers-0.17-stats.patch b/rusers-0.17-stats.patch
deleted file mode 100644
index 96d08c7..0000000
--- a/rusers-0.17-stats.patch
+++ /dev/null
@@ -1,126 +0,0 @@
---- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.stats Wed Jan 23 14:59:13 2002
-+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c Wed Jan 23 15:40:50 2002
-@@ -295,7 +295,7 @@
- int sincelastreq = 0; /* number of alarms since last request */
- extern int closedown;
-
--union {
-+struct {
- struct stats s1;
- struct statsswtch s2;
- struct statstime s3;
-@@ -415,14 +415,32 @@
- b = strstr(buff, "cpu ");
- if(b)
- sscanf(b, "cpu %lu %lu %lu %lu", cuse, cice, csys, cide);
-+ b = strstr(buff, "disk ");
-+ if(b)
-+ sscanf(b, "disk %u %u %u %u", &d->xfer[0], &d->xfer[1], &d->xfer[2], &d->xfer[3]);
-+ b = strstr(buff, "disk_rio ");
-+ if(b)
-+ sscanf(b, "disk_rio %u %u %u %u", &d->rio[0], &d->rio[1], &d->rio[2], &d->rio[3]);
-+ b = strstr(buff, "disk_wio ");
-+ if(b)
-+ sscanf(b, "disk_wio %u %u %u %u", &d->wio[0], &d->wio[1], &d->wio[2], &d->wio[3]);
-+ b = strstr(buff, "disk_rblk ");
-+ if(b)
-+ sscanf(b, "disk_rblk %u %u %u %u", &d->rblk[0], &d->rblk[1], &d->rblk[2], &d->rblk[3]);
-+ b = strstr(buff, "disk_wblk ");
-+ if(b)
-+ sscanf(b, "disk_wblk %u %u %u %u", &d->wblk[0], &d->wblk[1], &d->wblk[2], &d->wblk[3]);
-+
- b = strstr(buff, "disk_io:");
-- ndisks = 0;
-- while ( (b = strstr(b, "):")) != NULL && ndisks < MAX_DISKS ) {
-- sscanf (b, "):(%u,%u,%u,%u,%u)", &d->xfer[ndisks],
-- &d->rio[ndisks], &d->rblk[ndisks],
-- &d->wio[ndisks], &d->wblk[ndisks]);
-- ndisks++;
-- b += 2;
-+ if(b) {
-+ ndisks = 0;
-+ while ( (b = strstr(b, "):")) != NULL && ndisks < MAX_DISKS ) {
-+ sscanf (b, "):(%u,%u,%u,%u,%u)", &d->xfer[ndisks],
-+ &d->rio[ndisks], &d->rblk[ndisks],
-+ &d->wio[ndisks], &d->wblk[ndisks]);
-+ ndisks++;
-+ b += 2;
-+ }
- }
-
- b = strstr(buff, "page ");
-@@ -637,18 +655,29 @@
-
- memset(&stats_all, 0, sizeof(stats_all));
-
-- for (i = 0; i < dk_ndrive && i < DK_NDRIVE; i++)
-+ for (i = 0; i < dk_ndrive && i < DK_NDRIVE; i++) {
- stats_all.s1.dk_xfer[i] = cur.dk_xfer[i];
-+ stats_all.s2.dk_xfer[i] = cur.dk_xfer[i];
-+ stats_all.s3.dk_xfer[i] = cur.dk_xfer[i];
-+ }
-
-- for (i = 0; i < CPUSTATES; i++)
-+ for (i = 0; i < CPUSTATES; i++) {
- stats_all.s1.cp_time[i] += cur.cp_time[cp_xlat[i]];
-+ stats_all.s2.cp_time[i] += cur.cp_time[cp_xlat[i]];
-+ stats_all.s3.cp_time[i] += cur.cp_time[cp_xlat[i]];
-+ }
-
- stats_all.s2.avenrun[0] = avrun[0] * FSCALE;
- stats_all.s2.avenrun[1] = avrun[1] * FSCALE;
- stats_all.s2.avenrun[2] = avrun[2] * FSCALE;
-+ stats_all.s3.avenrun[0] = avrun[0] * FSCALE;
-+ stats_all.s3.avenrun[1] = avrun[1] * FSCALE;
-+ stats_all.s3.avenrun[2] = avrun[2] * FSCALE;
-
- stats_all.s2.boottime.tv_sec = btm.tv_sec;
- stats_all.s2.boottime.tv_usec = btm.tv_usec;
-+ stats_all.s3.boottime.tv_sec = btm.tv_sec;
-+ stats_all.s3.boottime.tv_usec = btm.tv_usec;
-
- #ifdef DEBUG
- syslog(LOG_DEBUG, "%d %d %d %d", stats_all.s1.cp_time[0],
-@@ -661,10 +690,25 @@
- stats_all.s1.v_pswpin = cnt.v_pswpin;
- stats_all.s1.v_pswpout = cnt.v_pswpout;
- stats_all.s1.v_intr = cnt.v_intr;
-+ stats_all.s2.v_pgpgin = cnt.v_pgpgin;
-+ stats_all.s2.v_pgpgout = cnt.v_pgpgout;
-+ stats_all.s2.v_pswpin = cnt.v_pswpin;
-+ stats_all.s2.v_pswpout = cnt.v_pswpout;
-+ stats_all.s2.v_intr = cnt.v_intr;
-+ stats_all.s3.v_pgpgin = cnt.v_pgpgin;
-+ stats_all.s3.v_pgpgout = cnt.v_pgpgout;
-+ stats_all.s3.v_pswpin = cnt.v_pswpin;
-+ stats_all.s3.v_pswpout = cnt.v_pswpout;
-+ stats_all.s3.v_intr = cnt.v_intr;
- gettimeofday(&tm, (struct timezone *) 0);
- stats_all.s1.v_intr -= hz*(tm.tv_sec - btm.tv_sec) +
- hz*(tm.tv_usec - btm.tv_usec)/1000000;
-+ stats_all.s2.v_intr -= hz*(tm.tv_sec - btm.tv_sec) +
-+ hz*(tm.tv_usec - btm.tv_usec)/1000000;
-+ stats_all.s3.v_intr -= hz*(tm.tv_sec - btm.tv_sec) +
-+ hz*(tm.tv_usec - btm.tv_usec)/1000000;
- stats_all.s2.v_swtch = cnt.v_swtch;
-+ stats_all.s3.v_swtch = cnt.v_swtch;
-
- { FILE *fh;
- if ((fh = fopen("/proc/net/dev", "r")) != NULL) {
-@@ -683,6 +727,16 @@
- stats_all.s1.if_ierrors += ife->stats.rx_errors;
- stats_all.s1.if_oerrors += ife->stats.tx_errors;
- stats_all.s1.if_collisions += ife->stats.collisions;
-+ stats_all.s2.if_ipackets += ife->stats.rx_packets;
-+ stats_all.s2.if_opackets += ife->stats.tx_packets;
-+ stats_all.s2.if_ierrors += ife->stats.rx_errors;
-+ stats_all.s2.if_oerrors += ife->stats.tx_errors;
-+ stats_all.s2.if_collisions += ife->stats.collisions;
-+ stats_all.s3.if_ipackets += ife->stats.rx_packets;
-+ stats_all.s3.if_opackets += ife->stats.tx_packets;
-+ stats_all.s3.if_ierrors += ife->stats.rx_errors;
-+ stats_all.s3.if_oerrors += ife->stats.tx_errors;
-+ stats_all.s3.if_collisions += ife->stats.collisions;
- }
-
- fclose(fh);
diff --git a/rusers-0.17-strip.patch b/rusers-0.17-strip.patch
deleted file mode 100644
index 08ef12f..0000000
--- a/rusers-0.17-strip.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- netkit-rusers-0.17/rup/Makefile.strip Sun Dec 12 19:05:04 1999
-+++ netkit-rusers-0.17/rup/Makefile Wed Jun 19 17:08:45 2002
-@@ -22,7 +22,7 @@
- rup.o: ../version.h
-
- install: rup
-- install -s -m$(BINMODE) rup $(INSTALLROOT)$(BINDIR)
-+ install -m$(BINMODE) rup $(INSTALLROOT)$(BINDIR)
- install -m$(MANMODE) rup.1 $(INSTALLROOT)$(MANDIR)/man1
-
- clean:
---- netkit-rusers-0.17/rpc.rusersd/Makefile.strip Sun Dec 12 19:05:03 1999
-+++ netkit-rusers-0.17/rpc.rusersd/Makefile Wed Jun 19 17:09:15 2002
-@@ -22,7 +22,7 @@
- $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
-
- install: rusersd
-- install -s -m$(DAEMONMODE) rusersd $(INSTALLROOT)$(SBINDIR)/rpc.rusersd
-+ install -m$(DAEMONMODE) rusersd $(INSTALLROOT)$(SBINDIR)/rpc.rusersd
- install -m$(MANMODE) rpc.rusersd.8 $(INSTALLROOT)$(MANDIR)/man8
- ln -sf rpc.rusersd.8 $(INSTALLROOT)$(MANDIR)/man8/rusersd.8
-
---- netkit-rusers-0.17/rusers/Makefile.strip Sun Dec 12 19:05:04 1999
-+++ netkit-rusers-0.17/rusers/Makefile Wed Jun 19 17:09:33 2002
-@@ -20,7 +20,7 @@
- $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
-
- install: rusers
-- install -s -m$(BINMODE) rusers $(INSTALLROOT)$(BINDIR)
-+ install -m$(BINMODE) rusers $(INSTALLROOT)$(BINDIR)
- install -m$(MANMODE) rusers.1 $(INSTALLROOT)$(MANDIR)/man1
-
- clean:
---- netkit-rusers-0.17/rpc.rstatd/GNUmakefile.strip Sun Mar 14 20:21:52 1999
-+++ netkit-rusers-0.17/rpc.rstatd/GNUmakefile Wed Jun 19 17:10:01 2002
-@@ -20,7 +20,7 @@
- $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
-
- install: rstatd
-- install -s -m$(DAEMONMODE) rstatd $(INSTALLROOT)$(SBINDIR)/rpc.rstatd
-+ install -m$(DAEMONMODE) rstatd $(INSTALLROOT)$(SBINDIR)/rpc.rstatd
- install -m$(MANMODE) rpc.rstatd.8 $(INSTALLROOT)$(MANDIR)/man8
- ln -sf rpc.rstatd.8 $(INSTALLROOT)$(MANDIR)/man8/rstatd.8
-
diff --git a/rusers-0.17-truncate.patch b/rusers-0.17-truncate.patch
deleted file mode 100644
index cf7aa0f..0000000
--- a/rusers-0.17-truncate.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- netkit-rusers-0.17/rpc.rusersd/rusers_proc.c 2008-09-04 15:34:47.000000000 +0200
-+++ netkit-rusers-0.17_new/rpc.rusersd/rusers_proc.c 2008-09-04 15:18:34.000000000 +0200
-@@ -309,7 +309,11 @@ rusersproc_allnames_3(void *tmp1, CLIENT
-
- static void do_strncpy(char *tgt, const char *src, size_t len) {
- strncpy(tgt, src, len);
-+#ifdef BROKEN_UTMP
-+ /* traditional utmp fields used by version 2 of the rusers protocol
-+ are not null-terminated if they are full width */
- tgt[len-1] = 0;
-+#endif /* BROKEN_UTMP */
- }
-
- static
diff --git a/rusers.spec b/rusers.spec
deleted file mode 100644
index f4237ec..0000000
--- a/rusers.spec
+++ /dev/null
@@ -1,618 +0,0 @@
-%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
-%global WITH_SELINUX 1
-%endif
-
-Summary: Displays the users logged into machines on the local network
-Name: rusers
-Version: 0.17
-Release: 110%{?dist}
-# Several rpc.statd/rstat_proc* are LicenseRef-sun-rpc which is not-allowed, but Oracle allowed us
-# to relicense. See bellow.
-License: BSD-3-Clause AND BSD-4-Clause-UC
-Url: http://rstatd.sourceforge.net/
-Source: http://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-rusers-%{version}.tar.gz
-Source1: rusersd.service
-Source2: rstatd.tar.gz
-Source3: rstatd.service
-Patch0: rstatd-jbj.patch
-Patch1: netkit-rusers-0.15-numusers.patch
-Patch2: rusers-0.17-2.4.patch
-Patch3: rusers-0.17-includes.patch
-Patch4: rusers-0.17-truncate.patch
-Patch5: rusers-0.17-stats.patch
-Patch6: rusers-0.17-rstatd-no-static-buffer.patch
-Patch7: rusers-0.17-strip.patch
-Patch8: rusers-0.17-rup.patch
-Patch9: rusers-0.17-rup-timeout.patch
-Patch10: rusers-0.17-procps.patch
-Patch11: rusers-0.17-rup-stack.patch
-Patch12: rusers-0.17-bigendian.patch
-Patch13: rusers-0.17-return.patch
-Patch14: rusers-0.17-procdiskstats.patch
-Patch15: rusers-0.17-rusersd-droppriv.patch
-# Oracle explicitly gave permission for this relicensing on August 18, 2010.
-Patch16: rusers-0.17-new-rpc-license.patch
-Patch17: rusers-0.17-manhelp.patch
-Patch18: rusers-0.17-freerpc.patch
-Patch19: rstatd-man.patch
-# Provide the BSD 3-clause license text as COPYING file
-Patch20: rusers-0.17-license.patch
-Patch21: rusers-0.17-incompatible-pointer-types.patch
-BuildRequires: make
-BuildRequires: gcc
-BuildRequires: procps libselinux-devel
-BuildRequires: rpcsvc-proto-devel
-BuildRequires: rpcgen
-BuildRequires: libtirpc-devel
-
-%description
-The rusers program allows users to find out who is logged into various
-machines on the local network. The rusers command produces output
-similar to who, but for the specified list of hosts or for all
-machines on the local network.
-
-Install rusers if you need to keep track of who is logged into your
-local network.
-
-%package server
-Summary: Server for the rusers protocol
-Requires(post): systemd
-Requires(preun): systemd
-Requires(postun): systemd
-Requires(post): systemd-sysv
-Requires: portmap
-BuildRequires: systemd
-BuildRequires: systemd-devel
-
-%description server
-The rusers program allows users to find out who is logged into various
-machines on the local network. The rusers command produces output
-similar to who, but for the specified list of hosts or for all
-machines on the local network. The rusers-server package contains the
-server for responding to rusers requests.
-
-Install rusers-server if you want remote users to be able to see
-who is logged into your machine.
-
-%prep
-%setup -q -n netkit-rusers-%{version} -a 2
-%patch 0 -p1 -b .jbj
-%patch 1 -p1 -b .numusers
-%patch 2 -p1 -b .2.4
-%patch 3 -p1 -b .includes
-%patch 4 -p1 -b .truncate
-%patch 5 -p1 -b .stats
-%patch 6 -p1 -b .rstatd-no-static-buffer
-%patch 7 -p1 -b .strip
-%patch 8 -p1 -b .rup
-%patch 9 -p1 -b .rup-timeout
-%patch 10 -p1 -b .procps
-%patch 11 -p1 -b .rup-stack
-%patch 12 -p1 -b .bigendian
-%patch 13 -p1 -b .return
-%patch 14 -p1 -b .procdiskstats
-%patch 15 -p1 -b .dropprivs
-%patch 16 -p1 -b .licensefix
-%patch 17 -p1 -b .manhelp
-%patch 18 -p1 -b .freerpc
-%patch 19 -p1 -b .rstatd-man
-%patch 20 -p1 -b .license
-%patch 21 -p1 -b .incompatible-pointer-types
-
-%build
-cat > MCONFIG <<EOF
-# Generated by configure (confgen version 2) on Wed Jul 17 09:33:22 EDT 2002
-#
-
-BINDIR=%{_bindir}
-SBINDIR=%{_sbindir}
-MANDIR=%{_mandir}
-BINMODE=755
-DAEMONMODE=755
-MANMODE=644
-PREFIX=/usr
-EXECPREFIX=/usr
-INSTALLROOT=
-CC=cc
-CFLAGS=${RPM_OPT_FLAGS} -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -std=gnu17
-LDFLAGS=-pie -Wl,-z,relro,-z,now -ltirpc
-LIBS=-lsystemd
-USE_GLIBC=1
-
-EOF
-
-make
-%if %{WITH_SELINUX}
-make LIBS="-lselinux -lsystemd" -C rpc.rstatd
-%else
-make -C rpc.rstatd
-%endif
-
-
-%install
-mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
-mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
-mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
-mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
-
-make INSTALLROOT=${RPM_BUILD_ROOT} install
-make INSTALLROOT=${RPM_BUILD_ROOT} install -C rpc.rstatd
-
-install -m 0644 %SOURCE1 ${RPM_BUILD_ROOT}%{_unitdir}/rusersd.service
-install -m 0644 %SOURCE3 ${RPM_BUILD_ROOT}%{_unitdir}/rstatd.service
-
-%post server
-%systemd_post rstatd.service
-%systemd_post rusersd.service
-
-%preun server
-%systemd_preun rstatd.service
-%systemd_preun rusersd.service
-
-%postun server
-%systemd_postun_with_restart rstatd.service
-%systemd_postun_with_restart rusersd.service
-
-%files
-%doc README COPYING
-%{_bindir}/rup
-%{_bindir}/rusers
-%{_mandir}/man1/*
-
-%files server
-%doc COPYING
-%{_mandir}/man8/*
-%{_sbindir}/rpc.rstatd
-%{_sbindir}/rpc.rusersd
-%{_unitdir}/rusersd.service
-%{_unitdir}/rstatd.service
-
-%changelog
-* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-110
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-
-* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-109
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
-
-* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-108
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
-
-* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 0.17-107
-- convert license to SPDX
-
-* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-106
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
-
-* Mon Feb 12 2024 Petr Kubat <pkubat@redhat.com> - 0.17-105
-- fix incompatible-pointer-types (#2261669)
-- move to new patch apply notation
-
-* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-104
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-103
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-102
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-101
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-100
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-99
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.17-98
-- Rebuilt for updated systemd-rpm-macros
- See https://pagure.io/fesco/issue/2583.
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-97
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-96
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-95
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-94
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-93
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Tue Jul 24 2018 Petr Kubat <pkubat@redhat.com> - 0.17-92
-- Add BuildRequires for gcc (#1606282)
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-91
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Mar 29 2018 Petr Kubat <pkubat@redhat.com> - 0.17-90
-- Remove explicit requires
-
-* Thu Mar 15 2018 Petr Kubat <pkubat@redhat.com> - 0.17-89
-- Add dependencies on libtirpc, rpcsvc-proto-devel and rpcgen (#1556423)
- Related to: https://fedoraproject.org/wiki/Changes/SunRPCRemoval
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-88
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-87
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-86
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Tue Feb 21 2017 Petr Kubat <pkubat@redhat.com> - 0.17-85
-- Remove execute permissions from *.service files (#1422022)
-- Add BSD license text (#1418686)
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-84
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Wed Dec 14 2016 Petr Kubat <pkubat@redhat.com> - 0.17-83
-- Remove mention of 'rpc.statd' from rstatd man page (#1374436)
-- Update upstream source URL
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-82
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-81
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-80
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Mon Aug 11 2014 Jakub Dorňák <jdornak@redhat.com> - 0.17-79
-- use libsystemd.so instead of the old libsystemd-daemon.so
- Resolves: #1125090
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-78
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> - 0.17-77
-- Free already alocated memory when parsing of RPC request failed
-- Require systemd instead of systemd-units
-- Remove SysV init converting
-
-* Fri May 24 2013 Honza Horak <hhorak@redhat.com> - 0.17-76
-- Remove syslog.target from unit requires
- Resolves: #966009
-
-* Mon May 20 2013 Honza Horak <hhorak@redhat.com> - 0.17-75
-- Fix man page vs. help differences
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-74
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Fri Nov 30 2012 Honza Horak <hhorak@redhat.com> - 0.17-73
-- Build daemons with full relro
-
-* Fri Oct 05 2012 Honza Horak <hhorak@redhat.com> - 0.17-72
-- Remove sdnotify message, while it doesn't work with forking service
-
-* Thu Oct 04 2012 Honza Horak <hhorak@redhat.com> - 0.17-71
-- Run %%triggerun regardless of systemd_post variable definition
-
-* Tue Sep 11 2012 Honza Horak <hhorak@redhat.com> - 0.17-70
-- Minor spec file changes
-- Use new systemd macros (Resolves: #850302)
-- Use systemd notify messages
-
-* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-69
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Thu Mar 22 2012 Honza Horak <hhorak@redhat.com> - 0.17-68
-- removed PIDFile in both service files
- Resolves: #804891
-
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-67
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 0.17-66
-- added rpcbind ordering dependencies in service files
-- fixed systemd related mistakes in spec file
-
-* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 0.17-65
-- added rpcbind requirments to service files
-
-* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 0.17-64
-- provide systemd native unit files
- Resolves: #722632
-
-* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 0.17-63
-- added rpcbind into LSB header
- Resolves: #697862
-
-* Thu Feb 24 2011 Honza Horak <hhorak@redhat.com> - 0.17-62
-- fixed rpmlint errors
-- Resolves: #634922
-
-* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-61
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Thu Aug 26 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-60
-- replace SunRPC license with BSD (thanks to Oracle)
-
-* Fri Feb 26 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 0.17-59
-- added README
-
-* Wed Feb 24 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 0.17-58
-- fixed rusersd initscript
-- fixed rstatd initscript
-- Resolves: #523368, #523366
-
-* Fri Jan 8 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 0.17-57
-- fixed rpmlint warnings
-
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-56
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-55
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Thu Sep 4 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 0.17-54
-- modified truncate patch to work with fuzz=0
-
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.17-53
-- Autorebuild for GCC 4.3
-
-* Tue Sep 18 2007 Jiri Moskovcak <jmoskovc@redhat.com> 0.17-52
-- Fixed init script to work properly with rpcbind
-
-* Sat Sep 15 2007 Steve Dickson <steved@redaht.com> 0.17-51
-- Removed portmap dependency and re-worked when the user
- privilege are drop; allowing port registration with
- rpcbind. (#247985)
-
-* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.17-50
-- Rebuild for selinux ppc32 issue.
-
-* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 0.17-49
-- rebuild for toolchain bug
-
-* Mon Jul 23 2007 Jiri Moskovcak <jmoskovc@redhat.com> 0.17-48
-- Fixed init scripts to comply with LSB standard
-- Resolves: #247047
-
-* Wed Aug 09 2006 Phil Knirsch <pknirsch@redhat.com> 0.17-47
-- Modified the RHEL3 procpartitions patch to work on recent 2.6 kernels (#201839)
-
-* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.17-46.1
-- rebuild
-
-* Tue Mar 21 2006 Phil Knirsch <pknirsch@redhat.com> - 0.17-46
-- Included fix for correct return values for rup (#177419)
-
-* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.17-45.2.1
-- bump again for double-long bug on ppc(64)
-
-* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.17-45.2
-- rebuilt for new gcc4.1 snapshot and glibc changes
-
-* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
-- rebuilt
-
-* Wed Sep 07 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-45
-- Fixed 64bit bigendian problem in rpc.rstatd (#130286)
-
-* Wed May 04 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-44
-- Fixed rup stack problem (#154396)
-
-* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-43
-- bump release and rebuild with gcc 4
-
-* Fri Feb 18 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-42
-- rebuilt
-
-* Mon Jul 12 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-41
-- Bump release.
-
-* Mon Jul 12 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-40
-- Made patch to make rpc.rstatd independant of procps (#127512)
-
-* Tue Jun 29 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-39
-- Added libselinux-devel BuildPreqreq (#124283).
-
-* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
-- rebuilt
-
-* Wed Feb 25 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-37
-- rebuilt against latest procps lib.
-- built stuff with PIE enabled.
-
-* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
-- rebuilt
-
-* Fri Jan 23 2004 Bill Nottingham <notting@redhat.com> 0.17-35
-- rebuild against new libproc
-- selinux is the default, remove the release suffix
-
-* Tue Oct 21 2003 Dan Walsh <dwalsh@redhat.com> 0.17-34.sel
-- remove -lattr
-
-* Thu Oct 09 2003 Dan Walsh <dwalsh@redhat.com> 0.17-33.sel
-- turn selinux on
-
-* Fri Oct 03 2003 Florian La Roche <Florian.LaRoche@redhat.de>
-- rebuild
-
-* Mon Sep 08 2003 Dan Walsh <dwalsh@redhat.com> 0.17-31.4
-- turn selinux off
-
-* Fri Sep 05 2003 Dan Walsh <dwalsh@redhat.com> 0.17-31.3.sel
-- turn selinux on
-
-* Mon Jul 28 2003 Dan Walsh <dwalsh@redhat.com> 0.17-31.2
-- Add SELinux library support
-
-* Mon Jul 14 2003 Tim Powers <timp@redhat.com> 0.17-31.1
-- rebuilt for RHEL
-
-* Mon Jul 07 2003 Elliot Lee <sopwith@redhat.com>
-- Rebuild
-
-* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
-- rebuilt
-
-* Fri May 23 2003 Tim Powers <timp@redhat.com> 0.17-29
-- rebuilt
-
-* Wed May 21 2003 Matt Wilson <msw@redhat.com> 0.17-28
-- rebuilt
-
-* Wed May 21 2003 Matt Wilson <msw@redhat.com> 0.17-27
-- added netkit-rusers-0.17-rup-timeout.patch to fix immediate timeout
- problem in rup (#91322)
-
-* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
-- rebuilt
-
-* Tue Jan 21 2003 Phil Knirsch <pknirsch@redhat.com> 0.17-24
-- Bumped release and rebuilt due to new procps.
-
-* Mon Dec 02 2002 Elliot Lee <sopwith@redhat.com> 0.17-23
-- Fix multilib
-
-* Tue Nov 5 2002 Nalin Dahyabhai <nalin@redhat.com> 0.17-22
-- Bumped release and rebuilt due to procps update.
-- s/Copyright/License/g
-
-* Thu Aug 08 2002 Phil Knirsch <pknirsch@redhat.com> 0.17-21
-- Bumped release and rebuilt due to procps update.
-
-* Wed Jul 17 2002 Phil Knirsch <pknirsch@redhat.com> 0.17-20
-- Fixed the sort ordering for rup -l host1 host2 host3 (#67551)
-- Don't use configure anymore, doesn't work in build environment correctly.
-
-* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.17-19
-- automated rebuild
-
-* Wed Jun 19 2002 Phil Knirsch <pknirsch@redhat.com> 0.17-18
-- Actually applied Matt's patch ;-)
-- Don't forcibly strip binaries
-
-* Mon Jun 10 2002 Matt Wilson <msw@redhat.com>
-- fixed static buffer size which truncated /proc/stat when it was more
- than 1024 bytes (#64935)
-
-* Tue Jun 04 2002 Phil Knirsch <pknirsch@redhat.com>
-- bumped release number and rebuild
-
-* Thu May 23 2002 Tim Powers <timp@redhat.com>
-- automated rebuild
-
-* Wed Jan 23 2002 Phil Knirsch <pknirsch@redhat.com>
-- Fixed the wrong uptime problem introduced by fixing bug #53244.
-- Fixed segfault problem on alpha (and other archs) (bug #53309).
-
-* Thu Jan 17 2002 Phil Knirsch <pknirsch@redhat.com>
-- Fixed bug #17065 where rusersd wrongly terminated each string with a '\0'.
-- Fixed bug #53244. Now stats for the different protocols are stored separately.
-
-* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
-- automated rebuild
-
-* Wed Jul 25 2001 Phil Knirsch <pknirsch@redhat.de>
-- Fixed missing includes for time.h and several others (#49887)
-
-* Wed Jun 27 2001 Philipp Knirsch <pknirsch@redhat.de>
-- Fixed rstatd.init script to use $0 in usage string (#26553)
-
-* Wed Apr 4 2001 Jakub Jelinek <jakub@redhat.com>
-- don't let configure to guess compiler, it can pick up egcs
-
-* Wed Feb 14 2001 Nalin Dahyabhai <nalin@redhat.com>
-- merge in Bob Matthews' patch, which solves other parts on 2.4 (#26447)
-
-* Tue Feb 6 2001 Nalin Dahyabhai <nalin@redhat.com>
-- don't die if /proc/stat looks a little odd (#25519)
-
-* Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
-- i18nize rstatd init script
-
-* Wed Jan 24 2001 Nalin Dahyabhai <nalin@redhat.com>
-- gettextize init script
-
-* Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
-- condrestart fixes
-
-* Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
-- move initscript back
-
-* Sun Jul 16 2000 Matt Wilson <msw@redhat.com>
-- rebuilt against new procps
-
-* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
-- automatic rebuild
-
-* Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
-- move initscripts
-
-* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
-- FHS packaging.
-- update to 0.17.
-
-* Wed Feb 9 2000 Jeff Johnson <jbj@redhat.com>
-- compress man pages (again).
-
-* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
-- fix description and summary
-- man pages are compressed
-
-* Tue Jan 4 2000 Bill Nottingham <notting@redhat.com>
-- split client and server
-
-* Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
-- update to 0.16.
-
-* Wed Nov 10 1999 Bill Nottingham <notting@redhat.com>
-- rebuild against new procps
-
-* Wed Sep 22 1999 Jeff Johnson <jbj@redhat.com>
-- rusers init script started rstatd.
-
-* Mon Sep 20 1999 Jeff Johnson <jbj@redhat.com>
-- (re-)initialize number of users (#5244).
-
-* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
-- initscripts check for portmapper running before starting (#2615)
-
-* Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
-- return monitoring statistics like solaris does (#4237).
-
-* Thu Aug 26 1999 Jeff Johnson <jbj@redhat.com>
-- update to netkit-0.15.
-- on startup, rpc.rstatd needs to read information twice (#3994).
-
-* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
-- initscript munging
-
-* Tue Apr 6 1999 Jeff Johnson <jbj@redhat.com>
-- add rpc.rstatd (#2000)
-
-* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
-- auto rebuild in the new build environment (release 22)
-
-* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
-- compile for 6.0.
-
-* Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
-- added /etc/rc.d/init.d/functions to the init script
-
-* Tue May 05 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
-- enhanced initscript
-
-* Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
-- added init script
-- users attr
-- supports chkconfig
-
-* Tue Jul 15 1997 Erik Troan <ewt@redhat.com>
-- initial build
diff --git a/rusersd.service b/rusersd.service
deleted file mode 100644
index 7f557eb..0000000
--- a/rusersd.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Remote Machine Logged In User Identfier
-Requires=network.target rpcbind.service
-After=rpcbind.service
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/rpc.rusersd
-StandardError=syslog
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/sources b/sources
deleted file mode 100644
index cc8ed4d..0000000
--- a/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-dc99a80b9fde2ab427c874f88f1c1602 netkit-rusers-0.17.tar.gz
-10c67f22a94826d6ecdd4b41db4d9946 rstatd.tar.gz
reply other threads:[~2026-06-19 20:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178190110940.1.14228894940131588312.rpms-rusers-d178dcd10be9@fedoraproject.org \
--to=packaging-reports@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox