Hello community, here is the log from the commit of package krb5 for openSUSE:Factory checked in at 2013-06-25 09:22:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/krb5 (Old) and /work/SRC/openSUSE:Factory/.krb5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "krb5" Changes: -------- --- /work/SRC/openSUSE:Factory/krb5/krb5-mini.changes 2013-06-11 09:32:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.krb5.new/krb5-mini.changes 2013-06-25 14:41:38.000000000 +0200 @@ -1,0 +2,13 @@ +Mon Jun 24 16:21:07 UTC 2013 - [email protected] + +- install and enable systemd service files also in -mini package + +------------------------------------------------------------------- +Fri Jun 21 02:12:03 UTC 2013 - [email protected] + +- remove fstack-protector-all from CFLAGS, just use the + lighter/fast version already present in %optflags + +- Use LFS_CFLAGS to build in 32 bit archs. + +------------------------------------------------------------------- krb5.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ krb5-mini.spec ++++++ --- /var/tmp/diff_new_pack.UYcYgL/_old 2013-06-25 14:41:39.000000000 +0200 +++ /var/tmp/diff_new_pack.UYcYgL/_new 2013-06-25 14:41:39.000000000 +0200 @@ -196,7 +196,7 @@ DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME ./configure \ CC="%{__cc}" \ - CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fstack-protector-all " \ + CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC $(getconf LFS_CFLAGS)" \ CPPFLAGS="-I%{_includedir}/et " \ SS_LIB="-lss" \ --prefix=/usr/lib/mit \ @@ -322,12 +322,44 @@ # krb5(-mini) pre/post/postun ##################################################### -%post -p /sbin/ldconfig +%if %{build_mini} + +%preun +%if 0%{?suse_version} >= 1210 +%service_del_preun krb5kdc.service kadmind.service kpropd.service +%else +%stop_on_removal krb5kdc kadmind kpropd +%endif %postun /sbin/ldconfig +%if 0%{?suse_version} >= 1210 +%service_del_postun krb5kdc.service kadmind.service kpropd.service +%else +%restart_on_update krb5kdc kadmind kpropd +%{insserv_cleanup} +%endif -%if ! %{build_mini} +%post +/sbin/ldconfig +%if 0%{?suse_version} >= 1210 +%service_add_post krb5kdc.service kadmind.service kpropd.service +%endif +%{fillup_only -n kadmind} +%{fillup_only -n krb5kdc} +%{fillup_only -n kpropd} + +%pre +%if 0%{?suse_version} >= 1210 +%service_add_pre krb5kdc.service kadmind.service kpropd.service +%endif + +%else + +%post -p /sbin/ldconfig + +%postun +/sbin/ldconfig ##################################################### # krb5-server preun/postun/pre/post @@ -430,6 +462,11 @@ %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/k* %{_var}/adm/fillup-templates/sysconfig.* %{_sysconfdir}/init.d/* +%if 0%{?suse_version} >= 1210 +%{_unitdir}/kadmind.service +%{_unitdir}/krb5kdc.service +%{_unitdir}/kpropd.service +%endif %{_libdir}/libgssapi_krb5.* %{_libdir}/libgssrpc.so.* %{_libdir}/libk5crypto.so.* ++++++ krb5.spec ++++++ --- /var/tmp/diff_new_pack.UYcYgL/_old 2013-06-25 14:41:39.000000000 +0200 +++ /var/tmp/diff_new_pack.UYcYgL/_new 2013-06-25 14:41:39.000000000 +0200 @@ -196,7 +196,7 @@ DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME ./configure \ CC="%{__cc}" \ - CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fstack-protector-all " \ + CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC $(getconf LFS_CFLAGS)" \ CPPFLAGS="-I%{_includedir}/et " \ SS_LIB="-lss" \ --prefix=/usr/lib/mit \ @@ -322,12 +322,44 @@ # krb5(-mini) pre/post/postun ##################################################### -%post -p /sbin/ldconfig +%if %{build_mini} + +%preun +%if 0%{?suse_version} >= 1210 +%service_del_preun krb5kdc.service kadmind.service kpropd.service +%else +%stop_on_removal krb5kdc kadmind kpropd +%endif %postun /sbin/ldconfig +%if 0%{?suse_version} >= 1210 +%service_del_postun krb5kdc.service kadmind.service kpropd.service +%else +%restart_on_update krb5kdc kadmind kpropd +%{insserv_cleanup} +%endif -%if ! %{build_mini} +%post +/sbin/ldconfig +%if 0%{?suse_version} >= 1210 +%service_add_post krb5kdc.service kadmind.service kpropd.service +%endif +%{fillup_only -n kadmind} +%{fillup_only -n krb5kdc} +%{fillup_only -n kpropd} + +%pre +%if 0%{?suse_version} >= 1210 +%service_add_pre krb5kdc.service kadmind.service kpropd.service +%endif + +%else + +%post -p /sbin/ldconfig + +%postun +/sbin/ldconfig ##################################################### # krb5-server preun/postun/pre/post @@ -430,6 +462,11 @@ %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/k* %{_var}/adm/fillup-templates/sysconfig.* %{_sysconfdir}/init.d/* +%if 0%{?suse_version} >= 1210 +%{_unitdir}/kadmind.service +%{_unitdir}/krb5kdc.service +%{_unitdir}/kpropd.service +%endif %{_libdir}/libgssapi_krb5.* %{_libdir}/libgssrpc.so.* %{_libdir}/libk5crypto.so.* -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
