aboutsummaryrefslogtreecommitdiffstats
path: root/main/strace/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-11 03:18:10 -0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-12 08:13:36 +0000
commita0a777c3986d7fe4e684fce81fb54193f07efe4b (patch)
tree9f1b0846d2aea479512538704d8dedb728c794be /main/strace/APKBUILD
parent3453183c3d77ce4f256848e1d6e02e68c2b23f42 (diff)
downloadaports-a0a777c3986d7fe4e684fce81fb54193f07efe4b.tar.bz2
aports-a0a777c3986d7fe4e684fce81fb54193f07efe4b.tar.xz
main/strace: upgrade to 4.18
Diffstat (limited to 'main/strace/APKBUILD')
-rw-r--r--main/strace/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index 575c212ad0..dfb670835a 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -1,24 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strace
-pkgver=4.17
+pkgver=4.18
pkgrel=0
pkgdesc="A useful diagnositic, instructional, and debugging tool"
-url="http://sourceforge.net/projects/strace/"
+url="https://strace.io/"
arch="all"
license="BSD"
-depends=
-makedepends="linux-headers"
+depends=""
+makedepends="linux-headers autoconf automake"
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz
+source="$pkgname-$pkgver.tar.gz::https://github.com/strace/$pkgname/archive/v$pkgver.tar.gz
fix-ppc-pt-regs-collision.patch
"
builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- default_prepare || return 1
- sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' \
- "$builddir"/configure || return 1
-}
build() {
cd "$builddir"
@@ -37,6 +32,8 @@ build() {
;;
esac
+ ./bootstrap
+
ac_cv_have_long_long_off_t=yes \
./configure \
--build=$CBUILD \
@@ -44,9 +41,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
@@ -54,5 +50,5 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="dab376d9c5ac7db98e864f3cfb165eeec714e3ea492f32ee873cebe01fbd3a0793db09983af1da6530480666a59973ccd9855d348e754be1eead9c0a5d524029 strace-4.17.tar.xz
+sha512sums="744792cdb135b209a15413fe459c21cda74342d4b93d335a174dd788a18b4c61e99cf9c740968956c54ab184ad83b000e9de9003be7c19965e5e67575fdb8b2a strace-4.18.tar.gz
b70cee89dd49a2b5a69dc2a56c3a11169d3306e1a73981155188b574486965c034aa52b4ac1c6edff5ef55c9d52f27750acb242fac095a8a9f69689b51b3fad1 fix-ppc-pt-regs-collision.patch"