commit acpid for openSUSE:Factory

2019-08-24 Thread root
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.changes2019-08-24 
18:45:32.101762343 +0200
@@ -1,0 +2,7 @@
+Wed Aug 21 22:51:30 UTC 2019 - Aaron Stern 
+
+- 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 
+  - 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 
   - 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.82018-03-29 17:42:27.702124397 +0200
+++ new/acpid-2.0.32/acpid.82018-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.c2018-03-29 17:05:57.252312727 +0200
+++ new/acpid-2.0.32/acpid.c2019-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

commit acpid for openSUSE:Factory

2019-03-18 Thread root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2019-03-18 10:44:04

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


Package is "acpid"

Mon Mar 18 10:44:04 2019 rev:81 rq:685962 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2019-03-10 
09:33:23.684204833 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new.28833/acpid.changes   2019-03-18 
10:44:04.983099300 +0100
@@ -1,0 +2,7 @@
+Sun Mar 17 13:23:12 UTC 2019 - Jan Engelhardt 
+
+- Reduce %systemd_requires to %systemd_ordering:
+  %service_* can deal with its absence.
+- Reduce boasting wording in description.
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.MjiLJV/_old  2019-03-18 10:44:05.507098738 +0100
+++ /var/tmp/diff_new_pack.MjiLJV/_new  2019-03-18 10:44:05.511098733 +0100
@@ -35,13 +35,13 @@
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
 BuildRequires:  systemd-rpm-macros
-%systemd_requires
+%systemd_ordering
 
 %description
-ACPID is a completely flexible, totally extensible daemon for
-delivering ACPI events. It listens to a file (/proc/acpi/event) and,
-when an event occurs, executes programs to handle the event. The start
-script loads all needed modules.
+ACPID is a flexible, extensible daemon for delivering ACPI events. It
+listens to a file (/proc/acpi/event) and, when an event occurs,
+executes programs to handle the event. The start script loads all
+needed modules.
 
 %prep
 %setup -q
@@ -56,7 +56,7 @@
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
+%make_install BINDIR=%{_sbindir}
 install -Dm 744 thinkpad_handler 
%{buildroot}%{_libexecdir}/acpid/thinkpad_handler
 install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
 mkdir -p %{buildroot}/%{_unitdir}




commit acpid for openSUSE:Factory

2019-03-10 Thread root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2019-03-10 09:33:18

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


Package is "acpid"

Sun Mar 10 09:33:18 2019 rev:80 rq:682396 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2018-10-02 
19:48:37.249756345 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new.28833/acpid.changes   2019-03-10 
09:33:23.684204833 +0100
@@ -1,0 +2,8 @@
+Wed Mar  6 21:22:04 UTC 2019 - Matthias Eliasson 
+
+- Update to version 2.0.31 
+  * Add events for keyboard illumination up/down
+  * kacpimon: Bump connection limit to 100
+- Run spec-cleaner
+
+---

Old:

  acpid-2.0.30.tar.xz

New:

  acpid-2.0.31.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.lsGgEQ/_old  2019-03-10 09:33:25.144204466 +0100
+++ /var/tmp/diff_new_pack.lsGgEQ/_new  2019-03-10 09:33:25.144204466 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,17 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   acpid
-Version:2.0.30
+Version:2.0.31
 Release:0
 Summary:Daemon to execute actions on ACPI events
 License:GPL-2.0-or-later
 Group:  System/Daemons
-Url:http://sourceforge.net/projects/acpid2/
+URL:http://sourceforge.net/projects/acpid2/
 Source: 
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
 Source3:README.SUSE
 Source5:events.power_button
@@ -84,7 +84,6 @@
 %service_del_preun acpid.service
 
 %files
-%defattr(-,root,root)
 %dir %{_sysconfdir}/acpi
 %dir %{_sysconfdir}/acpi/events
 %{_sysconfdir}/acpi/events/thinkpad
