Commit 6ed7cd11 authored by Natanael Copa's avatar Natanael Copa

main/xfsprogs: upgrade to 3.1.1

parent 7aa5fcdf
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfsprogs
pkgver=3.1.0
pkgver=3.1.1
pkgrel=0
pkgdesc="XFS filesystem utilities"
url="http://oss.sgi.com/projects/xfs/"
......@@ -9,17 +9,13 @@ depends="e2fsprogs"
makedepends="e2fsprogs-dev bash"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz
xfsprogs-3.0.0-gzip.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
sed -i -e 's/--best//' Makefile doc/Makefile
}
build() {
......@@ -40,5 +36,4 @@ package() {
cd "$_builddir"
make -j1 DIST_ROOT="$pkgdir" install install-dev
}
md5sums="07c1ff6a4a44b58ee5ffdabca33a4493 xfsprogs-3.1.0.tar.gz
c72865de30f55343e843dd4fd49a91c5 xfsprogs-3.0.0-gzip.patch"
md5sums="c2308b46ee707597ac50aae418d321b8 xfsprogs-3.1.1.tar.gz"
diff -ru xfsprogs-3.0.0.orig/doc/Makefile xfsprogs-3.0.0/doc/Makefile
--- xfsprogs-3.0.0.orig/doc/Makefile 2009-02-18 13:42:47.000000000 +0000
+++ xfsprogs-3.0.0/doc/Makefile 2009-02-18 13:43:10.000000000 +0000
@@ -13,7 +13,7 @@
include $(BUILDRULES)
CHANGES.gz:
- $(ZIP) --best -c < CHANGES > $@
+ $(ZIP) -c < CHANGES > $@
install: default
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
diff -ru xfsprogs-3.0.0.orig/include/buildmacros xfsprogs-3.0.0/include/buildmacros
--- xfsprogs-3.0.0.orig/include/buildmacros 2009-02-18 13:42:47.000000000 +0000
+++ xfsprogs-3.0.0/include/buildmacros 2009-02-18 13:43:46.000000000 +0000
@@ -128,7 +128,7 @@
MAN_MAKERULE = \
@for f in *.[12345678] ""; do \
if test ! -z "$$f"; then \
- $(ZIP) --best -c < $$f > $$f.gz; \
+ $(ZIP) -c < $$f > $$f.gz; \
fi; \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment