ports/61602: [MAINTAINER] sysutils/cfengine2: update to 2.1.1

Paul Dlug paul at aps.org
Tue Jan 20 01:50:21 UTC 2004


>Number:         61602
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/cfengine2: update to 2.1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 17:50:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Paul Dlug
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD lugnut.aps.org 5.2-RELEASE FreeBSD 5.2-RELEASE #8: Sun Jan 18 17:20:13 EST 2004
>Description:
- Update to 2.1.1
- Patch to fix missing paren in src/filedir.c
- Patches for case insensitive hostname matching removed (now the default as of this version)

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- cfengine2-2.1.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/cfengine2/Makefile /usr/home/paul/myports/sysutils/cfengine2/Makefile
--- /usr/ports/sysutils/cfengine2/Makefile	Fri Dec 12 09:51:48 2003
+++ /usr/home/paul/myports/sysutils/cfengine2/Makefile	Mon Jan 19 13:57:35 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cfengine2
-PORTVERSION=	2.1.0p1
+PORTVERSION=	2.1.1
 PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://ftp.iu.hio.no/pub/cfengine/ \
diff -ruN --exclude=CVS /usr/ports/sysutils/cfengine2/distinfo /usr/home/paul/myports/sysutils/cfengine2/distinfo
--- /usr/ports/sysutils/cfengine2/distinfo	Fri Nov 21 00:38:11 2003
+++ /usr/home/paul/myports/sysutils/cfengine2/distinfo	Mon Jan 19 13:57:28 2004
@@ -1 +1 @@
-MD5 (cfengine-2.1.0p1.tar.gz) = 3b2b132cb7d15f10818c0a05877d86da 
+MD5 (cfengine-2.1.1.tar.gz) = 71a91ec5283b45313b78fe00f8d1e042 
diff -ruN --exclude=CVS /usr/ports/sysutils/cfengine2/files/patch-case /usr/home/paul/myports/sysutils/cfengine2/files/patch-case
--- /usr/ports/sysutils/cfengine2/files/patch-case	Fri Dec 12 09:51:48 2003
+++ /usr/home/paul/myports/sysutils/cfengine2/files/patch-case	Wed Dec 31 19:00:00 1969
@@ -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 -ruN --exclude=CVS /usr/ports/sysutils/cfengine2/files/patch-filedir /usr/home/paul/myports/sysutils/cfengine2/files/patch-filedir
--- /usr/ports/sysutils/cfengine2/files/patch-filedir	Wed Dec 31 19:00:00 1969
+++ /usr/home/paul/myports/sysutils/cfengine2/files/patch-filedir	Mon Jan 19 19:23:32 2004
@@ -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 -ruN --exclude=CVS /usr/ports/sysutils/cfengine2/pkg-plist /usr/home/paul/myports/sysutils/cfengine2/pkg-plist
--- /usr/ports/sysutils/cfengine2/pkg-plist	Fri Nov 21 00:38:11 2003
+++ /usr/home/paul/myports/sysutils/cfengine2/pkg-plist	Mon Jan 19 19:25:44 2004
@@ -33,4 +33,4 @@
 @dirrm share/cfengine/html
 @dirrm share/cfengine/doc
 @dirrm share/cfengine
- at dirrm doc/cfengine-2.1.0p1
+ at dirrm doc/cfengine-2.1.1
--- cfengine2-2.1.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list