Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cfengine for openSUSE:Factory 
checked in at 2021-04-19 21:06:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cfengine (Old)
 and      /work/SRC/openSUSE:Factory/.cfengine.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cfengine"

Mon Apr 19 21:06:30 2021 rev:77 rq:886679 version:3.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cfengine/cfengine.changes        2020-09-30 
19:53:11.724720558 +0200
+++ /work/SRC/openSUSE:Factory/.cfengine.new.12324/cfengine.changes     
2021-04-19 21:07:02.168122632 +0200
@@ -1,0 +2,38 @@
+Sun Apr 18 02:27:07 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Fixed SPEC file: Replaced broken URL with current upstream
+- Update to 3.17.0
+  * cf-agent can now simulate the changes done to files in a chroot, printing
+    diff or manifest information about what it would do in a normal evaluation.
+    Use the new command line option: `--simulate=diff` or 
`--simulate=manifest`.
+    Please note that only files and packages promises are simulated currently.
+  * Custom promise types can now be added using promise modules
+  * cf-monitord now uses /proc/net/* files to get network information if
+    possible
+  * Added new policy function execresult_as_data()
+  * Added optional argument to execresult for choosing between stdout and
+    stderr
+  * Outcome classes are now always defined for promiser in files promises
+  * and(), or(), not() now return boolean and cannot be used directly in
+    slist vars. They can now be used in other places where a boolean is
+    expected. (Most notably and / or promise attributes). The return values
+    can be converted to strings using concat(), if necessary (CFE-3470)
+  * Backgrounded commands are now correctly executed in the child process
+  * CFEngine policy bodies can now be completely empty
+  * Directory listings in files changes monitoring are now only updated
+    when there is a change
+  * Promises with 'action => bg()' no longer break reporting data (ENT-6042)
+  * Spaces inside square brackets (slist/data index) are now allowed in
+    class expressions (CFE-3320)
+  * Variables specifying data/list names in @() references are now expanded
+  * Added warnings when trying to use  to expand containers in mustache
+    templates (CFE-3457, CFE-3489)
+  * Limited unqualified host and domain name to 511 characters (CFE-3409)
+  * AVCs are no longer produced for CFEngine processes accessing /proc/net
+  * Fixed how we check for `--cols` argument to `ps` (ENT-6098)
+  * Fixed a memory leak in users promises
+  * Fixed a small memory leak in cf-promises (CFE-3461)
+  * Fixed expansion of variables in data/list references (CFE-3299)
+- FHS issue upstream resolved, can be installed accoring to FHS
+
+-------------------------------------------------------------------

Old:
----
  cfengine-3.16.0.tar.gz

New:
----
  core-3.17.0.tar.gz
  libntech-4e9efcb84172110fa92742836b8d34688983c2e7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cfengine.spec ++++++
--- /var/tmp/diff_new_pack.gi90ZY/_old  2021-04-19 21:07:02.948123801 +0200
+++ /var/tmp/diff_new_pack.gi90ZY/_new  2021-04-19 21:07:02.952123808 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cfengine
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
 
 %define libname   libpromises
 %define libsoname %{libname}3
+
 # Yes, its not FHS conformant but in sync with cfengine documentation
-# reported upstream as https://cfengine.com/dev/issues/1896
 %define         basedir   %{_localstatedir}/%{name}
 %define         workdir   %{basedir}
 # This is the place where workdir should be
-#define         basedir   /var/lib/%%{name}
-#define         workdir   %%{basedir}/work
+#%%define basedir   %%{_localstatedir}/lib/%%{name}
+#%%define workdir   %%{basedir}/work
 
 %if 0%{?suse_version} < 1500
 # assume SuSEfirewall2
@@ -33,33 +33,33 @@
 # assume firewalld
 %define with_sfw2 0
 %endif
+# Version of libntech needed (see git repo of core)
+%define libntech_hash 4e9efcb84172110fa92742836b8d34688983c2e7
 # pass --with-bla to enable the build
 %bcond_with mysql
 %bcond_with postgresql
 %bcond_with libvirt
-
 Name:           cfengine
-Version:        3.16.0
+Version:        3.17.0
 Release:        0
 Summary:        Configuration management framework
 License:        GPL-3.0-only
 Group:          Productivity/Networking/System
-URL:            http://www.cfengine.org/
-Source:         
https://cfengine-package-repos.s3.amazonaws.com/tarballs/cfengine-%{version}.tar.gz
-Source1:        %{name}.SuSEfirewall2
-Source2:        cf-execd.service
-Source3:        cf-monitord.service
-Source4:        cf-serverd.service
-Source5:        cf-monitord
-Source6:        cf-execd
-Source7:        cf-serverd
-Source10:       %{name}.cron
-Source11:       %{name}-rpmlintrc
-
-Recommends:     %{name}-documentation
-
+URL:            https://cfengine.com/
+Source0:        
https://github.com/cfengine/core/archive/refs/tags/%{version}.tar.gz#/core-%{version}.tar.gz
+Source1:        
https://github.com/cfengine/libntech/archive/%{libntech_hash}.tar.gz#/libntech-%{libntech_hash}.tar.gz
+Source11:       %{name}.SuSEfirewall2
+Source12:       cf-execd.service
+Source13:       cf-monitord.service
+Source14:       cf-serverd.service
+Source15:       cf-monitord
+Source16:       cf-execd
+Source17:       cf-serverd
+Source20:       %{name}.cron
+Source21:       %{name}-rpmlintrc
 BuildRequires:  bison
 BuildRequires:  db-devel
+BuildRequires:  fdupes
 BuildRequires:  flex
 BuildRequires:  libacl-devel
 BuildRequires:  libtool
@@ -68,11 +68,15 @@
 BuildRequires:  openssl-devel >= 1.0.2e
 BuildRequires:  pam-devel
 BuildRequires:  pcre-devel >= 8.38
+BuildRequires:  pkgconfig
 # for flock
 BuildRequires:  util-linux
 # for llzma
 BuildRequires:  xz-devel
+BuildRequires:  pkgconfig(systemd)
 Requires:       %{libsoname} = %{version}
+Recommends:     %{name}-documentation
+%{?systemd_requires}
 %if !%{with_sfw2}
 BuildRequires:  firewall-macros
 %endif
@@ -85,9 +89,6 @@
 %if %{with postgresql}
 BuildRequires:  postgresql-devel
 %endif
-BuildRequires:  pkgconfig(systemd)
-%{?systemd_requires}
-BuildRequires:  fdupes
 %if 0%{?fedora_version} == 20
 BuildRequires:  perl-Exporter
 %endif
@@ -130,13 +131,12 @@
 Lots of example promises for CFEngine.
 
 %prep
-%setup -q
-
+%setup -q -n core-%{version} -a 1
+[ -d libntech ] && rmdir -v libntech
+ln -s libntech-%{libntech_hash} libntech
 ##### rpmlint
 #### wrong-file-end-of-line-encoding
-#### incorrect-fsf-address
-### http://www.fsf.org/about/contact/
-find ./examples -type f -name "*.cf" -exec perl -p -i -e 's|\r\n|\n|,s|^# 
Foundation.*|# Foundation, 51 Franklin Street, Suite 500, Boston, MA 
02110-1335, USA|' {} \;
+find ./examples -type f -name "*.cf" -exec perl -p -i -e 's|\r\n|\n|' {} \;
 
 %build
 EXPLICIT_VERSION=%{version} autoreconf -fvi -I m4
@@ -145,7 +145,7 @@
   --disable-static \
   --disable-silent-rules \
   --enable-fhs \
-  --datadir=/var \
+  --datadir=%{_localstatedir} \
   --with-workdir=%{workdir} \
 %if %{with postgresql}
   --with-postgresql \
@@ -171,15 +171,15 @@
 %endif
   --with-pam
 
-make %{?_smp_mflags}
+%make_build
 
 %check
 # FAIL: process_test
-make check %{?_smp_mflags} || : 
+%make_build check || :
 
 %install
 chmod -x ChangeLog
-make "DESTDIR=%{buildroot}" install
+%make_install
 
 # will appear in cfengine-examples
 rm -rf %{buildroot}/%{_docdir}/%{name}/examples
@@ -190,11 +190,11 @@
 install -d %{buildroot}/%{basedir}/{backup,failsafe,config,plugins}
 
 # systemd: install sample cron file in docdir
-cp %{SOURCE10} %{buildroot}/%{_docdir}/%{name}
+cp %{SOURCE20} %{buildroot}/%{_docdir}/%{name}
 
 # install systemd scripts
 install -d %{buildroot}%{_unitdir}
-install -m 0644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{buildroot}/%{_unitdir}
+install -m 0644 %{SOURCE12} %{SOURCE13} %{SOURCE14} %{buildroot}/%{_unitdir}
 ln -s -f service %{buildroot}/%{_sbindir}/rccf-monitord
 ln -s -f service %{buildroot}/%{_sbindir}/rccf-execd
 ln -s -f service %{buildroot}/%{_sbindir}/rccf-serverd
@@ -202,7 +202,7 @@
 # create symlinks for bin_PROGRAMS
 # because: cf-promises needs to be installed in /var/cfengine/work/bin for 
pre-validation of full configuration
 for i in cf-agent cf-execd cf-key cf-monitord cf-promises cf-runagent 
cf-serverd cf-upgrade; do
-  ln -s -f ../../..%{_bindir}/${i} %{buildroot}%{workdir}/bin/${i}
+  ln -s -f %{_bindir}/${i} %{buildroot}%{workdir}/bin/${i}
 done
 
 rm -rf %{buildroot}/%{_libdir}/%{name}/libpromises.la
@@ -221,7 +221,7 @@
 
 # Firewall
 %if %{with_sfw2}
-install -D -m 644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/cfengine
+install -D -m 644 %{SOURCE11} 
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/cfengine
 %endif
 
 # Ckeabyo dyoes
@@ -254,13 +254,11 @@
 %endif
 
 %post   -n %{libsoname} -p /sbin/ldconfig
-
 %postun -n %{libsoname} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc ChangeLog README.md
 %license LICENSE
+%doc ChangeLog README.md
 %{_bindir}/cf-agent
 %{_bindir}/cf-check
 %{_bindir}/cf-execd
@@ -292,16 +290,13 @@
 %{_docdir}/%{name}/cfengine.cron
 
 %files -n %{libsoname}
-%defattr(-,root,root)
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/%{libname}.so.*
 
 %files -n %{libname}-devel
-%defattr(-,root,root)
 %{_libdir}/%{name}/%{libname}.so
 
 %files examples
-%defattr(-,root,root)
 %doc examples/*cf
 
 %changelog

Reply via email to