- update to 3.4.0 final

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=26
This commit is contained in:
Klaus Kämpf 2012-11-29 08:18:22 +00:00 committed by Git OBS Bridge
parent e57c056949
commit ce568e02ed
6 changed files with 34 additions and 16 deletions

24
cfengine-3.4.0.patch Normal file
View File

@ -0,0 +1,24 @@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-cfengine-3.4.0/src/files_select.c ./src/files_select.c
--- ../orig-cfengine-3.4.0/src/files_select.c 2012-11-26 12:13:20.000000000 +0100
+++ ./src/files_select.c 2012-11-29 09:15:53.859129139 +0100
@@ -285,7 +285,7 @@
#ifndef MINGW // no uids on Windows
char buffer[CF_SMALLBUF];
- snprintf(buffer, CF_BUFSIZE, "%jd", (uintmax_t) lstatptr->st_uid);
+ snprintf(buffer, CF_SMALLBUF, "%jd", (uintmax_t) lstatptr->st_uid);
PrependAlphaList(&leafattrib, buffer);
#endif /* MINGW */
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-cfengine-3.4.0/src/server.c ./src/server.c
--- ../orig-cfengine-3.4.0/src/server.c 2012-11-26 12:13:20.000000000 +0100
+++ ./src/server.c 2012-11-29 08:49:31.871817185 +0100
@@ -2367,7 +2367,7 @@
if (strlen(ReadLastNode(filename)) > CF_MAXLINKSIZE)
{
- snprintf(sendbuffer, CF_BUFSIZE * 2, "BAD: Filename suspiciously long [%s]\n", filename);
+ snprintf(sendbuffer, CF_BUFSIZE, "BAD: Filename suspiciously long [%s]\n", filename);
CfOut(cf_error, "", "%s", sendbuffer);
SendTransaction(conn->sd_reply, sendbuffer, 0, CF_DONE);
return -1;

3
cfengine-3.4.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75c113b37988529634237b3bc349aa69dfcb3c69ed92f649a0e6f2e97d72b025
size 4263916

View File

@ -1,12 +0,0 @@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-cfengine-3.4.0b2/src/server.c ./src/server.c
--- ../orig-cfengine-3.4.0b2/src/server.c 2012-10-01 17:53:14.000000000 +0200
+++ ./src/server.c 2012-10-08 16:27:48.661757672 +0200
@@ -2359,7 +2359,7 @@
if (strlen(ReadLastNode(filename)) > CF_MAXLINKSIZE)
{
- snprintf(sendbuffer, CF_BUFSIZE * 2, "BAD: Filename suspiciously long [%s]\n", filename);
+ snprintf(sendbuffer, CF_BUFSIZE, "BAD: Filename suspiciously long [%s]\n", filename);
CfOut(cf_error, "", "%s", sendbuffer);
SendTransaction(conn->sd_reply, sendbuffer, 0, CF_DONE);
return -1;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a38fdf1ed79648630841ec8736e83b5439af7b399a509a0f12d0abf763b88b64
size 4253260

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 29 07:48:20 UTC 2012 - kkaempf@suse.com
- update to 3.4.0 final
-------------------------------------------------------------------
Sun Oct 21 10:07:18 UTC 2012 - kkaempf@suse.com

View File

@ -27,7 +27,7 @@ Name: cfengine
Summary: CFEngine automates large-scale IT computing infrastructure
License: GPL-3.0
Group: Productivity/Networking/System
Version: 3.4.0b2
Version: 3.4.0
Release: 0
Url: http://www.cfengine.org/
Source: %{name}-%{version}.tar.bz2
@ -332,6 +332,7 @@ fi
%{_sbindir}/cf-promises
%{_sbindir}/cf-report
%{_sbindir}/cf-runagent
%{_sbindir}/rpmvercmp
%if 0%{?suse_version} >= 1210
%_unitdir/cf-execd.service
%_unitdir/cf-monitord.service