aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-02-15 21:47:04 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-02-15 21:52:24 +0100
commitb421ca67885f94f94b41a2ac06dbaf00e76c07d2 (patch)
treee4b60636cd44ef746cb824734987c4003e9e71fd
parentc427e058f84430a5861e0d9c7f49fb06c547277a (diff)
downloadaports-b421ca67885f94f94b41a2ac06dbaf00e76c07d2.tar.bz2
aports-b421ca67885f94f94b41a2ac06dbaf00e76c07d2.tar.xz
main/sshfs: upgrade to 2.6
Also updated the URLs (sshfs has moved to github).
-rw-r--r--main/sshfs/APKBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/main/sshfs/APKBUILD b/main/sshfs/APKBUILD
index 07c60c77c2..2bcbbada8d 100644
--- a/main/sshfs/APKBUILD
+++ b/main/sshfs/APKBUILD
@@ -1,24 +1,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sshfs
-pkgver=2.5
-pkgrel=1
+pkgver=2.6
+_realver=${pkgver//./_}
+pkgrel=0
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
-url="http://fuse.sourceforge.net/sshfs.html"
+url="https://github.com/libfuse/sshfs"
arch="all"
license="GPL"
depends="openssh-client"
-makedepends="fuse-dev glib-dev"
+makedepends="fuse-dev glib-dev automake autoconf"
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/sourceforge/fuse/sshfs-fuse-$pkgver.tar.gz"
+source="https://github.com/libfuse/$pkgname/archive/${pkgname}_${_realver}.tar.gz"
-_builddir="$srcdir"/sshfs-fuse-$pkgver
-build ()
-{
+_builddir="$srcdir"/$pkgname-${pkgname}_${_realver}
+prepare() {
+ cd "$_builddir"
+ autoreconf -fi || return 1
+}
+
+build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
@@ -28,6 +36,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="17494910db8383a366b1301e5f5148a9 sshfs-fuse-2.5.tar.gz"
-sha256sums="e9171452e5d0150b9c6a2158fd2e2dcefb5d5d03ba4d208949e00a3a46c6e63e sshfs-fuse-2.5.tar.gz"
-sha512sums="48ae4008d10fe66b843ff1e891627f8262e00d064fec048c8c1189507e757994e81e4fa2deb4d8d56cff0d1818efe4a692494b9c48a01c6c79c626acefa1b53e sshfs-fuse-2.5.tar.gz"
+md5sums="7598e784edee96c37558c66ad2b4d9ee sshfs_2_6.tar.gz"
+sha256sums="17e7a90600de7a48f80b006fd1a61177ca7859dd8bc2f5d1c29b6ad716cf2831 sshfs_2_6.tar.gz"
+sha512sums="190a3a3a8c8814836b9e1dba50183e333052cd10c8d8cfcf531f40691b7fd721e43fc92de71e1b2b42439e324f47bce75a06cdcfb1b254e015d4185cd2fb42d1 sshfs_2_6.tar.gz"