aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-18 10:53:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-18 10:53:50 +0000
commita97a6d316d559d0a914313409d66a5d73a5c9c1b (patch)
tree4689a648203a110360c60317fdb436c59ec95cf6
parent0c275fb8a696aa2cf50266ee73242f65d2cd5523 (diff)
downloadaports-a97a6d316d559d0a914313409d66a5d73a5c9c1b.tar.bz2
aports-a97a6d316d559d0a914313409d66a5d73a5c9c1b.tar.xz
main/xfsprogs: upgrade to 3.2.0
-rw-r--r--main/xfsprogs/APKBUILD23
-rw-r--r--main/xfsprogs/musl-linux-limits.patch10
2 files changed, 23 insertions, 10 deletions
diff --git a/main/xfsprogs/APKBUILD b/main/xfsprogs/APKBUILD
index 0b5dee30ca..ac5e98c274 100644
--- a/main/xfsprogs/APKBUILD
+++ b/main/xfsprogs/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfsprogs
-pkgver=3.1.11
-pkgrel=1
+pkgver=3.2.0
+pkgrel=0
pkgdesc="XFS filesystem utilities"
url="http://oss.sgi.com/projects/xfs/"
arch="all"
@@ -11,6 +11,7 @@ makedepends="e2fsprogs-dev bash"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz
musl-fixes.patch
+ musl-linux-limits.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -22,10 +23,9 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- update_config_sub || return 1
sed -i -e 's/--best//' Makefile doc/Makefile
}
-
+
build() {
cd "$_builddir"
export DEBUG=-DNDEBUG
@@ -52,9 +52,12 @@ package() {
make -j1 DIST_ROOT="$pkgdir" install install-dev install-qa || return 1
rm "$pkgdir"/usr/lib/*.la "$pkgdir"/lib/*.la
}
-md5sums="de9f1f45026c2f4e0776058d429ff4b6 xfsprogs-3.1.11.tar.gz
-534a85a3afc1afd328975222ce43f4b7 musl-fixes.patch"
-sha256sums="adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be xfsprogs-3.1.11.tar.gz
-b6488dfd3f419cdbcb7d259be1038df51ebff2799774bf643f9d7838ddc4c742 musl-fixes.patch"
-sha512sums="6de16f0904709e53e6ceea8239e23b7e109375733fd712fd97bfbbf74ec7f1376147e61d1fbe498f1d5be2148bf8ca233c0577d5b88e9201bfd4bb87e696c28a xfsprogs-3.1.11.tar.gz
-1cb52686cb2aa9b515feaa08f0b0e44decde7a5a61a3102a4c2ec9d7a3c9f1601c53308be039f717b8e999997b8222e76728bf45053330d3f820bfc040576074 musl-fixes.patch"
+md5sums="400047b2f6af87c0345b8f0cc00c13db xfsprogs-3.2.0.tar.gz
+534a85a3afc1afd328975222ce43f4b7 musl-fixes.patch
+a7a1f812836cb49af45b6de74fa07837 musl-linux-limits.patch"
+sha256sums="62a986afb3459718a5a915403483b022f8237d50c293aafd8392872c187fcbb3 xfsprogs-3.2.0.tar.gz
+b6488dfd3f419cdbcb7d259be1038df51ebff2799774bf643f9d7838ddc4c742 musl-fixes.patch
+6d8e49de188fc9932ea488a8945601bf2035b03dfa4c3667bd55689445582696 musl-linux-limits.patch"
+sha512sums="dfc4498792d94762f72a1b2e59d20639c1ff259d78b6e0c2d4b86f777e362009be7466c21e27121077f7cfc65bb72edec1a016695f7d4000df10f3f025fddc68 xfsprogs-3.2.0.tar.gz
+1cb52686cb2aa9b515feaa08f0b0e44decde7a5a61a3102a4c2ec9d7a3c9f1601c53308be039f717b8e999997b8222e76728bf45053330d3f820bfc040576074 musl-fixes.patch
+62125c90ff22e52142927d3e1ca8411a757679a304fcf1acf780c692fee1ef8c8d1d4bdbd97dce3e9f6d6678f9640f189fd96400e91c974978f0455966b80c6c musl-linux-limits.patch"
diff --git a/main/xfsprogs/musl-linux-limits.patch b/main/xfsprogs/musl-linux-limits.patch
new file mode 100644
index 0000000000..813119fd81
--- /dev/null
+++ b/main/xfsprogs/musl-linux-limits.patch
@@ -0,0 +1,10 @@
+--- ./libxfs/xfs_attr_remote.c.orig
++++ ./libxfs/xfs_attr_remote.c
+@@ -17,6 +17,7 @@
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+ #include <xfs.h>
++#include <linux/limits.h>
+
+ #define ATTR_RMTVALUE_MAPSIZE 1 /* # of map entries at once */
+