cifs-utils: update to 6.8.

Closes: #12482 [via git-merge-pr]
This commit is contained in:
maxice8 2018-03-13 17:36:44 -03:00 committed by Michael Aldridge
parent 89bb5b31d3
commit a2ad6a02a3
1 changed files with 5 additions and 6 deletions

View File

@ -1,24 +1,23 @@
# Template file for 'cifs-utils'
pkgname=cifs-utils
version=6.7
version=6.8
revision=1
build_style=gnu-configure
make_install_args="ROOTSBINDIR=/usr/bin"
hostmakedepends="automake pkg-config libcap-ng-devel"
hostmakedepends="automake pkg-config libcap-ng-devel python3-docutils"
makedepends="mit-krb5-devel talloc-devel libcap-ng-devel samba-devel keyutils-devel pam-devel"
short_desc="CIFS filesystem user-space tools"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://wiki.samba.org/index.php/LinuxCIFS_utils"
distfiles="https://ftp.samba.org/pub/linux-cifs/$pkgname/$pkgname-$version.tar.bz2"
checksum=b2f21612474ab012e75accd167aab607a0614ff67efb56ea0f36789fa785cfab
checksum=e7d1f6050c43f21f82cd77e288eb756755effd22f0c310fc2c525df9d41dff79
pre_configure() {
autoreconf -fi
# Fix musl build
sed -i ${wrksrc}/mtab.c \
-e "/#include <stdlib.h>/a #include <limits.h>" \
-e "/#include <stdlib.h>/a #include <paths.h>"
-e "/#include <stdlib.h>/a #include <limits.h>"
sed -i ${wrksrc}/getcifsacl.c \
-e "/#include <stdlib.h>/a #include <endian.h>" \
-e "/#include <stdlib.h>/a #include <linux/limits.h>"