cifs-utils: update to 6.9.
This commit is contained in:
parent
da8afd4404
commit
7d6ea041e2
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cifs-utils'
|
||||
pkgname=cifs-utils
|
||||
version=6.8
|
||||
version=6.9
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
make_install_args="ROOTSBINDIR=/usr/bin"
|
||||
|
@ -10,22 +10,23 @@ short_desc="CIFS filesystem user-space tools"
|
|||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
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=e7d1f6050c43f21f82cd77e288eb756755effd22f0c310fc2c525df9d41dff79
|
||||
distfiles="https://ftp.samba.org/pub/linux-cifs/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=18d8f1bf92c13c4d611502dbd6759e3a766ddc8467ec8a2eda3f589e40b9ac9c
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
# Fix musl build
|
||||
sed -i ${wrksrc}/mtab.c \
|
||||
-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>"
|
||||
sed -i ${wrksrc}/setcifsacl.c \
|
||||
-e "/#include <stdlib.h>/a #include <paths.h>" \
|
||||
-e "/#include <stdlib.h>/a #include <endian.h>" \
|
||||
-e "/#include <stdlib.h>/a #include <linux/limits.h>"
|
||||
vsed -i ${wrksrc}/mtab.c \
|
||||
-e "/#include <stdlib.h>/a #include <limits.h>"
|
||||
vsed -i ${wrksrc}/getcifsacl.c \
|
||||
-e "/#include <stdlib.h>/a #include <endian.h>" \
|
||||
-e "/#include <stdlib.h>/a #include <linux/limits.h>"
|
||||
vsed -i ${wrksrc}/setcifsacl.c \
|
||||
-e "/#include <stdlib.h>/a #include <paths.h>" \
|
||||
-e "/#include <stdlib.h>/a #include <endian.h>" \
|
||||
-e "/#include <stdlib.h>/a #include <linux/limits.h>"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
chmod +s ${DESTDIR}/usr/bin/mount.cifs
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
|
|
Loading…
Reference in New Issue