packages: udev/udev-uClibc.patch, udev/udev.spec - up to 170; issues from 1...

arekm arekm at pld-linux.org
Fri May 20 20:04:23 CEST 2011


Author: arekm                        Date: Fri May 20 18:04:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 170; issues from 169 fixed

---- Files affected:
packages/udev:
   udev-uClibc.patch (1.5 -> 1.6) , udev.spec (1.350 -> 1.351) 

---- Diffs:

================================================================
Index: packages/udev/udev-uClibc.patch
diff -u packages/udev/udev-uClibc.patch:1.5 packages/udev/udev-uClibc.patch:1.6
--- packages/udev/udev-uClibc.patch:1.5	Thu May 19 20:35:26 2011
+++ packages/udev/udev-uClibc.patch	Fri May 20 20:04:18 2011
@@ -243,7 +243,7 @@
  #include <sys/types.h>
  #include <sys/poll.h>
  #include <sys/socket.h>
-@@ -185,13 +185,21 @@
+@@ -187,13 +187,22 @@
  	conn->refcount = 1;
  	conn->uctrl = uctrl;
  
@@ -255,16 +255,17 @@
  	if (conn->sock < 0) {
  		if (errno != EINTR)
  			err(uctrl->udev, "unable to receive ctrl connection: %m\n");
- 		free(conn);
- 		return NULL;
+ 		goto err;
  	}
+ 
 +#ifdef __UCLIBC__
 +	fcntl(conn->sock, F_SETFD, FD_CLOEXEC);
 +	fcntl(conn->sock, F_SETFL, O_NONBLOCK);
 +#endif
- 
- 	/* enable receiving of the sender credentials */
- 	setsockopt(conn->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
++
+ 	/* check peer credential of connection */
+ 	slen = sizeof(ucred);
+ 	if (getsockopt(conn->sock, SOL_SOCKET, SO_PEERCRED, &ucred, &slen) < 0) {
 --- udev-168/udev/udevadm-monitor.c.orig	2011-04-26 01:53:44.361103209 +0200
 +++ udev-168/udev/udevadm-monitor.c	2011-04-26 01:54:41.946103207 +0200
 @@ -157,11 +157,18 @@

================================================================
Index: packages/udev/udev.spec
diff -u packages/udev/udev.spec:1.350 packages/udev/udev.spec:1.351
--- packages/udev/udev.spec:1.350	Thu May 19 20:35:26 2011
+++ packages/udev/udev.spec	Fri May 20 20:04:18 2011
@@ -32,13 +32,13 @@
 Summary(pl.UTF-8):	Zarządca urządzeń dla Linuksa 2.6
 Name:		udev
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
-Version:	169
-Release:	0.1
+Version:	170
+Release:	1
 Epoch:		1
 License:	GPL v2+
 Group:		Base
 Source0:	ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
-# Source0-md5:	967c66e6b8e29d7cfc98326c5b00454d
+# Source0-md5:	6e132d1a3b4dae24dafd2726c5cdd982
 # rules
 Source1:	%{name}-alsa.rules
 Source2:	%{name}.rules
@@ -344,7 +344,6 @@
 	--with-rootlibdir=/%{_lib} \
 	--disable-silent-rules \
 	--enable-edd \
-	--enable-hid2hci \
 	--enable-action_modeswitch \
 	--enable-gtk-doc \
 	--enable-introspection \
@@ -465,7 +464,7 @@
 %attr(755,root,root) /lib/udev/keyboard-force-release.sh
 
 %attr(755,root,root) /lib/udev/*_helper
-#%attr(755,root,root) /lib/udev/*_rules
+%attr(755,root,root) /lib/udev/*_rules
 
 %attr(755,root,root) /lib/udev/ata_id
 %attr(755,root,root) /lib/udev/cdrom_id
@@ -485,7 +484,7 @@
 %attr(755,root,root) /lib/udev/usb-db
 
 %attr(755,root,root) /lib/udev/findkeyboards
-#%attr(755,root,root) /lib/udev/mobile-action-modeswitch
+%attr(755,root,root) /lib/udev/mobile-action-modeswitch
 
 %attr(755,root,root) %{_sbindir}/start_udev
 %attr(755,root,root) %{_sbindir}/udevd
@@ -502,7 +501,7 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
 
 # rules below are NOT supposed to be changed by users
-#/lib/udev/rule_generator.functions
+/lib/udev/rule_generator.functions
 %dir /lib/udev/rules.d
 /lib/udev/rules.d/42-qemu-usb.rules
 /lib/udev/rules.d/50-firmware.rules
@@ -515,10 +514,9 @@
 /lib/udev/rules.d/60-persistent-storage-tape.rules
 /lib/udev/rules.d/60-persistent-storage.rules
 /lib/udev/rules.d/60-persistent-v4l.rules
-#/lib/udev/rules.d/61-mobile-action.rules
+/lib/udev/rules.d/61-mobile-action.rules
 /lib/udev/rules.d/61-persistent-storage-edd.rules
-#/lib/udev/rules.d/70-hid2hci.rules
-#/lib/udev/rules.d/75-cd-aliases-generator.rules
+/lib/udev/rules.d/75-cd-aliases-generator.rules
 /lib/udev/rules.d/75-net-description.rules
 /lib/udev/rules.d/75-probe_mtd.rules
 /lib/udev/rules.d/75-tty-description.rules
@@ -600,6 +598,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.351  2011/05/20 18:04:18  arekm
+- up to 170; issues from 169 fixed
+
 Revision 1.350  2011/05/19 18:35:26  arekm
 - up to 169 but rel 0.1 - new configure options are broken and don't make any effect
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udev/udev-uClibc.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udev/udev.spec?r1=1.350&r2=1.351&f=u



More information about the pld-cvs-commit mailing list