Hello community,

here is the log from the commit of package netatalk for openSUSE:Factory 
checked in at 2013-04-03 13:04:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netatalk (Old)
 and      /work/SRC/openSUSE:Factory/.netatalk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netatalk", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/netatalk/netatalk.changes        2013-03-05 
14:01:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.netatalk.new/netatalk.changes   2013-04-03 
13:04:46.000000000 +0200
@@ -1,0 +2,16 @@
+Tue Apr  2 18:00:18 UTC 2013 - [email protected]
+
+- update to 3.0.3:
+  * New ini style configuration file afp.conf which replaces all 
+    previous configuration files
+  * New default AppleDouble backend using filesystem Extended 
+    Attributes, conversion from AppleDouble v2 is done automatically 
+    on access
+  * New service controller process "netatalk" responsible for 
+    starting and restarting afpd and cnid_metad as necessary
+  * AppleTalk support has been removed
+  * Coherent cross-platform locking with Solaris CIFS server
+- see http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html for
+  upgrading instructions
+
+-------------------------------------------------------------------

Old:
----
  netatalk-2.2.4.tar.bz2
  netatalk-autogen.sh
  netatalk-automake-1.13.patch
  netatalk-suse-servicedir-update.diff
  netatalk.papd.ppdfile.patch

New:
----
  netatalk-3.0.3.tar.bz2

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

Other differences:
------------------
++++++ netatalk.spec ++++++
--- /var/tmp/diff_new_pack.WoERwj/_old  2013-04-03 13:04:48.000000000 +0200
+++ /var/tmp/diff_new_pack.WoERwj/_new  2013-04-03 13:04:48.000000000 +0200
@@ -24,6 +24,7 @@
 BuildRequires:  krb5-devel
 BuildRequires:  libacl-devel
 BuildRequires:  libavahi-devel
+BuildRequires:  libevent-devel
 BuildRequires:  libgcrypt-devel
 BuildRequires:  libtool
 BuildRequires:  openldap2-devel
@@ -37,51 +38,29 @@
 BuildRequires:  systemd
 %endif
 Url:            http://netatalk.sourceforge.net/
-#
-# --enable-fhs puts config files in /etc/netatalk
-#
-%define        netatalk_pkgconfdir     /etc/netatalk
-#
 PreReq:         %insserv_prereq %fillup_prereq
 Requires:       cyrus-sasl
 Requires:       db-utils
-Requires:       libldap-2_4-2
 %if 0%{?suse_version} > 1140
 ##Requires:       %{?systemd_requires}
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Version:        2.2.4
+Version:        3.0.3
 Release:        0
+%define libmaj  4
 Summary:        AppleTalk for Linux
 License:        GPL-2.0+
 Group:          Productivity/Networking/System
-# http://belnet.dl.sourceforge.net/sourceforge/netatalk/netatalk-1.6.2.tar.bz2
 Source:         
ftp://ftp.sourceforge.net/pub/sourceforge/n/ne/netatalk/netatalk-%{version}.tar.bz2
 Source1:        netatalk-latinize.pl
 Source2:        rcnetatalk.sh
-Source3:        netatalk-autogen.sh
+Source3:        netatalk-upgrade_netatalk_AppleDB.sh
 Source4:        netatalk-rpmlintrc
-Source6:        netatalk-upgrade_netatalk_AppleDB.sh
-Patch1:         netatalk.papd.ppdfile.patch
-Patch2:         netatalk-suse-servicedir-update.diff
-# not sent upstream, check first if new version 3.0.x suffer with this problem 
as well
-Patch3:         netatalk-automake-1.13.patch
-
-%if %suse_version > 1220
-%define         _unitdir /usr/lib/systemd
-%else
-%define         _unitdir /lib/systemd
-%endif
 
 %description
