Hello community,

here is the log from the commit of package netatalk for openSUSE:Factory 
checked in at 2013-11-21 15:25:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netatalk (Old)
 and      /work/SRC/openSUSE:Factory/.netatalk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netatalk"

Changes:
--------
--- /work/SRC/openSUSE:Factory/netatalk/netatalk.changes        2013-09-26 
14:45:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.netatalk.new/netatalk.changes   2013-11-21 
15:25:36.000000000 +0100
@@ -1,0 +2,20 @@
+Fri Nov 15 08:43:45 UTC 2013 - [email protected]
+
+- update to 3.1.0:
+    NEW: Add recvfile support with splice() on Linux. New global 
+         options "recvfile" (default: no) and "splice size" 
+         (default 64k).
+    NEW: CNID backend "mysql" for use with a MySQL server
+    FIX: Build fixes for the Kerberos UAM
+    UPD: Use dedicated exit code for AFP connections that were 
+         dropped by the client right after the TCP handshake
+    NEW: AFP Spotlight support with Gnome Tracker
+    NEW: New option "spotlight" (G/V)
+    NEW: If Spotlight is enabled, launch our own dbus instance
+    NEW: New option "dbus daemon" (G)
+    UPD: Add configure option --with-afpstats for overriding the 
+         result of autodetecting dbus-glib presence
+- added wrong-error-message.patch [bnc#849598]
+- added return-code.patch
+
+-------------------------------------------------------------------

Old:
----
  netatalk-3.0.5.tar.bz2

New:
----
  netatalk-3.1.0.tar.bz2
  netatalk-return-code.patch
  netatalk-wrong-error-message.patch

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

Other differences:
------------------
++++++ netatalk.spec ++++++
--- /var/tmp/diff_new_pack.2bxtZg/_old  2013-11-21 15:25:37.000000000 +0100
+++ /var/tmp/diff_new_pack.2bxtZg/_new  2013-11-21 15:25:37.000000000 +0100
@@ -16,23 +16,31 @@
 #
 
 
+%define with_afpstats  0
+
 Name:           netatalk
 Url:            http://netatalk.sourceforge.net/
 Requires:       cyrus-sasl
 Requires:       db-utils
-Version:        3.0.5
+Version:        3.1.0
 Release:        0
-%define libmaj  6
-Summary:        Netatalk AFP Fileserver for Macintosh Clients
+%define libmaj  12
+Summary:        AFP Fileserver for Macintosh Clients
 License:        GPL-2.0+
 Group:          Productivity/Networking/System
-
-Source:         
http://downloads.sourceforge.net/project/netatalk/netatalk/%{version}/netatalk-%{version}.tar.bz2
+Source:         
http://downloads.sourceforge.net/project/netatalk/netatalk/3.1/netatalk-%{version}.tar.bz2
 Source1:        netatalk-latinize.pl
 Source3:        netatalk-upgrade_netatalk_AppleDB.sh
 Source4:        netatalk-rpmlintrc
+# see bnc#849598 and http://sourceforge.net/p/netatalk/bugs/538/
+Patch0:         %{name}-wrong-error-message.patch
+Patch1:         %{name}-return-code.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
+%if %{with_afpstats} == 1
+BuildRequires:  dbus-1-devel
+BuildRequires:  dbus-1-glib-devel
+%endif
 BuildRequires:  fdupes
 BuildRequires:  krb5-devel
 BuildRequires:  libacl-devel
@@ -98,6 +106,8 @@
 
 %prep
 %setup -q -n netatalk-%{version}
+%patch0
+%patch1
 cp -avL %{SOURCE1} .
 
 %build
@@ -117,10 +127,15 @@
        --with-libevent=no \
        --libexecdir=%{_libdir}/netatalk \
         --localstatedir=/var/lib \
+        --with-pkgconfdir=/etc/netatalk \
+%if %{with_afpstats} == 1
+        --with-afpstats \
+%endif
         --with-init-style=suse-systemd
 make %{?_smp_mflags}
 mkdir examples
 cp netatalk-latinize.pl examples
+sed -i '/\/var\/lock\/subsys/d' distrib/initscripts/rc.suse
 
 %install
 make install DESTDIR="%buildroot"
@@ -186,8 +201,13 @@
 %{_mandir}/man?/*
 %doc AUTHORS CONTRIBUTORS COPYING COPYRIGHT NEWS VERSION examples
 #
-%config(noreplace) %{_sysconfdir}/afp.conf
-%config(noreplace) %{_sysconfdir}/extmap.conf
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/afp.conf
+%config(noreplace) %{_sysconfdir}/%{name}/extmap.conf
+%config(noreplace) %{_sysconfdir}/%{name}/dbus-session.conf
+%if %{with_afpstats} == 1
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/netatalk-dbus.conf
+%endif
 %dir %{_sysconfdir}/pam.d
 %config %{_sysconfdir}/pam.d/*
 #

++++++ netatalk-3.0.5.tar.bz2 -> netatalk-3.1.0.tar.bz2 ++++++
++++ 30908 lines of diff (skipped)

++++++ netatalk-return-code.patch ++++++
Index: etc/afpd/spotlight.c
===================================================================
--- etc/afpd/spotlight.c.orig   2013-10-28 16:46:51.000000000 +0100
+++ etc/afpd/spotlight.c        2013-11-18 14:06:39.555056639 +0100
@@ -104,6 +104,7 @@
         }
     }
     LOG(log_debug, logtype_sl, "%s}", neststrings[nestinglevel]);
+    return 0;
 }
 
 #ifndef SPOT_TEST_MAIN
++++++ netatalk-wrong-error-message.patch ++++++
Index: bin/ad/ad_util.c
===================================================================
--- bin/ad/ad_util.c.orig       2013-10-28 16:46:51.000000000 +0100
+++ bin/ad/ad_util.c    2013-11-18 13:05:06.718947414 +0100
@@ -271,14 +271,16 @@
     cnid = htonl(2);
 
     EC_NULL(rpath = rel_path_in_vol(path, vol->vol->v_path));
-    EC_NULL(statpath = bfromcstr(vol->vol->v_path));
 
     l = bsplit(rpath, '/');
     if (l->qty == 1)
         /* only one path element, means parent dir cnid is volume root = 2 */
         goto EC_CLEANUP;
+
+    EC_NULL(statpath = bfromcstr(vol->vol->v_path));
     for (int i = 0; i < (l->qty - 1); i++) {
         *did = cnid;
+        EC_ZERO(bcatcstr(statpath, "/"));
         EC_ZERO(bconcat(statpath, l->entry[i]));
         EC_ZERO_LOGSTR(lstat(cfrombstr(statpath), &st),
                        "lstat(rpath: %s, elem: %s): %s: %s",
@@ -293,7 +295,6 @@
                              0)) == CNID_INVALID) {
             EC_FAIL;
         }
-        EC_ZERO(bcatcstr(statpath, "/"));
     }
 
 EC_CLEANUP:
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to