Hello community,
here is the log from the commit of package autofs for openSUSE:Factory checked in at 2012-10-07 18:53:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autofs (Old)
and /work/SRC/openSUSE:Factory/.autofs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autofs", Maintainer is "MSzeredi@novell.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2012-08-31 09:13:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.autofs.new/autofs.changes 2012-10-07 18:53:53.000000000 +0200
@@ -1,0 +2,19 @@
+Thu Sep 20 12:48:28 UTC 2012 - werner@suse.de
+
+- Make it possible to use tmpfs nbased parents for autofs mount points
+
+-------------------------------------------------------------------
+Mon Sep 17 15:33:20 UTC 2012 - lchiquitto@suse.com
+
+- autofs-5.0.7-upstream-patches-20120911.bz2: update 5.0.7 upstream
+ patches to 20120911, fixing some bugs:
+ * fix nobind sun escaped map entries
+ * fix use cache entry after free in lookup_prune_one_cache()
+ * fix ipv6 proximity calculation
+ * fix parse buffer initialization
+ * fix typo in automount(8)
+- remove patches that are now upstream:
+ * autofs-5.0.7-fix-parse-buffer-initialization.patch
+ * autofs-5.0.7-fix-use-devid-after-free.patch
+
+-------------------------------------------------------------------
@@ -12,0 +32,26 @@
+
+-------------------------------------------------------------------
+Thu Aug 23 08:45:49 UTC 2012 - werner@suse.de
+
+- Udisk: Check for unknown key word `eavesdrop' for dbus matching
+ rules and if not supported retry without
+- Udisk: Do not crash if map file is not found
+
+-------------------------------------------------------------------
+Fri Aug 17 12:28:53 UTC 2012 - werner@suse.de
+
+- First initial udisks support, that is listen over dbus the udisks
+ daemon and the events for USB and optical devices. Also ask at
+ startup the udisks daemon for all devices and its properties as
+ well as manage the removals and plugins of devices.
+ TODO:
+ + With parsing the map configuration file apply the rules
+ to the map entry, like special options for file systems types
+ and/or devices. Also make keys unique, that is compare with
+ existing keys and add an counter or similar.
+ + Also with parsing the map configuration file apply the rules
+ to the key of map entry, like using more than one dict entry
+ for the key.
+ + Security management: who is allowed to access the devices?
+ + How to trigger sync and unmount before any timeout?
+ + What is about UTF-8 and Latin to UTF-8?
Old:
----
autofs-5.0.6-revert-fix-libtirpc-name-clash.patch
autofs-5.0.7-fix-parse-buffer-initialization.patch
autofs-5.0.7-fix-use-devid-after-free.patch
New:
----
autofs-5.0.6-dbus-udisks-monitor.patch
autofs-5.0.7-eaccess.patch
autofs-5.0.7-revert-fix-libtirpc-name-clash.patch
autofs-5.0.7-upstream-patches-20120911.bz2
autofs-rpmlintrc
org.freedesktop.AutoMount.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autofs.spec ++++++
--- /var/tmp/diff_new_pack.L5aRBY/_old 2012-10-07 18:53:55.000000000 +0200
+++ /var/tmp/diff_new_pack.L5aRBY/_new 2012-10-07 18:53:55.000000000 +0200
@@ -26,6 +26,7 @@
Url: http://www.kernel.org/pub/linux/daemons/autofs/v5/
BuildRequires: autoconf
BuildRequires: bison
+BuildRequires: dbus-1-devel
BuildRequires: e2fsprogs
BuildRequires: flex
BuildRequires: krb5-devel
@@ -34,6 +35,8 @@
BuildRequires: module-init-tools
BuildRequires: nfs-client
BuildRequires: openldap2-devel
+BuildRequires: pkg-config
+BuildRequires: udisks-devel
%if %{with_systemd}
BuildRequires: systemd
%endif
@@ -52,15 +55,13 @@
Source6: autofs.service
Source7: NetworkManager-autofs
Source8: get-upstream-patches
+Source42: org.freedesktop.AutoMount.conf
+Source100: autofs-rpmlintrc
# Upstream patches that will be in the next release
-#%define patchdate 20120716
-#Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2
-# PATCH-FIX-OPENSUSE autofs-5.0.6-revert-fix-libtirpc-name-clash.patch
-Patch1: autofs-5.0.6-revert-fix-libtirpc-name-clash.patch
-# PATCH-FIX-UPSTREAM autofs-5.0.7-fix-parse-buffer-initialization.patch [bnc#777709]
-Patch2: autofs-5.0.7-fix-parse-buffer-initialization.patch
-# PATCH-FIX-UPSTREAM autofs-5.0.7-fix-use-devid-after-free.patch [bnc#774241]
-Patch3: autofs-5.0.7-fix-use-devid-after-free.patch
+%define patchdate 20120911
+Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2
+# PATCH-FIX-OPENSUSE autofs-5.0.7-revert-fix-libtirpc-name-clash.patch
+Patch1: autofs-5.0.7-revert-fix-libtirpc-name-clash.patch
# PATCH-FIX-UPSTREAM autofs-5.0.6-invalid-ghost-dirs.patch [bnc#658734]
Patch80: autofs-5.0.6-invalid-ghost-dirs.patch
# PATCH-FIX-UPSTREAM autofs-5.0.6-task-use-after-free.patch [bnc#727392]
@@ -69,6 +70,9 @@
Patch100: autofs-suse-auto_master_default.patch
# PATCH-FIX-OPENSUSE autofs-suse-build.patch
Patch101: autofs-suse-build.patch
+# PATCH-EXTEND-OPENSUSE autofs-5.0.6-dbus-udisks-monitor.patch
+Patch42: autofs-5.0.6-dbus-udisks-monitor.patch
+Patch43: autofs-5.0.7-eaccess.patch
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
Requires(pre): aaa_base
@@ -89,14 +93,14 @@
cp %{SOURCE4} .
cp %{SOURCE5} .
#
-#%patch0 -p1
+%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%patch80 -p1
%patch82 -p1
%patch100 -p1
%patch101 -p1
+%patch42 -p0 -b .udisks
+%patch43 -p0 -b .eaccess
%build
SUSE_ASNEEDED=0
@@ -126,6 +130,8 @@
%if %{with_systemd}
install -D -m 644 %{SOURCE6} %{buildroot}%{_unitdir}/autofs.service
%endif
+##install -D -m 644 %{SOURCE42} %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.freedesktop.AutoMount.conf
+install -D -m 644 %{SOURCE42} %{buildroot}%{_localstatedir}/adm/fillup-templates/org.freedesktop.AutoMount.conf
# will be installed by fillup scripts
rm -f %{buildroot}%{_sysconfdir}/sysconfig/autofs
@@ -142,6 +148,10 @@
%if %{with_systemd}
%service_add_post %{name}.service
%endif
+##
+mkdir -p %{_sysconfdir}/dbus-1/system.d
+cp %{_localstatedir}/adm/fillup-templates/org.freedesktop.AutoMount.conf \
+%{_sysconfdir}/dbus-1/system.d/
%preun
%{stop_on_removal autofs}
@@ -165,6 +175,8 @@
%config(noreplace) %{_sysconfdir}/auto.smb
%config(noreplace) %{_sysconfdir}/autofs_ldap_auth.conf
%config %{_sysconfdir}/init.d/autofs
+##%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.AutoMount.conf
+%{_localstatedir}/adm/fillup-templates/org.freedesktop.AutoMount.conf
%dir %{_sysconfdir}/auto.master.d
%dir %{_sysconfdir}/NetworkManager
%dir %{_sysconfdir}/NetworkManager/dispatcher.d
++++++ autofs-5.0.6-dbus-udisks-monitor.patch ++++++
++++ 3115 lines (skipped)
++++++ autofs-5.0.7-eaccess.patch ++++++
--- daemon/automount.c
+++ daemon/automount.c 2012-09-20 12:27:42.479507026 +0000
@@ -107,9 +107,9 @@ static int do_mkdir(const char *parent,
/* If path exists we're done */
status = stat(path, &st);
if (status == 0) {
+ errno = EEXIST;
if (!S_ISDIR(st.st_mode))
errno = ENOTDIR;
- errno = EEXIST;
return 0;
}
++++++ autofs-5.0.6-revert-fix-libtirpc-name-clash.patch -> autofs-5.0.7-revert-fix-libtirpc-name-clash.patch ++++++
--- /work/SRC/openSUSE:Factory/autofs/autofs-5.0.6-revert-fix-libtirpc-name-clash.patch 2012-07-09 07:54:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.autofs.new/autofs-5.0.7-revert-fix-libtirpc-name-clash.patch 2012-10-07 18:53:53.000000000 +0200
@@ -14,10 +14,10 @@
2 files changed, 11 insertions(+), 0 deletions(-)
-Index: autofs-5.0.6/lib/rpc_subs.c
+Index: autofs-5.0.7/lib/rpc_subs.c
===================================================================
---- autofs-5.0.6.orig/lib/rpc_subs.c
-+++ autofs-5.0.6/lib/rpc_subs.c
+--- autofs-5.0.7.orig/lib/rpc_subs.c
++++ autofs-5.0.7/lib/rpc_subs.c
@@ -34,16 +34,6 @@
#include