aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dnstracer
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-06-03 08:11:32 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-06-03 08:11:39 +0000
commit635e092e48ffe479d52042bab2fd1612942bfa82 (patch)
tree44360a04f29fa957241c5cf483cbd60b06ed9183 /testing/dnstracer
parentc30e6525162db8c3728eab6ec328a5426e840e9d (diff)
downloadaports-635e092e48ffe479d52042bab2fd1612942bfa82.tar.bz2
aports-635e092e48ffe479d52042bab2fd1612942bfa82.tar.xz
testing/dnstracer: new aport
Diffstat (limited to 'testing/dnstracer')
-rw-r--r--testing/dnstracer/APKBUILD37
-rw-r--r--testing/dnstracer/configure.patch15
2 files changed, 52 insertions, 0 deletions
diff --git a/testing/dnstracer/APKBUILD b/testing/dnstracer/APKBUILD
new file mode 100644
index 000000000..ce86b9395
--- /dev/null
+++ b/testing/dnstracer/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=dnstracer
+pkgver=1.9
+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=""
+subpackages="$pkgname-doc"
+source="http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz
+ configure.patch"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --enable-ipv6
+ make || return 1
+}
+
+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"
diff --git a/testing/dnstracer/configure.patch b/testing/dnstracer/configure.patch
new file mode 100644
index 000000000..6c512074d
--- /dev/null
+++ b/testing/dnstracer/configure.patch
@@ -0,0 +1,15 @@
+--- 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