Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2019-08-24 18:45:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpid (Old)
 and      /work/SRC/openSUSE:Factory/.acpid.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpid"

Sat Aug 24 18:45:16 2019 rev:82 rq:725563 version:2.0.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpid/acpid.changes      2019-03-18 
10:44:04.983099300 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new.7948/acpid.changes    2019-08-24 
18:45:32.101762343 +0200
@@ -1,0 +2,7 @@
+Wed Aug 21 22:51:30 UTC 2019 - Aaron Stern <[email protected]>
+
+- Update to version 2.0.32
+  * Remove filename argument from --nosocket option
+  * Fix race during startup
+   
+----------------------------------------------------------------

Old:
----
  acpid-2.0.31.tar.xz

New:
----
  acpid-2.0.32.tar.xz

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

Other differences:
------------------
++++++ acpid.spec ++++++
--- /var/tmp/diff_new_pack.kzDIlu/_old  2019-08-24 18:45:35.413762023 +0200
+++ /var/tmp/diff_new_pack.kzDIlu/_new  2019-08-24 18:45:35.465762019 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           acpid
-Version:        2.0.31
+Version:        2.0.32
 Release:        0
 Summary:        Daemon to execute actions on ACPI events
 License:        GPL-2.0-or-later

++++++ acpid-2.0.31.tar.xz -> acpid-2.0.32.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/Changelog new/acpid-2.0.32/Changelog
--- old/acpid-2.0.31/Changelog  2018-11-16 03:08:54.899407477 +0100
+++ new/acpid-2.0.32/Changelog  2019-08-16 04:26:19.471645285 +0200
@@ -1,3 +1,13 @@
+* 2.0.32  2019-08-15  Ted Felix <[email protected]>
+  - 2.0.32 release
+    (configure.ac)  (Ted Felix)
+  - Remove filename argument from --nosocket option
+    Bug #17
+    (acpid.c acpid.8)  (Ted Felix)
+  - Fix race during startup
+    Bug #18.  Debian #933230.
+    (acpid.c input_layer.c)  (anomie)
+
 * 2.0.31  2018-11-15  Ted Felix <[email protected]>
   - 2.0.31 release
     (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/acpid.8 new/acpid-2.0.32/acpid.8
--- old/acpid-2.0.31/acpid.8    2018-03-29 17:42:27.702124397 +0200
+++ new/acpid-2.0.32/acpid.8    2018-12-14 14:12:18.740133632 +0100
@@ -117,7 +117,7 @@
 This option changes the name of the UNIX domain socket which \fBacpid\fP opens.
 Default is \fI/var/run/acpid.socket\fP.
 .TP
-.BI \-S "\fR, \fP" \-\-nosocket " filename"
+.BI \-S "\fR, \fP" \-\-nosocket
 This option tells \fBacpid\fP not to open a UNIX domain socket.  This
 overrides the \fI-s\fP option, and negates all other socket options.
 .TP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/acpid.c new/acpid-2.0.32/acpid.c
--- old/acpid-2.0.31/acpid.c    2018-03-29 17:05:57.252312727 +0200
+++ new/acpid-2.0.32/acpid.c    2019-07-31 14:21:00.861236271 +0200
@@ -99,12 +99,12 @@
        }
 
        if (netlink) {
-               /* open the input layer */
-               open_input();
-
                /* watch for new input layer devices */
                open_inotify();
 
+               /* open the input layer */
+               open_input();
+
                /* open netlink */
                open_netlink();
        }
@@ -205,7 +205,7 @@
                {"socketgroup", 1, 0, 'g'},
                {"socketmode", 1, 0, 'm'},
                {"socketfile", 1, 0, 's'},
-               {"nosocket", 1, 0, 'S'},
+               {"nosocket", 0, 0, 'S'},
                {"pidfile", 1, 0, 'p'},
                {"lockfile", 1, 0, 'L'},
                {"netlink", 0, 0, 'n'},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/config.h new/acpid-2.0.32/config.h
--- old/acpid-2.0.31/config.h   2018-11-16 03:11:15.094253370 +0100
+++ new/acpid-2.0.32/config.h   2019-08-16 04:29:26.026140983 +0200
@@ -134,7 +134,7 @@
 #define PACKAGE_NAME "acpid"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acpid 2.0.31"
+#define PACKAGE_STRING "acpid 2.0.32"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "acpid"
@@ -143,7 +143,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.0.31"
+#define PACKAGE_VERSION "2.0.32"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -171,7 +171,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.0.31"
+#define VERSION "2.0.32"
 
 /* Enable large inode numbers on Mac OS X 10.5.  */
 #ifndef _DARWIN_USE_64_BIT_INODE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/configure new/acpid-2.0.32/configure
--- old/acpid-2.0.31/configure  2018-11-16 03:11:01.673297798 +0100
+++ new/acpid-2.0.32/configure  2019-08-16 04:29:13.552555753 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for acpid 2.0.31.
+# Generated by GNU Autoconf 2.69 for acpid 2.0.32.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
 # Identity of this package.
 PACKAGE_NAME='acpid'
 PACKAGE_TARNAME='acpid'
-PACKAGE_VERSION='2.0.31'
-PACKAGE_STRING='acpid 2.0.31'
+PACKAGE_VERSION='2.0.32'
+PACKAGE_STRING='acpid 2.0.32'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1287,7 +1287,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures acpid 2.0.31 to adapt to many kinds of systems.
+\`configure' configures acpid 2.0.32 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1358,7 +1358,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of acpid 2.0.31:";;
+     short | recursive ) echo "Configuration of acpid 2.0.32:";;
    esac
   cat <<\_ACEOF
 
@@ -1453,7 +1453,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-acpid configure 2.0.31
+acpid configure 2.0.32
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1872,7 +1872,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by acpid $as_me 2.0.31, which was
+It was created by acpid $as_me 2.0.32, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2738,7 +2738,7 @@
 
 # Define the identity of the package.
  PACKAGE='acpid'
- VERSION='2.0.31'
+ VERSION='2.0.32'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -6059,7 +6059,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by acpid $as_me 2.0.31, which was
+This file was extended by acpid $as_me 2.0.32, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -6125,7 +6125,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-acpid config.status 2.0.31
+acpid config.status 2.0.32
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/configure.ac 
new/acpid-2.0.32/configure.ac
--- old/acpid-2.0.31/configure.ac       2018-07-18 14:30:43.944192443 +0200
+++ new/acpid-2.0.32/configure.ac       2018-11-16 03:16:25.699537838 +0100
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.60])
-AC_INIT([acpid], [2.0.31])
+AC_INIT([acpid], [2.0.32])
 AC_CONFIG_SRCDIR([connection_list.h])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.31/input_layer.c 
new/acpid-2.0.32/input_layer.c
--- old/acpid-2.0.31/input_layer.c      2018-08-01 16:11:59.934141098 +0200
+++ new/acpid-2.0.32/input_layer.c      2019-07-31 14:22:15.967758729 +0200
@@ -490,6 +490,13 @@
        for (i = 0; i < globbuf.gl_pathc; ++i) {
                filename = globbuf.gl_pathv[i];
 
+               /* Skip if already opened.  Need this to account for the
+                * possibility that an inotify may have snuck in.  */
+               if (find_connection_name(filename) != NULL) {
+                       success = 1;
+                       continue;
+               }
+
                /* open this input layer device file */
                if (open_inputfile(filename) == 0)
                        success = 1;


Reply via email to