Accepting request 210568 from systemsmanagement

- Fix packaging
  - rename cfengine-devel to libpromises-devel
  - rename libpromises1 to libpromises3

- Update to 3.5.3
  - Improved security checks of symlink ownership.
    A symlink created by a user pointing to resources owned by a
    different user will no longer be followed.
  - Changed the way package versions are compared in package promises.
    (Redmine #3314)
    In previous versions the comparison was inconsistent. This has
    been fixed, but may also lead to behavior changes in certain
    cases. In CFEngine 3.5.3, the comparison works as follows:
    <package-being-considered> <package_select> <package_version>
    For instance: apache-2.2.31 ">=" "2.2.0" will result in the
    package being installed.
  Bug fixes:
  - fix cf-monitord crash due to incorrect array initialization (Redmine
    #3180)
  - fix cf-serverd stat()'ing the file tree every second (Redmine #3479)
  - correctly populate sys.hardware_addresses variable (Redmine #2936)
  - add support for Debian's GNU/kfreebsd to build system (Redmine #3500)
  - fix possible stack corruption in guest_environments promises (Redmine
    #3552)
  - work-around hostname trunctation in HP-UX's uname (Redmine #3517)
  - fix body copy purging of empty directories (Redmine #3429)
  - make discovery and loading of avahi libraries more robust
  - compile and packaging fixes for HP-UX, AIX and Solaris
  - fix fatal error in lsdir() when directory doesn't exist (Redmine
    #3273)

OBS-URL: https://build.opensuse.org/request/show/210568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=41
This commit is contained in:
Stephan Kulow 2013-12-13 10:55:21 +00:00 committed by Git OBS Bridge
commit a62c7fbba4
4 changed files with 54 additions and 10 deletions

View File

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

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

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

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Wed Dec 11 07:25:59 UTC 2013 - kkaempf@suse.com
- Fix packaging
- rename cfengine-devel to libpromises-devel
- rename libpromises1 to libpromises3
-------------------------------------------------------------------
Tue Dec 10 13:04:00 UTC 2013 - kkaempf@suse.com
- Update to 3.5.3
- Improved security checks of symlink ownership.
A symlink created by a user pointing to resources owned by a
different user will no longer be followed.
- Changed the way package versions are compared in package promises.
(Redmine #3314)
In previous versions the comparison was inconsistent. This has
been fixed, but may also lead to behavior changes in certain
cases. In CFEngine 3.5.3, the comparison works as follows:
<package-being-considered> <package_select> <package_version>
For instance: apache-2.2.31 ">=" "2.2.0" will result in the
package being installed.
Bug fixes:
- fix cf-monitord crash due to incorrect array initialization (Redmine
#3180)
- fix cf-serverd stat()'ing the file tree every second (Redmine #3479)
- correctly populate sys.hardware_addresses variable (Redmine #2936)
- add support for Debian's GNU/kfreebsd to build system (Redmine #3500)
- fix possible stack corruption in guest_environments promises (Redmine
#3552)
- work-around hostname trunctation in HP-UX's uname (Redmine #3517)
- fix body copy purging of empty directories (Redmine #3429)
- make discovery and loading of avahi libraries more robust
- compile and packaging fixes for HP-UX, AIX and Solaris
- fix fatal error in lsdir() when directory doesn't exist (Redmine
#3273)
- fix epoch calculation for stime inrange calculation (Redmine #2921)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 30 12:58:49 UTC 2013 - kkaempf@suse.com Fri Aug 30 12:58:49 UTC 2013 - kkaempf@suse.com

View File

@ -18,7 +18,7 @@
Name: cfengine Name: cfengine
%define libname libpromises %define libname libpromises
%define libsoname %{libname}1 %define libsoname %{libname}3
# Yes, its not FHS conformant but in sync with cfengine documentation # Yes, its not FHS conformant but in sync with cfengine documentation
# reported upstream as https://cfengine.com/dev/issues/1896 # reported upstream as https://cfengine.com/dev/issues/1896
@ -28,7 +28,7 @@ Name: cfengine
Summary: CFEngine automates large-scale IT computing infrastructure Summary: CFEngine automates large-scale IT computing infrastructure
License: GPL-3.0 License: GPL-3.0
Group: Productivity/Networking/System Group: Productivity/Networking/System
Version: 3.5.2 Version: 3.5.3
Release: 0 Release: 0
Url: http://www.cfengine.org/ Url: http://www.cfengine.org/
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
@ -114,6 +114,8 @@ impact on system resources or performance.
%package -n %{libsoname} %package -n %{libsoname}
Summary: Shared library of cfengine Summary: Shared library of cfengine
Group: System/Libraries Group: System/Libraries
Provides: %{libname}1
Obsoletes: %{libname}1
%if 0%{?suse_version} == 1010 %if 0%{?suse_version} == 1010
Requires: glibc Requires: glibc
%endif %endif
@ -121,17 +123,19 @@ Requires: glibc
%description -n %{libsoname} %description -n %{libsoname}
This package contains the shared libpromises (cfengine) library. This package contains the shared libpromises (cfengine) library.
%package devel %package -n %{libname}-devel
Summary: Development package for cfengine Summary: Development package for libpromises
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: %{name}-devel < %{version}
Obsoletes: %{name}-devel < %{version}
Requires: %{libsoname} = %{version} Requires: %{libsoname} = %{version}
Requires: glibc-devel Requires: glibc-devel
%description devel %description -n %{libname}-devel
A high-speed character set detection library A high-speed character set detection library
This package contains the files needed to compile programs that use the This package contains the files needed to compile programs that use the
libguess library. libpromises library.
%package doc %package doc
Summary: CFEngine automates large-scale IT computing infrastructure - documentation Summary: CFEngine automates large-scale IT computing infrastructure - documentation
@ -411,7 +415,7 @@ fi
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_libdir}/%{name}/%{libname}.so.* %{_libdir}/%{name}/%{libname}.so.*
%files devel %files -n %{libname}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/%{name}/%{libname}.so %{_libdir}/%{name}/%{libname}.so