aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnstracer
diff options
context:
space:
mode:
Diffstat (limited to 'community/dnstracer')
-rw-r--r--community/dnstracer/APKBUILD37
-rw-r--r--community/dnstracer/configure.patch15
2 files changed, 52 insertions, 0 deletions
diff --git a/community/dnstracer/APKBUILD b/community/dnstracer/APKBUILD
new file mode 100644
index 0000000000..ce86b9395a
--- /dev/null
+++ b/community/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/community/dnstracer/configure.patch b/community/dnstracer/configure.patch
new file mode 100644
index 0000000000..6c512074d4
--- /dev/null
+++ b/community/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