commit udev for openSUSE:Factory

2012-09-23 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-09-23 17:31:02

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-08-13 
19:54:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-09-23 
17:31:04.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 18 09:26:59 UTC 2012 - rmila...@suse.com
+
+- create /dev/root symlink with dynamic rule for systemd (bnc#776882).
+
+---

New:

  udev-root-symlink.systemd
  write_dev_root_rule



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.aAAAfs/_old  2012-09-23 17:31:07.0 +0200
+++ /var/tmp/diff_new_pack.aAAAfs/_new  2012-09-23 17:31:07.0 +0200
@@ -50,6 +50,8 @@
 Source1:udev-rpmlintrc
 Source2:baselibs.conf
 Source60:   boot.udev
+Source61:   write_dev_root_rule
+Source62:   udev-root-symlink.systemd
 # PATCH-FIX-OPENSUSE move-udevd-and-udevadm-back-to-sbin.patch
 Patch0: move-udevd-and-udevadm-back-to-sbin.patch
 # PATCH-FIX-OPENSUSE 0001-Reinstate-TIMEOUT-handling.patch
@@ -240,6 +242,10 @@
 
 cp -ax README NEWS $RPM_BUILD_ROOT%{_docdir}/udev
 install -m755 -D %{S:60} $RPM_BUILD_ROOT/etc/init.d/boot.udev
+install -m755 -D %{S:61} $RPM_BUILD_ROOT/lib/udev/write_dev_root_rule
+install -m644 -D %{S:62} 
$RPM_BUILD_ROOT/lib/systemd/system/udev-root-symlink.service
+mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants
+ln -sf ../udev-root-symlink.service 
$RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants
 
 %pre
 /usr/bin/getent group tape  /dev/null 21 || /usr/sbin/groupadd -r tape 2 
/dev/null

++ boot.udev ++
--- /var/tmp/diff_new_pack.aAAAfs/_old  2012-09-23 17:31:07.0 +0200
+++ /var/tmp/diff_new_pack.aAAAfs/_new  2012-09-23 17:31:07.0 +0200
@@ -17,24 +17,12 @@
 PATH=/sbin:/bin
 udev_timeout=180
 
-root_symlink_rule() {
-   eval $(/sbin/udevadm info --export --export-prefix=ROOT_ 
--device-id-of-file=/)
-   [ $ROOT_MAJOR -gt 0 ] || return
-   
-   [ -d /run/udev/rules.d ] || mkdir -m 0755 -p /run/udev/rules.d
-   ln -sf /run/udev/rules.d /dev/.udev 2/dev/null || :
-
-   echo \
-ACTION==\add|change\, SUBSYSTEM==\block\, \
-ENV{MAJOR}==\$ROOT_MAJOR\, ENV{MINOR}==\$ROOT_MINOR\, \
-SYMLINK+=\root\  /run/udev/rules.d/10-root-symlink.rules
-}
-
-
 case $1 in
start)
# create /dev/root symlink with dynamic rule
-   root_symlink_rule
+   if [ -x /lib/udev/write_dev_root_rule ]; then
+   /lib/udev/write_dev_root_rule
+   fi
 
# start udevd
echo -n Starting udevd: 

++ udev-root-symlink.systemd ++
[Unit]
Description=create /dev/root symlink with dynamic rule
Before=udev.service
DefaultDependencies=no

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/lib/udev/write_dev_root_rule
++ write_dev_root_rule ++
#!/bin/sh

eval $(/sbin/udevadm info --export --export-prefix=ROOT_ --device-id-of-file=/)

[ $ROOT_MAJOR -gt 0 ] || return
mkdir -m 0755 -p /run/udev/rules.d /dev/null 21
ln -sf /run/udev /dev/.udev 2/dev/null || :

echo ACTION==\add|change\, SUBSYSTEM==\block\, \
ENV{MAJOR}==\$ROOT_MAJOR\, ENV{MINOR}==\$ROOT_MINOR\, \
SYMLINK+=\root\  /run/udev/rules.d/10-root-symlink.rules

exit 0
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-08-13 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-08-13 19:54:33

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-08-09 
10:06:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-08-13 
19:54:44.0 +0200
@@ -1,0 +2,11 @@
+Thu Aug  9 09:52:28 UTC 2012 - rmila...@suse.com
+
+- Fully drop 0024-libudev-queue.c-simplified-open_queue_file.patch
+  needs way too much work to worth keeping it. 
+
+---
+Thu Aug  9 08:26:35 UTC 2012 - rmila...@suse.com
+
+- Re-work patch: 0024-libudev-queue.c-simplified-open_queue_file.patch 
+
+---

Old:

  0024-libudev-queue.c-simplified-open_queue_file.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.8tBdv3/_old  2012-08-13 19:54:54.0 +0200
+++ /var/tmp/diff_new_pack.8tBdv3/_new  2012-08-13 19:54:54.0 +0200
@@ -98,8 +98,9 @@
 Patch22:0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch
 # PATCH-FIX-OPENSUSE 0023-udev-fix-rules-timestamp-race.patch
 Patch23:0023-udev-fix-rules-timestamp-race.patch
-# PATCH-FIX-UPSTREAM 0024-libudev-queue.c-simplified-open_queue_file.patch
-Patch24:0024-libudev-queue.c-simplified-open_queue_file.patch
+# PATCH-FIX-UPSTREAM 0024-libudev-queue.c-simplified-open_queue_file.patch 
(drop this, needs way more work)
+# Patch24:0024-libudev-queue.c-simplified-open_queue_file.patch
+
 # PATCH-FIX-UPSTREAM 
0025-keyboard-force-release-Apply-to-all-Fujitso-AMILO-mo.patch
 Patch25:0025-keyboard-force-release-Apply-to-all-Fujitso-AMILO-mo.patch
 # PATCH-FIX-OPENSUSE 0026-udev-netlink-null-rules.patch
@@ -200,7 +201,7 @@
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
-%patch24 -p1
+# %patch24 -p1
 %patch25 -p1
 %patch26 -p1
 %patch27 -p1

++ 0026-udev-netlink-null-rules.patch ++
--- /var/tmp/diff_new_pack.8tBdv3/_old  2012-08-13 19:54:54.0 +0200
+++ /var/tmp/diff_new_pack.8tBdv3/_new  2012-08-13 19:54:54.0 +0200
@@ -1,5 +1,7 @@
 udev-182.orig/src/udevd.c.orig 2012-08-03 17:27:23.0 +
-+++ udev-182/src/udevd.c   2012-08-03 17:29:05.0 +
+Index: udev-182/src/udevd.c
+===
+--- udev-182.orig/src/udevd.c
 udev-182/src/udevd.c
 @@ -1683,6 +1683,8 @@ int main(int argc, char *argv[])
  dev = udev_monitor_receive_device(monitor);
  if (dev != NULL) {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-08-09 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-08-09 10:06:20

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-08-08 
11:43:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-08-09 
10:06:22.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug  8 17:36:11 UTC 2012 - rmila...@suse.com
+
+- Upstream: re-initialize builtins in the daemon process,
+  not in the worker.
+add: 0028-udev-re-initialize-builtins-in-the-daemon-process-no.patch
+
+---

New:

  0028-udev-re-initialize-builtins-in-the-daemon-process-no.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.DTnwke/_old  2012-08-09 10:06:26.0 +0200
+++ /var/tmp/diff_new_pack.DTnwke/_new  2012-08-09 10:06:26.0 +0200
@@ -106,6 +106,8 @@
 Patch26:0026-udev-netlink-null-rules.patch
 # PATCH-FIX-OPENSUSE 0027-udev-fix-sg-autoload-regression.patch
 Patch27:0027-udev-fix-sg-autoload-regression.patch
+# PATCH-FIX-UPSTREAM 
0028-udev-re-initialize-builtins-in-the-daemon-process-no.patch
+Patch28:0028-udev-re-initialize-builtins-in-the-daemon-process-no.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -202,6 +204,7 @@
 %patch25 -p1
 %patch26 -p1
 %patch27 -p1
+%patch28 -p1
 
 %build
 autoreconf -vfi

++ 0028-udev-re-initialize-builtins-in-the-daemon-process-no.patch ++
From 7781e063e8e9d3e92e4e158e1588b885808cda24 Mon Sep 17 00:00:00 2001
From: Kay Sievers k...@vrfy.org
Date: Wed, 8 Aug 2012 16:27:11 +0200
Subject: [PATCH] udev: re-initialize builtins in the daemon process, not in
 the worker

Index: udev-182/src/udev-builtin-kmod.c
===
--- udev-182.orig/src/udev-builtin-kmod.c
+++ udev-182/src/udev-builtin-kmod.c
@@ -23,6 +23,7 @@
 #include stdarg.h
 #include unistd.h
 #include string.h
+#include assert.h
 #include errno.h
 #include fcntl.h
 #include sys/stat.h
@@ -39,6 +40,8 @@ static int load_module(struct udev *udev
 struct kmod_list *l;
 int err;
 
+assert(ctx);
+
 err = kmod_module_new_from_lookup(ctx, alias, list);
 if (err  0)
 return err;
@@ -76,16 +79,6 @@ static int builtin_kmod(struct udev_devi
 struct udev *udev = udev_device_get_udev(dev);
 int i;
 
-if (!ctx) {
-ctx = kmod_new(NULL, NULL);
-if (!ctx)
-return -ENOMEM;
-
-info(udev, load module index\n);
-kmod_set_log_fn(ctx, udev_kmod_log, udev);
-kmod_load_resources(ctx);
-}
-
 if (argc  3 || strcmp(argv[1], load)) {
 err(udev, expect: %s load module\n, argv[0]);
 return EXIT_FAILURE;
@@ -99,7 +92,7 @@ static int builtin_kmod(struct udev_devi
 return EXIT_SUCCESS;
 }
 
-/* called at udev startup */
+/* called at udev startup and reload */
 static int builtin_kmod_init(struct udev *udev)
 {
 if (ctx)
@@ -126,9 +119,9 @@ static void builtin_kmod_exit(struct ude
 static bool builtin_kmod_validate(struct udev *udev)
 {
 info(udev, validate module index\n);
-if (kmod_validate_resources(ctx) != KMOD_RESOURCES_OK)
-return true;
-return false;
+if (!ctx)
+return false;
+return (kmod_validate_resources(ctx) != KMOD_RESOURCES_OK);
 }
 
 const struct udev_builtin udev_builtin_kmod = {
Index: udev-182/src/udev-builtin.c
===
--- udev-182.orig/src/udev-builtin.c
+++ udev-182/src/udev-builtin.c
@@ -25,6 +25,8 @@
 
 #include udev.h
 
+static bool initialized;
+
 static const struct udev_builtin *builtins[] = {
 [UDEV_BUILTIN_BLKID] = udev_builtin_blkid,
 [UDEV_BUILTIN_FIRMWARE] = udev_builtin_firmware,
@@ -39,7 +41,10 @@ static const struct udev_builtin *builti
 int udev_builtin_init(struct udev *udev)
 {
 unsigned int i;
-int err;
+int err = 0;
+
+if (initialized)
+return 0;
 
 for (i = 0; i  ARRAY_SIZE(builtins); i++) {
 if (builtins[i]-init) {
@@ -48,6 +53,8 @@ int udev_builtin_init(struct udev *udev)
 break;
 }
 }
+
+initialized = true;
 return err;
 }
 
@@ -55,9 +62,14 @@ void udev_builtin_exit(struct udev *udev
 {
 

commit udev for openSUSE:Factory

2012-08-08 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-08-08 11:43:16

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-08-07 
08:24:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-08-08 
11:43:20.0 +0200
@@ -1,0 +2,7 @@
+Tue Aug  7 08:34:49 UTC 2012 - rmila...@suse.com
+
+- Patch to fix regression in udev where sg driver is no longer loaded 
+  for disc events. Will need a non-udev solution for 12.3 (bnc#761109)
+add: 0027-udev-fix-sg-autoload-regression.patch 
+
+---

New:

  0027-udev-fix-sg-autoload-regression.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.KAV3CM/_old  2012-08-08 11:43:22.0 +0200
+++ /var/tmp/diff_new_pack.KAV3CM/_new  2012-08-08 11:43:22.0 +0200
@@ -104,6 +104,8 @@
 Patch25:0025-keyboard-force-release-Apply-to-all-Fujitso-AMILO-mo.patch
 # PATCH-FIX-OPENSUSE 0026-udev-netlink-null-rules.patch
 Patch26:0026-udev-netlink-null-rules.patch
+# PATCH-FIX-OPENSUSE 0027-udev-fix-sg-autoload-regression.patch
+Patch27:0027-udev-fix-sg-autoload-regression.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -199,6 +201,7 @@
 %patch24 -p1
 %patch25 -p1
 %patch26 -p1
+%patch27 -p1
 
 %build
 autoreconf -vfi

++ 0027-udev-fix-sg-autoload-regression.patch ++
Index: udev-182/rules/80-drivers.rules
===
--- udev-182.orig/rules/80-drivers.rules
+++ udev-182/rules/80-drivers.rules
@@ -7,6 +7,7 @@ SUBSYSTEM==tifm, ENV{TIFM_CARD_TYPE}==
 SUBSYSTEM==tifm, ENV{TIFM_CARD_TYPE}==MS, IMPORT{builtin}=kmod load 
tifm_ms
 SUBSYSTEM==memstick, IMPORT{builtin}=kmod load ms_block mspro_block
 SUBSYSTEM==i2o, IMPORT{builtin}=kmod load i2o_block
+SUBSYSTEM==scsi, ENV{DEVTYPE}==scsi_device, TEST!=[module/sg], 
IMPORT{builtin}=kmod load sg
 SUBSYSTEM==module, KERNEL==parport_pc, IMPORT{builtin}=kmod load ppdev
 
 LABEL=drivers_end
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-08-07 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-08-07 08:24:30

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-08-05 
08:03:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-08-07 
08:24:31.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug  6 13:35:34 UTC 2012 - rmila...@suse.com
+
+- udevd race for netlink events (bnc#774646)
+add: 0026-udev-netlink-null-rules.patch 
+
+---

New:

  0026-udev-netlink-null-rules.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.EC5KBB/_old  2012-08-07 08:24:33.0 +0200
+++ /var/tmp/diff_new_pack.EC5KBB/_new  2012-08-07 08:24:33.0 +0200
@@ -102,6 +102,8 @@
 Patch24:0024-libudev-queue.c-simplified-open_queue_file.patch
 # PATCH-FIX-UPSTREAM 
0025-keyboard-force-release-Apply-to-all-Fujitso-AMILO-mo.patch
 Patch25:0025-keyboard-force-release-Apply-to-all-Fujitso-AMILO-mo.patch
+# PATCH-FIX-OPENSUSE 0026-udev-netlink-null-rules.patch
+Patch26:0026-udev-netlink-null-rules.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -196,6 +198,7 @@
 %patch23 -p1
 %patch24 -p1
 %patch25 -p1
+%patch26 -p1
 
 %build
 autoreconf -vfi

++ 0026-udev-netlink-null-rules.patch ++
--- udev-182.orig/src/udevd.c.orig  2012-08-03 17:27:23.0 +
+++ udev-182/src/udevd.c2012-08-03 17:29:05.0 +
@@ -1683,6 +1683,8 @@ int main(int argc, char *argv[])
 dev = udev_monitor_receive_device(monitor);
 if (dev != NULL) {
 udev_device_set_usec_initialized(dev, 
now_usec());
+if (rules == NULL)
+rules = udev_rules_new(udev, 
resolve_names);
 if (event_queue_insert(dev)  0)
 udev_device_unref(dev);
 }
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-08-04 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-08-04 22:25:07

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-07-25 
16:21:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-08-05 
00:08:47.0 +0200
@@ -1,0 +2,14 @@
+Fri Aug  3 10:19:12 UTC 2012 - rmila...@suse.com
+
+- Simplify function open_queue_file.
+add: 0024-libudev-queue.c-simplified-open_queue_file.patch
+
+---
+Thu Aug  2 11:44:09 UTC 2012 - rmila...@suse.com
+
+- Rework 0013-re-enable-by_path-links-for-ata-devices.patch to handle
+  by-path links similar to the scsi devices.
+  Fix rules timestamp race (bnc#772075)
+add: 0023-udev-fix-rules-timestamp-race.patch
+
+---

New:

  0023-udev-fix-rules-timestamp-race.patch
  0024-libudev-queue.c-simplified-open_queue_file.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.5897El/_old  2012-08-05 00:09:33.0 +0200
+++ /var/tmp/diff_new_pack.5897El/_new  2012-08-05 00:09:33.0 +0200
@@ -96,6 +96,10 @@
 Patch21:0021-keymap-Add-Dell-Latitude-force-release-quirk.patch
 # PATCH-FIX-UPSTREAM 
0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch
 Patch22:0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch
+# PATCH-FIX-OPENSUSE 0023-udev-fix-rules-timestamp-race.patch
+Patch23:0023-udev-fix-rules-timestamp-race.patch
+# PATCH-FIX-UPSTREAM 0024-libudev-queue.c-simplified-open_queue_file.patch
+Patch24:0024-libudev-queue.c-simplified-open_queue_file.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -187,6 +191,8 @@
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
+%patch24 -p1
 
 %build
 autoreconf -vfi

++ 0013-re-enable-by_path-links-for-ata-devices.patch ++
--- /var/tmp/diff_new_pack.5897El/_old  2012-08-05 00:09:33.0 +0200
+++ /var/tmp/diff_new_pack.5897El/_new  2012-08-05 00:09:33.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- udev-182.orig/src/udev-builtin-path_id.c
 +++ udev-182/src/udev-builtin-path_id.c
-@@ -286,6 +286,26 @@ out:
+@@ -286,6 +286,85 @@ out:
  return hostdev;
  }
  
@@ -11,40 +11,95 @@
 +struct udev_device *hostdev;
 +int host, bus, target, lun;
 +const char *name;
++char *base;
++char *pos;
++DIR *dir;
++struct dirent *dent;
++int basenum, len;
 +
 +hostdev = udev_device_get_parent_with_subsystem_devtype(parent, 
scsi, scsi_host);
-+
 +if (hostdev == NULL)
 +return NULL;
 +
 +name = udev_device_get_sysname(parent);
-+
 +if (sscanf(name, %d:%d:%d:%d, host, bus, target, lun) != 4)
 +return NULL;
 +
++/* rebase ata offset to get the local relative number */
++basenum = -1;
++base = strdup(udev_device_get_syspath(hostdev));
++if (base == NULL)
++return NULL;
++pos = strrchr(base, '/');
++if (pos == NULL) {
++parent = NULL;
++goto out;
++}
++pos[0] = '\0';
++len = strlen(base) - 5;
++if (len = 0) {
++parent = NULL;
++goto out;
++}
++base[len] = '\0';
++dir = opendir(base);
++if (dir == NULL) {
++parent = NULL;
++goto out;
++}
++for (dent = readdir(dir); dent != NULL; dent = readdir(dir)) {
++char *rest;
++int i;
++
++if (dent-d_name[0] == '.')
++continue;
++if (dent-d_type != DT_DIR  dent-d_type != DT_LNK)
++continue;
++if (strncmp(dent-d_name, ata, 3) != 0)
++continue;
++i = strtoul(dent-d_name[3], rest, 10);
++
++/* ata devices start with 1, so decrease by 1 if i is bigger 
then 0 */
++if (i  0)
++i--;
++if (rest[0] != '\0')
++continue;
++/*
++ * find the smallest number; the host really needs to export 
its
++ * own instance number per parent device; relying on the 
global host
++ * enumeration and plainly rebasing the 

commit udev for openSUSE:Factory

2012-07-25 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-07-25 16:21:09

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-07-23 
10:43:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-07-25 
16:21:12.0 +0200
@@ -1,0 +2,9 @@
+Wed Jul 25 08:28:54 UTC 2012 - rmila...@suse.com
+
+- Added several patches from upstream:
+   add: 0019-udev-path_id-export-path-for-platform-block-devices.patch
+   add: 0020-rules-fix-typo-in-42-usb-hid-pm.rules.patch
+   add: 0021-keymap-Add-Dell-Latitude-force-release-quirk.patch
+   add: 0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch
+
+---

New:

  0019-udev-path_id-export-path-for-platform-block-devices.patch
  0020-rules-fix-typo-in-42-usb-hid-pm.rules.patch
  0021-keymap-Add-Dell-Latitude-force-release-quirk.patch
  0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.IKF3RK/_old  2012-07-25 16:21:25.0 +0200
+++ /var/tmp/diff_new_pack.IKF3RK/_new  2012-07-25 16:21:25.0 +0200
@@ -88,6 +88,14 @@
 Patch17:0017-udev-add-some-O_CLOEXEC.patch
 # PATCH-FIX-UPSTREAM 
0018-udev-static-nodes-fix-default-permissions-if-no-rule.patch
 Patch18:0018-udev-static-nodes-fix-default-permissions-if-no-rule.patch
+# PATCH-FIX-UPSTREAM 
0019-udev-path_id-export-path-for-platform-block-devices.patch
+Patch19:0019-udev-path_id-export-path-for-platform-block-devices.patch
+# PATCH-FIX-UPSTREAM 0020-rules-fix-typo-in-42-usb-hid-pm.rules.patch
+Patch20:0020-rules-fix-typo-in-42-usb-hid-pm.rules.patch
+# PATCH-FIX-UPSTREAM 0021-keymap-Add-Dell-Latitude-force-release-quirk.patch
+Patch21:0021-keymap-Add-Dell-Latitude-force-release-quirk.patch
+# PATCH-FIX-UPSTREAM 
0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch
+Patch22:0022-keymap-Broaden-ThinkPad-X2.-tablet-match-to-also-app.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -175,6 +183,10 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
 
 %build
 autoreconf -vfi

++ 0019-udev-path_id-export-path-for-platform-block-devices.patch ++
From 2a3fe9a75951cb085b81569939f6af3ce2eb2b02 Mon Sep 17 00:00:00 2001
From: Kay Sievers k...@vrfy.org
Date: Fri, 20 Jul 2012 16:01:13 +0200
Subject: [PATCH] udev: path_id - export path for platform block devices

Enrico Scholz enrico.sch...@sigma-chemnitz.de

 E.g. I have a platform with two sdhci controllers with different purposes.
 First slot is an external slot while second one is internal with a
 non-removable card.

 When there is a card in the external slot at boot, the non-removable card is
 named 'mmcblk1'; without the external card it is 'mmcblk0'.  Vice versa for 
 the
 external card.

https://bugs.freedesktop.org/show_bug.cgi?id=52309

Index: udev-182/src/udev-builtin-path_id.c
===
--- udev-182.orig/src/udev-builtin-path_id.c
+++ udev-182/src/udev-builtin-path_id.c
@@ -477,6 +477,7 @@ static int builtin_path_id(struct udev_d
 } else if (strcmp(subsys, platform) == 0) {
 path_prepend(path, platform-%s, 
udev_device_get_sysname(parent));
 parent = skip_subsystem(parent, platform);
+some_transport = true;
 } else if (strcmp(subsys, acpi) == 0) {
 path_prepend(path, acpi-%s, 
udev_device_get_sysname(parent));
 parent = skip_subsystem(parent, acpi);
++ 0020-rules-fix-typo-in-42-usb-hid-pm.rules.patch ++
From 8432ecabacf15d8b0faf455a99980a42a00b4c08 Mon Sep 17 00:00:00 2001
From: Kay Sievers k...@vrfy.org
Date: Sat, 14 Jul 2012 00:50:49 +0200
Subject: [PATCH] rules: fix typo in 42-usb-hid-pm.rules

arjan can you open the 42-usb-hid-pm.rules file
arjan and go to line 46
arjan and tell me why ATTR{idProduct}=0002 only has one = and not two (e.g. 
== ) ?
kay arjan: yep
kay arjan: bug

Index: udev-182/rules/42-usb-hid-pm.rules
===
--- udev-182.orig/rules/42-usb-hid-pm.rules
+++ udev-182/rules/42-usb-hid-pm.rules
@@ -43,7 +43,7 @@ ACTION==add, SUBSYSTEM==usb, ATTR{id
 ACTION==add, SUBSYSTEM==usb, ATTRS{idVendor}==04b3, 
ATTR{idProduct}==4012, TEST==power/control, 

commit udev for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-07-23 10:43:12

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-07-12 
14:56:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-07-23 
10:43:51.0 +0200
@@ -1,0 +2,6 @@
+Thu Jul 12 15:56:34 UTC 2012 - rmila...@suse.com
+
+- Fix by-path links for ATA transport (bnc#770910)
+  updated: 0013-re-enable-by_path-links-for-ata-devices.patch 
+
+---



Other differences:
--
++ 0013-re-enable-by_path-links-for-ata-devices.patch ++
--- /var/tmp/diff_new_pack.HdGy4V/_old  2012-07-23 10:43:52.0 +0200
+++ /var/tmp/diff_new_pack.HdGy4V/_new  2012-07-23 10:43:52.0 +0200
@@ -2,21 +2,52 @@
 ===
 --- udev-182.orig/src/udev-builtin-path_id.c
 +++ udev-182/src/udev-builtin-path_id.c
-@@ -330,10 +330,17 @@ static struct udev_device *handle_scsi(s
-  * until that happens, there are no by-path/ links for ATA devices 
behind
-  * an ATA transport class.
-  */
+@@ -286,6 +286,26 @@ out:
+ return hostdev;
+ }
+ 
++static struct udev_device *handle_ata(struct udev_device *parent, char **path)
++{
++struct udev_device *hostdev;
++int host, bus, target, lun;
++const char *name;
++
++hostdev = udev_device_get_parent_with_subsystem_devtype(parent, 
scsi, scsi_host);
++
++if (hostdev == NULL)
++return NULL;
++
++name = udev_device_get_sysname(parent);
 +
-+  /*
-+   * We need for openSUSE/SUSE by-path links, so we disable this.
-+   */
++if (sscanf(name, %d:%d:%d:%d, host, bus, target, lun) != 4)
++return NULL;
++
++path_prepend(path, scsi-%u:%u:%u:%u, host, bus, target, lun);
++return parent;
++}
++
+ static struct udev_device *handle_scsi(struct udev_device *parent, char 
**path)
+ {
+ const char *devtype;
+@@ -323,15 +343,14 @@ static struct udev_device *handle_scsi(s
+ }
+ 
+ /*
+- * We do not support the ATA transport class, it creates duplicated 
link
+- * names as the fake SCSI host adapters are all separated, they are 
all
+- * re-based as host == 0. ATA should just stop faking two duplicated
+- * hierarchies for a single topology and leave the SCSI stuff alone;
+- * until that happens, there are no by-path/ links for ATA devices 
behind
+- * an ATA transport class.
++ * Ugly way to make by-path links for ata devices.
++ * Using the handle_scsi_default function make all host
++ * equal to 0 which is a problem.
++ *
+  */
 +
-+  /*
  if (strstr(name, /ata) != NULL) {
- parent = NULL;
+-parent = NULL;
++parent = handle_ata(parent, path);
  goto out;
  }
-+  */
  
- parent = handle_scsi_default(parent, path);
- out:

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-07-12 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-07-12 14:56:09

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-06-28 
17:03:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-07-12 
14:56:11.0 +0200
@@ -1,0 +2,16 @@
+Wed Jul 11 13:24:21 UTC 2012 - rmila...@suse.com
+
+- Security: libudev using getenv() in suids (bnc#697103)
+   add: 0015-udev-secure-getenv.patch
+  Added several patches from upstream:
+   add: 0016-udev-ata_id-fixup-all-8-not-only-6-bytes-of-the-fw_revision.patch
+   add: 0017-udev-add-some-O_CLOEXEC.patch
+   add: 0018-udev-static-nodes-fix-default-permissions-if-no-rule.patch
+ 
+---
+Fri Jul  6 14:37:31 UTC 2012 - dmuel...@suse.com
+
+- move udev.pc to the libudev-devel subpackage, as it causes
+  a pkg-config dependency
+
+---

New:

  0015-udev-secure-getenv.patch
  0016-udev-ata_id-fixup-all-8-not-only-6-bytes-of-the-fw_revision.patch
  0017-udev-add-some-O_CLOEXEC.patch
  0018-udev-static-nodes-fix-default-permissions-if-no-rule.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.PDY4Ir/_old  2012-07-12 14:56:14.0 +0200
+++ /var/tmp/diff_new_pack.PDY4Ir/_new  2012-07-12 14:56:14.0 +0200
@@ -80,6 +80,14 @@
 Patch13:0013-re-enable-by_path-links-for-ata-devices.patch
 # PATCH-FIX-OPENSUSE 0014-rules-create-by-id-scsi-links-for-ATA-devices.patch
 Patch14:0014-rules-create-by-id-scsi-links-for-ATA-devices.patch
+# PATCH-FIX-OPENSUSE 0015-udev-secure-getenv.patch
+Patch15:0015-udev-secure-getenv.patch
+# PATCH-FIX-UPSTREAM 
0016-udev-ata_id-fixup-all-8-not-only-6-bytes-of-the-fw_revision.patch
+Patch16:
0016-udev-ata_id-fixup-all-8-not-only-6-bytes-of-the-fw_revision.patch
+# PATCH-FIX-UPSTREAM 0017-udev-add-some-O_CLOEXEC.patch
+Patch17:0017-udev-add-some-O_CLOEXEC.patch
+# PATCH-FIX-UPSTREAM 
0018-udev-static-nodes-fix-default-permissions-if-no-rule.patch
+Patch18:0018-udev-static-nodes-fix-default-permissions-if-no-rule.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -163,6 +171,10 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
 
 %build
 autoreconf -vfi
@@ -277,7 +289,6 @@
 %dir %{_sysconfdir}/udev/rules.d/
 %config(noreplace) %{_sysconfdir}/udev/udev.conf
 %{_mandir}/man?/*.[0-9]*
-%{_datadir}/pkgconfig/udev.pc
 %doc %{_docdir}/udev
 %dir /lib/udev/devices/
 %dir /lib/systemd/system
@@ -296,6 +307,7 @@
 %defattr(-,root,root)
 %{_includedir}/libudev.h
 %{_libdir}/libudev.so
+%{_datadir}/pkgconfig/udev.pc
 %{_libdir}/pkgconfig/libudev.pc
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html

++ 0015-udev-secure-getenv.patch ++
Index: udev-182/src/libudev.c
===
--- udev-182.orig/src/libudev.c
+++ udev-182/src/libudev.c
@@ -135,7 +135,7 @@ UDEV_EXPORT struct udev *udev_new(void)
 udev_list_init(udev, udev-properties_list, true);
 
 /* custom config file */
-env = getenv(UDEV_CONFIG_FILE);
+env = __secure_getenv(UDEV_CONFIG_FILE);
 if (env != NULL) {
 if (set_value(config_file, env) == NULL)
 goto err;
@@ -237,7 +237,7 @@ UDEV_EXPORT struct udev *udev_new(void)
 }
 
 /* environment overrides config */
-env = getenv(UDEV_LOG);
+env = __secure_getenv(UDEV_LOG);
 if (env != NULL)
 udev_set_log_priority(udev, util_log_priority(env));
 
++ 0016-udev-ata_id-fixup-all-8-not-only-6-bytes-of-the-fw_revision.patch 
++
From daa9cf546ce7265645ced9592dd54c6b2fc04302 Mon Sep 17 00:00:00 2001
From: Kay Sievers k...@vrfy.org
Date: Thu, 5 Jul 2012 16:53:08 +0200
Subject: [PATCH] udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev
 string

The last two digits are in the wrong order:
  $ hdparm -I /dev/sda | grep Revision
  4PC10362

  $ /lib/udev/ata_id -x /dev/sda | grep REVISION
  4PC10326

Index: udev-182/src/ata_id/ata_id.c
===
--- udev-182.orig/src/ata_id/ata_id.c
+++ udev-182/src/ata_id/ata_id.c
@@ -511,7 +511,7 @@ int main(int argc, char *argv[])
  * use and copy it into the hd_driveid struct for convenience
  */
 

commit udev for openSUSE:Factory

2012-06-28 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-06-28 17:03:12

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-06-25 
14:58:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-06-28 
17:03:18.0 +0200
@@ -1,0 +2,5 @@
+Wed Jun 27 08:55:59 UTC 2012 - rmila...@suse.com
+
+- Re-enable creation of by-id scsi links for ATA devices. (bnc#769002) 
+
+---

New:

  0014-rules-create-by-id-scsi-links-for-ATA-devices.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.uS3vCV/_old  2012-06-28 17:03:21.0 +0200
+++ /var/tmp/diff_new_pack.uS3vCV/_new  2012-06-28 17:03:21.0 +0200
@@ -78,6 +78,8 @@
 Patch12:0012-keymap-Add-Samsung-90X3A.patch
 # PATCH-FIX-OPENSUSE 0013-re-enable-by_path-links-for-ata-devices.patch
 Patch13:0013-re-enable-by_path-links-for-ata-devices.patch
+# PATCH-FIX-OPENSUSE 0014-rules-create-by-id-scsi-links-for-ATA-devices.patch
+Patch14:0014-rules-create-by-id-scsi-links-for-ATA-devices.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -160,6 +162,7 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %build
 autoreconf -vfi

++ 0014-rules-create-by-id-scsi-links-for-ATA-devices.patch ++
Index: udev-182/rules/60-persistent-storage.rules
===
--- udev-182.orig/rules/60-persistent-storage.rules
+++ udev-182/rules/60-persistent-storage.rules
@@ -44,6 +44,10 @@ KERNEL==cciss*, ENV{DEVTYPE}==disk,
 KERNEL==sd*|sr*|cciss*, ENV{DEVTYPE}==disk, ENV{ID_SERIAL}==?*, 
SYMLINK+=disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}
 KERNEL==sd*|cciss*, ENV{DEVTYPE}==partition, ENV{ID_SERIAL}==?*, 
SYMLINK+=disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n
 
+# scsi compat links for ATA devices
+KERNEL==sd*[!0-9], ENV{ID_BUS}==ata, PROGRAM=scsi_id --whitelisted 
--replace-whitespace -p0x80 -d $devnode, RESULT==?*, 
ENV{ID_SCSI_COMPAT}=$result, SYMLINK+=disk/by-id/scsi-$env{ID_SCSI_COMPAT}
+KERNEL==sd*[0-9], ENV{ID_SCSI_COMPAT}==?*, 
SYMLINK+=disk/by-id/scsi-$env{ID_SCSI_COMPAT}-part%n
+
 # firewire
 KERNEL==sd*[!0-9]|sr*, ATTRS{ieee1394_id}==?*, 
SYMLINK+=disk/by-id/ieee1394-$attr{ieee1394_id}
 KERNEL==sd*[0-9], ATTRS{ieee1394_id}==?*, 
SYMLINK+=disk/by-id/ieee1394-$attr{ieee1394_id}-part%n
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-06-25 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-06-25 14:41:18

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-06-13 
13:03:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-06-25 
14:58:23.0 +0200
@@ -1,0 +2,12 @@
+Mon Jun 25 06:58:33 UTC 2012 - rmila...@suse.com
+
+- Re-enable creation of by-path links in /dev/disk (bnc#764924).
+
+---
+Thu Jun 21 12:22:38 UTC 2012 - rmila...@suse.com
+
+- Added option --enable-rule_generator to configure, 
+  without it seems that we don't have the rule generator and 
+  75-persistent-net-generator.rules.
+
+---

New:

  0013-re-enable-by_path-links-for-ata-devices.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.FWmfNj/_old  2012-06-25 14:58:25.0 +0200
+++ /var/tmp/diff_new_pack.FWmfNj/_new  2012-06-25 14:58:25.0 +0200
@@ -76,6 +76,8 @@
 Patch11:0011-keymap-Add-support-for-Lenovo-v480-touchpad-toggle-h.patch
 # PATCH-FIX-UPSTREAM 0012-keymap-Add-Samsung-90X3A.patch
 Patch12:0012-keymap-Add-Samsung-90X3A.patch
+# PATCH-FIX-OPENSUSE 0013-re-enable-by_path-links-for-ata-devices.patch
+Patch13:0013-re-enable-by_path-links-for-ata-devices.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -157,6 +159,7 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 
 %build
 autoreconf -vfi
@@ -172,6 +175,7 @@
   --with-selinux \
   --with-systemdsystemunitdir=/lib/systemd/system \
   --enable-floppy \
+  --enable-rule_generator \
   CFLAGS=$RPM_OPT_FLAGS
 make %{?_smp_mflags}
 

++ 0013-re-enable-by_path-links-for-ata-devices.patch ++
Index: udev-182/src/udev-builtin-path_id.c
===
--- udev-182.orig/src/udev-builtin-path_id.c
+++ udev-182/src/udev-builtin-path_id.c
@@ -330,10 +330,17 @@ static struct udev_device *handle_scsi(s
  * until that happens, there are no by-path/ links for ATA devices 
behind
  * an ATA transport class.
  */
+
+   /*
+* We need for openSUSE/SUSE by-path links, so we disable this.
+*/
+
+   /*
 if (strstr(name, /ata) != NULL) {
 parent = NULL;
 goto out;
 }
+   */
 
 parent = handle_scsi_default(parent, path);
 out:
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-06-13 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-06-13 13:03:33

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-04-23 
09:18:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-06-13 
13:03:34.0 +0200
@@ -1,0 +2,18 @@
+Wed Jun  6 09:52:26 UTC 2012 - rmila...@suse.com
+
+- Reinstate TIMEOUT= handling. (bnc#753734)
+   add: 0001-Reinstate-TIMEOUT-handling.patch
+- Added several patches from upstream:
+   add: 0002-udev-limit-minimum-worker-count-to-16.patch
+   add: 0003-keymaps-keyboard-force-release-fix-shebang.patch
+   add: 0004-rules-Limit-USB-autosuspend-on-USB-HID-devices.patch
+   add: 0005-keymap-support-for-Lenovo-IdeaPad-Z570-keyboard.patch
+   add: 0006-keymap-Add-Mio-N890.patch
+   add: 0007-udev-path_id-add-cciss-support.patch
+   add: 0008-udev-path_id-skip-PCI-only-parents-for-block-devices.patch
+   add: 0009-keymap-Add-HP-Compaq-Presario-CQ.patch
+   add: 0010-keymap-Add-Dell-XPS-force-release-quirk.patch
+   add: 0011-keymap-Add-support-for-Lenovo-v480-touchpad-toggle-h.patch
+   add: 0012-keymap-Add-Samsung-90X3A.patch
+
+---

New:

  0001-Reinstate-TIMEOUT-handling.patch
  0002-udev-limit-minimum-worker-count-to-16.patch
  0003-keymaps-keyboard-force-release-fix-shebang.patch
  0004-rules-Limit-USB-autosuspend-on-USB-HID-devices.patch
  0005-keymap-support-for-Lenovo-IdeaPad-Z570-keyboard.patch
  0006-keymap-Add-Mio-N890.patch
  0007-udev-path_id-add-cciss-support.patch
  0008-udev-path_id-skip-PCI-only-parents-for-block-devices.patch
  0009-keymap-Add-HP-Compaq-Presario-CQ.patch
  0010-keymap-Add-Dell-XPS-force-release-quirk.patch
  0011-keymap-Add-support-for-Lenovo-v480-touchpad-toggle-h.patch
  0012-keymap-Add-Samsung-90X3A.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.o9MAl3/_old  2012-06-13 13:03:37.0 +0200
+++ /var/tmp/diff_new_pack.o9MAl3/_new  2012-06-13 13:03:37.0 +0200
@@ -52,6 +52,30 @@
 Source60:   boot.udev
 # PATCH-FIX-OPENSUSE move-udevd-and-udevadm-back-to-sbin.patch
 Patch0: move-udevd-and-udevadm-back-to-sbin.patch
+# PATCH-FIX-OPENSUSE 0001-Reinstate-TIMEOUT-handling.patch
+Patch1: 0001-Reinstate-TIMEOUT-handling.patch
+# PATCH-FIX-UPSTREAM 0002-udev-limit-minimum-worker-count-to-16.patch
+Patch2: 0002-udev-limit-minimum-worker-count-to-16.patch
+# PATCH-FIX-UPSTREAM 0003-keymaps-keyboard-force-release-fix-shebang.patch
+Patch3: 0003-keymaps-keyboard-force-release-fix-shebang.patch
+# PATCH-FIX-UPSTREAM 0004-rules-Limit-USB-autosuspend-on-USB-HID-devices.patch
+Patch4: 0004-rules-Limit-USB-autosuspend-on-USB-HID-devices.patch
+# PATCH-FIX-UPSTREAM 0005-keymap-support-for-Lenovo-IdeaPad-Z570-keyboard.patch
+Patch5: 0005-keymap-support-for-Lenovo-IdeaPad-Z570-keyboard.patch
+# PATCH-FIX-UPSTREAM 0006-keymap-Add-Mio-N890.patch
+Patch6: 0006-keymap-Add-Mio-N890.patch
+# PATCH-FIX-UPSTREAM 0007-udev-path_id-add-cciss-support.patch
+Patch7: 0007-udev-path_id-add-cciss-support.patch
+# PATCH-FIX-UPSTREAM 
0008-udev-path_id-skip-PCI-only-parents-for-block-devices.patch
+Patch8: 0008-udev-path_id-skip-PCI-only-parents-for-block-devices.patch
+# PATCH-FIX-UPSTREAM 0009-keymap-Add-HP-Compaq-Presario-CQ.patch
+Patch9: 0009-keymap-Add-HP-Compaq-Presario-CQ.patch
+# PATCH-FIX-UPSTREAM 0010-keymap-Add-Dell-XPS-force-release-quirk.patch
+Patch10:0010-keymap-Add-Dell-XPS-force-release-quirk.patch
+# PATCH-FIX-UPSTREAM 
0011-keymap-Add-support-for-Lenovo-v480-touchpad-toggle-h.patch
+Patch11:0011-keymap-Add-support-for-Lenovo-v480-touchpad-toggle-h.patch
+# PATCH-FIX-UPSTREAM 0012-keymap-Add-Samsung-90X3A.patch
+Patch12:0012-keymap-Add-Samsung-90X3A.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -121,6 +145,18 @@
 %setup -q
 # patching
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
 
 %build
 autoreconf -vfi
@@ -136,7 +172,6 @@
   --with-selinux \
   --with-systemdsystemunitdir=/lib/systemd/system \
   --enable-floppy \
-  --enable-udev_acl \
   CFLAGS=$RPM_OPT_FLAGS
 make %{?_smp_mflags}
 

++ 0001-Reinstate-TIMEOUT-handling.patch ++
Without treating events with timeouts specially some drivers would
cause a 30 seconds stall on boot: .

I also received reports of 

commit udev for openSUSE:Factory

2012-04-23 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-04-23 09:18:47

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-04-12 
09:54:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-04-23 
09:18:48.0 +0200
@@ -1,0 +2,11 @@
+Fri Apr 20 07:55:26 UTC 2012 - rmila...@suse.com
+
+- Don't forget to run mkinitrd_setup first, then mkinitrd.
+
+---
+Fri Apr 20 07:46:05 UTC 2012 - rmila...@suse.com
+
+- Added PreReq /sbin/mkinitrd.
+  We need it before we run %post or %postun. 
+
+---



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.H9rEuY/_old  2012-04-23 09:18:49.0 +0200
+++ /var/tmp/diff_new_pack.H9rEuY/_new  2012-04-23 09:18:49.0 +0200
@@ -23,7 +23,7 @@
 Summary:A rule-based device node and kernel event manager
 License:GPL-2.0+
 Group:  System/Kernel
-PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq 
%fillup_prereq /usr/sbin/groupadd /usr/bin/getent
+PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq 
%fillup_prereq /usr/sbin/groupadd /usr/bin/getent /sbin/mkinitrd
 Conflicts:  systemd  39
 Conflicts:  aaa_base  11.5
 Conflicts:  filesystem  11.5
@@ -185,27 +185,25 @@
fi
 fi
 
-%if 0%{?suse_version}  1100
+[ -x /sbin/mkinitrd_setup ]  /sbin/mkinitrd_setup
 if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
   echo Skipping recreation of existing initial ramdisks, due
   echo to presence of /var/lib/no_initrd_recreation_by_suspend
 elif [ -x /sbin/mkinitrd ]; then
   /sbin/mkinitrd
 fi
-%endif
 
 %postun
 %insserv_cleanup
 /bin/systemctl daemon-reload /dev/null 21 || :
 
-%if 0%{?suse_version}  1100
+[ -x /sbin/mkinitrd_setup ]  /sbin/mkinitrd_setup
 if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
   echo Skipping recreation of existing initial ramdisks, due
   echo to presence of /var/lib/no_initrd_recreation_by_suspend
 elif [ -x /sbin/mkinitrd ]; then
   /sbin/mkinitrd
 fi
-%endif
 
 %post -n libudev0 -p /sbin/ldconfig
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2012-04-12 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-04-12 09:54:40

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-03-26 
14:03:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-04-12 
09:54:42.0 +0200
@@ -1,0 +2,23 @@
+Wed Apr  4 08:47:23 UTC 2012 - rmila...@suse.com
+
+- version 182:
+  - extras: ata_id - do not log error if HDIO_GET_IDENTITY fails
+  - extras: path_id - add comment about readdir() rebase logic
+  - rules: Enable USB autosuspend on more USB HID devices
+  - extras: path_id - skip ATA transport class devices
+  - rules: move all rules to top level rules/ dir
+  - rules: delete s390 rules, they will move to s390utils
+  - remove edd_id extra
+  - rules: move 42-qemu-usb.rules to rules/ dir
+  - rules: delete outdated 30-kernel-compat.rules
+  - udev.conf - do not set any value by default
+  - remove udev-acl
+  - rules: do not create by-id/scsi-* links for ATA devices
+  - builtin: path_id - remove dead cciss code
+  
+---
+Mon Apr  2 15:51:40 UTC 2012 - dval...@suse.com
+
+- there is no 40-ppc.rules anymore
+
+---

Old:

  udev-181.tar.bz2

New:

  udev-182.tar.bz2



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.cToDV2/_old  2012-04-12 09:54:43.0 +0200
+++ /var/tmp/diff_new_pack.cToDV2/_new  2012-04-12 09:54:43.0 +0200
@@ -16,10 +16,9 @@
 #
 
 
-
 Name:   udev
 Url:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
-Version:181
+Version:182
 Release:0
 Summary:A rule-based device node and kernel event manager
 License:GPL-2.0+
@@ -32,21 +31,21 @@
 Conflicts:  util-linux  2.16
 Conflicts:  ConsoleKit  0.4.1
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  automake
 BuildRequires:  autoconf
-BuildRequires:  libtool
+BuildRequires:  automake
 BuildRequires:  glib2-devel
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gperf
 BuildRequires:  libacl-devel
+BuildRequires:  libblkid-devel = 2.20
+BuildRequires:  libkmod-devel  5
 BuildRequires:  libselinux-devel
 BuildRequires:  libsepol-devel
+BuildRequires:  libtool
 BuildRequires:  libusb-devel
 BuildRequires:  pciutils-ids
 BuildRequires:  pkg-config
 BuildRequires:  usbutils
-BuildRequires:  libblkid-devel = 2.20
-BuildRequires:  libkmod-devel  5
 Source0:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
 Source1:udev-rpmlintrc
 Source2:baselibs.conf
@@ -109,10 +108,10 @@
 Summary:Devel package for libgudev
 License:LGPL-2.1+
 Group:  Development/Libraries/Other
+Requires:   glib2-devel
 Requires:   libgudev-1_0-0 = %{version}-%{release}
 Requires:   libudev-devel = %{version}-%{release}
 Requires:   typelib-1_0-GUdev-1_0 = %{version}-%{release}
-Requires:   glib2-devel
 
 %description -n libgudev-1_0-devel
 This is the devel package for the GObject library libgudev, which
@@ -151,18 +150,10 @@
 ln -sf ../../sbin/udevd $RPM_BUILD_ROOT/lib/udev/udevd
 
 mkdir -p $RPM_BUILD_ROOT/lib/firmware
-ln -sf ../../lib/firmware $RPM_BUILD_ROOT/usr/lib/firmware
+mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib
+ln -sf ../../lib/firmware $RPM_BUILD_ROOT/%{_prefix}/lib/firmware
 
 cp -ax README NEWS $RPM_BUILD_ROOT%{_docdir}/udev
-%ifarch ppc ppc64
-cp rules/arch/40-ppc.rules $RPM_BUILD_ROOT/lib/udev/rules.d/
-%endif
-%ifarch ia64
-cp rules/arch/40-ia64.rules $RPM_BUILD_ROOT/lib/udev/rules.d/
-%endif
-%ifarch s390 s390x
-cp rules/arch/40-s390.rules $RPM_BUILD_ROOT/lib/udev/rules.d/
-%endif
 install -m755 -D %{S:60} $RPM_BUILD_ROOT/etc/init.d/boot.udev
 
 %pre
@@ -245,9 +236,6 @@
 %dir %{_sysconfdir}/udev/
 %dir %{_sysconfdir}/udev/rules.d/
 %config(noreplace) %{_sysconfdir}/udev/udev.conf
-%dir %{_prefix}/lib/ConsoleKit
-%dir %{_prefix}/lib/ConsoleKit/run-seat.d
-%{_prefix}/lib/ConsoleKit/run-seat.d/udev-acl.ck
 %{_mandir}/man?/*.[0-9]*
 %{_datadir}/pkgconfig/udev.pc
 %doc %{_docdir}/udev

++ move-udevd-and-udevadm-back-to-sbin.patch ++
--- /var/tmp/diff_new_pack.cToDV2/_old  2012-04-12 09:54:43.0 +0200
+++ /var/tmp/diff_new_pack.cToDV2/_new  2012-04-12 09:54:43.0 +0200
@@ -1,60 +1,60 @@
-diff -ur udev-181.orig/Makefile.am udev-181/Makefile.am
 udev-181.orig/Makefile.am  2012-03-13 14:18:13.795173776 +0100
-+++ udev-181/Makefile.am   2012-03-13 

commit udev for openSUSE:Factory

2012-03-22 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-03-22 13:36:49

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is rmila...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2012-01-25 
15:02:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-03-22 
13:36:51.0 +0100
@@ -1,0 +2,44 @@
+Tue Mar 13 12:07:32 UTC 2012 - rmila...@suse.com
+
+- version 181
+  - boot.udev: root_symlink_rule now creates the rule 10-root-symlink.rules 
+in /run/udev/rules.d and a link to /dev/.udev (for the good old times).
+  - require kmod version 5.
+  - keymap: Add Fujitsu Siemens Amilo Li 2732
+  - ata_id: fix identify string fixup
+  - ata_id: whitespace fixes
+  - keymap: Fix touchpad toggle button on Lenovo Ideapad
+* version 180:
+  - Bugfixes.
+* version 179:
+  - Bugfixes.
+* version 178:
+  - RUN+=socket:.. option is deprecated and should not be used.
+* version 177:
+  - Bugfixes.
+* version 176:
+  - 'devtmpfs' filesystem is required now, udev will not create or delete
+device nodes anymore.
+  - writable /run directory (ususally tmpfs) is required now.
+  - there is no longer a fallback to /dev/.udev.
+  - modules are now loaded directly by linking udev to 'libkmod'.
+  - udev links directly to libblkid now.
+  - 'udevadm control --reload-rules' option has been renamed to '--reload'.
+* version 175:
+  - Bugfixes.
+* version 174:
+  - udev daemon moved to /lib/udev/udevd.
+   (we moved it back: move-udevd-and-udevadm-back-to-sbin.patch)
+  - long deprecated keys: SYSFS=, ID=, BUS= have been removed.
+  - 'udevadm trigger --type=failed, and the RUN{fail_event_on_error} 
attribute 
+was removed.
+  - udev control socket is now created in /run/udev/control.
+ 
+ (for more info please check /usr/share/doc/packages/udev/NEWS)
+
+- build-requires:
+  libblkid-devel = 2.20 , libkmod-devel, libtool, automake, autoconf. 
+- requires: 
+  util-linux = 2.20, libkmod2, systemd  39.
+
+---

Old:

  udev-173.tar.bz2
  udev.git-617746e09795575c6258dd075ee7f0a44ce61e1e.patch
  udev.git-7944a13a2b8516d5fa354703789f5988cb4299b6.patch

New:

  move-udevd-and-udevadm-back-to-sbin.patch
  udev-181.tar.bz2



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.Mq76tw/_old  2012-03-22 13:36:53.0 +0100
+++ /var/tmp/diff_new_pack.Mq76tw/_new  2012-03-22 13:36:53.0 +0100
@@ -15,21 +15,26 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+
 Name:   udev
 Url:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
-Version:173
+Version:181
 Release:0
 Summary:A rule-based device node and kernel event manager
 License:GPL-2.0+
 Group:  System/Kernel
-PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq 
%fillup_prereq /usr/sbin/groupadd
-Conflicts:  systemd  28
+PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq 
%fillup_prereq /usr/sbin/groupadd /usr/bin/getent
+Conflicts:  systemd  39
 Conflicts:  aaa_base  11.5
 Conflicts:  filesystem  11.5
 Conflicts:  mkinitrd  2.7.0
 Conflicts:  util-linux  2.16
 Conflicts:  ConsoleKit  0.4.1
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
+BuildRequires:  autoconf
+BuildRequires:  libtool
 BuildRequires:  glib2-devel
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gperf
@@ -40,14 +45,14 @@
 BuildRequires:  pciutils-ids
 BuildRequires:  pkg-config
 BuildRequires:  usbutils
+BuildRequires:  libblkid-devel = 2.20
+BuildRequires:  libkmod-devel  5
 Source0:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
 Source1:udev-rpmlintrc
 Source2:baselibs.conf
 Source60:   boot.udev
-#Patch from upstream to make bluetooth input devices working again.
-Patch1: udev.git-617746e09795575c6258dd075ee7f0a44ce61e1e.patch
-#PATCH-FIX-UPSTREAM bnc#722858
-Patch2: udev.git-7944a13a2b8516d5fa354703789f5988cb4299b6.patch
+# PATCH-FIX-OPENSUSE move-udevd-and-udevadm-back-to-sbin.patch
+Patch0: move-udevd-and-udevadm-back-to-sbin.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -115,10 +120,11 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
+# patching
+%patch0 -p1
 
 %build
+autoreconf -vfi
 # prevent man pages from re-building (xmlto)
 

commit udev for openSUSE:Factory

2012-01-25 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2012-01-25 15:02:48

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is gre...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2011-11-08 
20:12:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2012-01-25 
15:02:50.0 +0100
@@ -1,0 +2,7 @@
+Mon Jan  9 09:52:11 UTC 2012 - vu...@opensuse.org
+
+- Split typelib file into typelib-1_0-GUdev-1_0 subpackage.
+- Add typelib-1_0-GUdev-1_0 Requires to libgudev-1_0-devel
+  subpackage.
+
+---



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.c5VHrM/_old  2012-01-25 15:02:51.0 +0100
+++ /var/tmp/diff_new_pack.c5VHrM/_new  2012-01-25 15:02:51.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package udev
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,16 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:   udev
 Url:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
 Version:173
-Release:1
+Release:0
+Summary:A rule-based device node and kernel event manager
 License:GPL-2.0+
 Group:  System/Kernel
-Summary:A rule-based device node and kernel event manager
 PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq 
%fillup_prereq /usr/sbin/groupadd
 Conflicts:  systemd  28
 Conflicts:  aaa_base  11.5
@@ -33,10 +30,16 @@
 Conflicts:  util-linux  2.16
 Conflicts:  ConsoleKit  0.4.1
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  libselinux-devel libsepol-devel
-BuildRequires:  libusb-devel pciutils-ids usbutils
-BuildRequires:  gperf libacl-devel pkg-config
-BuildRequires:  glib2-devel gobject-introspection-devel
+BuildRequires:  glib2-devel
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  gperf
+BuildRequires:  libacl-devel
+BuildRequires:  libselinux-devel
+BuildRequires:  libsepol-devel
+BuildRequires:  libusb-devel
+BuildRequires:  pciutils-ids
+BuildRequires:  pkg-config
+BuildRequires:  usbutils
 Source0:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
 Source1:udev-rpmlintrc
 Source2:baselibs.conf
@@ -59,8 +62,8 @@
 call tools to initialize a device, or load needed kernel modules.
 
 %package -n libudev0
-License:LGPL-2.1+
 Summary:Dynamic library to access udev device information
+License:LGPL-2.1+
 Group:  System/Libraries
 Requires:   udev = %{version}-%{release}
 
@@ -69,8 +72,8 @@
 access to udev device information
 
 %package -n libudev-devel
-License:LGPL-2.1+
 Summary:Development files for libudev
+License:LGPL-2.1+
 Group:  Development/Libraries/Other
 Requires:   libudev0 = %{version}-%{release}
 
@@ -79,21 +82,31 @@
 dynamic library, which provides access to udev device information.
 
 %package -n libgudev-1_0-0
-License:LGPL-2.1+
 Summary:GObject library, to access udev device information
-Requires:   libudev0 = %{version}-%{release}
+License:LGPL-2.1+
 Group:  System/Libraries
+Requires:   libudev0 = %{version}-%{release}
 
 %description -n libgudev-1_0-0
 This package contains the GObject library libgudev, which provides
 access to udev device information.
 
-%package -n libgudev-1_0-devel
+%package -n typelib-1_0-GUdev-1_0
+Summary:GObject library, to access udev device information -- 
Introspection bindings
 License:LGPL-2.1+
+Group:  System/Libraries
+
+%description -n typelib-1_0-GUdev-1_0
+This package provides the GObject Introspection bindings for libgudev, which
+provides access to udev device information.
+
+%package -n libgudev-1_0-devel
 Summary:Devel package for libgudev
+License:LGPL-2.1+
 Group:  Development/Libraries/Other
 Requires:   libgudev-1_0-0 = %{version}-%{release}
 Requires:   libudev-devel = %{version}-%{release}
+Requires:   typelib-1_0-GUdev-1_0 = %{version}-%{release}
 Requires:   glib2-devel
 
 %description -n libgudev-1_0-devel
@@ -229,6 +242,9 @@
 %files -n libgudev-1_0-0
 %defattr(-,root,root)
 /%{_lib}/libgudev-1.0.so.*
+
+%files -n typelib-1_0-GUdev-1_0

commit udev for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2011-12-06 19:09:57

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is gre...@suse.com

Changes:




Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.vkIbmM/_old  2011-12-06 19:44:23.0 +0100
+++ /var/tmp/diff_new_pack.vkIbmM/_new  2011-12-06 19:44:23.0 +0100
@@ -22,7 +22,7 @@
 Url:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
 Version:173
 Release:1
-License:GPLv2+
+License:GPL-2.0+
 Group:  System/Kernel
 Summary:A rule-based device node and kernel event manager
 PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq 
%fillup_prereq /usr/sbin/groupadd
@@ -59,7 +59,7 @@
 call tools to initialize a device, or load needed kernel modules.
 
 %package -n libudev0
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Dynamic library to access udev device information
 Group:  System/Libraries
 Requires:   udev = %{version}-%{release}
@@ -69,7 +69,7 @@
 access to udev device information
 
 %package -n libudev-devel
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Development files for libudev
 Group:  Development/Libraries/Other
 Requires:   libudev0 = %{version}-%{release}
@@ -79,7 +79,7 @@
 dynamic library, which provides access to udev device information.
 
 %package -n libgudev-1_0-0
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:GObject library, to access udev device information
 Requires:   libudev0 = %{version}-%{release}
 Group:  System/Libraries
@@ -89,7 +89,7 @@
 access to udev device information.
 
 %package -n libgudev-1_0-devel
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Devel package for libgudev
 Group:  Development/Libraries/Other
 Requires:   libgudev-1_0-0 = %{version}-%{release}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2011-11-08 Thread h_root
Hello community,

here is the log from the commit of package udev for openSUSE:Factory checked in 
at 2011-11-08 20:11:59

Comparing /work/SRC/openSUSE:Factory/udev (Old)
 and  /work/SRC/openSUSE:Factory/.udev.new (New)


Package is udev, Maintainer is gre...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/udev/udev.changes2011-10-21 
16:44:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.udev.new/udev.changes   2011-11-08 
20:12:01.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov  8 15:27:02 UTC 2011 - co...@suse.com
+
+- Added upstream patch to avoid deadlocks, bnc#722858
+
+---

New:

  udev.git-7944a13a2b8516d5fa354703789f5988cb4299b6.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.M75K1e/_old  2011-11-08 20:13:22.0 +0100
+++ /var/tmp/diff_new_pack.M75K1e/_new  2011-11-08 20:13:22.0 +0100
@@ -43,6 +43,8 @@
 Source60:   boot.udev
 #Patch from upstream to make bluetooth input devices working again.
 Patch1: udev.git-617746e09795575c6258dd075ee7f0a44ce61e1e.patch
+#PATCH-FIX-UPSTREAM bnc#722858
+Patch2: udev.git-7944a13a2b8516d5fa354703789f5988cb4299b6.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -101,6 +103,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 # prevent man pages from re-building (xmlto)

++ udev.git-7944a13a2b8516d5fa354703789f5988cb4299b6.patch ++
commit 7944a13a2b8516d5fa354703789f5988cb4299b6
Author: Steve Langasek steve.langa...@canonical.com
Date:   Sat Oct 8 02:14:09 2011 -0700

udevd: exit - process events before signals in worker

When a worker receives both a signal and a udev event in the same epoll_wait
run, the event must be processed first because the udev parent considers the
event already dispatched.  If we process the signal first and exit, udevd
times out after 60 seconds waiting for a response from an already-dead
worker.

Ref: https://bugs.launchpad.net/bugs/818177
Signed-off-by: Steve Langasek steve.langa...@canonical.com

diff --git a/udev/udevd.c b/udev/udevd.c
index 77aec9d..b65b53f 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -347,6 +347,7 @@ static void worker_new(struct event *event)
for (i = 0; i  fdcount; i++) {
if (ev[i].data.fd == fd_monitor  
ev[i].events  EPOLLIN) {
dev = 
udev_monitor_receive_device(worker_monitor);
+   break;
} else if (ev[i].data.fd == fd_signal 
 ev[i].events  EPOLLIN) {
struct signalfd_siginfo fdsi;
ssize_t size;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2011-09-20 Thread h_root

Hello community,

here is the log from the commit of package udev for openSUSE:Factory
checked in at Tue Sep 20 09:39:12 CEST 2011.




--- udev/udev.changes   2011-09-01 14:00:09.0 +0200
+++ /mounts/work_src_done/STABLE/udev/udev.changes  2011-09-17 
20:03:42.0 +0200
@@ -1,0 +2,8 @@
+Sat Sep 17 17:46:34 UTC 2011 - tittiatc...@gmail.com
+
+- Added upstream patch to make bluetooth hid devices working again
+  with Xorg. This patch restores the ID_INPUT=1 and 
+  ID_INPUT_{KEY,MOUSE}=1 properties Xorg relies on these properties 
+  for cold- and hotplugging of input devices. (bnc#716892)
+
+---

calling whatdependson for head-i586


New:

  udev.git-617746e09795575c6258dd075ee7f0a44ce61e1e.patch



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.vsP2Zi/_old  2011-09-20 09:39:07.0 +0200
+++ /var/tmp/diff_new_pack.vsP2Zi/_new  2011-09-20 09:39:07.0 +0200
@@ -41,6 +41,8 @@
 Source1:udev-rpmlintrc
 Source2:baselibs.conf
 Source60:   boot.udev
+#Patch from upstream to make bluetooth input devices working again.
+Patch1: udev.git-617746e09795575c6258dd075ee7f0a44ce61e1e.patch
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -97,6 +99,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 # prevent man pages from re-building (xmlto)

++ udev.git-617746e09795575c6258dd075ee7f0a44ce61e1e.patch ++
From: Kay Sievers kay.siev...@vrfy.org
Date: Thu, 4 Aug 2011 21:25:03 + (+0200)
Subject: rules: move input_id to default rules
X-Git-Url: 
http://git.kernel.org/?p=linux%2Fhotplug%2Fudev.git;a=commitdiff_plain;h=617746e09795575c6258dd075ee7f0a44ce61e1e

rules: move input_id to default rules

On Tue, Aug 2, 2011 at 10:56, Thomas Bächler tho...@archlinux.org wrote:
 Commit c49df20758e0f22778cfc93b598f2929f4c86272 prevented udev from
 creating broken symlinks for bluetooth hid devices. Unfortunately,
 it also removed the ID_INPUT=1 and ID_INPUT_{KEY,MOUSE}=1 properties
 from those devices. Xorg relies on these properties for cold- and
 hotplugging of input devices.
---

diff --git a/rules/rules.d/50-udev-default.rules 
b/rules/rules.d/50-udev-default.rules
index f5b181d..30267fe 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -20,6 +20,7 @@ KERNEL==null|zero|full|random|urandom, MODE=0666
 KERNEL==mem|kmem|port|nvram, GROUP=kmem, MODE=0640
 
 # input
+SUBSYSTEM==input, ENV{ID_INPUT}==, IMPORT{program}=input_id %p
 KERNEL==mouse*|mice|event*,  MODE=0640
 KERNEL==ts[0-9]*|uinput, MODE=0640
 KERNEL==js[0-9]*,MODE=0644
@@ -50,7 +51,7 @@ SUBSYSTEM==firewire, ATTR{units}==*0x00b09d:0x00010*, 
GROUP=video
 SUBSYSTEM==firewire, ATTR{units}==*0x00a02d:0x010001*, GROUP=video
 SUBSYSTEM==firewire, ATTR{units}==*0x00a02d:0x014001*, GROUP=video
 
-# libusb device nodes
+# 'libusb' device nodes
 SUBSYSTEM==usb, ENV{DEVTYPE}==usb_device, MODE=0664
 SUBSYSTEM==usb, ENV{DEVTYPE}==usb_device, ENV{ID_USB_INTERFACES}==, 
IMPORT{program}=usb_id --export %p
 
diff --git a/rules/rules.d/60-persistent-input.rules 
b/rules/rules.d/60-persistent-input.rules
index 65a6381..e7611f5 100644
--- a/rules/rules.d/60-persistent-input.rules
+++ b/rules/rules.d/60-persistent-input.rules
@@ -4,7 +4,6 @@ ACTION==remove, GOTO=persistent_input_end
 SUBSYSTEM!=input, GOTO=persistent_input_end
 SUBSYSTEMS==bluetooth, GOTO=persistent_input_end
 
-ENV{ID_INPUT}==, IMPORT{program}=input_id %p
 SUBSYSTEMS==usb, ENV{ID_BUS}==, IMPORT{program}=usb_id --export %p
 
 # determine class name for persistent symlinks





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit udev for openSUSE:Factory

2011-07-27 Thread h_root

Hello community,

here is the log from the commit of package udev for openSUSE:Factory
checked in at Wed Jul 27 15:17:44 CEST 2011.




--- udev/udev.changes   2011-05-27 02:00:28.0 +0200
+++ /mounts/work_src_done/STABLE/udev/udev.changes  2011-07-14 
09:17:06.0 +0200
@@ -1,0 +2,8 @@
+Thu Jul 14 07:16:36 UTC 2011 - a...@suse.de
+
+- version 172
+  * udev now enables kernel media-presence polling if available.
+  * Libudev enumerate is now able to enumerate a subtree of a given
+device.
+
+---

calling whatdependson for head-i586


Old:

  udev-171.tar.bz2

New:

  udev-172.tar.bz2



Other differences:
--
++ udev.spec ++
--- /var/tmp/diff_new_pack.xOt7vW/_old  2011-07-27 15:16:34.0 +0200
+++ /var/tmp/diff_new_pack.xOt7vW/_new  2011-07-27 15:16:34.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   udev
 Url:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
-Version:171
+Version:172
 Release:1
 License:GPLv2+
 Group:  System/Kernel

++ udev-171.tar.bz2 - udev-172.tar.bz2 ++
 34733 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org