net-misc/rwhoisd: Drop old
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 11:26:40 +0000 (13:26 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 16:20:34 +0000 (18:20 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-misc/rwhoisd/Manifest
net-misc/rwhoisd/files/rwhoisd-destdir-1.5.9.5.patch [deleted file]
net-misc/rwhoisd/rwhoisd-1.5.9.5-r3.ebuild [deleted file]

index 4b4e87fb2ecb24840a1224b5182cfbd98c6cb0cc..2f18403d071c8feb8c3304104096214e79ea8e84 100644 (file)
@@ -1,2 +1 @@
-DIST rwhoisd-1.5.9.5.tar.gz 491600 BLAKE2B 3e6857e7aa260fb6d714d53b63279517e15fede29be0113541213bf1a9f70bf160486fa42561fb551e019dbd6d5d773fb01a67d3da794dd17dc5978f9d3f2335 SHA512 d9227cd700cb14e0c83003c7a8dff43f859eba58390f4ba74b03c58fe629bcc9e8a39f2aaf7ce9b55aa4f17f43fc54fed9ba05a29bcbe1df5fc1340202d7b04c
 DIST rwhoisd-1.5.9.6.tar.gz 491955 BLAKE2B 97587fc6a728cde58bc5049a9bf27ec1673ce7beb751aa0de7c787d08185b597e16a4920e89fa5aaabc6e7e1b5dfecedc50aaf55cbdbe7f85a43d6a125848cb9 SHA512 ab5674d9ed9f9c5fc00b2859b1336c766c546ca067ddf9d3863a0728c6d0eac11be3a9cd22dce8c25999ed8c8e5377e6da4aa1252e396d5b3c8e959794903c52
diff --git a/net-misc/rwhoisd/files/rwhoisd-destdir-1.5.9.5.patch b/net-misc/rwhoisd/files/rwhoisd-destdir-1.5.9.5.patch
deleted file mode 100644 (file)
index 6cd6b28..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/tools/rwhois_repack/Makefile.in
-+++ b/tools/rwhois_repack/Makefile.in
-@@ -52,9 +52,9 @@
- # procedural
- install:
--      if [ ! -d $(exec_prefix) ]; then mkdir $(exec_prefix); fi
--      if [ ! -d $(bindir) ]; then mkdir $(bindir); fi
--      $(INSTALL) rwhois_repack $(bindir)
-+      if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir $(DESTDIR)$(exec_prefix); fi
-+      if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir $(DESTDIR)$(bindir); fi
-+      $(INSTALL) rwhois_repack $(DESTDIR)$(bindir)
- uninstall:
-       $(RM) $(bindir)/rwhois_repack
-
---- a/sample.data/Makefile.in
-+++ b/sample.data/Makefile.in
-@@ -10,7 +10,7 @@
- prefix      = @prefix@
- exec_prefix = @exec_prefix@
- bindir      = $(exec_prefix)/bin
--etcdir      = $(exec_prefix)/etc
-+etcdir      = /etc
- srcdir            = @srcdir@
- VPATH       = @srcdir@
-
---- a/sample.data/Makefile.in
-+++ b/sample.data/Makefile.in
-@@ -17,7 +17,7 @@
- DESTDIR =
--RWHOIS_ROOT_DIR = $(DESTDIR)$(etcdir)/rwhoisd/samples
-+RWHOIS_ROOT_DIR = $(DESTDIR)/var/rwhoisd/samples
- FILES = \
-         a.com \
diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.5-r3.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.5-r3.ebuild
deleted file mode 100644 (file)
index 0ff7fbf..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic user
-
-DESCRIPTION="ARIN rwhois daemon"
-HOMEPAGE="http://projects.arin.net/rwhois/"
-SRC_URI="http://projects.arin.net/rwhois/ftp/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
-       sys-devel/flex
-       virtual/yacc
-"
-
-pkg_setup() {
-       enewgroup rwhoisd
-       enewuser rwhoisd -1 -1 /var/rwhoisd rwhoisd
-}
-
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-destdir-${PV}.patch
-       append-cflags -DNEW_STYLE_BIN_SORT
-}
-
-src_compile() {
-       emake -C common
-       emake -C regexp
-       emake -C mkdb
-       default
-}
-
-src_install () {
-       default
-       doinitd "${FILESDIR}"/rwhoisd
-       newconfd "${FILESDIR}"/rwhoisd.conf rwhoisd
-}
-
-pkg_postinst () {
-       einfo "Please make sure to set the userid in rwhoisd.conf to rwhoisd."
-       einfo "It is highly inadvisable to run rwhoisd as root."
-}