diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2015-05-09 20:06:23 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-22 08:06:01 +0000 |
commit | d52f3e9ceea7adfdbdb7c71309f09946dec74a3f (patch) | |
tree | 8e4ca4d644f7ac2debf4368f5fee9cfecccc69a2 /testing | |
parent | 69138e0738469f0d81be2aa0664e27c269336dba (diff) | |
download | aports-d52f3e9ceea7adfdbdb7c71309f09946dec74a3f.tar.bz2 aports-d52f3e9ceea7adfdbdb7c71309f09946dec74a3f.tar.xz |
testing/modemmanager: update to 1.4.8 + move post-install message
post-install message moved to $pkgname/usr/share/doc/README.alpine
Diffstat (limited to 'testing')
-rw-r--r-- | testing/modemmanager/APKBUILD | 17 | ||||
-rw-r--r-- | testing/modemmanager/modemmanager.post-install | 16 |
2 files changed, 12 insertions, 21 deletions
diff --git a/testing/modemmanager/APKBUILD b/testing/modemmanager/APKBUILD index 30c34402d1..fe34e65cfd 100644 --- a/testing/modemmanager/APKBUILD +++ b/testing/modemmanager/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=modemmanager -pkgver=1.4.6 +pkgver=1.4.8 pkgrel=0 pkgdesc="ModemManager library" url="http://www.freedesktop.org/wiki/Software/ModemManager" @@ -10,7 +10,6 @@ license="GPL2, LGPL2.1" depends_dev="" makedepends="$depends_dev gobject-introspection-dev gtk-doc intltool vala udev-dev polkit-dev libmbim-dev libqmi-dev linux-headers" -install="$pkgname.post-install" subpackages="$pkgname-dev $pkgname-lang $pkgname-doc libmm-glib:libmm libmm-glib-dev:libmmdev" source="http://www.freedesktop.org/software/ModemManager/ModemManager-$pkgver.tar.xz no-XCASE.patch @@ -73,14 +72,22 @@ package() { mkdir -p "$pkgdir/usr/share/polkit-1/rules.d" install -m644 -D "$srcdir/$pkgname.rules" \ "$pkgdir/usr/share/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules" || return 1 + # post-install message + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + cat > $pkgdir/usr/share/doc/$pkgname/README.alpine <<EOF +If your USB modem shows up as a Flash drive when you plug it in: + +install 'usb-modeswitch' to automatically switch to USB modem mode whenever you plug it in. +To control your modem without the root password: add your user account to the 'plugdev' group. +EOF } -md5sums="158a5b5206d933121a993fd603a36b2a ModemManager-1.4.6.tar.xz +md5sums="03242732a8dbaccd52100b7e7bb1998e ModemManager-1.4.8.tar.xz 63288189ea454e9712dc26d76d75277d no-XCASE.patch 735e155a785554349906c09dd36d3866 modemmanager.rules" -sha256sums="0cedabf46310f8c56630b116944f54ee64369c76c2f35f5f460ca19a8bb5a5cd ModemManager-1.4.6.tar.xz +sha256sums="d951eaffbe513bcde54f90602c6c423a49593f656d6485ba95f6fcb4bc1e8003 ModemManager-1.4.8.tar.xz 5e5b87b580faf14e4c56ccc7f9f189522742a64ab365b26751dcc86e68dedb87 no-XCASE.patch 577807e59b1e95757a4d94922c66f7f36487922c5092a6c148e7db6a4dc6afe8 modemmanager.rules" -sha512sums="fb74961df2e3e1604de58838da6e8dd7cf80fee97dbfd71eb7f2df60cc319bf38df8c5706a5933856c500b014d3156066e608bb0820c967ddbd964bd9fc2fdec ModemManager-1.4.6.tar.xz +sha512sums="6dfbdbf579d1b7dd624836877d6556cdb15eec73c60c329d1d6200563495f8943d90f55e2d4e98b7741c05a19f11ac2de61dcabb4aec16a2ae61db453eafc3b5 ModemManager-1.4.8.tar.xz 5c537e4a86212339d0c41ae3e1055513051a0d6e51bdf2547a38054fbe802feeac2ff46c863ab69423a6693ac33ebacec7a771d4b270aeb5fe6e6bb601361f23 no-XCASE.patch 3c76ee577334e25c836857f8e7fef6a249cdd9fcd8f889cb64d9c1667bc6a95c087267a153bddd1a13256c59f8cd578ccb448e6b9cb54b73bb74acb8a0ca1e3f modemmanager.rules" diff --git a/testing/modemmanager/modemmanager.post-install b/testing/modemmanager/modemmanager.post-install deleted file mode 100644 index 05eb1f2b7d..0000000000 --- a/testing/modemmanager/modemmanager.post-install +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -NORMAL="\033[1;0m" -STRONG="\033[1;1m" -GREEN="\033[1;32m" - -print_strong() { - local prompt="${STRONG}$1 ${GREEN}$2${NORMAL}" - printf "${prompt} %s\n" -} - -print_strong "\nIf your USB modem shows up as a Flash drive" "when you plug it in:" -print_strong "install 'usb-modeswitch'" "to automatically switch to USB modem mode whenever you plug it in." -print_strong "\nTo control your modem without the root password:" " add your user account to the 'plugdev' group.\n" -exit 0 - |