CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bindutils: initial import (verified compilation)
authorVictor Martinez <pitillo@ono.com>
Mon, 6 Sep 2010 07:26:49 +0000 (07:26 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 6 Sep 2010 07:26:49 +0000 (07:26 +0000)
bindutils/.footprint [new file with mode: 0644]
bindutils/.md5sum [new file with mode: 0644]
bindutils/Pkgfile [new file with mode: 0644]

diff --git a/bindutils/.footprint b/bindutils/.footprint
new file mode 100644 (file)
index 0000000..331c363
--- /dev/null
@@ -0,0 +1,8 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/dig
+-rwxr-xr-x     root/root       usr/bin/host
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/dig.1.gz
+-rw-r--r--     root/root       usr/man/man1/host.1.gz
diff --git a/bindutils/.md5sum b/bindutils/.md5sum
new file mode 100644 (file)
index 0000000..13e9d08
--- /dev/null
@@ -0,0 +1 @@
+712c425e59cb4aa9309bc4716283742f  bind-9.7.1.tar.gz
diff --git a/bindutils/Pkgfile b/bindutils/Pkgfile
new file mode 100644 (file)
index 0000000..bc5a0b1
--- /dev/null
@@ -0,0 +1,33 @@
+# Description: Bind tools
+# URL: http://www.isc.org/software/bind
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: openssl
+
+name=bindutils
+version=9.7.1
+release=1
+source=(ftp://ftp.isc.org/isc/bind9/$version/bind-$version.tar.gz)
+
+build() {
+  cd bind-$version
+
+  BUILD_CC="$CC" ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --disable-linux-caps \
+              --with-libxml2=no \
+              --enable-epoll=no \
+              --with-randomdev=/dev/random
+
+  sed 's|${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include|gcc ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include|g' -i lib/dns/Makefile.in -i lib/dns/Makefile
+  sed 's|${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}|gcc ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS|g' -i lib/export/dns/Makefile.in -i lib/export/dns/Makefile
+
+  make -C lib
+  make -C bin/dig
+
+  install -D -m 755 bin/dig/host $PKG/usr/bin/host
+  install -D -m 644 bin/dig/host.1 $PKG/usr/man/man1/host.1
+  install -D -m 755 bin/dig/dig $PKG/usr/bin/dig
+  install -D -m 644 bin/dig/dig.1 $PKG/usr/man/man1/dig.1
+}