[csw-devel] SF.net SVN: gar:[20184] csw/mgar/pkg/gwhois/trunk

wilbury at users.sourceforge.net wilbury at users.sourceforge.net
Mon Jan 21 13:14:56 CET 2013


Revision: 20184
          http://gar.svn.sourceforge.net/gar/?rev=20184&view=rev
Author:   wilbury
Date:     2013-01-21 12:14:55 +0000 (Mon, 21 Jan 2013)
Log Message:
-----------
gwhois/trunk: Use correct sysconfdir

Modified Paths:
--------------
    csw/mgar/pkg/gwhois/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/gwhois/trunk/files/0001-Proper-config-dir.patch

Modified: csw/mgar/pkg/gwhois/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gwhois/trunk/Makefile	2013-01-21 12:06:23 UTC (rev 20183)
+++ csw/mgar/pkg/gwhois/trunk/Makefile	2013-01-21 12:14:55 UTC (rev 20184)
@@ -13,6 +13,8 @@
 MASTER_SITES = http://gwhois.de/gwhois/
 DISTNAME = $(NAME)_$(VERSION)
 DISTFILES  = $(DISTNAME).tar.gz
+PATCHFILES += 0001-Proper-config-dir.patch
+
 WORKSRC = $(WORKDIR)/$(NAME)-$(VERSION)
 ARCHALL_CSWgwhois = 1
 

Added: csw/mgar/pkg/gwhois/trunk/files/0001-Proper-config-dir.patch
===================================================================
--- csw/mgar/pkg/gwhois/trunk/files/0001-Proper-config-dir.patch	                        (rev 0)
+++ csw/mgar/pkg/gwhois/trunk/files/0001-Proper-config-dir.patch	2013-01-21 12:14:55 UTC (rev 20184)
@@ -0,0 +1,22 @@
+--- gwhois.orig Mon Jan 21 13:11:10 2013
++++ gwhois      Mon Jan 21 13:09:22 2013
+@@ -85,15 +85,15 @@
+ $version = '20100728';
+ 
+ $| = 1;
+-$confdir = '/etc/gwhois';
++$confdir = '/etc/opt/csw/gwhois';
+ $patternfilename = 'pattern';
+ $patternfilere = qr/^pattern/;
+ $useLWP = 1;
+ 
+ $sendmail = 1;
+-if ( -f "/etc/default/gwhois" )
++if ( -f "/etc/opt/csw/default/gwhois" )
+ {
+-  require "/etc/default/gwhois";
++  require "/etc/opt/csw/default/gwhois";
+ }
+ 
+ $step = 1;
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list