[arch-commits] Commit in libnjb/trunk (45-libnjb.rules PKGBUILD)

Ionut Biru ibiru at archlinux.org
Fri Jan 29 08:00:55 EST 2010


    Date: Friday, January 29, 2010 @ 08:00:54
  Author: ibiru
Revision: 65457

upgpkg: libnjb 2.2.6-2
    replace sysfs with attrs in udev FS#18007, modified udev directory from /etc to /lib/udev

Modified:
  libnjb/trunk/45-libnjb.rules
  libnjb/trunk/PKGBUILD

-----------------+
 45-libnjb.rules |   26 +++++++++++++-------------
 PKGBUILD        |    7 +++----
 2 files changed, 16 insertions(+), 17 deletions(-)

Modified: 45-libnjb.rules
===================================================================
--- 45-libnjb.rules	2010-01-29 12:28:20 UTC (rev 65456)
+++ 45-libnjb.rules	2010-01-29 13:00:54 UTC (rev 65457)
@@ -1,30 +1,30 @@
 SUBSYSTEM!="usb_device", GOTO="libnjb_rules_end"
 
 # Creative Nomad Jukebox
-SYSFS{idVendor}=="0471", SYSFS{idProduct}=="0222", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="0471", ATTRS{idProduct}=="0222", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox 2
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4100", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4100", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox 3
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4101", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4101", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox Zen
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4108", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4108", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox Zen USB 2.0
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="410b", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="410b", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox Zen NX
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4109", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4109", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox Zen Xtra
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4110", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4110", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Dell Digital Jukebox
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4111", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4111", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox Zen Touch
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411b", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="411b", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Nomad Jukebox Zen Micro
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411e", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="411e", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Second Generation Dell Digital Jukebox
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4126", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4126", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Dell Pocket DJ
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4127", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4127", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 # Creative Zen Sleek
-SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4136", GROUP="storage", MODE="0660"
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4136", GROUP="storage", MODE="0660", ENV{ACL_MANAGE}="1"
 
 LABEL="libnjb_rules_end"

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-29 12:28:20 UTC (rev 65456)
+++ PKGBUILD	2010-01-29 13:00:54 UTC (rev 65457)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=libnjb
 pkgver=2.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Library for communicating with various portable MP3 players"
 arch=('i686' 'x86_64')
 url="http://libnjb.sourceforge.net/"
@@ -12,14 +12,13 @@
 options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/libnjb/${pkgname}-${pkgver}.tar.gz
 	45-libnjb.rules)
-md5sums=('e1b3a89f6157c553ea46a78446429a0d' '7fe0e29076d6d1ae0b16e0916f297123')
+md5sums=('e1b3a89f6157c553ea46a78446429a0d' '17b83c2469e083bf1f273174d91dfa13')
 
 build() {
   cd ${srcdir}/libnjb-${pkgver}
   ./configure --prefix=/usr --disable-hotplugging || return 1
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
-  mkdir -p ${pkgdir}/etc/udev/rules.d
-  install -m644 ${startdir}/src/45-libnjb.rules ${pkgdir}/etc/udev/rules.d/
+  install -D -m644 ${srcdir}/45-libnjb.rules ${pkgdir}/lib/udev/rules.d/45-libnjb.rules || return 1
   install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list