aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-12 14:51:48 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-12 14:51:48 +0000
commitae28aecde4f864a1f5057a5d716598b5a9d883b4 (patch)
treefc93b0590ee0d4f6e54a5878340d0740d988f0b1 /sysutils
parent147fc77aff6b3e82ddabd69242001f6bdc637393 (diff)
downloadports-ae28aecde4f864a1f5057a5d716598b5a9d883b4.tar.gz
ports-ae28aecde4f864a1f5057a5d716598b5a9d883b4.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cfengine2/Makefile13
-rw-r--r--sysutils/cfengine2/files/patch-case33
2 files changed, 39 insertions, 7 deletions
diff --git a/sysutils/cfengine2/Makefile b/sysutils/cfengine2/Makefile
index feed75795fb5..f7fafe455f8f 100644
--- a/sysutils/cfengine2/Makefile
+++ b/sysutils/cfengine2/Makefile
@@ -7,25 +7,24 @@
PORTNAME= cfengine2
PORTVERSION= 2.1.0p1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iu.hio.no/pub/cfengine/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= cfengine-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= GNU cfengine - a systems administration tool for networks
+MAINTAINER= paul@aps.org
+COMMENT= A systems administration tool for networks
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
USE_OPENSSL= yes
-
-# if we use GNU_CONFIGURE=yes then the binaries get installed with weird names
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-berkeleydb=${LOCALBASE}
INFO= cfengine-Anomalies cfengine-Reference cfengine-Tutorial
-
MAN8= cfengine.8 cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 \
cfrun.8 cfservd.8
diff --git a/sysutils/cfengine2/files/patch-case b/sysutils/cfengine2/files/patch-case
new file mode 100644
index 000000000000..de19688ded02
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-case
@@ -0,0 +1,33 @@
+--- 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);