dig %n dig %v 2.0 %c * %l * %b * %d * %f gatekeeper.dec.com:/pub/net/misc %t dig.2.0.tar.gz %w usr.bin %% # Copyright 1994 Rickard E. Faith, Kevin E. Martin, and Doug L. Hoffman # All rights reserved. # See the BOGUS.LICENSE file for distribution restrictions. if [ ! -d $BUILDDIR ]; then mkdir $BUILDDIR; fi cd $BUILDDIR rm -rf $NAME-$VERSION mkdir $NAME-$VERSION cd $NAME-$VERSION tar zxvf $SRCTARDIR/$TARFILE patch -p1 -s << 'EOF_MARKER' && --- dig-2.0/hfiles.h.rik Fri Aug 31 20:56:39 1990 +++ dig-2.0/hfiles.h Fri Sep 16 21:20:23 1994 @@ -4,6 +4,10 @@ ** California Information Sciences Institute (USC-ISI). 9/1/90 */ +#ifdef __linux__ +#include +#endif + /* #define PARAMH "param.h" */ --- dig-2.0/nameser.h.rik Fri Aug 31 20:56:40 1990 +++ dig-2.0/nameser.h Fri Sep 16 21:19:02 1994 @@ -137,7 +137,7 @@ u_char rcode:4; /* response code */ #else #if defined (vax) || defined(ns32000) || defined (BIT_ZERO_ON_RIGHT) \ -|| defined(MIPSEL) || defined(_MIPSEL) +|| defined(MIPSEL) || defined(_MIPSEL) || defined(__linux__) /* Bit zero on right: VAX */ /* fields in third byte */ u_char rd:1; /* recursion desired */ EOF_MARKER make CFLAGS='-O2 -m486 -s -DDEBUG' %doc README-2.0 * install -m 0755 dig /usr/bin * install -m 0644 dig.1 /usr/man/man1 %% * usr/bin/dig * usr/man/man1/dig.1