public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Doty (kingtaco)" <kingtaco@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/rwhoisd/files: rwhoisd-destdir.patch rwhoisd.conf rwhoisd
Date: Fri, 16 Oct 2009 20:16:38 +0000	[thread overview]
Message-ID: <E1MytE6-0002m0-0J@stork.gentoo.org> (raw)

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 $?
}






                 reply	other threads:[~2009-10-16 20:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1MytE6-0002m0-0J@stork.gentoo.org \
    --to=kingtaco@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox