cfengine; openbsd patches from <chuck@Yerkes.com>
This commit is contained in:
parent
7cf7e0deec
commit
b0a6d84880
16
sysutils/cfengine/Makefile
Normal file
16
sysutils/cfengine/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/09/18 00:09:29 marc Exp $
|
||||
# $FreeBSD: Makefile,v 1.2 1998/08/19 11:28:23 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= cfengine-1.4.12
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= marc@openbsd.org
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
||||
|
||||
.include <bsd.port.mk>
|
1
sysutils/cfengine/files/md5
Normal file
1
sysutils/cfengine/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (cfengine-1.4.12.tar.gz) = 31cf76f622a08fe8f2e9f7387eb0a8aa
|
12
sysutils/cfengine/patches/patch-aa
Normal file
12
sysutils/cfengine/patches/patch-aa
Normal file
@ -0,0 +1,12 @@
|
||||
--- configure.in.orig Tue Jul 21 06:21:06 1998
|
||||
+++ configure.in Thu Sep 17 15:39:32 1998
|
||||
@@ -274,6 +274,9 @@
|
||||
netbsd*)
|
||||
AC_DEFINE(NETBSD)
|
||||
;;
|
||||
+ openbsd*)
|
||||
+ AC_DEFINE(OPENBSD)
|
||||
+ ;;
|
||||
newsos*)
|
||||
AC_DEFINE(NEWS_OS)
|
||||
;;
|
15
sysutils/cfengine/patches/patch-ab
Normal file
15
sysutils/cfengine/patches/patch-ab
Normal file
@ -0,0 +1,15 @@
|
||||
--- configure.orig Tue Jul 21 06:09:16 1998
|
||||
+++ configure Thu Sep 17 15:39:32 1998
|
||||
@@ -3924,6 +3924,12 @@
|
||||
EOF
|
||||
|
||||
;;
|
||||
+ openbsd*)
|
||||
+ cat >> confdefs.h <<\EOF
|
||||
+#define OPENBSD 1
|
||||
+EOF
|
||||
+
|
||||
+ ;;
|
||||
newsos*)
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define NEWS_OS 1
|
10
sysutils/cfengine/patches/patch-ac
Normal file
10
sysutils/cfengine/patches/patch-ac
Normal file
@ -0,0 +1,10 @@
|
||||
--- acconfig.h.orig Mon May 25 23:29:17 1998
|
||||
+++ acconfig.h Thu Sep 17 15:39:32 1998
|
||||
@@ -48,6 +48,7 @@
|
||||
#undef DEBIAN
|
||||
#undef FREEBSD
|
||||
#undef NETBSD
|
||||
+#undef OPENBSD
|
||||
#undef NEWS_OS
|
||||
#undef BSDOS
|
||||
#undef BSD43
|
11
sysutils/cfengine/patches/patch-ad
Normal file
11
sysutils/cfengine/patches/patch-ad
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/df.c.orig Sun Mar 22 23:14:49 1998
|
||||
+++ src/df.c Thu Sep 17 15:39:35 1998
|
||||
@@ -109,7 +109,7 @@
|
||||
avail = buf.f_bavail * (buf.f_frsize / blocksize);
|
||||
#endif
|
||||
|
||||
-#if defined NETBSD || defined LINUX || defined SUNOS || defined HPuUX
|
||||
+#if defined NETBSD || defined LINUX || defined SUNOS || defined HPuUX || defined OPENBSD
|
||||
total = buf.f_blocks;
|
||||
used = buf.f_blocks - buf.f_bfree;
|
||||
avail = buf.f_bavail;
|
10
sysutils/cfengine/patches/patch-ae
Normal file
10
sysutils/cfengine/patches/patch-ae
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/conf.h.in.orig Tue Jul 21 06:09:30 1998
|
||||
+++ src/conf.h.in Thu Sep 17 15:39:35 1998
|
||||
@@ -77,6 +77,7 @@
|
||||
#undef DEBIAN
|
||||
#undef FREEBSD
|
||||
#undef NETBSD
|
||||
+#undef OPENBSD
|
||||
#undef NEWS_OS
|
||||
#undef BSDOS
|
||||
#undef BSD43
|
18
sysutils/cfengine/patches/patch-af
Normal file
18
sysutils/cfengine/patches/patch-af
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/cfengine.c.orig Fri Jul 31 05:13:48 1998
|
||||
+++ src/cfengine.c Thu Sep 17 15:39:35 1998
|
||||
@@ -1153,6 +1153,7 @@
|
||||
case unix_sv:
|
||||
case freebsd:
|
||||
case netbsd:
|
||||
+ case openbsd:
|
||||
case bsd_i:
|
||||
case nextstep:
|
||||
case bsd4_3:
|
||||
@@ -4249,6 +4250,7 @@
|
||||
break;
|
||||
|
||||
case netbsd:
|
||||
+ case openbsd:
|
||||
case bsd_i:
|
||||
case freebsd: sprintf(fstab,"%s:%s \t %s \t %s \t %s,%s 0 0",host,rmountpt,mountpt,VNFSTYPE,mode,opts);
|
||||
break;
|
19
sysutils/cfengine/patches/patch-ag
Normal file
19
sysutils/cfengine/patches/patch-ag
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/cf.defs.h.orig Tue Jul 14 07:48:57 1998
|
||||
+++ src/cf.defs.h Thu Sep 17 15:39:34 1998
|
||||
@@ -228,7 +228,7 @@
|
||||
#define maxvarsize 128
|
||||
#define maxlinksize 256
|
||||
#define maxlinklevel 4
|
||||
-#define maxargs 30
|
||||
+#define maxargs 31
|
||||
#define hashtablesize 119 /* prime number */
|
||||
#define macroalphabet 60 /* a-z, A-Z plus a bit */
|
||||
#define maxshellargs 11
|
||||
@@ -481,6 +481,7 @@
|
||||
GnU,
|
||||
cfnt,
|
||||
unix_sv,
|
||||
+ openbsd,
|
||||
unused1,
|
||||
unused2,
|
||||
unused3
|
11
sysutils/cfengine/patches/patch-ah
Normal file
11
sysutils/cfengine/patches/patch-ah
Normal file
@ -0,0 +1,11 @@
|
||||
--- pub/regex.h.orig Tue Jan 7 07:07:54 1997
|
||||
+++ pub/regex.h Thu Sep 17 15:39:34 1998
|
||||
@@ -469,7 +469,7 @@
|
||||
unsigned num_regs, regoff_t *starts, regoff_t *ends));
|
||||
|
||||
/* 4.2 bsd compatibility. */
|
||||
-#if !defined(FREEBSD) && !defined(IRIX) && !defined(NETBSD)
|
||||
+#if !defined(FREEBSD) && !defined(IRIX) && !defined(NETBSD) && !defined(OPENBSD)
|
||||
extern char *re_comp _RE_ARGS (( char *));
|
||||
extern int re_exec _RE_ARGS (( char *));
|
||||
#endif
|
32
sysutils/cfengine/patches/patch-ai
Normal file
32
sysutils/cfengine/patches/patch-ai
Normal file
@ -0,0 +1,32 @@
|
||||
--- doc/cfengine.texinfo.orig Sat Aug 1 03:36:35 1998
|
||||
+++ doc/cfengine.texinfo Thu Sep 17 15:39:34 1998
|
||||
@@ -1713,7 +1713,7 @@
|
||||
|
||||
@smallexample
|
||||
ultrix, sun4, sun3, hpux, hpux10, aix, solaris, osf, irix4, irix, irix64
|
||||
- freebsd, netbsd, bsd4_3, newsos, solarisx86, aos,
|
||||
+ freebsd, netbsd, openbsd, bsd4_3, newsos, solarisx86, aos,
|
||||
nextstep, bsdos, linux, debian, cray, unix_sv, GnU
|
||||
@end smallexample
|
||||
|
||||
@@ -11832,7 +11832,7 @@
|
||||
Another problem with GNU/Linux concerns a special socket call to the
|
||||
TCP/IP network interface. This is a command which configures the static
|
||||
routing table and appears to be absent from all versions of Linux and
|
||||
-newer IRIX versions. There are also problems with NetBSD. These
|
||||
+newer IRIX versions. There are also problems with NetBSD (and therefore, likely, OpenBSD). These
|
||||
features are undocumented and will be fixed as soon as they have been
|
||||
understood! If you are running in verbose mode a warning message is
|
||||
printed, otherwise cfengine will ignore attempts to set a default route
|
||||
@@ -15011,9 +15011,9 @@
|
||||
@c .....................................................
|
||||
|
||||
@node cf.freebsd, cfd.conf, cf.linux, Example configuration file
|
||||
-@section cf.freebsd / cf.netbsd
|
||||
+@section cf.freebsd / cf.netbsd /cf.openbsd
|
||||
|
||||
-FreeBSD and NetBSD are sufficiently similar to have a single
|
||||
+FreeBSD, NetBSD and OpenBSD are sufficiently similar to have a single
|
||||
file for both.
|
||||
|
||||
@smallexample
|
11
sysutils/cfengine/patches/patch-aj
Normal file
11
sysutils/cfengine/patches/patch-aj
Normal file
@ -0,0 +1,11 @@
|
||||
--- contrib/Makefile.in.~1~ Thu Apr 10 01:19:55 1997
|
||||
+++ contrib/Makefile.in Thu Sep 17 16:44:18 1998
|
||||
@@ -28,7 +28,7 @@
|
||||
${MKINSTALLDIR} ${sbindir}
|
||||
for x in $?; \
|
||||
do \
|
||||
- ${INSTALL_PROGRAM} $$x ${sbindir}; \
|
||||
+ ${INSTALL_SCRIPT} $$x ${sbindir}; \
|
||||
done
|
||||
|
||||
clean:
|
1
sysutils/cfengine/pkg/COMMENT
Normal file
1
sysutils/cfengine/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
GNU cfengine - a systems administration tool for networks.
|
2
sysutils/cfengine/pkg/DESCR
Normal file
2
sysutils/cfengine/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
cfengine lets you manage you network (including editing files automatically),
|
||||
in an object-oriented manner.
|
27
sysutils/cfengine/pkg/PLIST
Normal file
27
sysutils/cfengine/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
sbin/cfd
|
||||
sbin/cfdoc
|
||||
sbin/cfengine
|
||||
sbin/cfrun
|
||||
share/cfengine/backup.exclude
|
||||
share/cfengine/cf.groups.example
|
||||
share/cfengine/cf.hpux.example
|
||||
share/cfengine/cf.linux.example
|
||||
share/cfengine/cf.main.example
|
||||
share/cfengine/cf.motd.example
|
||||
share/cfengine/cf.preconf.example
|
||||
share/cfengine/cf.site.example
|
||||
share/cfengine/cf.solaris.example
|
||||
share/cfengine/cf.sun4.example
|
||||
share/cfengine/cf.ultrix.example
|
||||
share/cfengine/cf.users.example
|
||||
share/cfengine/cfbackup
|
||||
share/cfengine/cfbg
|
||||
share/cfengine/cfd.conf.example
|
||||
share/cfengine/cfdaily
|
||||
share/cfengine/cfengine.conf.example
|
||||
share/cfengine/cfmail
|
||||
share/cfengine/cfrestore
|
||||
share/cfengine/cfwrap
|
||||
share/cfengine/editquotas
|
||||
share/cfengine/noseyparker
|
||||
@dirrm share/cfengine
|
Loading…
Reference in New Issue
Block a user