Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2012-03-20 11:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpid (Old)
 and      /work/SRC/openSUSE:Factory/.acpid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpid", Maintainer is "hma...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpid/acpid.changes      2012-01-25 
15:01:01.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2012-03-20 
11:24:43.000000000 +0100
@@ -1,0 +2,50 @@
+Fri Mar 16 12:49:12 UTC 2012 - tabra...@novell.com
+
+- Update to acpid 2.0.15
+  + Improve man page (Debian bug #656676)
+    (acpid.8 acpi_listen.8)  (Ted Felix)
+  + Change makefile to get rid of double slashes on install paths.
+    Note: This change was lost due to introduction of autoconf which
+    wiped out the old Makefile.  (Makefile)  (Gilles Espinasse)
+  + Switch from Makefile to autoconf build system.  Fix some related
+    warnings.
+    (Makefile Makefile.am README TODO acpi_ids.c acpi_ids.h acpid.h 
+    configure.ac connection_list.h event.c kacpimon/Makefile.am 
+    kacpimon/makefile proc.h sock.h)
+    (Cristian Rodriguez)
+  + Fix build warnings uncovered by new gcc settings from autoconf.
+    (inotify_handler.c input_layer.c kacpimon/acpi_ids.c kacpimon/acpi_ids.h 
+    kacpimon/connection_list.c kacpimon/connection_list.h 
+    kacpimon/input_layer.c kacpimon/kacpimon.c kacpimon/netlink.c netlink.c
+    proc.c sock.c)
+    (Ted Felix)
+  + Remove fcntl() calls to set FD_CLOEXEC and replace with
+    CLOEXEC flags within the various open(), recvmsg() and other calls.
+    Requires kernel version 2.6.23 and above.
+    (acpi_listen.c inotify_handler.c input_layer.c libnetlink.c netlink.c
+    proc.c ud_socket.c)
+    (Cristian Rodriguez)
+  + Add SOCK_NONBLOCK to ud_create_socket().
+    (ud_socket.c) (Cristian Rodriguez)
+  + Use isfdtype() instead of getsockopt() in is_socket().  Use fchmod(), 
+    fstat(), and fchown() instead of the non-"f" versions in open_sock().
+    (sock.c) (Cristian Rodriguez)
+  + Use __attribute__ for argument checking in acpid_log().
+    (input_layer.c log.h netlink.c ud_socket.c) (Cristian Rodriguez)
+  + Close only the open fds in close_fds().
+    (acpid.c) (Cristian Rodriguez)
+  + Use accept4() with SOCK_CLOEXEC and SOCK_NONBLOCK in ud_accept().
+    Remove unnecessary calls to fcntl() in process_sock().  
+    (sock.c ud_socket.c) (Cristian Rodriguez)
+  + Use asprintf() instead of snprintf() in process_sock().
+    (sock.c) (Cristian Rodriguez)
+  + Use TEMP_FAILURE_RETRY macro instead of bogus checks for EINTR.
+    (acpi_listen.c acpid.c event.c input_layer.c libnetlink.c netlink.c 
+    proc.c ud_socket.c) (Cristian Rodriguez)
+  + Use safer, faster, and more modern functions asprintf(), fstatat(), 
+    openat(), and fdopen() in the configuration file processing.
+    (event.c) (Cristian Rodriguez)
+
+- refreshed patches - acpid-makefile.patch acpid-wrong-memset.patch
+
+-------------------------------------------------------------------

Old:
----
  acpid-2.0.14.tar.gz

New:
----
  acpid-2.0.15.tar.gz

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

Other differences:
------------------
++++++ acpid.spec ++++++
--- /var/tmp/diff_new_pack.yLA275/_old  2012-03-20 11:24:44.000000000 +0100
+++ /var/tmp/diff_new_pack.yLA275/_new  2012-03-20 11:24:44.000000000 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           acpid
-Version:        2.0.14
+Version:        2.0.15
 Release:        0
 License:        GPL-2.0+
 Summary:        Executes Actions at ACPI Events
@@ -55,12 +55,13 @@
 %prep
 %setup -q
 %patch1
-%patch2 -p1
+%patch2 
 
 cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} 
%{SOURCE9} .
 
 %build
 export LDFLAGS="-Wl,-z,relro,-z,now"
+%configure 
 make OPT="%{optflags}" %{?_smp_mflags}
 
 %install
@@ -111,10 +112,12 @@
 %_unitdir/%{name}.service
 %{_sbindir}/rcacpid
 %{_sbindir}/acpid
+%{_sbindir}/kacpimon
 %{_bindir}/acpi_listen
 %doc README.SuSE README Changelog examples
 %{_mandir}/man8/acpid.8.gz
 %{_mandir}/man8/acpi_listen.8.gz
+%{_mandir}/man8/kacpimon.8.gz
 %ghost %config(noreplace,missingok) %{_localstatedir}/log/acpid
 
 %changelog

++++++ acpid-2.0.14.tar.gz -> acpid-2.0.15.tar.gz ++++++
++++ 16540 lines of diff (skipped)

++++++ acpid-makefile.patch ++++++
--- /var/tmp/diff_new_pack.yLA275/_old  2012-03-20 11:24:45.000000000 +0100
+++ /var/tmp/diff_new_pack.yLA275/_new  2012-03-20 11:24:45.000000000 +0100
@@ -1,13 +1,11 @@
-Index: Makefile
-===================================================================
---- Makefile.orig
-+++ Makefile
-@@ -49,7 +49,7 @@ install_docs:
-       for a in $(DOCS); do install -m 0644 $$a $(DESTDIR)/$(DOCDIR) ; done
-       cp -a samples $(DESTDIR)/$(DOCDIR)
+--- Makefile.in.orig   2012-03-16 09:34:42.474574907 -0400
++++ Makefile.in        2012-03-16 09:34:59.373363642 -0400
+@@ -890,7 +890,7 @@
+ 
+ info-am:
+ 
+-install-data-am: install-dist_docDATA install-man
++install-data-am: install-man
+ 
+ install-dvi: install-dvi-recursive
  
--install: $(PROGS) man install_docs
-+install: $(PROGS) man
-       mkdir -p $(DESTDIR)/$(SBINDIR)
-       mkdir -p $(DESTDIR)/$(BINDIR)
-       install -m 0750 acpid $(DESTDIR)/$(SBINDIR)

++++++ acpid-wrong-memset.patch ++++++
--- /var/tmp/diff_new_pack.yLA275/_old  2012-03-20 11:24:45.000000000 +0100
+++ /var/tmp/diff_new_pack.yLA275/_new  2012-03-20 11:24:45.000000000 +0100
@@ -1,13 +1,11 @@
-Index: acpid-2.0.13/libnetlink.c
-===================================================================
---- acpid-2.0.13.orig/libnetlink.c
-+++ acpid-2.0.13/libnetlink.c
-@@ -41,7 +41,7 @@ int rtnl_open_byproto(struct rtnl_handle
+--- libnetlink.c.orig  2012-03-16 09:03:33.422941268 -0400
++++ libnetlink.c       2012-03-16 09:03:52.113707601 -0400
+@@ -41,7 +41,7 @@
        int sndbuf = 32768;
        int rcvbuf = 32768;
  
 -      memset(rth, 0, sizeof(rth));
 +      memset(rth, 0, sizeof(*rth));
  
-       rth->fd = socket(AF_NETLINK, SOCK_RAW, protocol);
+       rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol);
        if (rth->fd < 0) {

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

Reply via email to