-Netatalk is a freely-available Open Source AFP fileserver. It also
-provides a kernel level implementation of the AppleTalk Protocol
-Suite. A *NIX/*BSD system running Netatalk is capable of serving many
-Macintosh clients simultaneously as an AppleShare file server (AFP),
-AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk
-printers via Printer Access Protocol (PAP). Included are a number of
-minor printing and debugging utilities.
-
+Netatalk is a freely-available Open Source AFP fileserver. A *NIX/*BSD 
+system running Netatalk is capable of serving many Macintosh clients 
+simultaneously as an AppleShare file server (AFP).
 
 Authors:
 --------
@@ -89,6 +68,21 @@
     Ann Arbor <[email protected]>
     and the netatalk team at sourceforge.net
 
+%package -n libatalk%{libmaj}
+Summary:        Appletalk for Linux
+Group:          Development/Libraries/C and C++
+
+%description -n libatalk%{libmaj}
+Netatalk is a freely-available Open Source AFP fileserver. A *NIX/*BSD 
+system running Netatalk is capable of serving many Macintosh clients 
+simultaneously as an AppleShare file server (AFP).
+
+Authors:
+--------
+    Wesley Craig <[email protected]>
+    Ann Arbor <[email protected]>
+    and the netatalk team at sourceforge.net
+
 %package devel
 Summary:        Appletalk for Linux
 Group:          Development/Libraries/C and C++
@@ -96,14 +90,9 @@
 Requires:       glibc-devel
 
 %description devel
-Netatalk is a freely-available Open Source AFP fileserver. It also
-provides a kernel level implementation of the AppleTalk Protocol
-Suite. A *NIX/*BSD system running Netatalk is capable of serving many
-Macintosh clients simultaneously as an AppleShare file server (AFP),
-AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk
-printers via Printer Access Protocol (PAP). Included are a number of
-minor printing and debugging utilities.
-
+Netatalk is a freely-available Open Source AFP fileserver. A *NIX/*BSD 
+system running Netatalk is capable of serving many Macintosh clients 
+simultaneously as an AppleShare file server (AFP).
 
 Authors:
 --------
@@ -113,43 +102,14 @@
 
 %prep
 %setup -q -n netatalk-%{version}
-%patch1 -p1
-%if 0%{?suse_version} > 1220
-%patch2 -p1
-%endif
-%patch3 -p1
 cp -avL %{SOURCE1} .
-cat >> config/AppleVolumes.default.tmpl <<EOF
-#
-# the user home directory
-# use the ISO-8859-15 for old installs, netatalk1 had ISO-8859-15 as the 
default
-#~     options:mswindows volcharset:ISO-8859-15
-# UTF-8 should be the default for everything new
-#~     options:mswindows volcharset:UTF8
-#
-# example:
-# /local/share "project server"        options:mswindows volcharset:UTF8
-#
-EOF
-sed -i 's/^ATALK_BGROUND=.*/ATALK_BGROUND=yes/' config/netatalk.conf
-echo 'AFPD_OPTIONS=-t' >> config/netatalk.conf
-cat  >> config/papd.conf <<EOF
-# SuSE example configuration for PostScript level 1
-# it requires a configured lpr or cups daemon
-#
-#"Netatalk Network Printer":pr=|/usr/bin/lpr -Plp:\\
-#                      :pd=/usr/share/a2ps/ppd/level1.ppd:\\
-#                      :op=root:
-EOF
-mkdir example-configs
-# afpd.conf will be copied later
-cp -av 
config/{AppleVolumes.default.tmpl,AppleVolumes.system,atalkd.conf,netatalk.conf,papd.conf}
 example-configs/
 
 %build
-sh %{SOURCE3}
 LDFLAGS="-lpthread" \
 CFLAGS="$RPM_OPT_FLAGS -Wall -g -pie -fpie" \
-%configure --disable-static --with-pic\
+%configure --bindir=/usr/bin \
+       --disable-static \
+       --with-pic \
        --without-logfile \
        --with-shadow \
        --with-pam \
@@ -160,46 +120,45 @@
         --enable-krbV-uam \
        --enable-timelord \
         --enable-ddp \
-       --enable-suse-systemd \
-       --enable-fhs \
        --enable-overwrite \
        --enable-quota \
        --with-spooldir=/var/spool/cups/tmp \
-       \
-       --libexecdir=%{_libdir}/netatalk
+       --with-libevent=no \
+       --libexecdir=%{_libdir}/netatalk \
+        --localstatedir=/var/lib \
+        --with-init-style=suse-systemd
 make %{?jobs:-j%jobs}
+mkdir examples
+cp netatalk-latinize.pl examples
 
 %install
 %makeinstall
-rm -fv $RPM_BUILD_ROOT%{_bindir}/acleandir.rc
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d/
-install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/netatalk
-ln -sf ../../etc/init.d/netatalk $RPM_BUILD_ROOT%{_sbindir}/rcnetatalk
-cp -avL %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/upgrade_netatalk_AppleDB.sh
+mkdir -p %{buildroot}%{_sysconfdir}/init.d/
+install -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/init.d/netatalk
+ln -sf ../../etc/init.d/netatalk %{buildroot}%{_sbindir}/rcnetatalk
+install -m 755 %{SOURCE3} %{buildroot}%{_sbindir}/upgrade_netatalk_AppleDB.sh
 #
 # Conflicts with yudit
-rm -f $RPM_BUILD_ROOT%{_bindir}/uniconv
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/uniconv.1*
-#
-cp -av config/afpd.conf example-configs/
-ls -1 $RPM_BUILD_ROOT%{_sbindir}/* |
-grep -v /usr/sbin/papd$ |
-sed "s#^$RPM_BUILD_ROOT#%attr(755,root,root) #" > files.netatalk
-#
-mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples
-cp -r AUTHORS CONTRIBUTORS COPYING COPYRIGHT doc/DEVELOPER doc/README.* NEWS 
services.atalk VERSION $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
-install -m755 netatalk-latinize.pl 
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples/
+rm %{buildroot}%{_bindir}/uniconv
+rm %{buildroot}%{_mandir}/man1/uniconv.1*
 #
 find %{buildroot} -type f -name "*.la" | xargs rm -vf
-%fdupes -s $RPM_BUILD_ROOT%{_mandir}
+#rm %{buildroot}/%{_libdir}/libatalk.a
+%fdupes -s %{buildroot}%{_mandir}
 
 %pre
 test -f etc/atalk/afpd.conf && {
 echo 
-echo "netatalk config files have been moved to /etc/netatalk"
+echo "netatalk config files have been moved to /etc/afp.conf"
 echo "a backup can be found in /etc/atalk"
 echo "please compare them before restarting the netatalk server"
 }
+test -f etc/netatalk/afpd.conf && {
+echo 
+echo "netatalk config files have been moved to /etc/afp.conf"
+echo "a backup can be found in /etc/netatalk"
+echo "please compare them before restarting the netatalk server"
+}
 %if 0%{?suse_version} > 1140
 %service_add_pre netatalk.service
 %endif
@@ -224,34 +183,40 @@
 %service_del_postun netatalk.service
 %endif
 
-%files -f files.netatalk
+%post -n libatalk%{libmaj} -p /sbin/ldconfig
+
+%postun -n libatalk%{libmaj} -p /sbin/ldconfig
+
+%files 
 %defattr (-,root,root)
-%doc %{_defaultdocdir}/%{name}
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
 %dir %{_libdir}/netatalk
 %{_libdir}/netatalk/*
 %{_mandir}/man?/*
+%doc AUTHORS CONTRIBUTORS COPYING COPYRIGHT NEWS VERSION examples
 #
-%dir %{netatalk_pkgconfdir}
+%config(noreplace) %{_sysconfdir}/afp.conf
+%config(noreplace) %{_sysconfdir}/extmap.conf
 %dir %{_sysconfdir}/pam.d
-%config (noreplace) %{netatalk_pkgconfdir}/AppleVolumes.*
-%config (noreplace) %{netatalk_pkgconfdir}/*.conf
 %config %{_sysconfdir}/pam.d/*
 #
 %attr(755,root,root) %{_sysconfdir}/init.d/netatalk
-%{_unitdir}/system/netatalk.service
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,lp) %{_sbindir}/papd
+/lib/systemd/system/netatalk.service
+/var/lib/%{name}
+
+%files -n libatalk%{libmaj}
+%defattr (-,root,root)
+%{_libdir}/libatalk.so.*
+%doc COPYING COPYRIGHT
 
 %files devel
 %defattr (-,root,root)
-%{_libdir}/lib*
 %dir %{_datadir}/aclocal
 %dir %{_includedir}/atalk
-%dir %{_includedir}/netatalk
-%dir %{_datadir}/netatalk
+%{_libdir}/libatalk.so
 %{_datadir}/aclocal/*
 %{_includedir}/atalk/*
-%{_includedir}/netatalk/*
-%{_datadir}/netatalk/*
+%doc doc/DEVELOPER
 
 %changelog

++++++ netatalk-2.2.4.tar.bz2 -> netatalk-3.0.3.tar.bz2 ++++++
++++ 264927 lines of diff (skipped)

++++++ rcnetatalk.sh ++++++
--- /var/tmp/diff_new_pack.WoERwj/_old  2013-04-03 13:04:49.000000000 +0200
+++ /var/tmp/diff_new_pack.WoERwj/_new  2013-04-03 13:04:49.000000000 +0200
@@ -13,7 +13,8 @@
 # Should-Stop:   $remote_fs $network $syslog
 # Default-Start:  3 5
 # Default-Stop:
-# Description:    Appletalk TCP/IP daemons
+# Short-Description: Appletalk TCP/IP daemons
+# Description:    Netatalk is a freely-available Open Source AFP fileserver.
 ### END INIT INFO
 
 . /etc/rc.status

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to