@@ -95,9 +94,9 @@
 %{_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
+%{_mandir}/man8/acpid.8%{?ext_man}
+%{_mandir}/man8/acpi_listen.8%{?ext_man}
+%{_mandir}/man8/kacpimon.8%{?ext_man}
 %ghost %config(noreplace,missingok) %{_localstatedir}/log/acpid
 
 %changelog

++ acpid-2.0.30.tar.xz -> acpid-2.0.31.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.30/Changelog new/acpid-2.0.31/Changelog
--- old/acpid-2.0.30/Changelog  2018-07-18 14:21:51.625067115 +0200
+++ new/acpid-2.0.31/Changelog  2018-11-16 03:08:54.899407477 +0100
@@ -1,3 +1,12 @@
+* 2.0.31  2018-11-15  Ted Felix 
+  - 2.0.31 release
+(configure.ac)  (Ted Felix)
+  - Add events for keyboard illumination up/down
+(input_layer.c)  (Lars-Dominik Braun)
+  - kacpimon: Bump connection limit to 100
+Debian #909399
+(kacpimon/connection_list.c)  (Ted Felix)
+
 * 2.0.30  2018-07-18  Ted Felix 
   - 2.0.30 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.30/config.h new/acpid-2.0.31/config.h
--- old/acpid-2.0.30/config.h   2018-07-18 14:26:28.572076760 +0200
+++ new/acpid-2.0.31/config.h   2018-11-16 03:11:15.094253370 +0100
@@ -134,7 +134,7 @@
 #define PACKAGE_NAME "acpid"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acpid 2.0.30"
+#define PACKAGE_STRING "acpid 2.0.31"
 
 /* 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.30"
+#define PACKAGE_VERSION "2.0.31"
 
 /* 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.30"
+#define VERSION "2.0.31"
 
 /* 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.30/configure new/acpid-2.0.31/configure
--- old/acpid-2.0.30/configure  2018-07-18 14:26:17.081034779 +0200
+++ new/acpid-2.0.31/configure  2018-11-16 03:11:01.673297798 +0100
@@ 

commit acpid for openSUSE:Factory

2018-10-02 Thread root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2018-10-02 19:47:35

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


Package is "acpid"

Tue Oct  2 19:47:35 2018 rev:79 rq:639331 version:2.0.30

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2018-07-31 
16:04:25.120058634 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2018-10-02 
19:48:37.249756345 +0200
@@ -1,0 +2,8 @@
+Fri Sep 28 10:53:21 UTC 2018 - egotth...@suse.com
+
+- Update to version 2.0.30
+  * configure: Don't use AC_FUNC_MALLOC, AC_FUNC_REALLOC.
+  * samples: powerbtn: extend the list of known PMS
+  * samples: powerbtn: fix kde4 power management detection
+
+---

Old:

  acpid-2.0.29.tar.xz

New:

  acpid-2.0.30.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.ATzkKH/_old  2018-10-02 19:48:39.309754206 +0200
+++ /var/tmp/diff_new_pack.ATzkKH/_new  2018-10-02 19:48:39.317754197 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   acpid
-Version:2.0.29
+Version:2.0.30
 Release:0
 Summary:Daemon to execute actions on ACPI events
 License:GPL-2.0-or-later

++ acpid-2.0.29.tar.xz -> acpid-2.0.30.tar.xz ++
 2876 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.29/Changelog new/acpid-2.0.30/Changelog
--- old/acpid-2.0.29/Changelog  2018-04-17 03:23:48.285350136 +0200
+++ new/acpid-2.0.30/Changelog  2018-07-18 14:21:51.625067115 +0200
@@ -1,3 +1,13 @@
+* 2.0.30  2018-07-18  Ted Felix 
+  - 2.0.30 release
+(configure.ac)  (Ted Felix)
+  - configure: Don't use AC_FUNC_MALLOC, AC_FUNC_REALLOC.
+(configure.ac)  (Robin Gloster )
+  - samples: powerbtn: extend the list of known PMS
+(powerbtn.sh)  (Andrey Utkin )
+  - samples: powerbtn: fix kde4 power management detection
+(powerbtn.sh)  (Andrey Utkin )
+
 * 2.0.29  2018-04-16  Ted Felix 
   - 2.0.29 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.29/config.h new/acpid-2.0.30/config.h
--- old/acpid-2.0.29/config.h   2018-04-17 03:25:55.259149321 +0200
+++ new/acpid-2.0.30/config.h   2018-07-18 14:26:28.572076760 +0200
@@ -37,8 +37,7 @@
 /* Define to 1 if you have the `isfdtype' function. */
 #define HAVE_ISFDTYPE 1
 
-/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
-   to 0 otherwise. */
+/* Define to 1 if you have the `malloc' function. */
 #define HAVE_MALLOC 1
 
 /* Define to 1 if you have the  header file. */
@@ -56,8 +55,7 @@
 /* "Define if openat() exists" */
 #define HAVE_OPENAT 1
 
-/* Define to 1 if your system has a GNU libc compatible `realloc' function,
-   and to 0 otherwise. */
+/* Define to 1 if you have the `realloc' function. */
 #define HAVE_REALLOC 1
 
 /* Define to 1 if you have the `regcomp' function. */
@@ -136,7 +134,7 @@
 #define PACKAGE_NAME "acpid"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acpid 2.0.29"
+#define PACKAGE_STRING "acpid 2.0.30"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "acpid"
@@ -145,7 +143,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.0.29"
+#define PACKAGE_VERSION "2.0.30"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -173,7 +171,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.0.29"
+#define VERSION "2.0.30"
 
 /* Enable large inode numbers on Mac OS X 10.5.  */
 #ifndef _DARWIN_USE_64_BIT_INODE
@@ -196,18 +194,12 @@
 /* Define to 1 if you need to in order for `stat' and other things to work. */
 /* #undef _POSIX_SOURCE */
 
-/* Define to rpl_malloc if the replacement function should be used. */
-/* #undef malloc */
-
 /* Define to `int' if  does not define. */
 /* #undef mode_t */
 
 /* Define to `int' if  does not define. */
 /* #undef pid_t */
 
-/* Define to rpl_realloc if the replacement function should be used. */
-/* #undef realloc */
-
 /* Define to 

commit acpid for openSUSE:Factory

2018-07-31 Thread root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2018-07-31 16:04:07

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


Package is "acpid"

Tue Jul 31 16:04:07 2018 rev:78 rq:626643 version:2.0.29

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2018-06-19 
12:05:17.442407101 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2018-07-31 
16:04:25.120058634 +0200
@@ -1,0 +2,5 @@
+Sun Jul 29 09:09:55 UTC 2018 - jeng...@inai.de
+
+- Use noun phrase in summary.
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.xv8rzh/_old  2018-07-31 16:04:25.832059848 +0200
+++ /var/tmp/diff_new_pack.xv8rzh/_new  2018-07-31 16:04:25.836059855 +0200
@@ -19,7 +19,7 @@
 Name:   acpid
 Version:2.0.29
 Release:0
-Summary:Executes Actions at ACPI Events
+Summary:Daemon to execute actions on ACPI events
 License:GPL-2.0-or-later
 Group:  System/Daemons
 Url:http://sourceforge.net/projects/acpid2/




commit acpid for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2018-06-19 12:05:14

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


Package is "acpid"

Tue Jun 19 12:05:14 2018 rev:77 rq:617434 version:2.0.29

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2017-11-10 
14:58:08.118476736 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2018-06-19 
12:05:17.442407101 +0200
@@ -1,0 +2,8 @@
+Sat Jun  9 22:37:54 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to 2.0.29:
+  * Decouple -d and -f options.  Bug #15.
+  * Rename acpid_debug -> debug_level.
+  * Log missing input layer as a warning.
+
+---

Old:

  acpid-2.0.28.tar.xz

New:

  acpid-2.0.29.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.xsYHPx/_old  2018-06-19 12:05:18.514367301 +0200
+++ /var/tmp/diff_new_pack.xsYHPx/_new  2018-06-19 12:05:18.518367153 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
 
 
 Name:   acpid
-Version:2.0.28
+Version:2.0.29
 Release:0
 Summary:Executes Actions at ACPI Events
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Daemons
 Url:http://sourceforge.net/projects/acpid2/
 Source: 
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz

++ acpid-2.0.28.tar.xz -> acpid-2.0.29.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.28/Changelog new/acpid-2.0.29/Changelog
--- old/acpid-2.0.28/Changelog  2016-09-15 21:58:08.747135430 +0200
+++ new/acpid-2.0.29/Changelog  2018-04-17 03:23:48.285350136 +0200
@@ -1,3 +1,15 @@
+* 2.0.29  2018-04-16  Ted Felix 
+  - 2.0.29 release
+(configure.ac)  (Ted Felix)
+  - Decouple -d and -f options.  Bug #15.
+(acpid.8 acpid.c acpid.h log.c log.h TESTPLAN) (Casper Ti. Vector)
+  - Rename acpid_debug -> debug_level.
+(acpid.c event.c log.c log.h) (Ted Felix)
+  - Standards: man page command references.
+(acpid.8 kacpimon/kacpimon.8) (Ted Felix)
+  - Log missing input layer as a warning.
+(inotify_handler.c) (Ted Felix)
+
 * 2.0.28  2016-09-15  Ted Felix 
   - 2.0.28 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.28/TESTPLAN new/acpid-2.0.29/TESTPLAN
--- old/acpid-2.0.28/TESTPLAN   2015-07-29 01:20:13.072440075 +0200
+++ new/acpid-2.0.29/TESTPLAN   2018-03-29 17:02:02.915917661 +0200
@@ -25,7 +25,7 @@
   sudo systemctl stop acpid acpid.socket
 
 - To make testing more convenient, you can run acpid from a shell as 
-  "acpid -ld" to get maximum logging.  Use Ctrl-C to stop acpid.
+  "acpid -fld" to get maximum logging.  Use Ctrl-C to stop acpid.
 
 Normal Paths
 
@@ -92,10 +92,10 @@
 Run acpid with the -l option and make sure events are logged to syslog.
 
 * debug mode
-Run acpid with the -d option and note that it runs in the foreground and 
+Run acpid with the -fd option and note that it runs in the foreground and
 provides debugging info to the console.
 acpid also supports up to 4 debug levels in the event handler.  Might want 
-to try "-" and see what happens.
+to try "-f" and see what happens.
 
 * foreground mode
 Run acpid with the -f option and note that it runs in the foreground.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.28/acpid.8 new/acpid-2.0.29/acpid.8
--- old/acpid-2.0.28/acpid.82014-08-22 15:12:22.029473237 +0200
+++ new/acpid-2.0.29/acpid.82018-03-29 17:42:27.702124397 +0200
@@ -21,9 +21,9 @@
 \fIRules\fP are defined by simple configuration files.  \fBacpid\fP
 will look in a configuration directory (\fI/etc/acpi/events\fP by default),
 and parse all regular files with names that consist entirely of upper and
-lower case letters, digits, underscores, and hyphens (similar to 
-run-parts(8)).
-.\" that do not begin with a period ('.') or end with a tilde (~).  
+lower case letters, digits, underscores, and hyphens (similar to
+.BR run-parts (8))
+that do not begin with a period ('.') or end with a tilde (~).
 Each file must define two things: an \fIevent\fP and an
 \fIaction\fP.  Any blank lines, or lines where the first character is 

commit acpid for openSUSE:Factory

2017-11-10 Thread root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2017-11-10 14:57:54

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


Package is "acpid"

Fri Nov 10 14:57:54 2017 rev:76 rq:540220 version:2.0.28

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2016-11-29 
12:50:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2017-11-10 
14:58:08.118476736 +0100
@@ -1,0 +2,8 @@
+Sat Nov  4 19:55:37 UTC 2017 - aavind...@gmail.com
+
+- Update to version 2.0.28
+  * Fix intermittent "Address already in use"
+  * inotify: process all inotify messages in buffer
+  * Use proper lengths for inotify buffers.
+
+---

Old:

  acpid-2.0.27.tar.xz

New:

  acpid-2.0.28.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.rSzXht/_old  2017-11-10 14:58:10.146403383 +0100
+++ /var/tmp/diff_new_pack.rSzXht/_new  2017-11-10 14:58:10.146403383 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   acpid
-Version:2.0.27
+Version:2.0.28
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+

++ acpid-2.0.27.tar.xz -> acpid-2.0.28.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.27/Changelog new/acpid-2.0.28/Changelog
--- old/acpid-2.0.27/Changelog  2016-03-16 00:22:38.484938795 +0100
+++ new/acpid-2.0.28/Changelog  2016-09-15 21:58:08.747135430 +0200
@@ -1,3 +1,13 @@
+* 2.0.28  2016-09-15  Ted Felix 
+  - 2.0.28 release
+(configure.ac)  (Ted Felix)
+  - Fix intermittent "Address already in use".  Bug #12.
+(acpid.c)  (Andreas Chmielewski)
+  - inotify: process all inotify messages in buffer.  Bug #13.
+(inotify_handler.c)  (Dennis Wassenberg)
+  - Use proper lengths for inotify buffers.
+(inotify_handler.c)  (Ted Felix)
+
 * 2.0.27  2016-03-15  Ted Felix 
   - 2.0.27 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.27/Makefile.in new/acpid-2.0.28/Makefile.in
--- old/acpid-2.0.27/Makefile.in2016-03-16 00:24:09.215227884 +0100
+++ new/acpid-2.0.28/Makefile.in2016-09-15 21:59:53.845696113 +0200
@@ -367,6 +367,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.27/acpid.c new/acpid-2.0.28/acpid.c
--- old/acpid-2.0.27/acpid.c2015-07-29 00:32:35.424948091 +0200
+++ new/acpid-2.0.28/acpid.c2016-04-25 01:13:22.996715770 +0200
@@ -83,7 +83,14 @@
 
/* open the log */
open_log();
-   
+
+   /* if we're running in the background, and we're not being started */
+   /* by systemd */
+   if (!foreground  &&  !is_socket(STDIN_FILENO)) {
+   if (daemonize() < 0)
+   exit(EXIT_FAILURE);
+   }
+
if (!netlink) {
/* open the acpi event file in the proc fs */
/* if the open fails, try netlink */
@@ -107,13 +114,6 @@
open_sock();
}
 
-   /* if we're running in the background, and we're not being started */
-   /* by systemd */
-   if (!foreground  &&  !is_socket(STDIN_FILENO)) {
-   if (daemonize() < 0)
-   exit(EXIT_FAILURE);
-   }
-
/* redirect standard files to /dev/null */
if (std2null() < 0) {
exit(EXIT_FAILURE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.27/build-aux/config.guess 
new/acpid-2.0.28/build-aux/config.guess
--- old/acpid-2.0.27/build-aux/config.guess 2016-03-16 00:24:09.062227402 
+0100
+++ new/acpid-2.0.28/build-aux/config.guess 2016-09-15 21:59:53.692696753 
+0200
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2014 Free Software Foundation, Inc.
+#   Copyright 1992-2015 Free Software Foundation, Inc.
 
-timestamp='2014-03-23'
+timestamp='2015-08-20'
 
 # This file is free software; you 

commit acpid for openSUSE:Factory

2016-11-29 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2016-11-29 12:50:14

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


Package is "acpid"

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2016-04-28 
17:02:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2016-11-29 
12:50:15.0 +0100
@@ -1,0 +2,7 @@
+Mon Nov 28 15:42:02 UTC 2016 - msucha...@suse.com
+
+- Remove ExclusiveArch. At least some ARM boards emulate ACPI events with their
+  power button driver. At worst the daemon will be superfluous on some systems.
+  (bsc#1012325)
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.SlmrS7/_old  2016-11-29 12:50:16.0 +0100
+++ /var/tmp/diff_new_pack.SlmrS7/_new  2016-11-29 12:50:16.0 +0100
@@ -35,7 +35,6 @@
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
 BuildRequires:  systemd-rpm-macros
-ExclusiveArch:  %ix86 x86_64 ia64
 %systemd_requires
 
 %description




commit acpid for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2016-04-28 16:57:10

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


Package is "acpid"

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2016-02-24 
14:25:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2016-04-28 
17:02:20.0 +0200
@@ -1,0 +2,9 @@
+Mon Apr 25 11:59:33 UTC 2016 - p.drou...@gmail.com
+
+- Update to version 2.0.27
+  * Fix out of tree build (sock.c ud_socket.c)
+  - kacpimon: fix out of tree build (kacpimon/Makefile.am)
+  - input_layer: Allow repeated reporting of VOLUME keys (input_layer.c)
+- Remove some extra tags
+
+---

Old:

  acpid-2.0.26.tar.xz

New:

  acpid-2.0.27.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.NQ5sVo/_old  2016-04-28 17:02:22.0 +0200
+++ /var/tmp/diff_new_pack.NQ5sVo/_new  2016-04-28 17:02:22.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   acpid
-Version:2.0.26
+Version:2.0.27
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+
@@ -35,8 +35,6 @@
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64 ia64
 %systemd_requires
 

++ acpid-2.0.26.tar.xz -> acpid-2.0.27.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.26/Changelog new/acpid-2.0.27/Changelog
--- old/acpid-2.0.26/Changelog  2016-01-15 20:37:07.0 +0100
+++ new/acpid-2.0.27/Changelog  2016-03-16 00:22:38.0 +0100
@@ -1,3 +1,13 @@
+* 2.0.27  2016-03-15  Ted Felix 
+  - 2.0.27 release
+(configure.ac)  (Ted Felix)
+  - Fix out of tree build
+(sock.c ud_socket.c) (Maxin B. John )
+  - kacpimon: fix out of tree build
+(kacpimon/Makefile.am) (Maxin B. John )
+  - input_layer: Allow repeated reporting of VOLUME keys
+(input_layer.c) (Torsten Hilbrich )
+
 * 2.0.26  2016-01-15  Ted Felix 
   - 2.0.26 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.26/config.h new/acpid-2.0.27/config.h
--- old/acpid-2.0.26/config.h   2016-01-15 20:39:29.0 +0100
+++ new/acpid-2.0.27/config.h   2016-03-16 00:24:24.0 +0100
@@ -136,7 +136,7 @@
 #define PACKAGE_NAME "acpid"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acpid 2.0.26"
+#define PACKAGE_STRING "acpid 2.0.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "acpid"
@@ -145,7 +145,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.0.26"
+#define PACKAGE_VERSION "2.0.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -173,7 +173,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.0.26"
+#define VERSION "2.0.27"
 
 /* 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.26/configure new/acpid-2.0.27/configure
--- old/acpid-2.0.26/configure  2016-01-15 20:39:19.0 +0100
+++ new/acpid-2.0.27/configure  2016-03-16 00:24:08.0 +0100
@@ -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.26.
+# Generated by GNU Autoconf 2.69 for acpid 2.0.27.
 #
 #
 # 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.26'
-PACKAGE_STRING='acpid 2.0.26'
+PACKAGE_VERSION='2.0.27'
+PACKAGE_STRING='acpid 2.0.27'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1276,7 +1276,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.26 to adapt to many kinds of systems.
+\`configure' configures acpid 2.0.27 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1346,7 +1346,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | 

commit acpid for openSUSE:Factory

2016-02-24 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2016-02-24 14:25:27

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


Package is "acpid"

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2015-09-30 
05:52:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2016-02-24 
14:25:29.0 +0100
@@ -1,0 +2,9 @@
+Sun Jan 17 10:05:01 UTC 2016 - mplus...@suse.com
+
+- Update to 2.0.26
+  * Fix build warning with new kernel headers.
+  * Fix build with musl libc.  Define isfdtype() if libc doesn't 
+have it.
+  * Fix out of tree build.
+
+---

Old:

  acpid-2.0.25.tar.xz

New:

  acpid-2.0.26.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.R4YSAI/_old  2016-02-24 14:25:30.0 +0100
+++ /var/tmp/diff_new_pack.R4YSAI/_new  2016-02-24 14:25:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   acpid
-Version:2.0.25
+Version:2.0.26
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+

++ acpid-2.0.25.tar.xz -> acpid-2.0.26.tar.xz ++
 1642 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/Changelog new/acpid-2.0.26/Changelog
--- old/acpid-2.0.25/Changelog  2015-08-17 01:04:51.0 +0200
+++ new/acpid-2.0.26/Changelog  2016-01-15 20:37:07.0 +0100
@@ -1,4 +1,16 @@
-* Sun Aug 16 2015  Ted Felix 
+* 2.0.26  2016-01-15  Ted Felix 
+  - 2.0.26 release
+(configure.ac)  (Ted Felix)
+  - Fix build warning with new kernel headers.  Debian #808015.
+(libnetlink.c kacpimon/libnetlink.c)  (Ted Felix)
+  - Fix build with musl libc.  Define isfdtype() if libc doesn't have it.
+(configure.ac sock.c)
+(Khem Raj)
+  - Fix out of tree build.
+(Makefile.am)
+(Khem Raj)
+
+* 2.0.25  2015-08-16  Ted Felix 
   - 2.0.25 release
 (configure.ac)  (Ted Felix)
   - Remove release process from README.
@@ -7,7 +19,7 @@
 (Makefile.am kacpimon/Makefile.am kacpimon/libc_compat.h)
 (Ted Felix)
 
-* Sat Aug 15 2015  Ted Felix 
+* 2.0.24  2015-08-15  Ted Felix 
   - 2.0.24 release
 (configure.ac)  (Ted Felix)
   - Avoid using SW_VIDEOOUT_INSERT if it isn't available.  (input_layer.c)
@@ -22,7 +34,7 @@
   - Add systemd info to documentation.  (README TESTPLAN)
 (Ted Felix)
 
-* Sat Aug 23 2014  Ted Felix 
+* 2.0.23  2014-08-23  Ted Felix 
   - 2.0.23 release
 (configure.ac)  (Ted Felix)
   - Avoid using KEY_MICMUTE if it doesn't exist.
@@ -30,7 +42,7 @@
   - Add troubleshooting section to man page.
 (acpid.8)  (Ted Felix)
 
-* Sat March 15 2014  Ted Felix 
+* 2.0.22  2014-03-15  Ted Felix 
   - 2.0.22 release
 (configure.ac)  (Ted Felix)
   - Add support for F20.  Debian Bug #738611.
@@ -43,14 +55,14 @@
   - Update man page for --tpmutefix.
 (acpid.8)  (Ted Felix)
 
-* Wed Jan 15 2014  Ted Felix 
+* 2.0.21  2014-01-15  Ted Felix 
   - 2.0.21 release
 (configure.ac)  (Ted Felix)
   - Add new  action.  Debian #732277.
 (acpid.c event.h event.c acpid.8)
 (Pigeon , Ted Felix)
 
-* Sun Sep 15 2013  Ted Felix 
+* 2.0.20  2013-09-15  Ted Felix 
   - 2.0.20 release
 (configure.ac)  (Ted Felix)
   - Improve build and release documentation.  
@@ -62,7 +74,7 @@
   - Update .gitignore for Eclipse.
 (.gitignore)  (Ted Felix)
 
-* Tue May 28 2013  Ted Felix 
+* 2.0.19  2013-05-28  Ted Felix 
   - 2.0.19 release
 (configure.ac)  (Ted Felix)
   - README improvements  (README)  (Ted Felix)
@@ -72,7 +84,7 @@
   - Add support for mic mute (KEY_MICMUTE).
 (input_layer.c)  (Ted Felix)
 
-* Fri Feb 15 2013  Ted Felix 
+* 2.0.18  2013-02-15  Ted Felix 

commit acpid for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2015-09-30 05:52:19

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


Package is "acpid"

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2014-12-19 
09:37:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2015-09-30 
05:52:24.0 +0200
@@ -1,0 +2,16 @@
+Sat Sep 26 10:51:13 UTC 2015 - mplus...@suse.com
+
+- Update to 2.0.25
+  * Remove release process from README.
+  * Fix missing libc_compat.h in release tarball.
+- Changes for 2.0.24
+  * Avoid using SW_VIDEOOUT_INSERT if it isn't available.
+  * Add support for Copy and Restart keys.
+  * Add support for non-glibc libc's.
+  * Fix compiler warnings.
+  * Add systemd info to documentation.
+- Update project url
+- Cleanup spec file with spec-cleaner
+- Obey default CFLAGS
+
+---

Old:

  acpid-2.0.23.tar.xz

New:

  acpid-2.0.25.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.yBN8nS/_old  2015-09-30 05:52:25.0 +0200
+++ /var/tmp/diff_new_pack.yBN8nS/_new  2015-09-30 05:52:25.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:   acpid
-Version:2.0.23
+Version:2.0.25
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+
 Group:  System/Daemons
-Url:http://tedfelix.com/linux/acpid-netlink.html
+Url:http://sourceforge.net/projects/acpid2/
 Source: 
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
 Source3:README.SUSE
 Source5:events.power_button
@@ -32,7 +32,6 @@
 Source9:events.thinkpad
 Source10:   events.sleep_button
 Source11:   sleep_button
-
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
 BuildRequires:  systemd-rpm-macros
@@ -54,13 +53,14 @@
 cp %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} 
%{SOURCE11} .
 
 %build
+export CFLAGS="%{optflags}"
 export LDFLAGS="-Wl,-z,relro,-z,now"
 %configure 
 make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
-install -Dm 744 thinkpad_handler 
%{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
+install -Dm 744 thinkpad_handler 
%{buildroot}%{_libexecdir}/acpid/thinkpad_handler
 install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
 mkdir -p %{buildroot}/%{_unitdir}
 install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
@@ -91,8 +91,8 @@
 %dir %{_sysconfdir}/acpi
 %dir %{_sysconfdir}/acpi/events
 %{_sysconfdir}/acpi/events/thinkpad
-%{_prefix}/lib/acpid
-%_unitdir/%{name}.service
+%{_libexecdir}/acpid
+%{_unitdir}/%{name}.service
 %{_sbindir}/rcacpid
 %{_sbindir}/acpid
 %{_sbindir}/kacpimon

++ acpid-2.0.23.tar.xz -> acpid-2.0.25.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.23/Changelog new/acpid-2.0.25/Changelog
--- old/acpid-2.0.23/Changelog  2014-08-23 19:51:13.0 +0200
+++ new/acpid-2.0.25/Changelog  2015-08-17 01:04:51.0 +0200
@@ -1,3 +1,27 @@
+* Sun Aug 16 2015  Ted Felix 
+  - 2.0.25 release
+(configure.ac)  (Ted Felix)
+  - Remove release process from README.
+(README)  (Ted Felix)
+  - Fix missing libc_compat.h in release tarball.
+(Makefile.am kacpimon/Makefile.am kacpimon/libc_compat.h)
+(Ted Felix)
+
+* Sat Aug 15 2015  Ted Felix 
+  - 2.0.24 release
+(configure.ac)  (Ted Felix)
+  - Avoid using SW_VIDEOOUT_INSERT if it isn't available.  (input_layer.c)
+(Bostjan Skufca )
+  - Add support for Copy and Restart keys.  (input_layer.c)
+(Andrey Kuznetsov)
+  - Add support for non-glibc libc's.  (acpi_listen.c acpid.c event.c
+input_layer.c kacpimon/libnetlink.h libc_compat.h libnetlink.c netlink.c
+proc.c ud_socket.c) (Brendan Heading )
+  - Fix compiler warnings.  (acpi_listen.c event.c sock.c)
+(Brendan Heading )
+  - Add systemd info to documentation.  (README TESTPLAN)
+(Ted Felix)
+
 * Sat Aug 23 2014  Ted Felix 
   - 2.0.23 release
 (configure.ac)  

commit acpid for openSUSE:Factory

2014-12-19 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2014-12-19 09:38:42

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2014-08-13 
08:49:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2014-12-19 
09:37:38.0 +0100
@@ -1,0 +2,9 @@
+Tue Dec 16 12:11:57 UTC 2014 - p.drou...@gmail.com
+
+- Update to version 2.0.23
+  + Avoid using KEY_MICMUTE if it doesn't exist.
+(input_layer.c)  (Lonnie Abelbeck)
+  + Add troubleshooting section to man page.
+(acpid.8)  (Ted Felix)
+
+---

Old:

  acpid-2.0.22.tar.xz

New:

  acpid-2.0.23.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.gtRgnv/_old  2014-12-19 09:37:39.0 +0100
+++ /var/tmp/diff_new_pack.gtRgnv/_new  2014-12-19 09:37:39.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   acpid
-Version:2.0.22
+Version:2.0.23
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+

++ acpid-2.0.22.tar.xz - acpid-2.0.23.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.22/Changelog new/acpid-2.0.23/Changelog
--- old/acpid-2.0.22/Changelog  2014-03-15 18:55:24.0 +0100
+++ new/acpid-2.0.23/Changelog  2014-08-23 19:51:13.0 +0200
@@ -1,3 +1,11 @@
+* Sat Aug 23 2014  Ted Felix t...@tedfelix.com
+  - 2.0.23 release
+(configure.ac)  (Ted Felix)
+  - Avoid using KEY_MICMUTE if it doesn't exist.
+(input_layer.c)  (Lonnie Abelbeck)
+  - Add troubleshooting section to man page.
+(acpid.8)  (Ted Felix)
+
 * Sat March 15 2014  Ted Felix t...@tedfelix.com
   - 2.0.22 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.22/Makefile.in new/acpid-2.0.23/Makefile.in
--- old/acpid-2.0.22/Makefile.in2014-03-15 18:58:15.0 +0100
+++ new/acpid-2.0.23/Makefile.in2014-08-23 19:53:10.0 +0200
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.13.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
@@ -421,8 +421,8 @@
 $(am__aclocal_m4_deps):
 
 config.h: stamp-h1
-   @if test ! -f $@; then rm -f stamp-h1; else :; fi
-   @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
+   @test -f $@ || rm -f stamp-h1
+   @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
 
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
@@ -811,10 +811,16 @@
$(am__post_remove_distdir)
 
 dist-tarZ: distdir
+   @echo WARNING: Support for shar distribution archives is \
+  deprecated. 2
+   @echo WARNING: It will be removed altogether in Automake 2.0 2
tardir=$(distdir)  $(am__tar) | compress -c $(distdir).tar.Z
$(am__post_remove_distdir)
 
 dist-shar: distdir
+   @echo WARNING: Support for distribution archives compressed with \
+  legacy program 'compress' is deprecated. 2
+   @echo WARNING: It will be removed altogether in Automake 2.0 2
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c $(distdir).shar.gz
$(am__post_remove_distdir)
 
@@ -856,9 +862,10 @@
   dc_destdir=$${TMPDIR-/tmp}/am-dc-/ \
   am__cwd=`pwd` \
   $(am__cd) $(distdir)/_build \
-  ../configure --srcdir=.. --prefix=$$dc_install_base \
+  ../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
+   --srcdir=.. --prefix=$$dc_install_base \
   $(MAKE) $(AM_MAKEFLAGS) \
   $(MAKE) $(AM_MAKEFLAGS) dvi \
   $(MAKE) $(AM_MAKEFLAGS) check \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.22/aclocal.m4 new/acpid-2.0.23/aclocal.m4
--- old/acpid-2.0.22/aclocal.m4 2014-03-15 18:58:13.0 +0100
+++ new/acpid-2.0.23/aclocal.m4 2014-08-23 19:53:08.0 +0200
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
 
 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
 
@@ -32,10 +32,10 @@
 # generated from the m4 files accompanying Automake X.Y.
 # (This private macro should not be called outside this file.)
 AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.13'

commit acpid for openSUSE:Factory

2014-08-13 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2014-08-13 08:49:20

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2014-02-16 
19:47:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2014-08-13 
08:49:33.0 +0200
@@ -1,0 +2,20 @@
+Tue Aug 12 14:32:40 UTC 2014 - p.drou...@gmail.com
+
+- Update to version 2.0.22
+  + Add support for F20.  Debian Bug #738611.
+  + Fix for repeated mute keys on some ThinkPad models.
+  + Add -t short option for --tpmutefix.
+  + Update man page for --tpmutefix.
+- Remove Configure it in /etc/sysconfig/powermanagement. in the
+  description; the sysconfig file doesn't exist anymore
+- Changes from version 2.0.21
+  + Add new drop action.  Debian #732277.
+
+---
+Tue Aug  5 21:12:24 UTC 2014 - dims...@opensuse.org
+
+- Fix rcacpid symlink to point to /usr/sbin/service, not the
+  systemd .service file: the service file is actually not
+  executable.
+
+---

Old:

  acpid-2.0.20.tar.xz

New:

  acpid-2.0.22.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.HlPDSP/_old  2014-08-13 08:49:34.0 +0200
+++ /var/tmp/diff_new_pack.HlPDSP/_new  2014-08-13 08:49:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   acpid
-Version:2.0.20
+Version:2.0.22
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+
@@ -47,8 +47,6 @@
 when an event occurs, executes programs to handle the event. The start
 script loads all needed modules.
 
-Configure it in /etc/sysconfig/powermanagement.
-
 %prep
 %setup -q
 %patch1
@@ -66,7 +64,7 @@
 install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
 mkdir -p %{buildroot}/%{_unitdir}
 install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
-ln -sf ../../%{_unitdir}/acpid.service %{buildroot}%{_sbindir}/rcacpid
+ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcacpid
 
 # formerly installed, but no longer useful with systemd. Keep as documentation.
 cp -p events.power_button events.sleep_button power_button sleep_button 
samples/

++ acpid-2.0.20.tar.xz - acpid-2.0.22.tar.xz ++
 4808 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.20/Changelog new/acpid-2.0.22/Changelog
--- old/acpid-2.0.20/Changelog  2013-09-15 14:55:01.0 +0200
+++ new/acpid-2.0.22/Changelog  2014-03-15 18:55:24.0 +0100
@@ -1,3 +1,23 @@
+* Sat March 15 2014  Ted Felix t...@tedfelix.com
+  - 2.0.22 release
+(configure.ac)  (Ted Felix)
+  - Add support for F20.  Debian Bug #738611.
+(input_layer.c)  (Ted Felix)
+  - Fix for repeated mute keys on some ThinkPad models.
+(acpid.c acpid.h input_layer.c)
+(Torsten Hilbrich torsten.hilbr...@secunet.com)
+  - Add -t short option for --tpmutefix.
+(acpid.c)  (Ted Felix)
+  - Update man page for --tpmutefix.
+(acpid.8)  (Ted Felix)
+
+* Wed Jan 15 2014  Ted Felix t...@tedfelix.com
+  - 2.0.21 release
+(configure.ac)  (Ted Felix)
+  - Add new drop action.  Debian #732277.
+(acpid.c event.h event.c acpid.8)
+(Pigeon pig...@pigeonsnest.co.uk, Ted Felix)
+
 * Sun Sep 15 2013  Ted Felix ted -at- tedfelix -dot- com
   - 2.0.20 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.20/acpid.8 new/acpid-2.0.22/acpid.8
--- old/acpid-2.0.20/acpid.82013-02-15 15:22:20.0 +0100
+++ new/acpid-2.0.22/acpid.82014-02-26 14:09:01.0 +0100
@@ -47,6 +47,13 @@
 ordering is guaranteed), as well as one rule to be defined for multiple events.
 To force \fBacpid\fP to reload the rule configuration, send it a SIGHUP.
 .PP
+The pseudo-action \fIdrop\fP causes the event to be dropped
+completely and no further processing undertaken; clients connecting
+via the UNIX domain socket (see below) will not be notified of the
+event. This may be useful on some 

commit acpid for openSUSE:Factory

2014-02-16 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2014-02-16 19:47:15

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2013-12-13 
13:01:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2014-02-16 
19:47:16.0 +0100
@@ -1,0 +2,5 @@
+Fri Feb 14 10:04:32 UTC 2014 - oneu...@suse.com
+
+- correct pointer at further documentation in README 
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.FCERSQ/_old  2014-02-16 19:47:17.0 +0100
+++ /var/tmp/diff_new_pack.FCERSQ/_new  2014-02-16 19:47:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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

++ README.SUSE ++
--- /var/tmp/diff_new_pack.FCERSQ/_old  2014-02-16 19:47:17.0 +0100
+++ /var/tmp/diff_new_pack.FCERSQ/_new  2014-02-16 19:47:17.0 +0100
@@ -8,6 +8,6 @@
 The events are handled by those services.
 Most of them are processed by the powersave daemon.
 For further documentation, please have a look at:
-/usr/share/doc/packages/powersave/
+/usr/share/doc/packages/pm-utils/
 or
 http://powersave.sourceforge.net/

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



commit acpid for openSUSE:Factory

2013-12-13 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2013-12-13 13:01:36

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2013-11-22 
06:53:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2013-12-13 
13:01:37.0 +0100
@@ -1,0 +2,18 @@
+Thu Dec 12 14:49:57 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 2.0.20
+  - Improve build and release documentation.  
+(README)  (Ted Felix)
+  - Fix for Debian bug #719659.  Improved handling of systems with
+large numbers of input layer connections.  Better error handling.
+(connection_list.h connection_list.c inotify_handler.c input_layer.c 
+netlink.c proc.c sock.c acpid.c)  (Ted Felix, Ben Winslow)
+  - Update .gitignore for Eclipse.
+(.gitignore)  (Ted Felix)
+- Remove unused rcacpid from sources
+- Change systemd for systemd-rpm-macros requirement; full systemd
+  environment is not needed to build
+- Rename README.SuSE in README.SUSE to fix suse-wrong-suse-capitalisation
+  rpmlint warning
+
+---

Old:

  README.SuSE
  acpid-2.0.19.tar.xz
  rcacpid

New:

  README.SUSE
  acpid-2.0.20.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.91YyIT/_old  2013-12-13 13:01:38.0 +0100
+++ /var/tmp/diff_new_pack.91YyIT/_new  2013-12-13 13:01:38.0 +0100
@@ -17,14 +17,14 @@
 
 
 Name:   acpid
-Version:2.0.19
+Version:2.0.20
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+
 Group:  System/Daemons
 Url:http://tedfelix.com/linux/acpid-netlink.html
 Source: 
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
-Source3:README.SuSE
+Source3:README.SUSE
 Source5:events.power_button
 Source6:thinkpad_handler
 Source7:power_button
@@ -35,7 +35,7 @@
 
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
-BuildRequires:  systemd
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64 ia64
@@ -99,7 +99,7 @@
 %{_sbindir}/acpid
 %{_sbindir}/kacpimon
 %{_bindir}/acpi_listen
-%doc README.SuSE README Changelog examples
+%doc README.SUSE README Changelog examples
 %{_mandir}/man8/acpid.8.gz
 %{_mandir}/man8/acpi_listen.8.gz
 %{_mandir}/man8/kacpimon.8.gz

++ README.SUSE ++

Dokumentation for acpid can be found in 'man acpid'.

Be aware that the acpid is only used to hand over ACPI events
(caught from /proc/acpi/events) to other services
(e.g. hal, powersaved, iald, ...).

The events are handled by those services.
Most of them are processed by the powersave daemon.
For further documentation, please have a look at:
/usr/share/doc/packages/powersave/
or
http://powersave.sourceforge.net/
++ acpid-2.0.19.tar.xz - acpid-2.0.20.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.19/Changelog new/acpid-2.0.20/Changelog
--- old/acpid-2.0.19/Changelog  2013-05-28 14:48:24.0 +0200
+++ new/acpid-2.0.20/Changelog  2013-09-15 14:55:01.0 +0200
@@ -1,3 +1,15 @@
+* Sun Sep 15 2013  Ted Felix ted -at- tedfelix -dot- com
+  - 2.0.20 release
+(configure.ac)  (Ted Felix)
+  - Improve build and release documentation.  
+(README)  (Ted Felix)
+  - Fix for Debian bug #719659.  Improved handling of systems with
+large numbers of input layer connections.  Better error handling.
+(connection_list.h connection_list.c inotify_handler.c input_layer.c 
+netlink.c proc.c sock.c acpid.c)  (Ted Felix, Ben Winslow)
+  - Update .gitignore for Eclipse.
+(.gitignore)  (Ted Felix)
+
 * Tue May 28 2013  Ted Felix ted -at- tedfelix -dot- com
   - 2.0.19 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.19/README new/acpid-2.0.20/README
--- old/acpid-2.0.19/README 2013-02-15 15:06:54.0 +0100
+++ new/acpid-2.0.20/README 2013-08-15 01:16:17.0 +0200
@@ -23,7 +23,7 @@
 
 acpid version 2.0.15 introduced autoconf.  To build versions = 2.0.15:
 
-  $ ./configure
+  $ ./configure --prefix=/usr
   $ make
   $ sudo make install
 
@@ -80,6 +80,13 @@
   sftp cd /home/frs/project/acpid2
   sftp put -p acpid-2.0.18.tar.xz
 
+Set this latest upload as the latest:
+
+  1. Login to sf.
+  2. Click on the 

commit acpid for openSUSE:Factory

2013-11-21 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2013-11-22 06:53:42

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2013-08-18 
22:43:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2013-11-22 
06:53:43.0 +0100
@@ -1,0 +2,6 @@
+Sat Oct 19 15:06:50 UTC 2013 - p.drou...@gmail.com
+
+- Drop sysvinit dupport; acpid doesn't build for distributions which
+  use sysvinit
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.g7Y1xC/_old  2013-11-22 06:53:44.0 +0100
+++ /var/tmp/diff_new_pack.g7Y1xC/_new  2013-11-22 06:53:44.0 +0100
@@ -24,7 +24,6 @@
 Group:  System/Daemons
 Url:http://tedfelix.com/linux/acpid-netlink.html
 Source: 
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
-Source2:rcacpid
 Source3:README.SuSE
 Source5:events.power_button
 Source6:thinkpad_handler
@@ -38,8 +37,6 @@
 Patch1: acpid-makefile.patch
 BuildRequires:  systemd
 BuildRequires:  xz
-Requires(pre):  %fillup_prereq
-Requires(pre):  %insserv_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64 ia64
 %systemd_requires
@@ -56,7 +53,7 @@
 %setup -q
 %patch1
 
-cp %{SOURCE2} %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} 
%{SOURCE10} %{SOURCE11} .
+cp %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} 
%{SOURCE11} .
 
 %build
 export LDFLAGS=-Wl,-z,relro,-z,now
@@ -65,13 +62,11 @@
 
 %install
 make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
-install -Dm 744 rcacpid %{buildroot}%{_initddir}/acpid
 install -Dm 744 thinkpad_handler 
%{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
-mkdir -p %{buildroot}%{_prefix}/sbin
-ln -sf ../../etc/init.d/acpid %{buildroot}%{_sbindir}/rcacpid
 install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
 mkdir -p %{buildroot}/%{_unitdir}
 install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
+ln -sf ../../%{_unitdir}/acpid.service %{buildroot}%{_sbindir}/rcacpid
 
 # formerly installed, but no longer useful with systemd. Keep as documentation.
 cp -p events.power_button events.sleep_button power_button sleep_button 
samples/
@@ -85,16 +80,12 @@
 %service_add_pre acpid.service
 
 %post
-%{fillup_and_insserv -y -f acpid}
 %service_add_post acpid.service
 
 %postun
-%restart_on_update acpid
-%{insserv_cleanup}
 %service_del_postun acpid.service
 
 %preun
-%stop_on_removal acpid
 %service_del_preun acpid.service
 
 %files
@@ -103,7 +94,6 @@
 %dir %{_sysconfdir}/acpi/events
 %{_sysconfdir}/acpi/events/thinkpad
 %{_prefix}/lib/acpid
-%{_sysconfdir}/init.d/acpid
 %_unitdir/%{name}.service
 %{_sbindir}/rcacpid
 %{_sbindir}/acpid

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



commit acpid for openSUSE:Factory

2013-08-18 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2013-08-18 22:43:32

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2013-08-04 
16:48:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2013-08-18 
22:43:34.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug 13 06:44:10 UTC 2013 - mch...@suse.com
+
+- power_button: iterate systemd-logind sessions and do nothing if a
+  active X session found (bnc#810125) 
+
+---



Other differences:
--
++ power_button ++
--- /var/tmp/diff_new_pack.TVoiOV/_old  2013-08-18 22:43:34.0 +0200
+++ /var/tmp/diff_new_pack.TVoiOV/_new  2013-08-18 22:43:34.0 +0200
@@ -54,5 +54,28 @@
 fi
 done  (ck-list-sessions)   
 
+# iterate over all sessions. If a active X session is found, do nothing
+# bnc#810125 - 12.3 power button always halts system instead suspend
+# similar to consolekit checks, this time we check systemd-logind sessions
+while read SESSION DUMMY ; do
+
+# check if this is a X session, if not, go on
+DISP=`loginctl --property=Display show-session $SESSION`
+DISP=`echo $DISP | sed -e 's/^Display=//'`
+[ -n $DISP ] || continue
+
+STATE=`loginctl --property=State show-session $SESSION`
+STATE=`echo $STATE | sed -e 's/^State=//'`
+
+if [ $STATE = active -a -n $DISP ]; then
+   # additional check, if none of these two apps are running, go on
+   if [ -n `pidof kpowersave` -o -n `pidof gnome-power-manager` -o -n 
`pidof kded4` -o -n `pidof dalston-power-applet` -o -n `pidof 
gnome-settings-daemon` ]; then
+   echo doing nothing...
+   exit 0
+   fi
+fi
+
+done  (loginctl list-sessions)
+
 logger -s -t pm-profiler Power Button pressed, executing $EXEC
 $EXEC

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



commit acpid for openSUSE:Factory

2013-08-04 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2013-08-04 16:47:59

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


Package is acpid

Changes:

--- /work/SRC/openSUSE:Factory/acpid/acpid.changes  2013-06-05 
17:38:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2013-08-04 
16:48:00.0 +0200
@@ -1,0 +2,17 @@
+Fri Aug  2 11:56:14 UTC 2013 - wer...@suse.de
+
+- Use sourceforge download as below http://tedfelix.com/linux/
+  the tar ball has been removed
+
+---
+Thu Jul  4 12:41:12 UTC 2013 - seife+...@b1-systems.com
+
+- remove power and sleep button handlers -- now handled by systemd
+  just keep them as examples in the documentation
+
+---
+Wed Jul  3 19:36:13 UTC 2013 - seife+...@b1-systems.com
+
+- remove obsolete thinkpad_acpi modprobe config (bnc#792172)
+
+---

Old:

  thinkpad_acpi.modprobe



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.7U0AcP/_old  2013-08-04 16:48:00.0 +0200
+++ /var/tmp/diff_new_pack.7U0AcP/_new  2013-08-04 16:48:00.0 +0200
@@ -23,10 +23,9 @@
 License:GPL-2.0+
 Group:  System/Daemons
 Url:http://tedfelix.com/linux/acpid-netlink.html
-Source: http://tedfelix.com/linux/%{name}-%{version}.tar.xz
+Source: 
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
 Source2:rcacpid
 Source3:README.SuSE
-Source4:thinkpad_acpi.modprobe
 Source5:events.power_button
 Source6:thinkpad_handler
 Source7:power_button
@@ -57,7 +56,7 @@
 %setup -q
 %patch1
 
-cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} 
%{SOURCE9} %{SOURCE10} %{SOURCE11} .
+cp %{SOURCE2} %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} 
%{SOURCE10} %{SOURCE11} .
 
 %build
 export LDFLAGS=-Wl,-z,relro,-z,now
@@ -67,18 +66,15 @@
 %install
 make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
 install -Dm 744 rcacpid %{buildroot}%{_initddir}/acpid
-install -Dm 644 thinkpad_acpi.modprobe 
%{buildroot}%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
 install -Dm 744 thinkpad_handler 
%{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
-install -Dm 744 power_button %{buildroot}%{_prefix}/lib/acpid/power_button
-install -Dm 744 sleep_button %{buildroot}%{_prefix}/lib/acpid/sleep_button
 mkdir -p %{buildroot}%{_prefix}/sbin
 ln -sf ../../etc/init.d/acpid %{buildroot}%{_sbindir}/rcacpid
-install -Dm 644 events.power_button 
%{buildroot}%{_sysconfdir}/acpi/events/power_button
-install -Dm 644 events.sleep_button 
%{buildroot}%{_sysconfdir}/acpi/events/sleep_button
 install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
 mkdir -p %{buildroot}/%{_unitdir}
 install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
 
+# formerly installed, but no longer useful with systemd. Keep as documentation.
+cp -p events.power_button events.sleep_button power_button sleep_button 
samples/
 # for the rpmlint fascists
 mv samples examples
 # keep the logfile
@@ -103,15 +99,11 @@
 
 %files
 %defattr(-,root,root)
-%dir %{_sysconfdir}/modprobe.d
 %dir %{_sysconfdir}/acpi
 %dir %{_sysconfdir}/acpi/events
 %{_sysconfdir}/acpi/events/thinkpad
-%{_sysconfdir}/acpi/events/power_button
-%{_sysconfdir}/acpi/events/sleep_button
 %{_prefix}/lib/acpid
 %{_sysconfdir}/init.d/acpid
-%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
 %_unitdir/%{name}.service
 %{_sbindir}/rcacpid
 %{_sbindir}/acpid

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



commit acpid for openSUSE:Factory

2012-09-26 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2012-09-26 16:08:58

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-08-26 
11:30:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2012-09-26 
16:09:00.0 +0200
@@ -1,0 +2,19 @@
+Sun Sep 23 04:00:57 UTC 2012 - crrodrig...@opensuse.org
+
+- 2.0.17 release
+(configure.ac)  (Ted Felix)
+  - Check for chmod.
+(configure.ac)  (Ted Felix)
+  - Add support for tablet mode switch.  
+(input_layer.c)  (Fabian Henze)
+  - Incorrect sizeof() usage for memset.  
+(libnetlink.c)  (Auke Kok)
+  - Close some unclosed fd's.  
+(acpid.c event.c ud_socket.c)  (Auke Kok)
+  - Do not create pid file when running in foreground.  
+(acpid.c)  (Cristian Rodriguez)
+  - Free regular expression.  
+(event.c)  (Cristian Rodriguez)
+- acpid-wrong-memset.patch removed, is upstream
+
+---

Old:

  acpid-2.0.16.tar.gz
  acpid-wrong-memset.patch

New:

  acpid-2.0.17.tar.xz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.eZnI3G/_old  2012-09-26 16:09:04.0 +0200
+++ /var/tmp/diff_new_pack.eZnI3G/_new  2012-09-26 16:09:04.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   acpid
-Version:2.0.16
+Version:2.0.17
 Release:0
 Summary:Executes Actions at ACPI Events
 License:GPL-2.0+
 Group:  System/Daemons
 Url:http://tedfelix.com/linux/acpid-netlink.html
-Source: http://tedfelix.com/linux/%{name}-%{version}.tar.gz
+Source: http://tedfelix.com/linux/%{name}-%{version}.tar.xz
 Source2:rcacpid
 Source3:README.SuSE
 Source4:thinkpad_acpi.modprobe
@@ -34,9 +34,8 @@
 Source8:acpid.service
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
-# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch2: acpid-wrong-memset.patch
 BuildRequires:  systemd
+BuildRequires:  xz
 Requires(pre):  %fillup_prereq
 Requires(pre):  %insserv_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -54,14 +53,13 @@
 %prep
 %setup -q
 %patch1
-%patch2 
 
 cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} 
%{SOURCE9} .
 
 %build
 export LDFLAGS=-Wl,-z,relro,-z,now
 %configure 
-make OPT=%{optflags} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}

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



commit acpid for openSUSE:Factory

2012-08-26 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2012-08-26 11:30:35

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-04-12 
09:17:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2012-08-26 
11:30:37.0 +0200
@@ -1,0 +2,7 @@
+Sun Aug 19 18:18:51 UTC 2012 - crrodrig...@opensuse.org
+
+- Improve systemd unit
+ * run in the foreground
+ * use netlink only as /proc/acpi files are deprecated. 
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.ICjezJ/_old  2012-08-26 11:30:40.0 +0200
+++ /var/tmp/diff_new_pack.ICjezJ/_new  2012-08-26 11:30:40.0 +0200
@@ -16,14 +16,13 @@
 #
 
 
-
 Name:   acpid
 Version:2.0.16
 Release:0
-License:GPL-2.0+
 Summary:Executes Actions at ACPI Events
-Url:http://tedfelix.com/linux/acpid-netlink.html
+License:GPL-2.0+
 Group:  System/Daemons
+Url:http://tedfelix.com/linux/acpid-netlink.html
 Source: http://tedfelix.com/linux/%{name}-%{version}.tar.gz
 Source2:rcacpid
 Source3:README.SuSE

++ acpid.service ++
--- /var/tmp/diff_new_pack.ICjezJ/_old  2012-08-26 11:30:41.0 +0200
+++ /var/tmp/diff_new_pack.ICjezJ/_new  2012-08-26 11:30:41.0 +0200
@@ -2,16 +2,11 @@
 Description=ACPI Event Daemon
 After=syslog.target
 
-# This could probably benefit from socket activation, but honestly I think it
-# is time for acpid to go away, and hence I am not planning to spend the time
-# to add socket activation here. We use Type=forking to ensure that the
-# communication sockets are in place before boot proceeds with any service
-# needing this service. Would acpid support socket activation we could use
-# Type=simple here.
-
 [Service]
-Type=forking
-ExecStart=/usr/sbin/acpid 
+
+ExecStart=/usr/sbin/acpid -n -f
+ExecReload=/bin/kill -s HUP $MAINPID
+ExecStop=/bin/kill -s QUIT $MAINPID
 
 [Install]
 WantedBy=multi-user.target

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



commit acpid for openSUSE:Factory

2012-04-12 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2012-04-12 09:17:15

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-03-20 
11:24:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2012-04-12 
09:17:26.0 +0200
@@ -1,0 +2,15 @@
+Mon Apr  2 23:59:08 UTC 2012 - tabra...@novell.com
+
+- Update to acpid 2.0.16
+  + Add tests for required functions to configure.ac.
+(configure.ac)  (Ted Felix)
+  + Move fchmod() before bind() on socket.  Debian bug #664705.
+(sock.c ud_socket.c ud_socket.h)  (Ted Felix)
+  + Switch back to chown() as fchown() doesn't appear to work with sockets.
+(sock.c)  (Ted Felix)
+  + Add support for headphone (and other) jack switch events.
+(input_layer.c)  (AlexanderR)
+  + Add notes on making the tarball.
+(README)  (Ted Felix)
+
+---

Old:

  acpid-2.0.15.tar.gz

New:

  acpid-2.0.16.tar.gz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.PyUMur/_old  2012-04-12 09:17:27.0 +0200
+++ /var/tmp/diff_new_pack.PyUMur/_new  2012-04-12 09:17:27.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   acpid
-Version:2.0.15
+Version:2.0.16
 Release:0
 License:GPL-2.0+
 Summary:Executes Actions at ACPI Events

++ acpid-2.0.15.tar.gz - acpid-2.0.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.15/Changelog new/acpid-2.0.16/Changelog
--- old/acpid-2.0.15/Changelog  2012-03-13 05:10:34.0 +0100
+++ new/acpid-2.0.16/Changelog  2012-03-29 14:34:47.0 +0200
@@ -1,3 +1,17 @@
+* Thu Mar 29 2012  Ted Felix http://www.tedfelix.com
+  - 2.0.16 release
+(configure.ac)  (Ted Felix)
+  - Add tests for required functions to configure.ac.
+(configure.ac)  (Ted Felix)
+  - Move fchmod() before bind() on socket.  Debian bug #664705.
+(sock.c ud_socket.c ud_socket.h)  (Ted Felix)
+  - Switch back to chown() as fchown() doesn't appear to work with sockets.
+(sock.c)  (Ted Felix) 
+  - Add support for headphone (and other) jack switch events.
+(input_layer.c)  (AlexanderR)
+  - Add notes on making the tarball.
+(README)  (Ted Felix)
+
 * Thu Mar 15 2012  Ted Felix http://www.tedfelix.com
   - 2.0.15 release
 (configure.ac)  (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.15/README new/acpid-2.0.16/README
--- old/acpid-2.0.15/README 2012-03-15 14:20:45.0 +0100
+++ new/acpid-2.0.16/README 2012-03-29 14:34:08.0 +0200
@@ -46,6 +46,15 @@
 You can also fork the git repo on sourceforge and submit changes that way:
 http://sourceforge.net/u/tedfelix/acpid2/
 
+DIST NOTES
+
+To create the tarball for distribution:
+
+  $ make distclean
+  $ autoreconf --install --force
+  $ ./configure
+  $ make dist
+
 
 OLD README
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.15/TODO new/acpid-2.0.16/TODO
--- old/acpid-2.0.15/TODO   2012-02-16 21:24:42.0 +0100
+++ new/acpid-2.0.16/TODO   2012-03-16 14:38:02.0 +0100
@@ -1,17 +1,32 @@
 Future Enhancements
 ---
 
-systemd support
+* systemd support
   - Support receiving unix sockets from systemd.
   - Make daemonize() do what's right for systemd.
   - Can we auto-detect systemd?  Maybe the presence of the environment vars
 for the unix sockets?
+  - Maintain compatibility with upstart, etc...
 
-Look into using libnl for netlink
-  - Can this be done?
+* Look into using libnl for netlink
+  - Can this be done?  Is it a good idea?
 
-DBUS support
-Re-add ancillary files needed for wider distribution
-Add a main config file
- - support multiple event sources (such as named pipes)
-Allow socket-connected clients to filter incoming events
+OLD IDEAS
+
+* DBUS support
+  - Do we really need DBUS support?  Probably not.
+  - Tim says this would be easy to implement.  He mentioned mced which
+is similar to acpid and handles DBUS.
+http://code.google.com/p/mcedaemon/
+  - Everyone seems to agree that the whole point of acpid is
+to avoid the big desktop stuff, and therefore, this is probably
+not a good idea.
+  - However, there are still pieces of those big desktop environments that
+connect to acpid via sockets.  DBUS should be a nicer 

commit acpid for openSUSE:Factory

2012-03-20 Thread h_root
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.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2012-03-20 
11:24:43.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.yLA275/_new  2012-03-20 11:24:44.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.yLA275/_new  2012-03-20 11:24:45.0 +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

commit acpid for openSUSE:Factory

2012-01-05 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2012-01-05 13:47:31

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  2011-12-30 
08:45:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2012-01-05 
13:47:33.0 +0100
@@ -1,0 +2,6 @@
+Sat Dec 31 05:49:05 UTC 2011 - crrodrig...@opensuse.org
+
+- Put acpid back in %{_sbindir} /usr is nowdays mounted by the 
+  initrd
+
+---



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.4oDvQz/_old  2012-01-05 13:47:34.0 +0100
+++ /var/tmp/diff_new_pack.4oDvQz/_new  2012-01-05 13:47:34.0 +0100
@@ -16,13 +16,13 @@
 #
 
 
+
 Name:   acpid
-Url:http://tedfelix.com/linux/acpid-netlink.html
 Version:2.0.13
 Release:0
-PreReq: %insserv_prereq %fillup_prereq
-Summary:Executes Actions at ACPI Events
 License:GPL-2.0+
+Summary:Executes Actions at ACPI Events
+Url:http://tedfelix.com/linux/acpid-netlink.html
 Group:  System/Daemons
 Source: http://tedfelix.com//linux/%{name}-%{version}.tar.gz
 Source2:rcacpid
@@ -33,10 +33,14 @@
 Source6:thinkpad_handler
 Source7:power_button
 Source8:acpid.service
+# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: acpid-makefile.patch
+# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch2: acpid-wrong-memset.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  systemd
+Requires(pre):  %fillup_prereq
+Requires(pre):  %insserv_prereq
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64 ia64
 %systemd_requires
 
@@ -53,30 +57,30 @@
 %patch1
 %patch2 -p1
 
-cp %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:9} .
+cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} 
%{SOURCE9} .
 
 %build
 export LDFLAGS=-Wl,-z,relro,-z,now
-make OPT=$RPM_OPT_FLAGS %{?_smp_mflags}
+make OPT=%{optflags} %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT SBINDIR=/sbin
-install -Dm 744 rcacpid %{buildroot}/etc/init.d/acpid
-install -Dm 644 thinkpad_acpi.modprobe 
%{buildroot}/etc/modprobe.d/50-thinkpad_acpi.conf
-install -Dm 744 thinkpad_handler %{buildroot}/usr/lib/acpid/thinkpad_handler
-install -Dm 744 power_button %{buildroot}/usr/lib/acpid/power_button
-mkdir -p %{buildroot}/usr/sbin
-ln -sf ../../etc/init.d/acpid %{buildroot}/usr/sbin/rcacpid
-install -Dm 644 events.power_button %{buildroot}/etc/acpi/events/power_button
-install -Dm 644 events.thinkpad %{buildroot}/etc/acpi/events/thinkpad
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%{_unitdir}
+make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
+install -Dm 744 rcacpid %{buildroot}%{_initddir}/acpid
+install -Dm 644 thinkpad_acpi.modprobe 
%{buildroot}%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
+install -Dm 744 thinkpad_handler 
%{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
+install -Dm 744 power_button %{buildroot}%{_prefix}/lib/acpid/power_button
+mkdir -p %{buildroot}%{_prefix}/sbin
+ln -sf ../../etc/init.d/acpid %{buildroot}%{_sbindir}/rcacpid
+install -Dm 644 events.power_button 
%{buildroot}%{_sysconfdir}/acpi/events/power_button
+install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
+mkdir -p %{buildroot}/%{_unitdir}
+install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
 
 # for the rpmlint fascists
 mv samples examples 
 # keep the logfile
-install -dm 755 %buildroot%_var/log
-touch %buildroot%_var/log/acpid
+install -dm 755 %{buildroot}%{_localstatedir}/log
+touch %{buildroot}%{_localstatedir}/log/acpid
 
 %pre
 %service_add_pre acpid.service
@@ -96,21 +100,21 @@
 
 %files
 %defattr(-,root,root)
-%dir /etc/modprobe.d
-%dir /etc/acpi
-%dir /etc/acpi/events
-/etc/acpi/events/thinkpad
-/etc/acpi/events/power_button
-/usr/lib/acpid
-/etc/init.d/acpid
-/etc/modprobe.d/50-thinkpad_acpi.conf
+%dir %{_sysconfdir}/modprobe.d
+%dir %{_sysconfdir}/acpi
+%dir %{_sysconfdir}/acpi/events
+%{_sysconfdir}/acpi/events/thinkpad
+%{_sysconfdir}/acpi/events/power_button
+%{_prefix}/lib/acpid
+%{_sysconfdir}/init.d/acpid
+%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
 %_unitdir/%{name}.service
-/usr/sbin/rcacpid
-/sbin/acpid
-/usr/bin/acpi_listen
+%{_sbindir}/rcacpid
+%{_sbindir}/acpid
+%{_bindir}/acpi_listen
 %doc README.SuSE README Changelog 

commit acpid for openSUSE:Factory

2011-12-29 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2011-12-30 08:45:17

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  2011-12-25 
17:32:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2011-12-30 
08:45:19.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec 27 10:55:50 UTC 2011 - idon...@suse.com
+
+- Fix wrong size parameter in memset call 
+
+---

New:

  acpid-wrong-memset.patch



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.sO7tfh/_old  2011-12-30 08:45:20.0 +0100
+++ /var/tmp/diff_new_pack.sO7tfh/_new  2011-12-30 08:45:20.0 +0100
@@ -16,15 +16,14 @@
 #
 
 
-
 Name:   acpid
 Url:http://tedfelix.com/linux/acpid-netlink.html
 Version:2.0.13
-Release:5
-License:GPL-2.0+
-Group:  System/Daemons
+Release:0
 PreReq: %insserv_prereq %fillup_prereq
 Summary:Executes Actions at ACPI Events
+License:GPL-2.0+
+Group:  System/Daemons
 Source: http://tedfelix.com//linux/%{name}-%{version}.tar.gz
 Source2:rcacpid
 Source3:README.SuSE
@@ -35,6 +34,7 @@
 Source7:power_button
 Source8:acpid.service
 Patch1: acpid-makefile.patch
+Patch2: acpid-wrong-memset.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  systemd
 ExclusiveArch:  %ix86 x86_64 ia64
@@ -50,7 +50,9 @@
 
 %prep
 %setup -q
-%patch1 -p0
+%patch1
+%patch2 -p1
+
 cp %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:9} .
 
 %build

++ acpid-wrong-memset.patch ++
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
int sndbuf = 32768;
int rcvbuf = 32768;
 
-   memset(rth, 0, sizeof(rth));
+   memset(rth, 0, sizeof(*rth));
 
rth-fd = socket(AF_NETLINK, SOCK_RAW, protocol);
if (rth-fd  0) {
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acpid for openSUSE:Factory

2011-12-25 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2011-12-25 17:32:46

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  2011-09-28 
14:02:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2011-12-25 
17:32:48.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 16 02:03:44 UTC 2011 - crrodrig...@opensuse.org
+
+- Update to acpid 2.0.13 
+
+---

Old:

  acpid-2.0.10.tar.gz

New:

  acpid-2.0.13.tar.gz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.wvbEKJ/_old  2011-12-25 17:32:50.0 +0100
+++ /var/tmp/diff_new_pack.wvbEKJ/_new  2011-12-25 17:32:50.0 +0100
@@ -19,7 +19,7 @@
 
 Name:   acpid
 Url:http://tedfelix.com/linux/acpid-netlink.html
-Version:2.0.10
+Version:2.0.13
 Release:5
 License:GPL-2.0+
 Group:  System/Daemons

++ acpid-2.0.10.tar.gz - acpid-2.0.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.10/Changelog new/acpid-2.0.13/Changelog
--- old/acpid-2.0.10/Changelog  2011-05-17 19:05:33.0 +0200
+++ new/acpid-2.0.13/Changelog  2011-10-18 01:19:35.0 +0200
@@ -1,3 +1,21 @@
+* Tue Nov 15 2011  Ted Felix http://www.tedfelix.com
+  - 2.0.13 release
+  - Fix for socket name buffer overflow.  (ud_socket.c)  (Ted Felix)
+  - Moved acpid_log() out of acpid.h/.c and into log.h/.c to make it easier
+for all parts of acpid to use.  (Makefile acpid.h acpid.c connection_list.c
+event.c inotify_handler.c input_layer.c log.h log.c netlink.c proc.c 
+sock.c ud_socket.c)  (Ted Felix)
+  - Cleaned up #includes and comment style.  (libnetlink.c libnetlink.h)
+(Ted Felix)
+
+* Mon Aug 15 2011  Ted Felix http://www.tedfelix.com
+  - 2.0.12 release
+  - Changed exit() to _exit() if execl() fails.  (event.c)  (Ted Felix)
+
+* Sat Jul 30 2011  Ted Felix http://www.tedfelix.com
+  - 2.0.11 release
+  - Set umask to 0077 for scripts run by acpid.  (event.c)  (Ted Felix)
+
 * Tue May 17 2011  Ted Felix http://www.tedfelix.com
   - 2.0.10 release
   - Fixed compiler warnings in kacpimon.  (kacpimon/libnetlink.c)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.10/Makefile new/acpid-2.0.13/Makefile
--- old/acpid-2.0.10/Makefile   2011-04-27 01:56:59.0 +0200
+++ new/acpid-2.0.13/Makefile   2011-10-18 01:12:24.0 +0200
@@ -1,7 +1,7 @@
 # Makefile for ACPI daemon
 
 # update these numbers for new releases
-VERSION = 2.0.10
+VERSION = 2.0.13
 
 OPT = -O2
 
@@ -18,10 +18,10 @@
 PROGS = $(SBIN_PROGS) $(BIN_PROGS)
 
 acpid_SRCS = acpid.c acpi_ids.c connection_list.c event.c input_layer.c \
-inotify_handler.c libnetlink.c netlink.c proc.c sock.c ud_socket.c
+inotify_handler.c libnetlink.c log.c netlink.c proc.c sock.c ud_socket.c
 acpid_OBJS = $(acpid_SRCS:.c=.o)
 
-acpi_listen_SRCS = acpi_listen.c ud_socket.c
+acpi_listen_SRCS = acpi_listen.c log.c ud_socket.c
 acpi_listen_OBJS = $(acpi_listen_SRCS:.c=.o)
 
 all_SRCS = $(acpid_SRCS) $(acpi_listen_SRCS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.10/TESTPLAN new/acpid-2.0.13/TESTPLAN
--- old/acpid-2.0.10/TESTPLAN   2011-05-02 23:54:40.0 +0200
+++ new/acpid-2.0.13/TESTPLAN   2011-06-23 18:56:33.0 +0200
@@ -6,7 +6,7 @@
 - It's best to test without a window manager running (such as GNOME or KDE) as 
they tend to handle acpi events on their own and override acpid.  To bring down 
X on a system that is configured with a graphical login, there's usually an 
init script you can run.  As an example, with Debian/GNOME, log off of your 
X/GNOME session, switch to another tty (e.g. Alt-Ctrl-F1), login, and do this:
 sudo /etc/init.d/gdm stop
   It's different if you are using upstart:
-sudo initctl gdm stop
+sudo initctl stop gdm
   And systemd requires a different incantation:
 [anyone care to enlighten me?]
   Now X is out of the way and you can test from the console.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.10/acpid.c new/acpid-2.0.13/acpid.c
--- old/acpid-2.0.10/acpid.c2011-05-07 03:32:07.0 +0200
+++ new/acpid-2.0.13/acpid.c2011-10-18 01:06:54.0 +0200
@@ -30,9 +30,9 @@
 #include stdlib.h
 #include errno.h
 #include getopt.h
-#include stdarg.h
 
 #include acpid.h
+#include log.h
 #include 

commit acpid for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2011-12-06 17:57:24

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


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

Changes:




Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.45CZ4Q/_old  2011-12-06 17:57:36.0 +0100
+++ /var/tmp/diff_new_pack.45CZ4Q/_new  2011-12-06 17:57:36.0 +0100
@@ -21,7 +21,7 @@
 Url:http://tedfelix.com/linux/acpid-netlink.html
 Version:2.0.10
 Release:5
-License:GPLv2+
+License:GPL-2.0+
 Group:  System/Daemons
 PreReq: %insserv_prereq %fillup_prereq
 Summary:Executes Actions at ACPI Events

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



commit acpid for openSUSE:Factory

2011-09-28 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Wed Sep 28 14:02:13 CEST 2011.




--- acpid/acpid.changes 2011-09-23 16:30:52.0 +0200
+++ /mounts/work_src_done/STABLE/acpid/acpid.changes2011-09-26 
18:21:09.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 26 16:20:40 UTC 2011 - fcro...@suse.com
+
+- Use latest systemd RPM macros.
+
+---

calling whatdependson for head-i586




Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.ZU1rTK/_old  2011-09-28 14:02:09.0 +0200
+++ /var/tmp/diff_new_pack.ZU1rTK/_new  2011-09-28 14:02:09.0 +0200
@@ -77,20 +77,15 @@
 touch %buildroot%_var/log/acpid
 
 %pre
-%service_migrate_to_systemd_pre acpid
+%service_add_pre acpid.service
 
 %post
 %{fillup_and_insserv -y -f acpid}
-%service_migrate_to_systemd_post acpid
-%service_add acpid.service
-if [ $FIRST_ARG -eq 1 ]; then
-  /bin/systemctl enable acpid.service 2 /dev/null || :
-fi
+%service_add_post acpid.service
 
 %postun
 %restart_on_update acpid
 %{insserv_cleanup}
-%service_migrate_to_systemd_postun acpid
 %service_del_postun acpid.service
 
 %preun






Remember to have fun...

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



commit acpid for openSUSE:Factory

2011-09-26 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Mon Sep 26 10:03:10 CEST 2011.




--- acpid/acpid.changes 2011-09-17 12:46:45.0 +0200
+++ /mounts/work_src_done/STABLE/acpid/acpid.changes2011-09-23 
16:30:52.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 23 14:18:54 UTC 2011 - fcro...@suse.com
+
+- Ensure acpid is enabled on initial install, under systemd
+
+---

calling whatdependson for head-i586




Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.Z6yTfx/_old  2011-09-26 10:03:05.0 +0200
+++ /var/tmp/diff_new_pack.Z6yTfx/_new  2011-09-26 10:03:05.0 +0200
@@ -83,6 +83,9 @@
 %{fillup_and_insserv -y -f acpid}
 %service_migrate_to_systemd_post acpid
 %service_add acpid.service
+if [ $FIRST_ARG -eq 1 ]; then
+  /bin/systemctl enable acpid.service 2 /dev/null || :
+fi
 
 %postun
 %restart_on_update acpid






Remember to have fun...

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



commit acpid for openSUSE:Factory

2011-09-20 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Tue Sep 20 12:49:55 CEST 2011.




--- acpid/acpid.changes 2011-08-24 18:32:31.0 +0200
+++ /mounts/work_src_done/STABLE/acpid/acpid.changes2011-09-17 
12:46:45.0 +0200
@@ -1,0 +2,6 @@
+Sat Sep 17 10:46:41 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---

calling whatdependson for head-i586




Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.ME1RcL/_old  2011-09-20 12:49:50.0 +0200
+++ /var/tmp/diff_new_pack.ME1RcL/_new  2011-09-20 12:49:50.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   acpid
@@ -24,7 +23,6 @@
 Release:5
 License:GPLv2+
 Group:  System/Daemons
-AutoReqProv:on
 PreReq: %insserv_prereq %fillup_prereq
 Summary:Executes Actions at ACPI Events
 Source: http://tedfelix.com//linux/%{name}-%{version}.tar.gz
@@ -50,15 +48,6 @@
 
 Configure it in /etc/sysconfig/powermanagement.
 
-
-
-Authors:
-
-Andrew Grover andrew.gro...@intel.com
-Tim Hockin thoc...@sun.com
-Cajus Pollmeier pollme...@gonicus.de
-Ted Felix t...@tedfelix.com
-
 %prep
 %setup -q
 %patch1 -p0
@@ -87,9 +76,6 @@
 install -dm 755 %buildroot%_var/log
 touch %buildroot%_var/log/acpid
 
-%clean
-rm -rf %{buildroot}
-
 %pre
 %service_migrate_to_systemd_pre acpid
 






Remember to have fun...

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



commit acpid for openSUSE:Factory

2011-08-25 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Thu Aug 25 11:01:42 CEST 2011.




--- acpid/acpid.changes 2011-08-23 14:08:12.0 +0200
+++ /mounts/work_src_done/STABLE/acpid/acpid.changes2011-08-24 
18:32:31.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug 24 16:30:58 UTC 2011 - fcro...@suse.com
+
+- Use systemd macros to enable acpid service.
+
+---

calling whatdependson for head-i586




Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.sT7Vfy/_old  2011-08-25 11:00:46.0 +0200
+++ /var/tmp/diff_new_pack.sT7Vfy/_new  2011-08-25 11:00:46.0 +0200
@@ -21,7 +21,7 @@
 Name:   acpid
 Url:http://tedfelix.com/linux/acpid-netlink.html
 Version:2.0.10
-Release:3
+Release:5
 License:GPLv2+
 Group:  System/Daemons
 AutoReqProv:on
@@ -38,7 +38,9 @@
 Source8:acpid.service
 Patch1: acpid-makefile.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  systemd
 ExclusiveArch:  %ix86 x86_64 ia64
+%systemd_requires
 
 %description
 ACPID is a completely flexible, totally extensible daemon for
@@ -76,8 +78,8 @@
 ln -sf ../../etc/init.d/acpid %{buildroot}/usr/sbin/rcacpid
 install -Dm 644 events.power_button %{buildroot}/etc/acpi/events/power_button
 install -Dm 644 events.thinkpad %{buildroot}/etc/acpi/events/thinkpad
-mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
-install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/lib/systemd/system
+mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%{_unitdir}
 
 # for the rpmlint fascists
 mv samples examples 
@@ -88,15 +90,23 @@
 %clean
 rm -rf %{buildroot}
 
+%pre
+%service_migrate_to_systemd_pre acpid
+
 %post
 %{fillup_and_insserv -y -f acpid}
+%service_migrate_to_systemd_post acpid
+%service_add acpid.service
 
 %postun
 %restart_on_update acpid
 %{insserv_cleanup}
+%service_migrate_to_systemd_postun acpid
+%service_del_postun acpid.service
 
 %preun 
 %stop_on_removal acpid
+%service_del_preun acpid.service
 
 %files
 %defattr(-,root,root)
@@ -108,7 +118,7 @@
 /usr/lib/acpid
 /etc/init.d/acpid
 /etc/modprobe.d/50-thinkpad_acpi.conf
-/lib/systemd/system/%{name}.service
+%_unitdir/%{name}.service
 /usr/sbin/rcacpid
 /sbin/acpid
 /usr/bin/acpi_listen






Remember to have fun...

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



commit acpid for openSUSE:Factory

2011-08-24 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Wed Aug 24 14:28:35 CEST 2011.




--- acpid/acpid.changes 2011-06-15 22:33:31.0 +0200
+++ /mounts/work_src_done/STABLE/acpid/acpid.changes2011-08-23 
14:08:12.0 +0200
@@ -1,0 +2,12 @@
+Tue Aug 23 12:07:59 UTC 2011 - a...@suse.de
+
+- Remove _service file.
+
+---
+Tue Aug 23 02:54:40 UTC 2011 - g...@suse.com
+
+- Add the check for gnome-settings-daemon in power_button since
+  gnome-power-manager has been integrated into
+  gnome-settings-daemon. bnc#711148 
+
+---

calling whatdependson for head-i586


Old:

  _service
  _service:download_url:acpid-2.0.10.tar.gz

New:

  acpid-2.0.10.tar.gz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.MJeJp6/_old  2011-08-24 14:28:22.0 +0200
+++ /var/tmp/diff_new_pack.MJeJp6/_new  2011-08-24 14:28:22.0 +0200
@@ -21,13 +21,13 @@
 Name:   acpid
 Url:http://tedfelix.com/linux/acpid-netlink.html
 Version:2.0.10
-Release:1
+Release:3
 License:GPLv2+
 Group:  System/Daemons
 AutoReqProv:on
 PreReq: %insserv_prereq %fillup_prereq
 Summary:Executes Actions at ACPI Events
-Source: %{name}-%{version}.tar.gz
+Source: http://tedfelix.com//linux/%{name}-%{version}.tar.gz
 Source2:rcacpid
 Source3:README.SuSE
 Source4:thinkpad_acpi.modprobe

++ _service:download_url:acpid-2.0.10.tar.gz - acpid-2.0.10.tar.gz ++
 no output (probably identical)

++ power_button ++
--- /var/tmp/diff_new_pack.MJeJp6/_old  2011-08-24 14:28:23.0 +0200
+++ /var/tmp/diff_new_pack.MJeJp6/_new  2011-08-24 14:28:23.0 +0200
@@ -47,7 +47,7 @@
 
 if [ $IS_ACTIVE = true -a -n $DISP ]; then
# additional check, if none of these two apps are running, go on
-   if [ -n `pidof kpowersave` -o -n `pidof gnome-power-manager` -o -n 
`pidof kded4` -o -n `pidof dalston-power-applet` ]; then
+   if [ -n `pidof kpowersave` -o -n `pidof gnome-power-manager` -o -n 
`pidof kded4` -o -n `pidof dalston-power-applet` -o -n `pidof 
gnome-settings-daemon` ]; then
echo doing nothing...
exit 0
fi






Remember to have fun...

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



commit acpid for openSUSE:Factory

2011-06-16 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Thu Jun 16 10:46:39 CEST 2011.




--- acpid/acpid.changes 2011-03-09 14:10:01.0 +0100
+++ /mounts/work_src_done/STABLE/acpid/acpid.changes2011-06-15 
22:33:31.0 +0200
@@ -1,0 +2,5 @@
+Sat May 21 16:09:14 UTC 2011 - vlado.pas...@gmail.com
+
+- Version update to 2.0.10 for systemd support
+
+---

calling whatdependson for head-i586


Old:

  _service:download_url:acpid-2.0.9.tar.gz

New:

  _service:download_url:acpid-2.0.10.tar.gz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.Kg5reC/_old  2011-06-16 10:46:20.0 +0200
+++ /var/tmp/diff_new_pack.Kg5reC/_new  2011-06-16 10:46:20.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   acpid
 Url:http://tedfelix.com/linux/acpid-netlink.html
-Version:2.0.9
+Version:2.0.10
 Release:1
 License:GPLv2+
 Group:  System/Daemons

++ _service ++
--- /var/tmp/diff_new_pack.Kg5reC/_old  2011-06-16 10:46:20.0 +0200
+++ /var/tmp/diff_new_pack.Kg5reC/_new  2011-06-16 10:46:20.0 +0200
@@ -2,11 +2,11 @@
   service name=download_url
 param name=protocolhttp/param
 param name=hosttedfelix.com/param
-param name=path/linux/acpid-2.0.9.tar.gz/param
+param name=path/linux/acpid-2.0.10.tar.gz/param
   /service
   service name=verify_file
-param name=file_service:download_url:acpid-2.0.9.tar.gz/param
+param name=file_service:download_url:acpid-2.0.10.tar.gz/param
 param name=verifiersha256/param
-param 
name=checksumf02a4931083ef52e6785c989d9d44720387c1d65a42bdcd364e3b06cd588ba65/param
+param 
name=checksumef7e4ed2f3594dd02a50a92fc47dc0e1fea80c07fab8a5f3d1040ee76fae0acb/param
   /service
 /services

++ _service:download_url:acpid-2.0.9.tar.gz - 
_service:download_url:acpid-2.0.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.9/Changelog new/acpid-2.0.10/Changelog
--- old/acpid-2.0.9/Changelog   2011-04-15 19:12:47.0 +0200
+++ new/acpid-2.0.10/Changelog  2011-05-17 19:05:33.0 +0200
@@ -1,3 +1,12 @@
+* Tue May 17 2011  Ted Felix http://www.tedfelix.com
+  - 2.0.10 release
+  - Fixed compiler warnings in kacpimon.  (kacpimon/libnetlink.c)
+(Michael Meskes)
+  - systemd support.  The socket acpid creates to connect with clients can now
+be passed as stdin (fd 0) at startup.  (acpid.c sock.h sock.c acpid.8)  
+(Reiner Klussmeier)
+  - man page improvements  (acpid.8)  (Ted Felix)
+
 * Fri Apr 15 2011  Ted Felix http://www.tedfelix.com
   - 2.0.9 release
   - Removed newlines from acpid_log() calls and modified acpid_log() to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.9/Makefile new/acpid-2.0.10/Makefile
--- old/acpid-2.0.9/Makefile2011-03-12 17:06:19.0 +0100
+++ new/acpid-2.0.10/Makefile   2011-04-27 01:56:59.0 +0200
@@ -1,7 +1,7 @@
 # Makefile for ACPI daemon
 
 # update these numbers for new releases
-VERSION = 2.0.9
+VERSION = 2.0.10
 
 OPT = -O2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.9/TESTPLAN new/acpid-2.0.10/TESTPLAN
--- old/acpid-2.0.9/TESTPLAN2011-03-19 03:37:20.0 +0100
+++ new/acpid-2.0.10/TESTPLAN   2011-05-02 23:54:40.0 +0200
@@ -4,10 +4,16 @@
 
 - Run all these tests with valgrind to detect memory leaks.
 - It's best to test without a window manager running (such as GNOME or KDE) as 
they tend to handle acpi events on their own and override acpid.  To bring down 
X on a system that is configured with a graphical login, there's usually an 
init script you can run.  As an example, with Debian/GNOME, log off of your 
X/GNOME session, switch to another tty (e.g. Alt-Ctrl-F1), login, and do this:
-  sudo /etc/init.d/gdm stop
-  [need instructions for upstart, maybe this: sudo initctl gdm stop]
-Now X is out of the way and you can test from the console.
-- You can kill acpid with sudo killall acpid.
+sudo /etc/init.d/gdm stop
+  It's different if you are using upstart:
+sudo initctl gdm stop
+  And systemd requires a different incantation:
+[anyone care to enlighten me?]
+  Now X is out of the way and you can test from the console.
+- You can kill acpid with sudo killall acpid.  Or if you are using upstart:
+sudo initctl stop acpid
+  For systemd:
+[anyone?]
 - To make testing more convenient, you can run acpid from a shell as acpid 
-ld to get maximum logging.  Use Ctrl-C to stop acpid.
 
 Normal Paths
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.9/acpid.8 new/acpid-2.0.10/acpid.8
--- 

commit acpid for openSUSE:Factory

2011-04-21 Thread h_root

Hello community,

here is the log from the commit of package acpid for openSUSE:Factory
checked in at Thu Apr 21 12:35:10 CEST 2011.





calling whatdependson for head-i586


Old:

  _service:download_url:acpid-2.0.8.tar.gz

New:

  _service:download_url:acpid-2.0.9.tar.gz



Other differences:
--
++ acpid.spec ++
--- /var/tmp/diff_new_pack.7EdjXt/_old  2011-04-21 12:34:04.0 +0200
+++ /var/tmp/diff_new_pack.7EdjXt/_new  2011-04-21 12:34:04.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   acpid
 Url:http://tedfelix.com/linux/acpid-netlink.html
-Version:2.0.8
+Version:2.0.9
 Release:1
 License:GPLv2+
 Group:  System/Daemons

++ _service ++
--- /var/tmp/diff_new_pack.7EdjXt/_old  2011-04-21 12:34:04.0 +0200
+++ /var/tmp/diff_new_pack.7EdjXt/_new  2011-04-21 12:34:04.0 +0200
@@ -2,11 +2,11 @@
   service name=download_url
 param name=protocolhttp/param
 param name=hosttedfelix.com/param
-param name=path/linux/acpid-2.0.8.tar.gz/param
+param name=path/linux/acpid-2.0.9.tar.gz/param
   /service
   service name=verify_file
-param name=file_service:download_url:acpid-2.0.8.tar.gz/param
+param name=file_service:download_url:acpid-2.0.9.tar.gz/param
 param name=verifiersha256/param
-param 
name=checksumaf1ebddef17412fc3f00994a624fbb912ebe885437c13a7e87f3142f8339ce8c/param
+param 
name=checksumf02a4931083ef52e6785c989d9d44720387c1d65a42bdcd364e3b06cd588ba65/param
   /service
-/services
\ No newline at end of file
+/services

++ _service:download_url:acpid-2.0.8.tar.gz - 
_service:download_url:acpid-2.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.8/Changelog new/acpid-2.0.9/Changelog
--- old/acpid-2.0.8/Changelog   2011-02-15 23:45:50.0 +0100
+++ new/acpid-2.0.9/Changelog   2011-04-15 19:12:47.0 +0200
@@ -1,4 +1,16 @@
-* Tue Feb 15 2010  Ted Felix http://www.tedfelix.com
+* Fri Apr 15 2011  Ted Felix http://www.tedfelix.com
+  - 2.0.9 release
+  - Removed newlines from acpid_log() calls and modified acpid_log() to
+no longer need newlines.  This change to acpid prevents blank lines in
+the log for versions of syslogd that preserve newlines.  (acpid.c 
+connection_list.c event.c inotify_handler.c input_layer.c netlink.c 
+proc.c sock.c)  (Michael Meskes, Ted Felix)
+  - Added fcntl() for O_NONBLOCK on the client sockets.  This prevents acpid
+from hanging if a client behaves badly.  (sock.c)  (Vasiliy Kulikov)
+From: http://www.openwall.com/lists/oss-security/2011/01/19/4
+  - Improvements to error handling.  (sock.c)  (Ted Felix)
+
+* Tue Feb 15 2011  Ted Felix http://www.tedfelix.com
   - 2.0.8 release
   - Fixed comparison between signed and unsigned integer expressions
 error with gcc 4.6.  (libnetlink.c) (Eugeni Dodonov)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.8/Makefile new/acpid-2.0.9/Makefile
--- old/acpid-2.0.8/Makefile2010-11-15 19:43:28.0 +0100
+++ new/acpid-2.0.9/Makefile2011-03-12 17:06:19.0 +0100
@@ -1,7 +1,7 @@
 # Makefile for ACPI daemon
 
 # update these numbers for new releases
-VERSION = 2.0.8
+VERSION = 2.0.9
 
 OPT = -O2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.8/TESTPLAN new/acpid-2.0.9/TESTPLAN
--- old/acpid-2.0.8/TESTPLAN2009-11-11 21:38:21.0 +0100
+++ new/acpid-2.0.9/TESTPLAN2011-03-19 03:37:20.0 +0100
@@ -5,6 +5,7 @@
 - Run all these tests with valgrind to detect memory leaks.
 - It's best to test without a window manager running (such as GNOME or KDE) as 
they tend to handle acpi events on their own and override acpid.  To bring down 
X on a system that is configured with a graphical login, there's usually an 
init script you can run.  As an example, with Debian/GNOME, log off of your 
X/GNOME session, switch to another tty (e.g. Alt-Ctrl-F1), login, and do this:
   sudo /etc/init.d/gdm stop
+  [need instructions for upstart, maybe this: sudo initctl gdm stop]
 Now X is out of the way and you can test from the console.
 - You can kill acpid with sudo killall acpid.
 - To make testing more convenient, you can run acpid from a shell as acpid 
-ld to get maximum logging.  Use Ctrl-C to stop acpid.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acpid-2.0.8/acpid.c new/acpid-2.0.9/acpid.c
--- old/acpid-2.0.8/acpid.c 2010-11-09 22:55:28.0 +0100
+++ new/acpid-2.0.9/acpid.c 2011-03-24 12:20:59.0 +0100
@@ -116,7 +116,7 @@
exit(EXIT_FAILURE);
}

-   acpid_log(LOG_INFO, starting up with %s\n,
+   acpid_log(LOG_INFO, starting up with %s,
netlink ?