| 1 | # Maintainer: Natanael Copa <[email protected]> |
| 2 | pkgname=sshfs |
| 3 | pkgver=3.7.6 |
| 4 | pkgrel=0 |
| 5 | pkgdesc="FUSE client based on the SSH File Transfer Protocol" |
| 6 | url="https://github.com/libfuse/sshfs" |
| 7 | arch="all" |
| 8 | license="GPL-2.0-or-later" |
| 9 | depends="openssh-client fuse3" |
| 10 | makedepends="fuse3-dev glib-dev meson coreutils py3-docutils" |
| 11 | subpackages="$pkgname-doc" |
| 12 | source="https://github.com/libfuse/sshfs/releases/download/sshfs-$pkgver/sshfs-$pkgver.tar.xz" |
| 13 | options="!check" # requires FUSE kernel module to run tests |
| 14 | |
| 15 | # secfixes: |
| 16 | # 3.7.6-r0: |
| 17 | # - CVE-2026-47187 |
| 18 | # - CVE-2026-48711 |
| 19 | |
| 20 | build() { |
| 21 | abuild-meson . output |
| 22 | meson compile -C output |
| 23 | } |
| 24 | |
| 25 | package() { |
| 26 | DESTDIR="$pkgdir" meson install --no-rebuild -C output |
| 27 | |
| 28 | mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ |
| 29 | install -Dm644 README.md ChangeLog.rst AUTHORS COPYING \ |
| 30 | "$pkgdir"/usr/share/doc/$pkgname/ |
| 31 | |
| 32 | mkdir -p "$pkgdir"/sbin |
| 33 | ln -s /usr/sbin/mount.sshfs "$pkgdir"/sbin/mount.sshfs |
| 34 | } |
| 35 | |
| 36 | sha512sums=" |
| 37 | 8e0ecf3c0c666387c6d45251aff2649d452e322f2c11256b8db5772d5fe03399788614bf915b3afd6afde97580b603f66f5eb75360bae9cca87423885a8ad3c8 sshfs-3.7.6.tar.xz |
| 38 | " |