[arch-commits] Commit in dfu-util/repos (8 files)

Anatol Pomozov anatolik at archlinux.org
Sat Sep 13 16:38:15 UTC 2014


    Date: Saturday, September 13, 2014 @ 18:38:14
  Author: anatolik
Revision: 118915

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  dfu-util/repos/community-testing-i686/
  dfu-util/repos/community-testing-i686/PKGBUILD
    (from rev 118914, dfu-util/trunk/PKGBUILD)
  dfu-util/repos/community-testing-i686/dfu-util.install
    (from rev 118914, dfu-util/trunk/dfu-util.install)
  dfu-util/repos/community-testing-i686/stm32dfu.udev.rules
    (from rev 118914, dfu-util/trunk/stm32dfu.udev.rules)
  dfu-util/repos/community-testing-x86_64/
  dfu-util/repos/community-testing-x86_64/PKGBUILD
    (from rev 118914, dfu-util/trunk/PKGBUILD)
  dfu-util/repos/community-testing-x86_64/dfu-util.install
    (from rev 118914, dfu-util/trunk/dfu-util.install)
  dfu-util/repos/community-testing-x86_64/stm32dfu.udev.rules
    (from rev 118914, dfu-util/trunk/stm32dfu.udev.rules)

----------------------------------------------+
 community-testing-i686/PKGBUILD              |   31 +++++++++++++++++++++++++
 community-testing-i686/dfu-util.install      |   11 ++++++++
 community-testing-i686/stm32dfu.udev.rules   |   10 ++++++++
 community-testing-x86_64/PKGBUILD            |   31 +++++++++++++++++++++++++
 community-testing-x86_64/dfu-util.install    |   11 ++++++++
 community-testing-x86_64/stm32dfu.udev.rules |   10 ++++++++
 6 files changed, 104 insertions(+)

Copied: dfu-util/repos/community-testing-i686/PKGBUILD (from rev 118914, dfu-util/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-09-13 16:38:14 UTC (rev 118915)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Øyvind 'Mr.Elendig' Heggstad <mrelendig at har-ikkje.net>
+# Contributor: Fabrizio Antonangeli <fabrizio.antonangeli at gmail.com>
+
+pkgname=dfu-util
+pkgver=0.8
+pkgrel=1
+pkgdesc='Tool intended to download and upload firmware using DFU protocol to devices connected over USB'
+url='http://dfu-util.gnumonks.org'
+license=(GPL2)
+arch=(i686 x86_64)
+depends=(libusb)
+install=dfu-util.install
+source=(stm32dfu.udev.rules
+        http://dfu-util.gnumonks.org/releases/$pkgname-$pkgver.tar.gz)
+sha256sums=('64d4314f354d965e3dc0fd439dc497d5d0a41bf649da1869df40f93718e5a6fe'
+            '55cbde9be12a212bd84bce9d1e63941d9a16139ed0d4912401367eba1502f058')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir"/stm32dfu.udev.rules "$pkgdir"/usr/lib/udev/rules.d/48-stm32dfu.rules
+}

Copied: dfu-util/repos/community-testing-i686/dfu-util.install (from rev 118914, dfu-util/trunk/dfu-util.install)
===================================================================
--- community-testing-i686/dfu-util.install	                        (rev 0)
+++ community-testing-i686/dfu-util.install	2014-09-13 16:38:14 UTC (rev 118915)
@@ -0,0 +1,11 @@
+post_install() {
+  udevadm control --reload-rules
+}
+
+post_upgrade() {
+  udevadm control --reload-rules
+}
+
+post_remove() {
+  udevadm control --reload-rules
+}

Copied: dfu-util/repos/community-testing-i686/stm32dfu.udev.rules (from rev 118914, dfu-util/trunk/stm32dfu.udev.rules)
===================================================================
--- community-testing-i686/stm32dfu.udev.rules	                        (rev 0)
+++ community-testing-i686/stm32dfu.udev.rules	2014-09-13 16:38:14 UTC (rev 118915)
@@ -0,0 +1,10 @@
+# stm32 boards, with onboard DFU support
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
+    MODE:="0666", \
+    SYMLINK+="stm32_dfu"
+
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.

Copied: dfu-util/repos/community-testing-x86_64/PKGBUILD (from rev 118914, dfu-util/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-09-13 16:38:14 UTC (rev 118915)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Øyvind 'Mr.Elendig' Heggstad <mrelendig at har-ikkje.net>
+# Contributor: Fabrizio Antonangeli <fabrizio.antonangeli at gmail.com>
+
+pkgname=dfu-util
+pkgver=0.8
+pkgrel=1
+pkgdesc='Tool intended to download and upload firmware using DFU protocol to devices connected over USB'
+url='http://dfu-util.gnumonks.org'
+license=(GPL2)
+arch=(i686 x86_64)
+depends=(libusb)
+install=dfu-util.install
+source=(stm32dfu.udev.rules
+        http://dfu-util.gnumonks.org/releases/$pkgname-$pkgver.tar.gz)
+sha256sums=('64d4314f354d965e3dc0fd439dc497d5d0a41bf649da1869df40f93718e5a6fe'
+            '55cbde9be12a212bd84bce9d1e63941d9a16139ed0d4912401367eba1502f058')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir"/stm32dfu.udev.rules "$pkgdir"/usr/lib/udev/rules.d/48-stm32dfu.rules
+}

Copied: dfu-util/repos/community-testing-x86_64/dfu-util.install (from rev 118914, dfu-util/trunk/dfu-util.install)
===================================================================
--- community-testing-x86_64/dfu-util.install	                        (rev 0)
+++ community-testing-x86_64/dfu-util.install	2014-09-13 16:38:14 UTC (rev 118915)
@@ -0,0 +1,11 @@
+post_install() {
+  udevadm control --reload-rules
+}
+
+post_upgrade() {
+  udevadm control --reload-rules
+}
+
+post_remove() {
+  udevadm control --reload-rules
+}

Copied: dfu-util/repos/community-testing-x86_64/stm32dfu.udev.rules (from rev 118914, dfu-util/trunk/stm32dfu.udev.rules)
===================================================================
--- community-testing-x86_64/stm32dfu.udev.rules	                        (rev 0)
+++ community-testing-x86_64/stm32dfu.udev.rules	2014-09-13 16:38:14 UTC (rev 118915)
@@ -0,0 +1,10 @@
+# stm32 boards, with onboard DFU support
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
+    MODE:="0666", \
+    SYMLINK+="stm32_dfu"
+
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.




More information about the arch-commits mailing list