diff options
author | Mike Doty <kingtaco@gentoo.org> | 2009-10-21 21:46:11 +0000 |
---|---|---|
committer | Mike Doty <kingtaco@gentoo.org> | 2009-10-21 21:46:11 +0000 |
commit | 6cffa9b7e12af6666c62f2cea715ef661535616e (patch) | |
tree | 3aae3135777c985305d681e177be492673b8ad53 /net-misc/rwhoisd | |
parent | Stabilizing for ppc. (diff) | |
download | historical-6cffa9b7e12af6666c62f2cea715ef661535616e.tar.gz historical-6cffa9b7e12af6666c62f2cea715ef661535616e.tar.bz2 historical-6cffa9b7e12af6666c62f2cea715ef661535616e.zip |
change rwhoisd homedir to /var/rwhoisd and sample data to /var/rwhoisd/samples
Package-Manager: portage-2.1.7.1/cvs/Linux x86_64
Diffstat (limited to 'net-misc/rwhoisd')
-rw-r--r-- | net-misc/rwhoisd/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/rwhoisd/Manifest | 4 | ||||
-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-r1.ebuild | 40 |
4 files changed, 90 insertions, 2 deletions
diff --git a/net-misc/rwhoisd/ChangeLog b/net-misc/rwhoisd/ChangeLog index 1e27cb9db7dd..6ded421469e8 100644 --- a/net-misc/rwhoisd/ChangeLog +++ b/net-misc/rwhoisd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/rwhoisd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rwhoisd/ChangeLog,v 1.1 2009/10/16 20:16:36 kingtaco Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rwhoisd/ChangeLog,v 1.2 2009/10/21 21:46:11 kingtaco Exp $ + +*rwhoisd-1.5.9.5-r1 (21 Oct 2009) + + 21 Oct 2009; Mike Doty <kingtaco@gentoo.org> +rwhoisd-1.5.9.5-r1.ebuild, + +files/rwhoisd-destdir-1.5.9.5.patch: + change rwhoisd homedir to /var/rwhoisd and sample data to + /var/rwhoisd/samples *rwhoisd-1.5.9.5 (16 Oct 2009) diff --git a/net-misc/rwhoisd/Manifest b/net-misc/rwhoisd/Manifest index f03cb2031d2d..fe2e5c661a88 100644 --- a/net-misc/rwhoisd/Manifest +++ b/net-misc/rwhoisd/Manifest @@ -1,7 +1,9 @@ AUX rwhoisd 284 RMD160 bbf349dbb721213a53567bd9b21910f256564fbf SHA1 6ce494cd8ed5ce7bec7ace3f0e6be5a29480ae57 SHA256 929f479426a03c84a51648c99af2d8622efee155995c6abb458ae9236f0b0051 +AUX rwhoisd-destdir-1.5.9.5.patch 1228 RMD160 43e45aaa5cd1716b7e23cc3d2963d7510d250ff0 SHA1 4659d6ed258d429093aca5d7ed47703978996d0c SHA256 27e595f10f2d9c3587f7f52d9b34a5e537ade41ee5f9ffaf27aa1a75aa13f5a4 AUX rwhoisd-destdir.patch 926 RMD160 f261f065d71cfdd84425e1a8afdd3bbf9ff620e5 SHA1 c3509b1fd47556780f9f8f7187b59ff88243210a SHA256 2e427ba47e70f0000c725504a5c125c65190d71572a3e8aecfa4d8ccadeacc0a AUX rwhoisd.conf 220 RMD160 9475283fb3e0920a8214c911838fa3e1706700e2 SHA1 cd42864c97c36de55029b1dadf2414bd4127c7de SHA256 a7f7ae7d9ee401a05931896126fde2006b759524e3b8391f0fa2ab5641877586 DIST rwhoisd-1.5.9.5.tar.gz 491600 RMD160 6535f061b758e66807fdd766407d5d1a66c03ea3 SHA1 795e0ea22a6f31916ca899b017dd580152d119a9 SHA256 832da8faff58070fcc8685c67375dcced3b6bb225ffbe3542dd6052add61cf92 +EBUILD rwhoisd-1.5.9.5-r1.ebuild 1004 RMD160 3586e84370d43547ad3118571df91d616c565cc5 SHA1 f1917e6a02334d6755a24fee7fa5d63660995c33 SHA256 a3c89f14284e3b18559ef9b0353a1eb464d7a5c6752737b11a3e310e6624e1f8 EBUILD rwhoisd-1.5.9.5.ebuild 984 RMD160 a1d1ebc58fdf56f18aed6402b94c44d7810116ff SHA1 7883fbd0e1e12ab50aaf805ef5329a5b6d5329ab SHA256 d2864ba4fab74f670b1e3215caf9f2aa055c5c5af93031ef8a7adfd2528b17c9 -MISC ChangeLog 415 RMD160 e0da0368fa52238c97ed2244a63a9a95a06311cd SHA1 5cca3ccddf120089a17617ac5e4bd1bd98e314b3 SHA256 456d4944ccfd2268b2b4f3335e789faacdd09d38e5016028bc56b2c5a414f9f7 +MISC ChangeLog 649 RMD160 31e68ccbbfa4cc2e2f7cb52fbfaaf0d79c452ac0 SHA1 36a2ef97acce9bfc95ad8f4e4d573fb7b6955831 SHA256 a9839cd56e13a940e949f180bfde04d9163d51cd59ac4dc589e4705b0feab272 MISC metadata.xml 283 RMD160 5b37243e9ba52f859c1b31d198c929b11a862f7d SHA1 457a178d9d96ccce593680bb5faf8b7a38d480d5 SHA256 d9bbde44601d42c57242e05c10f67939993de79a3e88639f92cc63866da84f17 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 new file mode 100644 index 000000000000..38d3b0ce5ad0 --- /dev/null +++ b/net-misc/rwhoisd/files/rwhoisd-destdir-1.5.9.5.patch @@ -0,0 +1,39 @@ +--- tools/rwhois_repack/Makefile.in.orig 2009-10-16 11:30:40.000000000 -0700 ++++ tools/rwhois_repack/Makefile.in 2009-10-16 11:31:20.000000000 -0700 +@@ -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 + +--- sample.data/Makefile.in.orig 2009-10-16 11:37:54.000000000 -0700 ++++ sample.data/Makefile.in 2009-10-16 11:38:22.000000000 -0700 +@@ -10,7 +10,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = $(exec_prefix)/bin +-etcdir = $(exec_prefix)/etc ++etcdir = /etc + + srcdir = @srcdir@ + VPATH = @srcdir@ + +--- sample.data/Makefile.in.orig 2009-10-21 14:27:42.000000000 -0700 ++++ sample.data/Makefile.in 2009-10-21 14:33:00.000000000 -0700 +@@ -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-r1.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.5-r1.ebuild new file mode 100644 index 000000000000..6c2b5b359994 --- /dev/null +++ b/net-misc/rwhoisd/rwhoisd-1.5.9.5-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rwhoisd/rwhoisd-1.5.9.5-r1.ebuild,v 1.1 2009/10/21 21:46:11 kingtaco Exp $ + +EAPI=0 +inherit eutils + +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" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND}" + +src_compile() { + cd "${S}" + epatch "${FILESDIR}"/rwhoisd-destdir-${PV}.patch || die "epatch failed" + econf + emake -j1 +} + +src_install () { + emake -j1 install DESTDIR=${D} + doinitd "${FILESDIR}"/rwhoisd || die "doinitd failed" + newconfd "${FILESDIR}"/rwhoisd.conf rwhoisd || die "newconfd failed" +} + +pkg_setup() { + enewgroup rwhoisd + enewuser rwhoisd -1 -1 /var/rwhoisd 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." +} |