[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patches for cfengine-1.4.12 port
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: patches for cfengine-1.4.12 port
- From: Kyle Amon <amonk_(_at_)_gnutec_(_dot_)_com>
- Date: Fri, 17 Nov 2000 17:42:17 -0500
- Organization: GNUTEC Information Technology Solutions
The cfengine-1.4.12 port has been broken for a long time. It
builds fine but doesn't work. Attached, are a couple patches
I made to fix it (patch-ak and patch-al). Someone with write
access to the repository please commit them.
- Kyle
--
Kyle Amon email: amonk_(_at_)_gnutec_(_dot_)_com
url: http://www.gnutec.com/~amonk
KeyID 1024/49808913
Fingerprint = 82 91 D3 44 66 58 37 D7 38 05 BE 98 9D F0 8A 70 49 80
89 13
"Extracting money from users of a program by restricting their use of
it is destructive because the restrictions reduce the amount and the
ways that the program can be used. This reduces the amount of wealth
that humanity derives from the program."
- Richard Stallman
The GNU Manifesto, 1985
Petition to Microsoft Corporation for Open Source Consumer Windows!
http://www.linuxresources.com/linuxreview/petition.html--- src/classes.c.dist Fri Nov 17 10:28:08 2000
+++ src/classes.c Fri Nov 17 10:30:40 2000
@@ -66,6 +66,7 @@ char *CLASSTEXT[] = /* If you change h
"gnu",
"nt",
"unix_sv",
+ "openbsd",
"unused1",
"unused2",
"unused3",
@@ -104,6 +105,7 @@ char *CLASSATTRIBUTES[clssattr][attrdim]
"gnu*","*","*", /* gnu */
"Windows_NT","*","*", /* NT */
"unix_sv","*","*", /* Unixware */
+ "openbsd","*","*", /* OpenBSD */
"unused1","blah","blah",
"unused2","blah","blah",
"unused3","blah","blah",
@@ -140,6 +142,7 @@ char *VPSCOMM[clssattr] =
"/bin/ps", /* gnu */
"/C/usr/bin/ps", /* NT */
"/bin/ps", /* unixware */
+ "/bin/ps", /* openbsd */
"/bin/ps",
"/bin/ps",
"/bin/ps",
@@ -176,6 +179,7 @@ char *VPSOPTS[clssattr] =
"-ax", /* gnu */
"-a", /* NT */
"-ef", /* Unixware */
+ "-ax", /* openbsd */
"-",
"-",
"-",
@@ -212,6 +216,7 @@ char *VMOUNTCOMM[clssattr] =
"/bin/mount -va", /* gnu */
"N/A", /* NT */
"/sbin/mountall", /* Unixware */
+ "/sbin/mount", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -248,6 +253,7 @@ char *VUNMOUNTCOMM[clssattr] =
"/sbin/umount", /* gnu */
"N/A", /* NT */
"/sbin/umount", /* Unixware */
+ "/sbin/umount", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -286,6 +292,7 @@ char *VMOUNTOPTS[clssattr] =
"defaults", /* gnu */
"N/A", /* NT */
"bg,hard,intr", /* Unixware */
+ "-i,-b", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -322,6 +329,7 @@ char *VIFDEV[clssattr] =
"eth0", /* gnu */
"N/A", /* NT */
"unknown", /* Unixware */
+ "le0", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -359,6 +367,7 @@ char *VRESOLVCONF[clssattr] =
"/etc/resolv.conf", /* gnu */
"/C/resolv.conf", /* NT */
"/etc/resolv.conf", /* Unixware */
+ "/etc/resolv.conf", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -397,6 +406,7 @@ char *VFSTAB[clssattr] =
"/etc/fstab", /* gnu */
"N/A", /* NT */
"/etc/vfstab", /* Unixware */
+ "/etc/fstab", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -433,6 +443,7 @@ char *VMAILDIR[clssattr] =
"/var/spool/mail", /* gnu */
"N/A", /* NT */
"/var/mail", /* Unixware */
+ "/var/mail", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
@@ -469,6 +480,7 @@ char *VNETSTAT[clssattr] =
"/bin/netstat -rn", /* gnu */
"/C/WINNT/System32/netstat", /* NT */
"/usr/bin/netstat -rn", /* Unixware */
+ "/usr/bin/netstat -rn", /* openbsd */
"unused-blah",
"unused-blah",
"unused-blah",
--- src/cf.defs.h.dist Fri Nov 17 10:28:56 2000
+++ src/cf.defs.h Fri Nov 17 10:30:34 2000
@@ -245,7 +245,7 @@ char *strdup();
/* This is the only place you ever need to edit anything */
/*******************************************************************/
-#define clssattr 30 /* increase this for each new class added */
+#define clssattr 31 /* increase this for each new class added */
/* It defines the array size for class data */
#define attrdim 3 /* Only used in CLASSATTRUBUTES[][] defn */
Visit your host, monkey.org