From: Victor Martinez Date: Mon, 6 Sep 2010 07:26:49 +0000 (+0000) Subject: bindutils: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=d8f5dd2522d4f66707d4f29e8574e506db57f088;p=crossrootfs.git bindutils: initial import (verified compilation) --- diff --git a/bindutils/.footprint b/bindutils/.footprint new file mode 100644 index 0000000..331c363 --- /dev/null +++ b/bindutils/.footprint @@ -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 index 0000000..13e9d08 --- /dev/null +++ b/bindutils/.md5sum @@ -0,0 +1 @@ +712c425e59cb4aa9309bc4716283742f bind-9.7.1.tar.gz diff --git a/bindutils/Pkgfile b/bindutils/Pkgfile new file mode 100644 index 0000000..bc5a0b1 --- /dev/null +++ b/bindutils/Pkgfile @@ -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 +}