summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine2/files')
-rw-r--r--sysutils/cfengine2/files/patch-case33
-rw-r--r--sysutils/cfengine2/files/patch-contrib_Makefile.in11
-rw-r--r--sysutils/cfengine2/files/patch-doc_Makefile.in24
-rw-r--r--sysutils/cfengine2/files/patch-filedir11
-rw-r--r--sysutils/cfengine2/files/patch-inputs_Makefile.in11
5 files changed, 57 insertions, 33 deletions
diff --git a/sysutils/cfengine2/files/patch-case b/sysutils/cfengine2/files/patch-case
deleted file mode 100644
index de19688ded02..000000000000
--- a/sysutils/cfengine2/files/patch-case
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/cfagent.c.orig Fri Nov 28 16:14:34 2003
-+++ src/cfagent.c Fri Nov 28 16:15:32 2003
-@@ -615,7 +615,7 @@
- { struct Item *ip;
- int n = 0;
-
--if (strstr(VSYSNAME.nodename,ToLowerStr(VDOMAIN)))
-+if (strcasestr(VSYSNAME.nodename,VDOMAIN))
- {
- strcpy(VFQNAME,VSYSNAME.nodename);
-
---- src/cfservd.c.orig Fri Nov 28 16:14:49 2003
-+++ src/cfservd.c Fri Nov 28 18:25:04 2003
-@@ -423,7 +423,7 @@
-
- i = 0;
-
--if (strstr(VSYSNAME.nodename,ToLowerStr(VDOMAIN)))
-+if (strcasestr(VSYSNAME.nodename,VDOMAIN))
- {
- strncpy(VFQNAME,VSYSNAME.nodename,maxvarsize-1);
-
---- src/install.c.orig Fri Nov 28 16:14:39 2003
-+++ src/install.c Fri Nov 28 16:21:06 2003
-@@ -117,7 +117,7 @@
-
- strcpy(VDOMAIN,value);
-
-- if (!strstr(VSYSNAME.nodename,ToLowerStr(VDOMAIN)))
-+ if (!strcasestr(VSYSNAME.nodename,VDOMAIN))
- {
- snprintf(VFQNAME,bufsize,"%s.%s",VSYSNAME.nodename,ToLowerStr(VDOMAIN));
- strcpy(VUQNAME,VSYSNAME.nodename);
diff --git a/sysutils/cfengine2/files/patch-contrib_Makefile.in b/sysutils/cfengine2/files/patch-contrib_Makefile.in
new file mode 100644
index 000000000000..92294ca6806b
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-contrib_Makefile.in
@@ -0,0 +1,11 @@
+--- contrib/Makefile.in.orig Tue Jan 27 01:34:49 2004
++++ contrib/Makefile.in Tue Jan 27 01:35:03 2004
+@@ -17,7 +17,7 @@
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(prefix)/share/examples/cfengine2
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
diff --git a/sysutils/cfengine2/files/patch-doc_Makefile.in b/sysutils/cfengine2/files/patch-doc_Makefile.in
new file mode 100644
index 000000000000..711a202abf28
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-doc_Makefile.in
@@ -0,0 +1,24 @@
+--- doc/Makefile.in.orig Sun Jan 11 17:16:59 2004
++++ doc/Makefile.in Tue Jan 27 01:31:55 2004
+@@ -146,10 +146,10 @@
+
+ info_TEXINFOS = cfengine-Reference.texinfo cfengine-Tutorial.texinfo cfengine-Anomalies.texinfo
+
+-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(prefix)/share/doc/cfengine2
+ doc_DATA =
+ # Info used in building and installing HTML files
+-htmldir = $(pkgdatadir)/html
++htmldir = $(docdir)
+ htmlfiles = cfengine-Reference.html cfengine-Tutorial.html cfengine-Anomalies.html
+ html_DATA = $(htmlfiles)
+
+@@ -161,7 +161,7 @@
+ # then uncomment the reference to ps2
+ psfiles = $(ps1) # $(ps2)
+
+-psdir = $(pkgdatadir)/doc
++psdir = $(docdir)
+ ps_DATA = $(psfiles)
+
+ # Make sure these get distributed with everything else.
diff --git a/sysutils/cfengine2/files/patch-filedir b/sysutils/cfengine2/files/patch-filedir
new file mode 100644
index 000000000000..40e6d82a4a5d
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-filedir
@@ -0,0 +1,11 @@
+--- src/filedir.c.orig Mon Jan 19 19:22:26 2004
++++ src/filedir.c Mon Jan 19 19:22:39 2004
+@@ -554,7 +554,7 @@
+ return;
+ }
+ #else
+-if (((newperm & 07777) == (dstat->st_mode & 07777) && (action != touch)) /* file okay */
++if (((newperm & 07777) == (dstat->st_mode & 07777) && (action != touch))) /* file okay */
+ {
+ Debug("File okay, newperm = %o, stat = %o\n",(newperm & 07777),(dstat->st_mode & 07777));
+ fixmode = false;
diff --git a/sysutils/cfengine2/files/patch-inputs_Makefile.in b/sysutils/cfengine2/files/patch-inputs_Makefile.in
new file mode 100644
index 000000000000..01d3cc242c43
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-inputs_Makefile.in
@@ -0,0 +1,11 @@
+--- inputs/Makefile.in.orig Tue Jan 27 01:33:35 2004
++++ inputs/Makefile.in Tue Jan 27 01:34:11 2004
+@@ -17,7 +17,7 @@
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(prefix)/share/examples/cfengine2
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..