public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/rwhoisd/files: rwhoisd-destdir.patch rwhoisd.conf rwhoisd
@ 2009-10-16 20:16 Mike Doty (kingtaco)
  0 siblings, 0 replies; only message in thread
From: Mike Doty (kingtaco) @ 2009-10-16 20:16 UTC (permalink / raw
  To: gentoo-commits

kingtaco    09/10/16 20:16:38

  Added:                rwhoisd-destdir.patch rwhoisd.conf rwhoisd
  Log:
  initial import
  (Portage version: 2.1.7.1/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-misc/rwhoisd/files/rwhoisd-destdir.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rwhoisd/files/rwhoisd-destdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rwhoisd/files/rwhoisd-destdir.patch?rev=1.1&content-type=text/plain

Index: rwhoisd-destdir.patch
===================================================================
--- 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@



1.1                  net-misc/rwhoisd/files/rwhoisd.conf

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rwhoisd/files/rwhoisd.conf?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rwhoisd/files/rwhoisd.conf?rev=1.1&content-type=text/plain

Index: rwhoisd.conf
===================================================================
#$Header: /var/cvsroot/gentoo-x86/net-misc/rwhoisd/files/rwhoisd.conf,v 1.1 2009/10/16 20:16:37 kingtaco Exp $
OPTS="-c /etc/rwhoisd/rwhoisd.conf"

#Pass any additional options to rwhoisd here.

RWHOISD_OPTS="${OPTS}"





1.1                  net-misc/rwhoisd/files/rwhoisd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rwhoisd/files/rwhoisd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rwhoisd/files/rwhoisd?rev=1.1&content-type=text/plain

Index: rwhoisd
===================================================================
#!/sbin/runscript

depend() {
	use logger
	need net
}

start() {
	ebegin "Starting rwhoisd"
	start-stop-daemon --start --quiet --exec /usr/sbin/rwhoisd ${RWHOISD_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping tftpd"
	start-stop-daemon --stop --quiet --exec /usr/sbin/rwhoisd
	eend $?
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-16 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16 20:16 [gentoo-commits] gentoo-x86 commit in net-misc/rwhoisd/files: rwhoisd-destdir.patch rwhoisd.conf rwhoisd Mike Doty (kingtaco)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox