diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 10:50:24 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 10:50:24 +0000 |
commit | 46fa49a0e7595967b2d651f3edc09afe33fa7826 (patch) | |
tree | 8b16a7795fae355e811b865b588a30733e60bde9 /main/cifs-utils | |
parent | ac95e7274a0b54b72173e175af2a5fe4aeec3bf9 (diff) | |
download | aports-46fa49a0e7595967b2d651f3edc09afe33fa7826.tar.bz2 aports-46fa49a0e7595967b2d651f3edc09afe33fa7826.tar.xz |
main/cifs-utils: upgrade to 6.6, added -dev subpackage
Diffstat (limited to 'main/cifs-utils')
-rw-r--r-- | main/cifs-utils/APKBUILD | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/main/cifs-utils/APKBUILD b/main/cifs-utils/APKBUILD index be9b55f484..f69c5f9f5c 100644 --- a/main/cifs-utils/APKBUILD +++ b/main/cifs-utils/APKBUILD @@ -1,35 +1,24 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=cifs-utils -pkgver=6.5 +pkgver=6.6 pkgrel=0 pkgdesc="CIFS filesystem user-space tools" url="http://wiki.samba.org/index.php/LinuxCIFS_utils" arch="all" license="GPL2+" depends="" -depends_dev="libcap-dev keyutils-dev krb5-dev talloc-dev" -makedepends="$depends_dev" +makedepends="libcap-dev keyutils-dev krb5-dev talloc-dev" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev" source="https://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-$pkgver.tar.bz2 - musl-fix-includes.patch - " + musl-fix-includes.patch" options=suid -_builddir=$srcdir/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir=$srcdir/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,16 +28,16 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 rm -r $pkgdir/usr/bin # set mount.cifs uid, to enable none root mounting form fstab chmod +s $pkgdir/sbin/mount.cifs } -md5sums="74b2c398ce83a8b792faabc414cec314 cifs-utils-6.5.tar.bz2 +md5sums="8b11350fade47d308b8f377e06cce243 cifs-utils-6.6.tar.bz2 6790aa0c2b4eaa4c28756b73bd1c4741 musl-fix-includes.patch" -sha256sums="e2776578b8267c6dc0862897f5e10f87f10f8337fca9ca6a9118f5eb30cf49f7 cifs-utils-6.5.tar.bz2 +sha256sums="d07152a807de6840566bbcc69a97ff6fa17fca4e09ceb4641d74882a83e67125 cifs-utils-6.6.tar.bz2 3d1d32f09709ca430d77edcce811b171a0db6fa352555fbfe0578da6f36cc8be musl-fix-includes.patch" -sha512sums="c5eea97d2be455ad676a3ff693641512d5c1d81d75eb1d7d08e4274b6844a1353b6791aa3ced4d8d656ed4a09b3c17ae80f289a90a3d429a8a94210e15f3e90e cifs-utils-6.5.tar.bz2 +sha512sums="0059c85a9faeff4bba052a9bfc672baa658a923e03304dfb0c51f427079afc6effb2f83d7d09cdcacb2c8a30cdfccd3946957b1616790f5ad3ae2300f161458f cifs-utils-6.6.tar.bz2 99a2fab05bc2f14a600f89526ae0ed2c183cfa179fe386cb327075f710aee3aed5ae823f7c2f51913d1217c2371990d6d4609fdb8d80288bd3a6139df3c8aebe musl-fix-includes.patch" |