Accepting request 105246 from home:computersalat:devel:sysmgmnt

update to 3.2.4

OBS-URL: https://build.opensuse.org/request/show/105246
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=17
This commit is contained in:
Christian Wittmer 2012-02-15 15:14:26 +00:00 committed by Git OBS Bridge
parent 5d14955f3f
commit 5b1cdbbfd1
4 changed files with 24 additions and 8 deletions

View File

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

3
cfengine-3.2.4.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 15 13:49:18 UTC 2012 - chris@computersalat.de
- update to 3.2.4
* Fixed failure in network transfer in case of misbehaving peer
* A few tiny memory leaks on error paths fixed
- fix post/-un for SLE_10 (install_info)
- fix deps for SLE_10
* {libsoname} Req glibc
- provide default *.cf files in inputs DIR
otherwise init scripts will fail
-------------------------------------------------------------------
Wed Feb 8 15:03:01 UTC 2012 - chris@computersalat.de

View File

@ -25,7 +25,7 @@ Name: cfengine
Summary: A Tool to Maintain Complicated Networks
License: GPL-3.0
Group: Productivity/Networking/System
Version: 3.2.3
Version: 3.2.4
Release: 0
Url: http://www.cfengine.org/
Source: %{name}-%{version}.tar.gz
@ -63,6 +63,9 @@ networks.
%package -n %{libsoname}
Summary: Shared library of cfengine
Group: System/Libraries
%if 0%{?suse_version} == 1010
Requires: glibc
%endif
%description -n %{libsoname}
This package contains the shared libpromises (cfengine) library.
@ -111,7 +114,7 @@ find ./examples -type f -name "*.cf" -exec perl -p -i -e 's|\r\n|\n|,s|^# Founda
### FIXME
# there are 3 different cfengine_stdlib.cf
## as of 3.2.3
## as of 3.2.4
# ./examples/cfengine_stdlib.cf - Rev: 95
# ./examples/example_config/cfengine_stdlib.cf - Rev: 61
# ./masterfiles/cfengine_stdlib.cf - Rev: 84
@ -138,7 +141,7 @@ CC=gcc CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
[ -d %{buildroot} ] && [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%endif
%{__make} "DESTDIR=%{buildroot}" install
%{__install} -d %{buildroot}/{usr/sbin,etc/init.d,%{workdir}/bin}
%{__install} -d %{buildroot}/{usr/sbin,etc/init.d,%{workdir}/{bin,inputs}}
# create dirs needed for better organizing dirs and files
%{__install} -d %{buildroot}/%{basedir}/{backup,failsafe,config}
@ -169,6 +172,7 @@ done
# mv all masterfiles/*.cf to masterfiles/*.cf.default
pushd %{buildroot}%{basedir}/masterfiles
for j in $(ls -1); do
cp -a * ../work/inputs/
mv ${j} ${j}.default
done
@ -187,13 +191,13 @@ done
%endif
%post
%if 0%{?suse_version}
%if 0%{?suse_version} > 1010
%install_info --name=%{name} --info-dir=%{_infodir} %{_infodir}/cf3-reference.info.gz
%endif
/sbin/ldconfig
%postun
%if 0%{?suse_version}
%if 0%{?suse_version} > 1010
%install_info_delete --name=%{name} --info-dir=%{_infodir} %{_infodir}/cf3-reference.info.gz
%insserv_cleanup
for i in execd monitord; do