mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-misc/netkit-rwho: Remove last-rited pkg
Closes: https://bugs.gentoo.org/637484 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST netkit-rwho-0.17-patches.tar.bz2 7725 BLAKE2B 5c5804906dc3217432e38b9a3492e5751db6cb89a7f1ba3f9c0bd21d8884340378b1f7910ea541342ba0adc5deae79309c3e124a88382504ba2d4fed8a758465 SHA512 947f62316220791af7f36eee3d44481224ebda3410fb3e527fb1f066a663f56d6aec44483955edbbff1936972e86aeff9d6905d123ed78cb10d72ee6cb0f7454
|
||||
DIST netkit-rwho-0.17.tar.gz 20610 BLAKE2B 3797e94d0009076d8f66fd79544c08f5a544673106a4169553d45f4bd85d822db42f195eadecfd2b76bd3a3de9398cf93ef3400cad98350c5d44e451579ec866 SHA512 ea1444b613d95f53100cf8f8d374dd132611432380b9142182c4fb5595014605896656b9a272945534371265e226fe591c22c12a9bdde9c763794249660e7b58
|
||||
@@ -1,4 +0,0 @@
|
||||
# /etc/conf.d/rwhod: config file for /etc/init.d/rwhod
|
||||
|
||||
# rwhod arguments
|
||||
RWHOD_OPTIONS="-b"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# Clean up stale rwho entries after one month
|
||||
find /var/spool/rwho -mindepth 1 -maxdepth 1 -type f ! -name .keep \
|
||||
! -ctime -30 -print0 | xargs -r0 rm -f
|
||||
@@ -1,23 +0,0 @@
|
||||
echo -n isn't supported by all shells, use printf instead, which is portable.
|
||||
|
||||
Note, if you apply this patch after 0004-ldflags.patch, the changes begin at line 276.
|
||||
If you run it before 0004-ldflags.patch, the changes begin at line 277.
|
||||
|
||||
Patch by Andrew Miller.
|
||||
|
||||
https://bugs.gentoo.org/529974
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -276,10 +276,7 @@
|
||||
|
||||
echo 'Generating MCONFIG...'
|
||||
(
|
||||
- echo -n '# Generated by configure (confgen version 2) on '
|
||||
- date
|
||||
- echo '#'
|
||||
- echo
|
||||
+ printf "#\n# Generated by configure (confgen version 2) on $(date)\n#\n\n"
|
||||
|
||||
echo "BINDIR=$BINDIR"
|
||||
echo "SBINDIR=$SBINDIR"
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting rwhod"
|
||||
/sbin/start-stop-daemon --start --quiet --exec /usr/sbin/rwhod -- $RWHOD_OPTIONS
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping rwhod"
|
||||
/sbin/start-stop-daemon --stop --quiet --name rwhod
|
||||
eend $?
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>netmon@gentoo.org</email>
|
||||
<name>Gentoo network monitoring and analysis project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Netkit - ruptime/rwho/rwhod"
|
||||
HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
|
||||
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz
|
||||
https://dev.gentoo.org/~jer/${P}-patches.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~mips ppc s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/000{1,2,3,4}-*.patch
|
||||
epatch "${FILESDIR}"/${P}-printf.patch #529974
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Not an autotools build system
|
||||
./configure --with-c-compiler=$(tc-getCC) || die
|
||||
sed -i \
|
||||
-e "s:-O2::" \
|
||||
-e "s:-Wpointer-arith::" \
|
||||
MCONFIG || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/spool/rwho
|
||||
|
||||
into /usr
|
||||
dobin ruptime/ruptime rwho/rwho
|
||||
dosbin rwhod/rwhod
|
||||
|
||||
doman ruptime/ruptime.1 rwho/rwho.1 rwhod/rwhod.8
|
||||
dodoc README ChangeLog
|
||||
|
||||
newinitd "${FILESDIR}"/${P}-rc rwhod
|
||||
newconfd "${FILESDIR}"/${P}-confd rwhod
|
||||
|
||||
exeinto /etc/cron.monthly
|
||||
doexe "${FILESDIR}"/${P}-cron
|
||||
}
|
||||
@@ -540,12 +540,6 @@ net-analyzer/gnu-netcat
|
||||
media-video/hasciicam
|
||||
net-libs/ftplib
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (13 Apr 2019)
|
||||
# Unmaintained. Does not build (again). Last release in 2000. Carries
|
||||
# a large number of patches already.
|
||||
# Removal in 30 days. Bug #637484.
|
||||
net-misc/netkit-rwho
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (13 Apr 2019)
|
||||
# Old ruby24-only slots of Rails-related packages
|
||||
# These no longer have reverse dependencies or newer
|
||||
|
||||
Reference in New Issue
Block a user