From 7d6ea041e2a58e732999acb2376cd1a6ee1d5a25 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 6 Apr 2019 03:19:39 -0300 Subject: [PATCH] cifs-utils: update to 6.9. --- srcpkgs/cifs-utils/template | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/srcpkgs/cifs-utils/template b/srcpkgs/cifs-utils/template index 788bd404a13..abbdca9369e 100644 --- a/srcpkgs/cifs-utils/template +++ b/srcpkgs/cifs-utils/template @@ -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 " 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 /a #include " - sed -i ${wrksrc}/getcifsacl.c \ - -e "/#include /a #include " \ - -e "/#include /a #include " - sed -i ${wrksrc}/setcifsacl.c \ - -e "/#include /a #include " \ - -e "/#include /a #include " \ - -e "/#include /a #include " + vsed -i ${wrksrc}/mtab.c \ + -e "/#include /a #include " + vsed -i ${wrksrc}/getcifsacl.c \ + -e "/#include /a #include " \ + -e "/#include /a #include " + vsed -i ${wrksrc}/setcifsacl.c \ + -e "/#include /a #include " \ + -e "/#include /a #include " \ + -e "/#include /a #include " } + post_install() { chmod +s ${DESTDIR}/usr/bin/mount.cifs rm -rf ${DESTDIR}/usr/include