diff options
Diffstat (limited to 'misc/grc/files')
-rw-r--r-- | misc/grc/files/patch-grc | 17 | ||||
-rw-r--r-- | misc/grc/files/patch-grc.1 | 14 | ||||
-rw-r--r-- | misc/grc/files/patch-grcat | 8 | ||||
-rw-r--r-- | misc/grc/files/patch-grcat.1 | 11 |
4 files changed, 50 insertions, 0 deletions
diff --git a/misc/grc/files/patch-grc b/misc/grc/files/patch-grc new file mode 100644 index 000000000000..8a772969902f --- /dev/null +++ b/misc/grc/files/patch-grc @@ -0,0 +1,17 @@ +--- grc.orig Sun Mar 25 20:40:51 2001 ++++ grc Sun Mar 25 20:43:14 2001 +@@ -1,4 +1,4 @@ +-#! /usr/bin/python ++#!%%PYTHON_CMD%% + + import os, re, string, sys, getopt, signal + +@@ -65,7 +65,7 @@ + + conffile = None + if cfile == "": +- conffilename = [os.environ['HOME']+"/.grc/grc.conf", "/etc/grc.conf"] ++ conffilename = [os.environ['HOME']+"/.grc/grc.conf", "%%PREFIX%%/etc/grc.conf"] + for i in conffilename: + if os.path.isfile(i): + conffile = i diff --git a/misc/grc/files/patch-grc.1 b/misc/grc/files/patch-grc.1 new file mode 100644 index 000000000000..12001107851a --- /dev/null +++ b/misc/grc/files/patch-grc.1 @@ -0,0 +1,14 @@ +--- grc.1.orig Sun Mar 25 21:10:52 2001 ++++ grc.1 Sun Mar 25 21:14:38 2001 +@@ -17,9 +17,9 @@ + + Configuration file for + .BR grc +-is determined by /etc/grc.conf file. ++is determined by %%PREFIX%%/etc/grc.conf file. + +-Format of /etc/grc.conf: ++Format of %%PREFIX%%/etc/grc.conf: + each entry consists of 2 lines, between entries there can be any number of empty + lines or lines beginning with # (comments) + diff --git a/misc/grc/files/patch-grcat b/misc/grc/files/patch-grcat new file mode 100644 index 000000000000..c81e4533bc7c --- /dev/null +++ b/misc/grc/files/patch-grcat @@ -0,0 +1,8 @@ +--- grcat.orig Sun Mar 25 20:48:10 2001 ++++ grcat Sun Mar 25 20:48:51 2001 +@@ -1,4 +1,4 @@ +-#! /usr/bin/python ++#!%%PYTHON_CMD%% + + import sys, os, string, getopt, re, signal, sys + diff --git a/misc/grc/files/patch-grcat.1 b/misc/grc/files/patch-grcat.1 new file mode 100644 index 000000000000..97ff0b3e9202 --- /dev/null +++ b/misc/grc/files/patch-grcat.1 @@ -0,0 +1,11 @@ +--- grcat.1.orig Sun Mar 25 21:15:18 2001 ++++ grcat.1 Sun Mar 25 21:15:39 2001 +@@ -8,7 +8,7 @@ + .SH DESCRIPTION + .I "configuration" + is a name of a configuration file. Directories +-~/.grc/, /usr/local/share/grc/, /usr/share/grc/ ++~/.grc/, %%PREFIX%%/share/grc/, /usr/share/grc/ + are searched for the file (in this order). + + If the file is not found, it is assumed to be an absolute path of a |