Accepting request 135934 from Base:System
- 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 OBS-URL: https://build.opensuse.org/request/show/135934 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/acpid?expand=0&rev=60
This commit is contained in:
commit
662e0d0ddb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0d4330e757e66e130ac9385a53d9fa6f102a3b6d95d2e1f0a16d6f3dd1d49683
|
|
||||||
size 205682
|
|
3
acpid-2.0.17.tar.xz
Normal file
3
acpid-2.0.17.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:36b7d2c7deb6a44ae87b28026ff368f96e66b3ee8dd6b6cef4de2c3dbea17a3e
|
||||||
|
size 149440
|
@ -1,11 +0,0 @@
|
|||||||
--- libnetlink.c.orig 2012-03-16 09:03:33.422941268 -0400
|
|
||||||
+++ libnetlink.c 2012-03-16 09:03:52.113707601 -0400
|
|
||||||
@@ -41,7 +41,7 @@
|
|
||||||
int sndbuf = 32768;
|
|
||||||
int rcvbuf = 32768;
|
|
||||||
|
|
||||||
- memset(rth, 0, sizeof(rth));
|
|
||||||
+ memset(rth, 0, sizeof(*rth));
|
|
||||||
|
|
||||||
rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol);
|
|
||||||
if (rth->fd < 0) {
|
|
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 23 04:00:57 UTC 2012 - crrodriguez@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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 19 18:18:51 UTC 2012 - crrodriguez@opensuse.org
|
Sun Aug 19 18:18:51 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
10
acpid.spec
10
acpid.spec
@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: acpid
|
Name: acpid
|
||||||
Version: 2.0.16
|
Version: 2.0.17
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Executes Actions at ACPI Events
|
Summary: Executes Actions at ACPI Events
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
Url: http://tedfelix.com/linux/acpid-netlink.html
|
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
|
Source2: rcacpid
|
||||||
Source3: README.SuSE
|
Source3: README.SuSE
|
||||||
Source4: thinkpad_acpi.modprobe
|
Source4: thinkpad_acpi.modprobe
|
||||||
@ -34,9 +34,8 @@ Source7: power_button
|
|||||||
Source8: acpid.service
|
Source8: acpid.service
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||||
Patch1: acpid-makefile.patch
|
Patch1: acpid-makefile.patch
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch2: acpid-wrong-memset.patch
|
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
|
BuildRequires: xz
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
Requires(pre): %insserv_prereq
|
Requires(pre): %insserv_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -54,14 +53,13 @@ Configure it in /etc/sysconfig/powermanagement.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
|
||||||
|
|
||||||
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} .
|
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||||
%configure
|
%configure
|
||||||
make OPT="%{optflags}" %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
|
make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user