dcd3ae8f07
Also include z3ntu's patch fixing a buffer overread issue which sadly has not been merged for several months now. rmtfs should be ideally started and stopped before NetworkManager because otherwise the modem network interface might be removed before NetworkManager can set it down. This has caused kernel issues at some point (although it seems to be fine again at the moment).
37 lines
1.6 KiB
Text
37 lines
1.6 KiB
Text
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
pkgname=rmtfs
|
|
pkgver=0.2_git20210809
|
|
_commit="b08ef6f98ec567876d7d45f15c85c6ed00d7c463"
|
|
pkgrel=0
|
|
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
|
|
url="https://github.com/andersson/rmtfs"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="eudev-dev qrtr-dev"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="
|
|
rmtfs-$_commit.tar.gz::https://github.com/andersson/rmtfs/archive/$_commit.tar.gz
|
|
https://github.com/andersson/rmtfs/commit/fc514b00bcd9ad992f3255c5e7a1813df5a4cc86.patch
|
|
rmtfs.initd
|
|
udev.rules
|
|
"
|
|
builddir="$srcdir/rmtfs-$_commit"
|
|
options="!check"
|
|
|
|
build() {
|
|
make rmtfs
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 rmtfs "$pkgdir"/usr/sbin/rmtfs
|
|
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
|
|
install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/65-$pkgname.rules"
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="
|
|
335ab54623ca470f3479e99cd49d7c3e7e606a9c42930f2584e180af1cd4179c5ec8bb9ad7232b0b6bac4c80b716607d9226a5d81aafe61ada4728487f5011d2 rmtfs-b08ef6f98ec567876d7d45f15c85c6ed00d7c463.tar.gz
|
|
e38834cf5c6e08a56f0a8a465a8a3aabee2fbb4a80658e416cd70faf551d9e93d1196866b8a8f5656130be6e45ce6deca0acf2e3d2e3bfed86309892599f194c fc514b00bcd9ad992f3255c5e7a1813df5a4cc86.patch
|
|
b75a2e051661b6088c3db7071fc2f43b97ecf68a0c35addefd34f6fa11d23429a890313d14791566dfc97230192b999e4cc953797e6e32d07dc8f6c61813f9f3 rmtfs.initd
|
|
cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules
|
|
"
|