diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-11 13:26:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-11 18:20:34 +0200 |
commit | 61f62b4e81579f03af00331a64e896903d81db74 (patch) | |
tree | 63b98c60731d6012d6e28382ef943594ff4b4837 /net-misc/rwhoisd | |
parent | net-misc/pmsvn: Drop old (diff) | |
download | gentoo-61f62b4e81579f03af00331a64e896903d81db74.tar.gz gentoo-61f62b4e81579f03af00331a64e896903d81db74.tar.bz2 gentoo-61f62b4e81579f03af00331a64e896903d81db74.zip |
net-misc/rwhoisd: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/rwhoisd')
-rw-r--r-- | net-misc/rwhoisd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/rwhoisd/files/rwhoisd-destdir-1.5.9.5.patch | 39 | ||||
-rw-r--r-- | net-misc/rwhoisd/rwhoisd-1.5.9.5-r3.ebuild | 46 |
3 files changed, 0 insertions, 86 deletions
diff --git a/net-misc/rwhoisd/Manifest b/net-misc/rwhoisd/Manifest index 4b4e87fb2ecb..2f18403d071c 100644 --- a/net-misc/rwhoisd/Manifest +++ b/net-misc/rwhoisd/Manifest @@ -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 index 6cd6b28f2e51..000000000000 --- a/net-misc/rwhoisd/files/rwhoisd-destdir-1.5.9.5.patch +++ /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 index 0ff7fbf1072d..000000000000 --- a/net-misc/rwhoisd/rwhoisd-1.5.9.5-r3.ebuild +++ /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." -} |