[arch-commits] Commit in rfkill/repos (20 files)
Gaetan Bisson
bisson at archlinux.org
Mon Aug 20 14:46:54 UTC 2012
Date: Monday, August 20, 2012 @ 10:46:54
Author: bisson
Revision: 165479
db-move: moved rfkill from [testing] to [core] (i686, x86_64)
Added:
rfkill/repos/core-i686/PKGBUILD
(from rev 165478, rfkill/repos/testing-i686/PKGBUILD)
rfkill/repos/core-i686/conf.d
(from rev 165478, rfkill/repos/testing-i686/conf.d)
rfkill/repos/core-i686/rc.d
(from rev 165478, rfkill/repos/testing-i686/rc.d)
rfkill/repos/core-i686/rules.d
(from rev 165478, rfkill/repos/testing-i686/rules.d)
rfkill/repos/core-i686/service
(from rev 165478, rfkill/repos/testing-i686/service)
rfkill/repos/core-x86_64/PKGBUILD
(from rev 165478, rfkill/repos/testing-x86_64/PKGBUILD)
rfkill/repos/core-x86_64/conf.d
(from rev 165478, rfkill/repos/testing-x86_64/conf.d)
rfkill/repos/core-x86_64/rc.d
(from rev 165478, rfkill/repos/testing-x86_64/rc.d)
rfkill/repos/core-x86_64/rules.d
(from rev 165478, rfkill/repos/testing-x86_64/rules.d)
rfkill/repos/core-x86_64/service
(from rev 165478, rfkill/repos/testing-x86_64/service)
Deleted:
rfkill/repos/core-i686/60-rfkill.rules
rfkill/repos/core-i686/PKGBUILD
rfkill/repos/core-i686/rfkill.conf.d
rfkill/repos/core-i686/rfkill.rc.d
rfkill/repos/core-x86_64/60-rfkill.rules
rfkill/repos/core-x86_64/PKGBUILD
rfkill/repos/core-x86_64/rfkill.conf.d
rfkill/repos/core-x86_64/rfkill.rc.d
rfkill/repos/testing-i686/
rfkill/repos/testing-x86_64/
-----------------------------+
core-i686/60-rfkill.rules | 1
core-i686/PKGBUILD | 76 +++++++++++++++++++++---------------------
core-i686/conf.d | 20 +++++++++++
core-i686/rc.d | 38 +++++++++++++++++++++
core-i686/rfkill.conf.d | 20 -----------
core-i686/rfkill.rc.d | 38 ---------------------
core-i686/rules.d | 1
core-i686/service | 11 ++++++
core-x86_64/60-rfkill.rules | 1
core-x86_64/PKGBUILD | 76 +++++++++++++++++++++---------------------
core-x86_64/conf.d | 20 +++++++++++
core-x86_64/rc.d | 38 +++++++++++++++++++++
core-x86_64/rfkill.conf.d | 20 -----------
core-x86_64/rfkill.rc.d | 38 ---------------------
core-x86_64/rules.d | 1
core-x86_64/service | 11 ++++++
16 files changed, 218 insertions(+), 192 deletions(-)
Deleted: core-i686/60-rfkill.rules
===================================================================
--- core-i686/60-rfkill.rules 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-i686/60-rfkill.rules 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1 +0,0 @@
-KERNEL=="rfkill", GROUP="rfkill", MODE="0664"
Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-i686/PKGBUILD 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=rfkill
-pkgver=0.4
-pkgrel=4
-pkgdesc="A tool for enabling and disabling wireless devices"
-arch=('i686' 'x86_64')
-url="http://linuxwireless.org/en/users/Documentation/rfkill"
-license=('custom')
-source=(http://wireless.kernel.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- 60-rfkill.rules
- rfkill.conf.d
- rfkill.rc.d)
-backup=(etc/conf.d/rfkill)
-md5sums=('727892c0fb35c80ee3849fbe89b45350'
- '63f9bf9264911242e430867a41e8918c'
- '398e7cadf023e05e3e0c323aa33575b9'
- '793f0510e26547eb2632efce7d16e50e')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- # License
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- # Udev rule
- install -Dm644 "${srcdir}/60-rfkill.rules" "${pkgdir}/usr/lib/udev/rules.d/60-rfkill.rules"
- # Init script
- install -Dm644 "${srcdir}/rfkill.conf.d" "${pkgdir}/etc/conf.d/rfkill"
- install -Dm755 "${srcdir}/rfkill.rc.d" "${pkgdir}/etc/rc.d/rfkill"
-}
Copied: rfkill/repos/core-i686/PKGBUILD (from rev 165478, rfkill/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD (rev 0)
+++ core-i686/PKGBUILD 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thomas Bächler <thomas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=rfkill
+pkgver=0.4
+pkgrel=5
+pkgdesc='Tool for enabling and disabling wireless devices'
+url='http://linuxwireless.org/en/users/Documentation/rfkill'
+license=('custom')
+arch=('i686' 'x86_64')
+source=("http://wireless.kernel.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'rules.d'
+ 'service'
+ 'conf.d'
+ 'rc.d')
+sha1sums=('fccabf5a272ac2891f24dc35449dc6f4c45ff44b'
+ '6390eaa793b473098aaa11b13c5254d611a4c13a'
+ 'cadc563f967c5ac680e7cdfd764718b412201f8a'
+ 'd969fe927a9fb2926af43a311a7c1fa126fe59a9'
+ '380af0b002f51543557306ed68a27f0059fd5a6f')
+
+backup=('etc/conf.d/rfkill')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 ../rules.d "${pkgdir}/usr/lib/udev/rules.d/60-rfkill.rules"
+ install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/rfkill.service"
+ install -Dm644 ../conf.d "${pkgdir}/etc/conf.d/rfkill"
+ install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/rfkill"
+}
Copied: rfkill/repos/core-i686/conf.d (from rev 165478, rfkill/repos/testing-i686/conf.d)
===================================================================
--- core-i686/conf.d (rev 0)
+++ core-i686/conf.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,20 @@
+#
+# /etc/conf.d/rfkill
+# Configuration for the rfkill startup script
+#
+
+# List of devices to block on startup (space-separated)
+RFKILL_BLOCK=""
+
+# List of devices to unblock on startup (space-separated)
+RFKILL_UNBLOCK="all"
+
+# Supported device names are: all, wifi, bluetooth, umb, wimax, wwan, gps and specific device names like phy0, hci0, ...
+# See "rfkill list" for available devices
+# Examples:
+#
+# Block all bluetooth devices:
+# RFKILL_BLOCK="bluetooth"
+#
+# Unblock the phy0 wifi device and all wwan devices:
+# RFKILL_UNBLOCK="phy0 wwan"
Copied: rfkill/repos/core-i686/rc.d (from rev 165478, rfkill/repos/testing-i686/rc.d)
===================================================================
--- core-i686/rc.d (rev 0)
+++ core-i686/rc.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/rfkill
+
+case "$1" in
+ start)
+ for device in ${RFKILL_BLOCK}; do
+ stat_busy "Blocking rfkill device: ${device}"
+ /usr/sbin/rfkill block ${device}
+ if [ $? -eq 0 ]; then
+ stat_done
+ else
+ stat_fail
+ fi
+ done
+ for device in ${RFKILL_UNBLOCK}; do
+ stat_busy "Unblocking rfkill device: ${device}"
+ /usr/sbin/rfkill unblock ${device}
+ if [ $? -eq 0 ]; then
+ stat_done
+ else
+ stat_fail
+ fi
+ done
+ ;;
+ stop)
+ ;;
+ restart)
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start}"
+ exit 1
+ ;;
+esac
+exit 0
Deleted: core-i686/rfkill.conf.d
===================================================================
--- core-i686/rfkill.conf.d 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-i686/rfkill.conf.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1,20 +0,0 @@
-#
-# /etc/conf.d/rfkill
-# Configuration for the rfkill startup script
-#
-
-# List of devices to block on startup (space-separated)
-RFKILL_BLOCK=""
-
-# List of devices to unblock on startup (space-separated)
-RFKILL_UNBLOCK="all"
-
-# Supported device names are: all, wifi, bluetooth, umb, wimax, wwan, gps and specific device names like phy0, hci0, ...
-# See "rfkill list" for available devices
-# Examples:
-#
-# Block all bluetooth devices:
-# RFKILL_BLOCK="bluetooth"
-#
-# Unblock the phy0 wifi device and all wwan devices:
-# RFKILL_UNBLOCK="phy0 wwan"
Deleted: core-i686/rfkill.rc.d
===================================================================
--- core-i686/rfkill.rc.d 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-i686/rfkill.rc.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/rfkill
-
-case "$1" in
- start)
- for device in ${RFKILL_BLOCK}; do
- stat_busy "Blocking rfkill device: ${device}"
- /usr/sbin/rfkill block ${device}
- if [ $? -eq 0 ]; then
- stat_done
- else
- stat_fail
- fi
- done
- for device in ${RFKILL_UNBLOCK}; do
- stat_busy "Unblocking rfkill device: ${device}"
- /usr/sbin/rfkill unblock ${device}
- if [ $? -eq 0 ]; then
- stat_done
- else
- stat_fail
- fi
- done
- ;;
- stop)
- ;;
- restart)
- $0 start
- ;;
- *)
- echo "usage: $0 {start}"
- exit 1
- ;;
-esac
-exit 0
Copied: rfkill/repos/core-i686/rules.d (from rev 165478, rfkill/repos/testing-i686/rules.d)
===================================================================
--- core-i686/rules.d (rev 0)
+++ core-i686/rules.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1 @@
+KERNEL=="rfkill", GROUP="rfkill", MODE="0664"
Copied: rfkill/repos/core-i686/service (from rev 165478, rfkill/repos/testing-i686/service)
===================================================================
--- core-i686/service (rev 0)
+++ core-i686/service 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,11 @@
+[Unit]
+Description=RFKill-Block Selected Devices
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/rfkill block 9999
+ExecStop=/usr/sbin/rfkill unblock all
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
Deleted: core-x86_64/60-rfkill.rules
===================================================================
--- core-x86_64/60-rfkill.rules 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-x86_64/60-rfkill.rules 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1 +0,0 @@
-KERNEL=="rfkill", GROUP="rfkill", MODE="0664"
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-x86_64/PKGBUILD 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=rfkill
-pkgver=0.4
-pkgrel=4
-pkgdesc="A tool for enabling and disabling wireless devices"
-arch=('i686' 'x86_64')
-url="http://linuxwireless.org/en/users/Documentation/rfkill"
-license=('custom')
-source=(http://wireless.kernel.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- 60-rfkill.rules
- rfkill.conf.d
- rfkill.rc.d)
-backup=(etc/conf.d/rfkill)
-md5sums=('727892c0fb35c80ee3849fbe89b45350'
- '63f9bf9264911242e430867a41e8918c'
- '398e7cadf023e05e3e0c323aa33575b9'
- '793f0510e26547eb2632efce7d16e50e')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- # License
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- # Udev rule
- install -Dm644 "${srcdir}/60-rfkill.rules" "${pkgdir}/usr/lib/udev/rules.d/60-rfkill.rules"
- # Init script
- install -Dm644 "${srcdir}/rfkill.conf.d" "${pkgdir}/etc/conf.d/rfkill"
- install -Dm755 "${srcdir}/rfkill.rc.d" "${pkgdir}/etc/rc.d/rfkill"
-}
Copied: rfkill/repos/core-x86_64/PKGBUILD (from rev 165478, rfkill/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thomas Bächler <thomas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=rfkill
+pkgver=0.4
+pkgrel=5
+pkgdesc='Tool for enabling and disabling wireless devices'
+url='http://linuxwireless.org/en/users/Documentation/rfkill'
+license=('custom')
+arch=('i686' 'x86_64')
+source=("http://wireless.kernel.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'rules.d'
+ 'service'
+ 'conf.d'
+ 'rc.d')
+sha1sums=('fccabf5a272ac2891f24dc35449dc6f4c45ff44b'
+ '6390eaa793b473098aaa11b13c5254d611a4c13a'
+ 'cadc563f967c5ac680e7cdfd764718b412201f8a'
+ 'd969fe927a9fb2926af43a311a7c1fa126fe59a9'
+ '380af0b002f51543557306ed68a27f0059fd5a6f')
+
+backup=('etc/conf.d/rfkill')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 ../rules.d "${pkgdir}/usr/lib/udev/rules.d/60-rfkill.rules"
+ install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/rfkill.service"
+ install -Dm644 ../conf.d "${pkgdir}/etc/conf.d/rfkill"
+ install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/rfkill"
+}
Copied: rfkill/repos/core-x86_64/conf.d (from rev 165478, rfkill/repos/testing-x86_64/conf.d)
===================================================================
--- core-x86_64/conf.d (rev 0)
+++ core-x86_64/conf.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,20 @@
+#
+# /etc/conf.d/rfkill
+# Configuration for the rfkill startup script
+#
+
+# List of devices to block on startup (space-separated)
+RFKILL_BLOCK=""
+
+# List of devices to unblock on startup (space-separated)
+RFKILL_UNBLOCK="all"
+
+# Supported device names are: all, wifi, bluetooth, umb, wimax, wwan, gps and specific device names like phy0, hci0, ...
+# See "rfkill list" for available devices
+# Examples:
+#
+# Block all bluetooth devices:
+# RFKILL_BLOCK="bluetooth"
+#
+# Unblock the phy0 wifi device and all wwan devices:
+# RFKILL_UNBLOCK="phy0 wwan"
Copied: rfkill/repos/core-x86_64/rc.d (from rev 165478, rfkill/repos/testing-x86_64/rc.d)
===================================================================
--- core-x86_64/rc.d (rev 0)
+++ core-x86_64/rc.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/rfkill
+
+case "$1" in
+ start)
+ for device in ${RFKILL_BLOCK}; do
+ stat_busy "Blocking rfkill device: ${device}"
+ /usr/sbin/rfkill block ${device}
+ if [ $? -eq 0 ]; then
+ stat_done
+ else
+ stat_fail
+ fi
+ done
+ for device in ${RFKILL_UNBLOCK}; do
+ stat_busy "Unblocking rfkill device: ${device}"
+ /usr/sbin/rfkill unblock ${device}
+ if [ $? -eq 0 ]; then
+ stat_done
+ else
+ stat_fail
+ fi
+ done
+ ;;
+ stop)
+ ;;
+ restart)
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start}"
+ exit 1
+ ;;
+esac
+exit 0
Deleted: core-x86_64/rfkill.conf.d
===================================================================
--- core-x86_64/rfkill.conf.d 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-x86_64/rfkill.conf.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1,20 +0,0 @@
-#
-# /etc/conf.d/rfkill
-# Configuration for the rfkill startup script
-#
-
-# List of devices to block on startup (space-separated)
-RFKILL_BLOCK=""
-
-# List of devices to unblock on startup (space-separated)
-RFKILL_UNBLOCK="all"
-
-# Supported device names are: all, wifi, bluetooth, umb, wimax, wwan, gps and specific device names like phy0, hci0, ...
-# See "rfkill list" for available devices
-# Examples:
-#
-# Block all bluetooth devices:
-# RFKILL_BLOCK="bluetooth"
-#
-# Unblock the phy0 wifi device and all wwan devices:
-# RFKILL_UNBLOCK="phy0 wwan"
Deleted: core-x86_64/rfkill.rc.d
===================================================================
--- core-x86_64/rfkill.rc.d 2012-08-20 14:37:56 UTC (rev 165478)
+++ core-x86_64/rfkill.rc.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/rfkill
-
-case "$1" in
- start)
- for device in ${RFKILL_BLOCK}; do
- stat_busy "Blocking rfkill device: ${device}"
- /usr/sbin/rfkill block ${device}
- if [ $? -eq 0 ]; then
- stat_done
- else
- stat_fail
- fi
- done
- for device in ${RFKILL_UNBLOCK}; do
- stat_busy "Unblocking rfkill device: ${device}"
- /usr/sbin/rfkill unblock ${device}
- if [ $? -eq 0 ]; then
- stat_done
- else
- stat_fail
- fi
- done
- ;;
- stop)
- ;;
- restart)
- $0 start
- ;;
- *)
- echo "usage: $0 {start}"
- exit 1
- ;;
-esac
-exit 0
Copied: rfkill/repos/core-x86_64/rules.d (from rev 165478, rfkill/repos/testing-x86_64/rules.d)
===================================================================
--- core-x86_64/rules.d (rev 0)
+++ core-x86_64/rules.d 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1 @@
+KERNEL=="rfkill", GROUP="rfkill", MODE="0664"
Copied: rfkill/repos/core-x86_64/service (from rev 165478, rfkill/repos/testing-x86_64/service)
===================================================================
--- core-x86_64/service (rev 0)
+++ core-x86_64/service 2012-08-20 14:46:54 UTC (rev 165479)
@@ -0,0 +1,11 @@
+[Unit]
+Description=RFKill-Block Selected Devices
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/rfkill block 9999
+ExecStop=/usr/sbin/rfkill unblock all
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list