[arch-commits] Commit in modemmanager/repos (6 files)

Ionut Biru ibiru at archlinux.org
Fri Aug 31 20:12:30 UTC 2012


    Date: Friday, August 31, 2012 @ 16:12:30
  Author: ibiru
Revision: 165839

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

Added:
  modemmanager/repos/testing-i686/
  modemmanager/repos/testing-i686/PKGBUILD
    (from rev 165838, modemmanager/trunk/PKGBUILD)
  modemmanager/repos/testing-i686/modem-manager.service
    (from rev 165838, modemmanager/trunk/modem-manager.service)
  modemmanager/repos/testing-x86_64/
  modemmanager/repos/testing-x86_64/PKGBUILD
    (from rev 165838, modemmanager/trunk/PKGBUILD)
  modemmanager/repos/testing-x86_64/modem-manager.service
    (from rev 165838, modemmanager/trunk/modem-manager.service)

--------------------------------------+
 testing-i686/PKGBUILD                |   38 +++++++++++++++++++++++++++++++++
 testing-i686/modem-manager.service   |   14 ++++++++++++
 testing-x86_64/PKGBUILD              |   38 +++++++++++++++++++++++++++++++++
 testing-x86_64/modem-manager.service |   14 ++++++++++++
 4 files changed, 104 insertions(+)

Copied: modemmanager/repos/testing-i686/PKGBUILD (from rev 165838, modemmanager/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-08-31 20:12:30 UTC (rev 165839)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+pkgname=modemmanager
+_realname=ModemManager
+pkgver=0.6.0.0
+pkgrel=1
+pkgdesc="Mobile broadband modem management service"
+arch=('i686' 'x86_64')
+url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
+license=('GPL2')
+depends=('dbus-glib' 'udev' 'ppp')
+makedepends=('intltool')
+optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+options=('!libtool')
+source=(http://download.gnome.org/sources/$_realname/0.6/$_realname-$pkgver.tar.xz
+        modem-manager.service)
+sha256sums=('d4468300cf4aa7baf21c8564fa515e578056f34de5a64f452b053331f89e8ae2'
+            '118e36f2f956d719cf4036f3fd5f5bf0fde88ca55bdf7ed95051b5b09066fcbe')
+
+build() {
+  cd "$_realname-$pkgver"
+   ./configure --prefix=/usr \
+   	--sysconfdir=/etc \
+	--localstatedir=/var \
+	--with-udev-base-dir=/usr/lib/udev \
+	--disable-static
+  make
+}
+
+package() {
+  cd "$_realname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/modem-manager.service" \
+    "$pkgdir/usr/lib/systemd/system/modem-manager.service"
+  echo "SystemdService=modem-manager.service" \
+    >> "$pkgdir/usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service"
+}

Copied: modemmanager/repos/testing-i686/modem-manager.service (from rev 165838, modemmanager/trunk/modem-manager.service)
===================================================================
--- testing-i686/modem-manager.service	                        (rev 0)
+++ testing-i686/modem-manager.service	2012-08-31 20:12:30 UTC (rev 165839)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Modem Manager
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.ModemManager
+ExecStart=/usr/sbin/modem-manager
+# Suppress stderr to eliminate duplicated messages in syslog. MM calls openlog()
+# with LOG_PERROR. But systemd redirects stderr to syslog by default, which
+# results in logging each message twice.
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target

Copied: modemmanager/repos/testing-x86_64/PKGBUILD (from rev 165838, modemmanager/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-08-31 20:12:30 UTC (rev 165839)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+pkgname=modemmanager
+_realname=ModemManager
+pkgver=0.6.0.0
+pkgrel=1
+pkgdesc="Mobile broadband modem management service"
+arch=('i686' 'x86_64')
+url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
+license=('GPL2')
+depends=('dbus-glib' 'udev' 'ppp')
+makedepends=('intltool')
+optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+options=('!libtool')
+source=(http://download.gnome.org/sources/$_realname/0.6/$_realname-$pkgver.tar.xz
+        modem-manager.service)
+sha256sums=('d4468300cf4aa7baf21c8564fa515e578056f34de5a64f452b053331f89e8ae2'
+            '118e36f2f956d719cf4036f3fd5f5bf0fde88ca55bdf7ed95051b5b09066fcbe')
+
+build() {
+  cd "$_realname-$pkgver"
+   ./configure --prefix=/usr \
+   	--sysconfdir=/etc \
+	--localstatedir=/var \
+	--with-udev-base-dir=/usr/lib/udev \
+	--disable-static
+  make
+}
+
+package() {
+  cd "$_realname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/modem-manager.service" \
+    "$pkgdir/usr/lib/systemd/system/modem-manager.service"
+  echo "SystemdService=modem-manager.service" \
+    >> "$pkgdir/usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service"
+}

Copied: modemmanager/repos/testing-x86_64/modem-manager.service (from rev 165838, modemmanager/trunk/modem-manager.service)
===================================================================
--- testing-x86_64/modem-manager.service	                        (rev 0)
+++ testing-x86_64/modem-manager.service	2012-08-31 20:12:30 UTC (rev 165839)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Modem Manager
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.ModemManager
+ExecStart=/usr/sbin/modem-manager
+# Suppress stderr to eliminate duplicated messages in syslog. MM calls openlog()
+# with LOG_PERROR. But systemd redirects stderr to syslog by default, which
+# results in logging each message twice.
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list