aboutsummaryrefslogtreecommitdiffstats
path: root/main/strace
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-07 11:19:01 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-10-07 11:19:01 +0200
commit10897df66eb32fbaea244bb87be647312fd5ec77 (patch)
tree40c3057443dd4dd2845e15aaa292f1cc5c431902 /main/strace
parent6cdeaf09aea69292ebf6cc87a18d01a02a57f6a3 (diff)
downloadaports-10897df66eb32fbaea244bb87be647312fd5ec77.tar.bz2
aports-10897df66eb32fbaea244bb87be647312fd5ec77.tar.xz
main/strace: upgrade to 4.14
Diffstat (limited to 'main/strace')
-rw-r--r--main/strace/APKBUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index a4180db1f6..c048e27d56 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strace
-pkgver=4.13
+pkgver=4.14
pkgrel=0
pkgdesc="A useful diagnositic, instructional, and debugging tool"
url="http://sourceforge.net/projects/strace/"
@@ -11,36 +11,36 @@ makedepends="linux-headers"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1
- esac
- done
+ default_prepare || return 1
sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' \
- configure
+ "$builddir"/configure || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
case "$CLIBC" in
musl) export CFLAGS="$CFLAGS -Dsigcontext_struct=sigcontext" ;;
esac
- ac_cv_have_long_long_off_t=yes \
+
+ ac_cv_have_long_long_off_t=yes \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="4b78c7febdd24c79d5147824d1a080a3 strace-4.13.tar.xz"
-sha256sums="d48f732576c91ece36a5843d63f9be054c40ef59f1e4773986042636861625d7 strace-4.13.tar.xz"
-sha512sums="166d9b80ec093e049161ee5506a60c408d6f953d8fa04ba5dcb5105b0c9181282a2c28ff0a7acfa44880be44fd1dbde2319e895868a6edecd0121700a49dfdec strace-4.13.tar.xz"
+
+md5sums="1e39b5f7583256d7dc21170b9da529ae strace-4.14.tar.xz"
+sha256sums="5bed5110b243dce6864bedba269446c18c8c63f553cdd7fd4f808d89a764712f strace-4.14.tar.xz"
+sha512sums="e0040a0a0f7bf8537c9dd4ca42f514be0caa40475673522cce7f02ca608b7c0fdf4653dad049c4a6323740579926061f90e8522b6378d4c57c2a7732197a0950 strace-4.14.tar.xz"