summaryrefslogtreecommitdiffstats
path: root/bind-utils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'bind-utils/Pkgfile')
-rw-r--r--bind-utils/Pkgfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/bind-utils/Pkgfile b/bind-utils/Pkgfile
new file mode 100644
index 000000000..f02b8ae98
--- /dev/null
+++ b/bind-utils/Pkgfile
@@ -0,0 +1,40 @@
+# Description: Outils de resolution de nom DNS
+# URL: http://www.isc.org/software/bind
+# Maintainer: NuTyX core team
+# Packager: fredjo
+
+name=bind-utils
+version=9.8.1
+release=1
+source=(http://ftp.isc.org/isc/bind9/$version/bind-$version.tar.gz)
+
+build(){
+ cd bind-$version
+
+ cd contrib/queryperf
+ ./configure
+ make CFLAGS="$CFLAGS"
+ cd ../..
+
+ cd contrib/query-loc-*
+ sed "s|-lnsl|-lnsl -lresolv|g" -i configure*
+ rm configure && autoconf
+ ./configure
+ make CFLAGS="$CFLAGS"
+ cd ../..
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+
+ make -C lib/dns
+ make -C lib/isc
+ make -C lib/bind9
+ make -C lib/isccfg
+ make -C lib/lwres
+ make -C bin/dig
+ make -C bin/dig DESTDIR=$PKG install
+
+ install -m0755 contrib/queryperf/queryperf $PKG/usr/bin
+ install -m0755 contrib/query-loc-*/query-loc $PKG/usr/bin
+ install -m0644 contrib/query-loc-*/query-loc.1 $PKG/usr/share/man/man1
+}