Hello community, here is the log from the commit of package rfkill for openSUSE:Factory checked in at 2013-07-04 18:06:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rfkill (Old) and /work/SRC/openSUSE:Factory/.rfkill.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rfkill" Changes: -------- --- /work/SRC/openSUSE:Factory/rfkill/rfkill.changes 2012-06-01 07:23:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rfkill.new/rfkill.changes 2013-07-04 18:06:30.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Jul 4 08:17:35 UTC 2013 - mvyskocil@suse.com + +- update to 0.5 + * add NFC support + * fix compiler warning +- use Source URL + +------------------------------------------------------------------- Old: ---- rfkill-0.4.tar.bz2 New: ---- rfkill-0.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rfkill.spec ++++++ --- /var/tmp/diff_new_pack.Mud7Oi/_old 2013-07-04 18:06:31.000000000 +0200 +++ /var/tmp/diff_new_pack.Mud7Oi/_new 2013-07-04 18:06:31.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rfkill # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -17,13 +17,13 @@ Name: rfkill -Version: 0.4 +Version: 0.5 Release: 0 Summary: Tool for enabling and disabling wireless devices License: ISC Group: Productivity/Networking/Other Url: http://wireless.kernel.org/download/rfkill/ -Source: %{name}-%{version}.tar.bz2 +Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++++++ rfkill-0.4.tar.bz2 -> rfkill-0.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfkill-0.4/rfkill.8 new/rfkill-0.5/rfkill.8 --- old/rfkill-0.4/rfkill.8 2010-02-06 15:33:26.000000000 +0100 +++ new/rfkill-0.5/rfkill.8 2013-05-03 13:24:22.000000000 +0200 @@ -24,7 +24,7 @@ .BI block " index|type" Disable the device corresponding to the given index. \fItype\fR is one of "all", "wifi", "wlan", "bluetooth", "uwb", -"ultrawideband", "wimax", "wwan", "gps" or "fm". +"ultrawideband", "wimax", "wwan", "gps", "fm" or "nfc". .TP .BI unblock " index|type" Enable the device corresponding to the given index. If the device is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfkill-0.4/rfkill.c new/rfkill-0.5/rfkill.c --- old/rfkill-0.4/rfkill.c 2010-02-06 15:33:26.000000000 +0100 +++ new/rfkill-0.5/rfkill.c 2013-05-03 13:24:22.000000000 +0200 @@ -68,8 +68,7 @@ static const char *get_name(__u32 idx) { - static char name[128]; - ssize_t len; + static char name[128] = {}; char *pos, filename[64]; int fd; @@ -81,7 +80,7 @@ return NULL; memset(name, 0, sizeof(name)); - len = read(fd, name, sizeof(name) - 1); + read(fd, name, sizeof(name) - 1); pos = strchr(name, '\n'); if (pos) @@ -111,6 +110,8 @@ return "GPS"; case RFKILL_TYPE_FM: return "FM"; + case RFKILL_TYPE_NFC: + return "NFC"; case NUM_RFKILL_TYPES: return NULL; } @@ -133,6 +134,7 @@ { .type = RFKILL_TYPE_WWAN, .name = "wwan" }, { .type = RFKILL_TYPE_GPS, .name = "gps" }, { .type = RFKILL_TYPE_FM, .name = "fm" }, + { .type = RFKILL_TYPE_NFC, .name = "nfc" }, { .name = NULL } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfkill-0.4/rfkill.h new/rfkill-0.5/rfkill.h --- old/rfkill-0.4/rfkill.h 2010-02-06 15:33:26.000000000 +0100 +++ new/rfkill-0.5/rfkill.h 2013-05-03 13:24:22.000000000 +0200 @@ -37,6 +37,7 @@ * @RFKILL_TYPE_WWAN: switch is on a wireless WAN device. * @RFKILL_TYPE_GPS: switch is on a GPS device. * @RFKILL_TYPE_FM: switch is on a FM radio device. + * @RFKILL_TYPE_NFC: switch is on an NFC device. * @NUM_RFKILL_TYPES: number of defined rfkill types */ enum rfkill_type { @@ -48,6 +49,7 @@ RFKILL_TYPE_WWAN, RFKILL_TYPE_GPS, RFKILL_TYPE_FM, + RFKILL_TYPE_NFC, NUM_RFKILL_TYPES, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfkill-0.4/version.sh new/rfkill-0.5/version.sh --- old/rfkill-0.4/version.sh 2010-02-06 15:33:26.000000000 +0100 +++ new/rfkill-0.5/version.sh 2013-05-03 13:24:22.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -VERSION="0.4" +VERSION="0.5" SUFFIX= if test "x$1" = x--suffix; then -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org