diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-04-30 12:04:37 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-04-30 12:04:42 +0000 |
commit | afa142a5813ef4760d7c14d38b1b949ac92fa040 (patch) | |
tree | 4e7f77539345f384f73037b8c2aad6f1a60b78bf | |
parent | 22c6137d98f5fcbb42f6d8e2a108a7d925c24594 (diff) | |
download | aports-afa142a5813ef4760d7c14d38b1b949ac92fa040.tar.bz2 aports-afa142a5813ef4760d7c14d38b1b949ac92fa040.tar.xz |
community/dnstracer: upgrade to 1.10
-rw-r--r-- | community/dnstracer/APKBUILD | 29 | ||||
-rw-r--r-- | community/dnstracer/configure.patch | 15 | ||||
-rw-r--r-- | community/dnstracer/makefile-path.patch | 23 |
3 files changed, 32 insertions, 35 deletions
diff --git a/community/dnstracer/APKBUILD b/community/dnstracer/APKBUILD index 0a889f41ef..dbcfede29a 100644 --- a/community/dnstracer/APKBUILD +++ b/community/dnstracer/APKBUILD @@ -1,37 +1,26 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=dnstracer -pkgver=1.9 +pkgver=1.10 pkgrel=0 pkgdesc="Trace a chain of DNS servers to the source" url="http://www.mavetju.org/unix/dnstracer.php" arch="all" license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev libtool automake autoconf" -install="" +makedepends="perl" subpackages="$pkgname-doc" -source="http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz - configure.patch" -builddir="$srcdir"/$pkgname-$pkgver +options="!check" # no test +source="$pkgname-$pkgver.tar.gz::http://www.mavetju.org/download/$pkgname-$pkgver.tar.bz2 +makefile-path.patch" +builddir="$srcdir"/$pkgname build() { - cd "$builddir" - ./configure \ - --prefix=/usr \ - --enable-ipv6 - make || return 1 + make PREFIX=/usr } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } -md5sums="7db73ce3070119c98049a617fe52ea84 dnstracer-1.9.tar.gz -adfaf69d1511a03bc0bcb951735770c0 configure.patch" -sha256sums="2ebc08af9693ba2d9fa0628416f2d8319ca1627e41d64553875d605b352afe9c dnstracer-1.9.tar.gz -09cd00d8ebd68c65121d4aff6fa69693f83bb370eaf343f88561d94ec1baf762 configure.patch" -sha512sums="e69fe772062ff315ff3148c26df78bd41c75d11dcfa6431f1e9374e6069182bd80826b22dc116011d975838d9527913d46edd78de049edd25e3ac9247d5f3473 dnstracer-1.9.tar.gz -ad27c174bcbec9aceaf539646c4c77d9f2ef8e34c39e251b2b467ed2964f3d1fce6a3e8cbca01cb2e3784db8bb5b53e96fe0696bca3bd2d3fe074a2dea343fba configure.patch" +sha512sums="8174f92c5c1b300c1011a24f0cf2f16dc2b52a082729e52d1033a047e20d132d6005b89618ecbbd25cbdc1c95cdc0748cf666bdc56b769b240d8885469bc6e05 dnstracer-1.10.tar.gz +d82b83f14dea37159708d700c56f05fbcd930597f63142dea8e426717fda818cf12bdb5d307667d8d6ea04468371a4f7ff712bd65e305b7556a7f66b2c7e1155 makefile-path.patch" diff --git a/community/dnstracer/configure.patch b/community/dnstracer/configure.patch deleted file mode 100644 index 6c512074d4..0000000000 --- a/community/dnstracer/configure.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/configure.in.orig 2016-01-20 08:50:27 UTC -+++ b/configure.in -@@ -6,9 +6,10 @@ dnl rm -rf Makefile autom4te.cache autos - dnl rm -rf config.log config.status configure.scan stamp-* - dnl - --AC_INIT(dnstracer.c) -+AC_INIT([dnstracer],[1.7]) - AM_CONFIG_HEADER(config.h) --AM_INIT_AUTOMAKE(dnstracer,1.7) -+AC_CONFIG_SRCDIR ([dnstracer.c]) -+AM_INIT_AUTOMAKE - - AC_PROG_CC - AC_PROG_INSTALL diff --git a/community/dnstracer/makefile-path.patch b/community/dnstracer/makefile-path.patch new file mode 100644 index 0000000000..e0b58e4de9 --- /dev/null +++ b/community/dnstracer/makefile-path.patch @@ -0,0 +1,23 @@ +diff --git a/Makefile b/Makefile +index d9d2cea..418cfa5 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,13 +4,15 @@ MANTITLE= Additional Software + + VERSION= 1.11 + +-PREFIX= /usr/local/ +-BINPREFIX= ${PREFIX}/bin/ +-MANPREFIX= ${PREFIX}/man/man${MANSEC}/ ++PREFIX= /usr ++BINPREFIX= $(DESTDIR)${PREFIX}/bin/ ++MANPREFIX= $(DESTDIR)${PREFIX}/share/man/man${MANSEC}/ + + all: dnstracer dnstracer.8 + + install: ++ install -d -m 755 ${BINPREFIX} ++ install -d -m 755 ${MANPREFIX} + install dnstracer ${BINPREFIX} + install dnstracer.8 ${MANPREFIX} + |