Subject: Re: Problem building "/pkgsrc/security/nessus"
To: Roland Illig <rillig@NetBSD.org>
From: @ ebe <ebeml_sp_am_@free.fr>
List: tech-pkg
Date: 07/02/2006 16:48:38
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> 
> Please try again with PKG_DEBUG_LEVEL=1. That prints (almost) all 
> commands before executing them, so we can see which command fails.

see attach file result.

--
ebe 
 

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ebe_nessus_fail.asc"
Content-Transfer-Encoding: quoted-printable

=3D=3D=3D> Installing dependencies for nessus-2.2.7
set -e;				 set -- dummy `/bin/cat /usr/pkgsrc/security/nessus/work/.depend=
s`; shift;			 while test $# -gt 0; do					 type=3D"$1"; pattern=3D"$2"; dir=
=3D"$3"; shift 3;		 pkg=3D`/usr/bin/env  /usr/sbin/pkg_admin -K /var/db/pkg=
 -b -d /var/db/pkg -S lsbest "$pattern" || true`;	 case "$pkg" in						 "")=
							 echo "=3D>" "Required installed package $pattern: NOT found";  targ=
et=3Dreinstall;			 echo "=3D>" "Verifying $target for $dir";	 if test ! -d =
"$dir"; then			 echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`$dir'' d=
oes not exist.";  exit 1;					 fi;						 cd $dir;					 /usr/bin/env _PKGSRC=
_DEPS=3D", nessus-2.2.7" PKGNAME_REQD=3D"$pattern" /usr/bin/make _MAKE=3D/u=
sr/bin/make OPSYS=3DNetBSD OS_VERSION=3D3.0_STABLE LOWER_OS_VERSION=3D3.0_s=
table LOWER_OPSYS=3Dnetbsd DIGEST=3D/usr/pkg/bin/digest DIGEST_VERSION=3D20=
060302 _PKGSRCDIR=3D/usr/pkgsrc PKGTOOLS_VERSION=3D20051122 _CC=3D/usr/bin/=
cc _PATH_ORIG=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:/u=
sr/X11R6/bin:/usr/local/bin:/usr/local/sbin _AUTOMATIC=3Dyes $target;	 pkg=
=3D`/usr/bin/env  /usr/sbin/pkg_admin -K /var/db/pkg -b -d /var/db/pkg -S l=
sbest "$pattern" || true`;  case "$pkg" in					 "")	echo 1>&2 "ERROR:" "[de=
pends.mk] A package matching \`\`$pattern'' should";  echo 1>&2 "ERROR:" " =
   be installed, but one cannot be found.  Perhaps there is a";  echo 1>&2 =
"ERROR:" "    stale work directory for $dir?";  exit 1;					 esac;						 ec=
ho "=3D>" "Returning to build of nessus-2.2.7";  ;;						 *)							 objfmt=
=3D`/usr/bin/env  /usr/sbin/pkg_info -K /var/db/pkg -Q OBJECT_FMT "$pkg"`;	=
 case "$objfmt" in				 "")	echo 1>&2 "WARNING:" "[depends.mk] Unknown objec=
t format for installed package $pkg" ;;  ELF)	;;				 *)	echo 1>&2 "ERROR:" =
"[depends.mk] Installed package $pkg has an";  echo 1>&2 "ERROR:" "    obje=
ct format \`\`$objfmt'' which differs from \`\`ELF''.  Please";  echo 1>&2 =
"ERROR:" "    update the $pkg package to ELF.";  exit 1;					 ;;					 esac;=
						 echo "=3D>" "Required installed package $pattern: $pkg found";  ;;		=
				 esac;							 done
=3D> Required installed package nessus-plugins-2.2.7{,nb*}: NOT found
=3D> Verifying reinstall for ../../security/nessus-plugins
/bin/rm -f /usr/pkgsrc/security/nessus-plugins/work/.package_done
/bin/rm -f  /usr/pkgsrc/security/nessus-plugins/work/.error/check-files-pre=
fix				 check-files-pre-message /usr/pkgsrc/security/nessus-plugins/work/.p=
refix.pre check-files-post-message /usr/pkgsrc/security/nessus-plugins/work=
/.prefix.post		 /usr/pkgsrc/security/nessus-plugins/work/.check_files_diff =
/usr/pkgsrc/security/nessus-plugins/work/.check_files_added		 /usr/pkgsrc/s=
ecurity/nessus-plugins/work/.check_files_deleted /usr/pkgsrc/security/nessu=
s-plugins/work/.check_files_expected	 /usr/pkgsrc/security/nessus-plugins/w=
ork/.check_files_missing /usr/pkgsrc/security/nessus-plugins/work/.check_fi=
les_missing_skip	 /usr/pkgsrc/security/nessus-plugins/work/.check_files_mis=
sing_real /usr/pkgsrc/security/nessus-plugins/work/.check_files_extra
/bin/rm -f /usr/pkgsrc/security/nessus-plugins/work/.PLIST /usr/pkgsrc/secu=
rity/nessus-plugins/work/.install_done
test -d /reseau/pkgsrc_distfiles/ || /bin/mkdir -p /reseau/pkgsrc_distfiles/
cd /reseau/pkgsrc_distfiles/;							 file=3D"nessus-plugins-GPL-2.2.7.tar.g=
z";						 bfile=3D"nessus-plugins-GPL-2.2.7.tar.gz";						 unsorted_sites=
=3D"ftp://ftp.nessus.org/pub/nessus/nessus-2.2.7/src/  ftp://ftp.cis.fed.go=
v/pub/nessus/nessus-2.2.7/src/  ftp://ftp.gwdg.de/pub/linux/misc/nessus/nes=
sus-2.2.7/src/  http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-2.2.7/src/ =
 ftp://nessus.via.ecp.fr/nessus/nessus-2.2.7/src/  ftp://cvs.nessus.org/pub=
/nessus/nessus-2.2.7/src/  ftp://sunsite.cnlab-switch.ch/mirror/nessus/ness=
us-2.2.7/src/  ftp://ftp.chg.ru/pub/security/nessus/nessus-2.2.7/src/  ftp:=
//ftp.sekure.net/pub/nessus/nessus-2.2.7/src/  ftp://ftp.nectec.or.th/pub/m=
irrors/nessus/nessus-2.2.7/src/  ftp://ftp.pt.nessus.org/pub/nessus/nessus-=
2.2.7/src/  ftp://ftp.au.nessus.org/pub/nessus/nessus-2.2.7/src/  ftp://ftp=
.stuff.ca/pub/nessus/nessus-2.2.7/src/  ftp://ftp.at.nessus.org/pub/nessus/=
nessus-2.2.7/src/  ftp://ftp.linux.org.tr/pub/security/nessus/nessus-2.2.7/=
src/ http://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/ ftp://ftp.NetB=
SD.org/pub/NetBSD/packages/distfiles/ http://ftp.NetBSD.org/pub/NetBSD/pack=
ages/distfiles/ ftp://ftp.FreeBSD.org/pub/FreeBSD/distfiles/";  sites=3D" $=
unsorted_sites";					 if [ "X" !=3D "X" ]; then				 for d in "" ; do			 cas=
e $d in "" | /reseau/pkgsrc_distfiles) continue;; esac;	 if [ -f $d//$bfile=
 ]; then	 echo "Using $d//$bfile";  /bin/rm -f $bfile;			 /bin/ln -s $d//$b=
file $bfile;  break;					 fi;						 done;							 fi;						 if test "" ; the=
n	 if [ ! -f $file -a ! -f $bfile -a ! -h $bfile ]; then	 echo "=3D> $bfile=
 doesn't seem to exist on this system.";  if [ ! -w /reseau/pkgsrc_distfile=
s//. ]; then 			 echo "=3D> Can't download to /reseau/pkgsrc_distfiles/ (pe=
rmission denied?).";  exit 1; 					 fi; 							 for site in $sites; do					=
 echo "=3D> Attempting to fetch $bfile from ${site}.";  if [ -f /usr/pkgsrc=
/security/nessus-plugins/distinfo ]; then		 /usr/bin/awk 'NF =3D=3D 5 && $1=
 =3D=3D "Size" && $2 =3D=3D "('$bfile')" { printf("=3D> [%s %s]\n", $4, $5)=
 }' /usr/pkgsrc/security/nessus-plugins/distinfo;  fi;						 if /usr/bin/ft=
p  ${site}${bfile} ; then  if [ -n "" -a -f /usr/pkgsrc/security/nessus-plu=
gins/distinfo -a -f /reseau/pkgsrc_distfiles//$bfile ]; then  alg=3D`/usr/b=
in/awk 'NF =3D=3D 4 && $2 =3D=3D "('$file')" && $3 =3D=3D "=3D" {print $1; =
exit}' /usr/pkgsrc/security/nessus-plugins/distinfo`;  if [ -z "$alg" ]; th=
en		 alg=3DSHA1; fi;				 CKSUM=3D`/usr/pkg/bin/digest $alg < /reseau/pkgsrc=
_distfiles//$bfile`;  CKSUM2=3D`/usr/bin/awk '$1 =3D=3D "'$alg'" && $2 =3D=
=3D "('$file')" {print $4; exit}' </usr/pkgsrc/security/nessus-plugins/dist=
info`;  if [ "$CKSUM" =3D "$CKSUM2" -o "$CKSUM2" =3D "IGNORE" ]; then  brea=
k;			 else				 echo "=3D> Checksum failure - trying next site.";  fi;				 e=
lif [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then  echo "=3D> FTP didn't =
fetch expected file, trying next site." ;  else					 break;				 fi;					 fi=
						 done;							 if [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then			 e=
cho "=3D> Couldn't fetch $bfile - please try to retrieve this"; echo "=3D> =
file manually into /reseau/pkgsrc_distfiles/ and try again.";  exit 1;					=
	 fi;							 fi; ofile=3D"/reseau/pkgsrc_distfiles//$bfile";		 tfile=3D"/re=
seau/pkgsrc_distfiles//$bfile.temp";		 tsize=3D`/usr/bin/awk '/^Size/ && $2=
 =3D=3D '"\"($file)\""' { print $4 }' /usr/pkgsrc/security/nessus-plugins/d=
istinfo` || true;  osize=3D`/usr/bin/wc -c < $ofile`;				  case "$tsize" in=
					 "")	echo "No size in distinfo file (/usr/pkgsrc/security/nessus-plugi=
ns/distinfo)";	 break;;						 esac;							  if [ "$osize" -eq "$tsize" ]; t=
hen			 if [ -f "$tfile" ]; then			 /bin/rm $tfile;				 fi;						 need_fetch=
=3Dno;					 elif [ "$osize" -lt "$tsize" -a ! -f "$tfile" ]; then	 /bin/cp =
$ofile $tfile;				 dsize=3D`/usr/bin/wc -c < $tfile`;			 need_fetch=3Dyes;	=
				 elif [ -f "$tfile" -a "$dsize" -gt "$ossize" ]; then	 dsize=3D`/usr/bi=
n/wc -c < $tfile`;			 need_fetch=3Dyes;					 else							 if [ -f "$tfile" ]=
; then			 dsize=3D`/usr/bin/wc -c < $tfile`;		 fi;						 need_fetch=3Dyes;	=
				 fi;							 if [ "$need_fetch" =3D "no" ]; then			 break;						 elif [ =
-f "$tfile" -a "$dsize" -eq "$tsize" ]; then	 /bin/mv $tfile $ofile;				 br=
eak;						 elif [ -n "$ftp_proxy" -o -n "$http_proxy" ]; then	 echo "=3D=3D=
=3D> Resume is not supported by ftp(1) using http/ftp proxies.";	 break;			=
			 elif [ "$need_fetch" =3D "yes" -a "$dsize" -lt "$tsize" ]; then	 if [ "=
ftp" !=3D "ftp" -a -z "-R" ]; then  echo "=3D> Resume transfers are not sup=
ported, FETCH_RESUME_ARGS is empty.";  break;					 else						 for res_site =
in $sites; do		 if [ -z "-o" ]; then  echo "=3D> FETCH_OUTPUT_ARGS has to b=
e defined.";  break;			 fi;				 echo "=3D> $bfile not completed, resuming:"=
;   echo "=3D> Downloaded: $dsize Total: $tsize.";  echo;			 cd /reseau/pkg=
src_distfiles;			 /usr/bin/ftp  -R  -o ${bfile}.temp ${res_site}${bfile};  =
if [ $? -eq 0 ]; then		 ndsize=3D`/usr/bin/wc -c < $tfile`;     if [ "$tsiz=
e" -eq "$ndsize" ]; then  /bin/mv $tfile $ofile;   fi;			 break;			 fi;				=
 done;					 fi;						 elif [ "$dsize" -gt "$tsize" ]; then			 echo "=3D=3D>=
 Downloaded file larger than the recorded size.";  break;						 fi;			 else=
								 if [ ! -f $file -a ! -f $bfile -a ! -h $bfile ]; then	 echo "=3D> =
$bfile doesn't seem to exist on this system.";  if [ ! -w /reseau/pkgsrc_di=
stfiles//. ]; then 			 echo "=3D> Can't download to /reseau/pkgsrc_distfile=
s/ (permission denied?).";  exit 1; 					 fi; 							 for site in $sites; d=
o					 echo "=3D> Attempting to fetch $bfile from ${site}.";  if [ -f /usr/=
pkgsrc/security/nessus-plugins/distinfo ]; then		 /usr/bin/awk 'NF =3D=3D 5=
 && $1 =3D=3D "Size" && $2 =3D=3D "('$bfile')" { printf("=3D> [%s %s]\n", $=
4, $5) }' /usr/pkgsrc/security/nessus-plugins/distinfo;  fi;						 if /usr/=
bin/ftp  ${site}${bfile} ; then  if [ -n "" -a -f /usr/pkgsrc/security/ness=
us-plugins/distinfo -a -f /reseau/pkgsrc_distfiles//$bfile ]; then  alg=3D`=
/usr/bin/awk 'NF =3D=3D 4 && $2 =3D=3D "('$file')" && $3 =3D=3D "=3D" {prin=
t $1; exit}' /usr/pkgsrc/security/nessus-plugins/distinfo`;  if [ -z "$alg"=
 ]; then		 alg=3DSHA1; fi;				 CKSUM=3D`/usr/pkg/bin/digest $alg < /reseau/=
pkgsrc_distfiles//$bfile`;  CKSUM2=3D`/usr/bin/awk '$1 =3D=3D "'$alg'" && $=
2 =3D=3D "('$file')" {print $4; exit}' </usr/pkgsrc/security/nessus-plugins=
/distinfo`;  if [ "$CKSUM" =3D "$CKSUM2" -o "$CKSUM2" =3D "IGNORE" ]; then =
 break;			 else				 echo "=3D> Checksum failure - trying next site.";  fi;	=
			 elif [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then  echo "=3D> FTP di=
dn't fetch expected file, trying next site." ;  else					 break;				 fi;			=
		 fi						 done;							 if [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then=
			 echo "=3D> Couldn't fetch $bfile - please try to retrieve this"; echo "=
=3D> file manually into /reseau/pkgsrc_distfiles/ and try again.";  exit 1;=
						 fi;							 fi;						 fi
cd /reseau/pkgsrc_distfiles/;							 file=3D"nmap.nasl";						 bfile=3D"nma=
p.nasl";						 unsorted_sites=3D"http://www.nessus.org/documentation/ http:=
//ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/ ftp://ftp.NetBSD.org/pub=
/NetBSD/packages/distfiles/ http://ftp.NetBSD.org/pub/NetBSD/packages/distf=
iles/ ftp://ftp.FreeBSD.org/pub/FreeBSD/distfiles/";  sites=3D" $unsorted_s=
ites";					 if [ "X" !=3D "X" ]; then				 for d in "" ; do			 case $d in ""=
 | /reseau/pkgsrc_distfiles) continue;; esac;	 if [ -f $d//$bfile ]; then	 =
echo "Using $d//$bfile";  /bin/rm -f $bfile;			 /bin/ln -s $d//$bfile $bfil=
e;  break;					 fi;						 done;							 fi;						 if test "" ; then	 if [ ! =
-f $file -a ! -f $bfile -a ! -h $bfile ]; then	 echo "=3D> $bfile doesn't s=
eem to exist on this system.";  if [ ! -w /reseau/pkgsrc_distfiles//. ]; th=
en 			 echo "=3D> Can't download to /reseau/pkgsrc_distfiles/ (permission d=
enied?).";  exit 1; 					 fi; 							 for site in $sites; do					 echo "=3D=
> Attempting to fetch $bfile from ${site}.";  if [ -f /usr/pkgsrc/security/=
nessus-plugins/distinfo ]; then		 /usr/bin/awk 'NF =3D=3D 5 && $1 =3D=3D "S=
ize" && $2 =3D=3D "('$bfile')" { printf("=3D> [%s %s]\n", $4, $5) }' /usr/p=
kgsrc/security/nessus-plugins/distinfo;  fi;						 if /usr/bin/ftp  ${site}=
${bfile} ; then  if [ -n "" -a -f /usr/pkgsrc/security/nessus-plugins/disti=
nfo -a -f /reseau/pkgsrc_distfiles//$bfile ]; then  alg=3D`/usr/bin/awk 'NF=
 =3D=3D 4 && $2 =3D=3D "('$file')" && $3 =3D=3D "=3D" {print $1; exit}' /us=
r/pkgsrc/security/nessus-plugins/distinfo`;  if [ -z "$alg" ]; then		 alg=
=3DSHA1; fi;				 CKSUM=3D`/usr/pkg/bin/digest $alg < /reseau/pkgsrc_distfil=
es//$bfile`;  CKSUM2=3D`/usr/bin/awk '$1 =3D=3D "'$alg'" && $2 =3D=3D "('$f=
ile')" {print $4; exit}' </usr/pkgsrc/security/nessus-plugins/distinfo`;  i=
f [ "$CKSUM" =3D "$CKSUM2" -o "$CKSUM2" =3D "IGNORE" ]; then  break;			 els=
e				 echo "=3D> Checksum failure - trying next site.";  fi;				 elif [ ! -=
f /reseau/pkgsrc_distfiles//$bfile ]; then  echo "=3D> FTP didn't fetch exp=
ected file, trying next site." ;  else					 break;				 fi;					 fi						 do=
ne;							 if [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then			 echo "=3D>=
 Couldn't fetch $bfile - please try to retrieve this"; echo "=3D> file manu=
ally into /reseau/pkgsrc_distfiles/ and try again.";  exit 1;						 fi;				=
			 fi; ofile=3D"/reseau/pkgsrc_distfiles//$bfile";		 tfile=3D"/reseau/pkgs=
rc_distfiles//$bfile.temp";		 tsize=3D`/usr/bin/awk '/^Size/ && $2 =3D=3D '=
"\"($file)\""' { print $4 }' /usr/pkgsrc/security/nessus-plugins/distinfo` =
|| true;  osize=3D`/usr/bin/wc -c < $ofile`;				  case "$tsize" in					 "")=
	echo "No size in distinfo file (/usr/pkgsrc/security/nessus-plugins/distin=
fo)";	 break;;						 esac;							  if [ "$osize" -eq "$tsize" ]; then			 if=
 [ -f "$tfile" ]; then			 /bin/rm $tfile;				 fi;						 need_fetch=3Dno;			=
		 elif [ "$osize" -lt "$tsize" -a ! -f "$tfile" ]; then	 /bin/cp $ofile $t=
file;				 dsize=3D`/usr/bin/wc -c < $tfile`;			 need_fetch=3Dyes;					 elif=
 [ -f "$tfile" -a "$dsize" -gt "$ossize" ]; then	 dsize=3D`/usr/bin/wc -c <=
 $tfile`;			 need_fetch=3Dyes;					 else							 if [ -f "$tfile" ]; then			=
 dsize=3D`/usr/bin/wc -c < $tfile`;		 fi;						 need_fetch=3Dyes;					 fi;	=
						 if [ "$need_fetch" =3D "no" ]; then			 break;						 elif [ -f "$tfil=
e" -a "$dsize" -eq "$tsize" ]; then	 /bin/mv $tfile $ofile;				 break;					=
	 elif [ -n "$ftp_proxy" -o -n "$http_proxy" ]; then	 echo "=3D=3D=3D> Resu=
me is not supported by ftp(1) using http/ftp proxies.";	 break;						 elif =
[ "$need_fetch" =3D "yes" -a "$dsize" -lt "$tsize" ]; then	 if [ "ftp" !=3D=
 "ftp" -a -z "-R" ]; then  echo "=3D> Resume transfers are not supported, F=
ETCH_RESUME_ARGS is empty.";  break;					 else						 for res_site in $sites=
; do		 if [ -z "-o" ]; then  echo "=3D> FETCH_OUTPUT_ARGS has to be defined=
.";  break;			 fi;				 echo "=3D> $bfile not completed, resuming:";   echo =
"=3D> Downloaded: $dsize Total: $tsize.";  echo;			 cd /reseau/pkgsrc_distf=
iles;			 /usr/bin/ftp  -R  -o ${bfile}.temp ${res_site}${bfile};  if [ $? -=
eq 0 ]; then		 ndsize=3D`/usr/bin/wc -c < $tfile`;     if [ "$tsize" -eq "$=
ndsize" ]; then  /bin/mv $tfile $ofile;   fi;			 break;			 fi;				 done;			=
		 fi;						 elif [ "$dsize" -gt "$tsize" ]; then			 echo "=3D=3D> Download=
ed file larger than the recorded size.";  break;						 fi;			 else								 =
if [ ! -f $file -a ! -f $bfile -a ! -h $bfile ]; then	 echo "=3D> $bfile do=
esn't seem to exist on this system.";  if [ ! -w /reseau/pkgsrc_distfiles//=
. ]; then 			 echo "=3D> Can't download to /reseau/pkgsrc_distfiles/ (permi=
ssion denied?).";  exit 1; 					 fi; 							 for site in $sites; do					 ec=
ho "=3D> Attempting to fetch $bfile from ${site}.";  if [ -f /usr/pkgsrc/se=
curity/nessus-plugins/distinfo ]; then		 /usr/bin/awk 'NF =3D=3D 5 && $1 =
=3D=3D "Size" && $2 =3D=3D "('$bfile')" { printf("=3D> [%s %s]\n", $4, $5) =
}' /usr/pkgsrc/security/nessus-plugins/distinfo;  fi;						 if /usr/bin/ftp=
  ${site}${bfile} ; then  if [ -n "" -a -f /usr/pkgsrc/security/nessus-plug=
ins/distinfo -a -f /reseau/pkgsrc_distfiles//$bfile ]; then  alg=3D`/usr/bi=
n/awk 'NF =3D=3D 4 && $2 =3D=3D "('$file')" && $3 =3D=3D "=3D" {print $1; e=
xit}' /usr/pkgsrc/security/nessus-plugins/distinfo`;  if [ -z "$alg" ]; the=
n		 alg=3DSHA1; fi;				 CKSUM=3D`/usr/pkg/bin/digest $alg < /reseau/pkgsrc_=
distfiles//$bfile`;  CKSUM2=3D`/usr/bin/awk '$1 =3D=3D "'$alg'" && $2 =3D=
=3D "('$file')" {print $4; exit}' </usr/pkgsrc/security/nessus-plugins/dist=
info`;  if [ "$CKSUM" =3D "$CKSUM2" -o "$CKSUM2" =3D "IGNORE" ]; then  brea=
k;			 else				 echo "=3D> Checksum failure - trying next site.";  fi;				 e=
lif [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then  echo "=3D> FTP didn't =
fetch expected file, trying next site." ;  else					 break;				 fi;					 fi=
						 done;							 if [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then			 e=
cho "=3D> Couldn't fetch $bfile - please try to retrieve this"; echo "=3D> =
file manually into /reseau/pkgsrc_distfiles/ and try again.";  exit 1;					=
	 fi;							 fi;						 fi
if [ -f /usr/pkgsrc/security/nessus-plugins/distinfo -a \( ! -f /usr/pkg/bi=
n/digest -o 20060302 -lt 20010302 \) ]; then  { cd /usr/pkgsrc/pkgtools/dig=
est;			 /usr/bin/make clean;						 if [ -f /usr/pkg/bin/digest ]; then				 =
/usr/bin/make  HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 _SRC_TOP_=3D LOWER_OP=
SYS=3Dnetbsd PKG_BUILD_OPTIONS.openssl=3D deinstall;			 fi;							 /usr/bin=
/make  HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 _SRC_TOP_=3D LOWER_OPSYS=3Dne=
tbsd PKG_BUILD_OPTIONS.openssl=3D build;		 if [ -f /usr/pkg/bin/digest ]; t=
hen				 /usr/bin/make  HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 _SRC_TOP_=3D =
LOWER_OPSYS=3Dnetbsd PKG_BUILD_OPTIONS.openssl=3D deinstall;			 fi;							 =
/usr/bin/make  HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 _SRC_TOP_=3D LOWER_OP=
SYS=3Dnetbsd PKG_BUILD_OPTIONS.openssl=3D reinstall;			 /usr/bin/make  HOST=
_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 _SRC_TOP_=3D LOWER_OPSYS=3Dnetbsd PKG_BU=
ILD_OPTIONS.openssl=3D clean; } 				 fi
if [ ! -f /usr/pkgsrc/security/nessus-plugins/distinfo ]; then				 echo "=
=3D> No checksum file.";			 else								 (cd /reseau/pkgsrc_distfiles; OK=
=3D"true"; missing=3D""; 			 for file in "" nessus-plugins-GPL-2.2.7.tar.gz=
 nmap.nasl ; do			 if [ "X$file" =3D X"" ]; then continue; fi; 	 filesummed=
=3Dfalse;				 for a in SHA1 RMD160; do		 CKSUM2=3D`/usr/bin/awk 'NF =3D=3D =
4 && $1 =3D=3D "'$a'" && $2 =3D=3D "('$file')" && $3 =3D=3D "=3D" {print $4=
; exit}' /usr/pkgsrc/security/nessus-plugins/distinfo`;  case "${CKSUM2}" i=
n			 "")	echo "=3D> No $a checksum recorded for $file.";  ;;				 *)	filesum=
med=3Dtrue;		 CKSUM=3D`/usr/pkg/bin/digest $a < $file`;	 if [ "$CKSUM2" =3D=
 "IGNORE" ]; then  echo "=3D> Checksum for $file is set to IGNORE in checks=
um file even though";  echo "   the file is not in the "'$'"{IGNOREFILES} l=
ist.";  OK=3D"false";		 elif [ "$CKSUM" =3D "$CKSUM2" ]; then	 echo "=3D> C=
hecksum $a OK for $file.";  else				 echo "=3D> Checksum $a mismatch for $f=
ile.";  OK=3D"false";		 fi ;;				 esac;					 done;						 case "$filesummed"=
 in				 false)	missing=3D"$missing $file";		 OK=3Dfalse ;;				 esac;						 =
done;							 for file in "" ; do			 if [ "X$file" =3D X"" ]; then continue;=
 fi; 	 CKSUM2=3D`/usr/bin/awk 'NF =3D=3D 4 && $3 =3D=3D "=3D" && $2 =3D=3D =
"('$file')"{print $4; exit}' /usr/pkgsrc/security/nessus-plugins/distinfo`;=
  if [ "$CKSUM2" =3D "" ]; then			 echo "=3D> No checksum recorded for $fil=
e, file is in "'$'"{IGNOREFILES} list.";  OK=3D"false";				 elif [ "$CKSUM2=
" !=3D "IGNORE" ]; then		 echo "=3D> Checksum for $file is not set to IGNOR=
E in checksum file even though";  echo "   the file is in the "'$'"{IGNOREF=
ILES} list.";  OK=3D"false";				 fi;						 done;							 if [ "$OK" !=3D "tr=
ue" ]; then				 case "$missing" in				 "")	;;					 *)	echo "Missing checksu=
ms for $missing";;	 esac;						 echo "Make sure the Makefile and checksum f=
ile (/usr/pkgsrc/security/nessus-plugins/distinfo)";  echo "are up to date.=
  If you want to override this check, type";  echo "\"/usr/bin/make NO_CHEC=
KSUM=3Dyes [other args]\".";  exit 1;						 fi) ;							 fi
=3D> Checksum SHA1 OK for nessus-plugins-GPL-2.2.7.tar.gz.
=3D> Checksum RMD160 OK for nessus-plugins-GPL-2.2.7.tar.gz.
=3D> Checksum SHA1 OK for nmap.nasl.
=3D> Checksum RMD160 OK for nmap.nasl.
=3D=3D=3D> Installing dependencies for nessus-plugins-2.2.7
set -e;				 set -- dummy `/bin/cat /usr/pkgsrc/security/nessus-plugins/work=
/.depends`; shift;			 while test $# -gt 0; do					 type=3D"$1"; pattern=3D"=
$2"; dir=3D"$3"; shift 3;		 pkg=3D`/usr/bin/env  /usr/sbin/pkg_admin -K /va=
r/db/pkg -b -d /var/db/pkg -S lsbest "$pattern" || true`;	 case "$pkg" in		=
				 "")							 echo "=3D>" "Required installed package $pattern: NOT found=
";  target=3Dreinstall;			 echo "=3D>" "Verifying $target for $dir";	 if te=
st ! -d "$dir"; then			 echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`=
$dir'' does not exist.";  exit 1;					 fi;						 cd $dir;					 /usr/bin/env=
 _PKGSRC_DEPS=3D", nessus-plugins-2.2.7, nessus-2.2.7" PKGNAME_REQD=3D"$pat=
tern" /usr/bin/make  HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 _SRC_TOP_=3D LO=
WER_OPSYS=3Dnetbsd PKG_BUILD_OPTIONS.openssl=3D _AUTOMATIC=3Dyes $target;	 =
pkg=3D`/usr/bin/env  /usr/sbin/pkg_admin -K /var/db/pkg -b -d /var/db/pkg -=
S lsbest "$pattern" || true`;  case "$pkg" in					 "")	echo 1>&2 "ERROR:" "=
[depends.mk] A package matching \`\`$pattern'' should";  echo 1>&2 "ERROR:"=
 "    be installed, but one cannot be found.  Perhaps there is a";  echo 1>=
&2 "ERROR:" "    stale work directory for $dir?";  exit 1;					 esac;						=
 echo "=3D>" "Returning to build of nessus-plugins-2.2.7";  ;;						 *)				=
			 objfmt=3D`/usr/bin/env  /usr/sbin/pkg_info -K /var/db/pkg -Q OBJECT_FMT=
 "$pkg"`;	 case "$objfmt" in				 "")	echo 1>&2 "WARNING:" "[depends.mk] Unk=
nown object format for installed package $pkg" ;;  ELF)	;;				 *)	echo 1>&2=
 "ERROR:" "[depends.mk] Installed package $pkg has an";  echo 1>&2 "ERROR:"=
 "    object format \`\`$objfmt'' which differs from \`\`ELF''.  Please";  =
echo 1>&2 "ERROR:" "    update the $pkg package to ELF.";  exit 1;					 ;;	=
				 esac;						 echo "=3D>" "Required installed package $pattern: $pkg fou=
nd";  ;;						 esac;							 done
=3D> Required installed package randrproto>=3D1.1.1: randrproto-1.1.2 found
=3D> Required installed package fixesproto>=3D3.0.0: fixesproto-3.0.2 found
=3D> Required installed package xextproto>=3D7.0: xextproto-7.0.2 found
=3D> Required installed package xproto>=3D6.6: xproto-7.0.4 found
=3D> Required installed package nmap>=3D2.0: NOT found
=3D> Verifying reinstall for ../../net/nmap
/bin/rm -f /usr/pkgsrc/net/nmap/work/.package_done
/bin/rm -f  /usr/pkgsrc/net/nmap/work/.error/check-files-prefix				 check-f=
iles-pre-message /usr/pkgsrc/net/nmap/work/.prefix.pre check-files-post-mes=
sage /usr/pkgsrc/net/nmap/work/.prefix.post		 /usr/pkgsrc/net/nmap/work/.ch=
eck_files_diff /usr/pkgsrc/net/nmap/work/.check_files_added		 /usr/pkgsrc/n=
et/nmap/work/.check_files_deleted /usr/pkgsrc/net/nmap/work/.check_files_ex=
pected	 /usr/pkgsrc/net/nmap/work/.check_files_missing /usr/pkgsrc/net/nmap=
/work/.check_files_missing_skip	 /usr/pkgsrc/net/nmap/work/.check_files_mis=
sing_real /usr/pkgsrc/net/nmap/work/.check_files_extra
/bin/rm -f /usr/pkgsrc/net/nmap/work/.PLIST /usr/pkgsrc/net/nmap/work/.inst=
all_done
test -d /reseau/pkgsrc_distfiles/ || /bin/mkdir -p /reseau/pkgsrc_distfiles/
cd /reseau/pkgsrc_distfiles/;							 file=3D"nmap-4.11.tar.bz2";						 bfil=
e=3D"nmap-4.11.tar.bz2";						 unsorted_sites=3D"http://www.insecure.org/nm=
ap/dist/ http://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/ ftp://ftp.=
NetBSD.org/pub/NetBSD/packages/distfiles/ http://ftp.NetBSD.org/pub/NetBSD/=
packages/distfiles/ ftp://ftp.FreeBSD.org/pub/FreeBSD/distfiles/";  sites=
=3D" $unsorted_sites";					 if [ "X" !=3D "X" ]; then				 for d in "" ; do	=
		 case $d in "" | /reseau/pkgsrc_distfiles) continue;; esac;	 if [ -f $d//=
$bfile ]; then	 echo "Using $d//$bfile";  /bin/rm -f $bfile;			 /bin/ln -s =
$d//$bfile $bfile;  break;					 fi;						 done;							 fi;						 if test ""=
 ; then	 if [ ! -f $file -a ! -f $bfile -a ! -h $bfile ]; then	 echo "=3D> =
$bfile doesn't seem to exist on this system.";  if [ ! -w /reseau/pkgsrc_di=
stfiles//. ]; then 			 echo "=3D> Can't download to /reseau/pkgsrc_distfile=
s/ (permission denied?).";  exit 1; 					 fi; 							 for site in $sites; d=
o					 echo "=3D> Attempting to fetch $bfile from ${site}.";  if [ -f /usr/=
pkgsrc/net/nmap/distinfo ]; then		 /usr/bin/awk 'NF =3D=3D 5 && $1 =3D=3D "=
Size" && $2 =3D=3D "('$bfile')" { printf("=3D> [%s %s]\n", $4, $5) }' /usr/=
pkgsrc/net/nmap/distinfo;  fi;						 if /usr/bin/ftp  ${site}${bfile} ; the=
n  if [ -n "" -a -f /usr/pkgsrc/net/nmap/distinfo -a -f /reseau/pkgsrc_dist=
files//$bfile ]; then  alg=3D`/usr/bin/awk 'NF =3D=3D 4 && $2 =3D=3D "('$fi=
le')" && $3 =3D=3D "=3D" {print $1; exit}' /usr/pkgsrc/net/nmap/distinfo`; =
 if [ -z "$alg" ]; then		 alg=3DSHA1; fi;				 CKSUM=3D`/usr/pkg/bin/digest =
$alg < /reseau/pkgsrc_distfiles//$bfile`;  CKSUM2=3D`/usr/bin/awk '$1 =3D=
=3D "'$alg'" && $2 =3D=3D "('$file')" {print $4; exit}' </usr/pkgsrc/net/nm=
ap/distinfo`;  if [ "$CKSUM" =3D "$CKSUM2" -o "$CKSUM2" =3D "IGNORE" ]; the=
n  break;			 else				 echo "=3D> Checksum failure - trying next site.";  fi=
;				 elif [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then  echo "=3D> FTP =
didn't fetch expected file, trying next site." ;  else					 break;				 fi;	=
				 fi						 done;							 if [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; th=
en			 echo "=3D> Couldn't fetch $bfile - please try to retrieve this"; echo=
 "=3D> file manually into /reseau/pkgsrc_distfiles/ and try again.";  exit =
1;						 fi;							 fi; ofile=3D"/reseau/pkgsrc_distfiles//$bfile";		 tfile=
=3D"/reseau/pkgsrc_distfiles//$bfile.temp";		 tsize=3D`/usr/bin/awk '/^Size=
/ && $2 =3D=3D '"\"($file)\""' { print $4 }' /usr/pkgsrc/net/nmap/distinfo`=
 || true;  osize=3D`/usr/bin/wc -c < $ofile`;				  case "$tsize" in					 ""=
)	echo "No size in distinfo file (/usr/pkgsrc/net/nmap/distinfo)";	 break;;=
						 esac;							  if [ "$osize" -eq "$tsize" ]; then			 if [ -f "$tfile"=
 ]; then			 /bin/rm $tfile;				 fi;						 need_fetch=3Dno;					 elif [ "$os=
ize" -lt "$tsize" -a ! -f "$tfile" ]; then	 /bin/cp $ofile $tfile;				 dsiz=
e=3D`/usr/bin/wc -c < $tfile`;			 need_fetch=3Dyes;					 elif [ -f "$tfile"=
 -a "$dsize" -gt "$ossize" ]; then	 dsize=3D`/usr/bin/wc -c < $tfile`;			 n=
eed_fetch=3Dyes;					 else							 if [ -f "$tfile" ]; then			 dsize=3D`/usr=
/bin/wc -c < $tfile`;		 fi;						 need_fetch=3Dyes;					 fi;							 if [ "$=
need_fetch" =3D "no" ]; then			 break;						 elif [ -f "$tfile" -a "$dsize"=
 -eq "$tsize" ]; then	 /bin/mv $tfile $ofile;				 break;						 elif [ -n "$=
ftp_proxy" -o -n "$http_proxy" ]; then	 echo "=3D=3D=3D> Resume is not supp=
orted by ftp(1) using http/ftp proxies.";	 break;						 elif [ "$need_fetch=
" =3D "yes" -a "$dsize" -lt "$tsize" ]; then	 if [ "ftp" !=3D "ftp" -a -z "=
-R" ]; then  echo "=3D> Resume transfers are not supported, FETCH_RESUME_AR=
GS is empty.";  break;					 else						 for res_site in $sites; do		 if [ -z=
 "-o" ]; then  echo "=3D> FETCH_OUTPUT_ARGS has to be defined.";  break;			=
 fi;				 echo "=3D> $bfile not completed, resuming:";   echo "=3D> Download=
ed: $dsize Total: $tsize.";  echo;			 cd /reseau/pkgsrc_distfiles;			 /usr/=
bin/ftp  -R  -o ${bfile}.temp ${res_site}${bfile};  if [ $? -eq 0 ]; then		=
 ndsize=3D`/usr/bin/wc -c < $tfile`;     if [ "$tsize" -eq "$ndsize" ]; the=
n  /bin/mv $tfile $ofile;   fi;			 break;			 fi;				 done;					 fi;						 e=
lif [ "$dsize" -gt "$tsize" ]; then			 echo "=3D=3D> Downloaded file larger=
 than the recorded size.";  break;						 fi;			 else								 if [ ! -f $fil=
e -a ! -f $bfile -a ! -h $bfile ]; then	 echo "=3D> $bfile doesn't seem to =
exist on this system.";  if [ ! -w /reseau/pkgsrc_distfiles//. ]; then 			 =
echo "=3D> Can't download to /reseau/pkgsrc_distfiles/ (permission denied?)=
.";  exit 1; 					 fi; 							 for site in $sites; do					 echo "=3D> Attem=
pting to fetch $bfile from ${site}.";  if [ -f /usr/pkgsrc/net/nmap/distinf=
o ]; then		 /usr/bin/awk 'NF =3D=3D 5 && $1 =3D=3D "Size" && $2 =3D=3D "('$=
bfile')" { printf("=3D> [%s %s]\n", $4, $5) }' /usr/pkgsrc/net/nmap/distinf=
o;  fi;						 if /usr/bin/ftp  ${site}${bfile} ; then  if [ -n "" -a -f /us=
r/pkgsrc/net/nmap/distinfo -a -f /reseau/pkgsrc_distfiles//$bfile ]; then  =
alg=3D`/usr/bin/awk 'NF =3D=3D 4 && $2 =3D=3D "('$file')" && $3 =3D=3D "=3D=
" {print $1; exit}' /usr/pkgsrc/net/nmap/distinfo`;  if [ -z "$alg" ]; then=
		 alg=3DSHA1; fi;				 CKSUM=3D`/usr/pkg/bin/digest $alg < /reseau/pkgsrc_d=
istfiles//$bfile`;  CKSUM2=3D`/usr/bin/awk '$1 =3D=3D "'$alg'" && $2 =3D=3D=
 "('$file')" {print $4; exit}' </usr/pkgsrc/net/nmap/distinfo`;  if [ "$CKS=
UM" =3D "$CKSUM2" -o "$CKSUM2" =3D "IGNORE" ]; then  break;			 else				 ech=
o "=3D> Checksum failure - trying next site.";  fi;				 elif [ ! -f /reseau=
/pkgsrc_distfiles//$bfile ]; then  echo "=3D> FTP didn't fetch expected fil=
e, trying next site." ;  else					 break;				 fi;					 fi						 done;						=
	 if [ ! -f /reseau/pkgsrc_distfiles//$bfile ]; then			 echo "=3D> Couldn't=
 fetch $bfile - please try to retrieve this"; echo "=3D> file manually into=
 /reseau/pkgsrc_distfiles/ and try again.";  exit 1;						 fi;							 fi;		=
				 fi
if [ -f /usr/pkgsrc/net/nmap/distinfo -a \( ! -f /usr/pkg/bin/digest -o 200=
60302 -lt 20010302 \) ]; then  { cd /usr/pkgsrc/pkgtools/digest;			 /usr/bi=
n/make clean;						 if [ -f /usr/pkg/bin/digest ]; then				 /usr/bin/make  =
DIGEST=3D/usr/pkg/bin/digest DIGEST_VERSION=3D20060302 HOST_OSTYPE=3DNetBSD=
-3.0_STABLE-x86_64 LOWER_OPSYS=3Dnetbsd LOWER_OS_VERSION=3D3.0_stable OPSYS=
=3DNetBSD OS_VERSION=3D3.0_STABLE PKGTOOLS_VERSION=3D20051122 _AUTOMATIC=3D=
yes _CC=3D/usr/bin/cc _MAKE=3D/usr/bin/make _PATH_ORIG=3D/bin:/sbin:/usr/bi=
n:/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/bin:/usr/l=
ocal/sbin _PKGSRCDIR=3D/usr/pkgsrc _SRC_TOP_=3D LOWER_OPSYS=3Dnetbsd deinst=
all;			 fi;							 /usr/bin/make  DIGEST=3D/usr/pkg/bin/digest DIGEST_VERSI=
ON=3D20060302 HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 LOWER_OPSYS=3Dnetbsd L=
OWER_OS_VERSION=3D3.0_stable OPSYS=3DNetBSD OS_VERSION=3D3.0_STABLE PKGTOOL=
S_VERSION=3D20051122 _AUTOMATIC=3Dyes _CC=3D/usr/bin/cc _MAKE=3D/usr/bin/ma=
ke _PATH_ORIG=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:/u=
sr/X11R6/bin:/usr/local/bin:/usr/local/sbin _PKGSRCDIR=3D/usr/pkgsrc _SRC_T=
OP_=3D LOWER_OPSYS=3Dnetbsd build;		 if [ -f /usr/pkg/bin/digest ]; then			=
	 /usr/bin/make  DIGEST=3D/usr/pkg/bin/digest DIGEST_VERSION=3D20060302 HOS=
T_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 LOWER_OPSYS=3Dnetbsd LOWER_OS_VERSION=
=3D3.0_stable OPSYS=3DNetBSD OS_VERSION=3D3.0_STABLE PKGTOOLS_VERSION=3D200=
51122 _AUTOMATIC=3Dyes _CC=3D/usr/bin/cc _MAKE=3D/usr/bin/make _PATH_ORIG=
=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:=
/usr/local/bin:/usr/local/sbin _PKGSRCDIR=3D/usr/pkgsrc _SRC_TOP_=3D LOWER_=
OPSYS=3Dnetbsd deinstall;			 fi;							 /usr/bin/make  DIGEST=3D/usr/pkg/bi=
n/digest DIGEST_VERSION=3D20060302 HOST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 L=
OWER_OPSYS=3Dnetbsd LOWER_OS_VERSION=3D3.0_stable OPSYS=3DNetBSD OS_VERSION=
=3D3.0_STABLE PKGTOOLS_VERSION=3D20051122 _AUTOMATIC=3Dyes _CC=3D/usr/bin/c=
c _MAKE=3D/usr/bin/make _PATH_ORIG=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg=
/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin _PKGSRCDIR=
=3D/usr/pkgsrc _SRC_TOP_=3D LOWER_OPSYS=3Dnetbsd reinstall;			 /usr/bin/mak=
e  DIGEST=3D/usr/pkg/bin/digest DIGEST_VERSION=3D20060302 HOST_OSTYPE=3DNet=
BSD-3.0_STABLE-x86_64 LOWER_OPSYS=3Dnetbsd LOWER_OS_VERSION=3D3.0_stable OP=
SYS=3DNetBSD OS_VERSION=3D3.0_STABLE PKGTOOLS_VERSION=3D20051122 _AUTOMATIC=
=3Dyes _CC=3D/usr/bin/cc _MAKE=3D/usr/bin/make _PATH_ORIG=3D/bin:/sbin:/usr=
/bin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/bin:/us=
r/local/sbin _PKGSRCDIR=3D/usr/pkgsrc _SRC_TOP_=3D LOWER_OPSYS=3Dnetbsd cle=
an; } 				 fi
if [ ! -f /usr/pkgsrc/net/nmap/distinfo ]; then				 echo "=3D> No checksum =
file.";			 else								 (cd /reseau/pkgsrc_distfiles; OK=3D"true"; missing=
=3D""; 			 for file in "" nmap-4.11.tar.bz2 ; do			 if [ "X$file" =3D X"" ]=
; then continue; fi; 	 filesummed=3Dfalse;				 for a in SHA1 RMD160; do		 C=
KSUM2=3D`/usr/bin/awk 'NF =3D=3D 4 && $1 =3D=3D "'$a'" && $2 =3D=3D "('$fil=
e')" && $3 =3D=3D "=3D" {print $4; exit}' /usr/pkgsrc/net/nmap/distinfo`;  =
case "${CKSUM2}" in			 "")	echo "=3D> No $a checksum recorded for $file."; =
 ;;				 *)	filesummed=3Dtrue;		 CKSUM=3D`/usr/pkg/bin/digest $a < $file`;	 =
if [ "$CKSUM2" =3D "IGNORE" ]; then  echo "=3D> Checksum for $file is set t=
o IGNORE in checksum file even though";  echo "   the file is not in the "'=
$'"{IGNOREFILES} list.";  OK=3D"false";		 elif [ "$CKSUM" =3D "$CKSUM2" ]; =
then	 echo "=3D> Checksum $a OK for $file.";  else				 echo "=3D> Checksum =
$a mismatch for $file.";  OK=3D"false";		 fi ;;				 esac;					 done;						 =
case "$filesummed" in				 false)	missing=3D"$missing $file";		 OK=3Dfalse ;=
;				 esac;						 done;							 for file in "" ; do			 if [ "X$file" =3D X""=
 ]; then continue; fi; 	 CKSUM2=3D`/usr/bin/awk 'NF =3D=3D 4 && $3 =3D=3D "=
=3D" && $2 =3D=3D "('$file')"{print $4; exit}' /usr/pkgsrc/net/nmap/distinf=
o`;  if [ "$CKSUM2" =3D "" ]; then			 echo "=3D> No checksum recorded for $=
file, file is in "'$'"{IGNOREFILES} list.";  OK=3D"false";				 elif [ "$CKS=
UM2" !=3D "IGNORE" ]; then		 echo "=3D> Checksum for $file is not set to IG=
NORE in checksum file even though";  echo "   the file is in the "'$'"{IGNO=
REFILES} list.";  OK=3D"false";				 fi;						 done;							 if [ "$OK" !=3D =
"true" ]; then				 case "$missing" in				 "")	;;					 *)	echo "Missing chec=
ksums for $missing";;	 esac;						 echo "Make sure the Makefile and checksu=
m file (/usr/pkgsrc/net/nmap/distinfo)";  echo "are up to date.  If you wan=
t to override this check, type";  echo "\"/usr/bin/make NO_CHECKSUM=3Dyes [=
other args]\".";  exit 1;						 fi) ;							 fi
=3D> Checksum SHA1 OK for nmap-4.11.tar.bz2.
=3D> Checksum RMD160 OK for nmap-4.11.tar.bz2.
=3D=3D=3D> Installing dependencies for nmap-4.11
set -e;				 set -- dummy `/bin/cat /usr/pkgsrc/net/nmap/work/.depends`; shi=
ft;			 while test $# -gt 0; do					 type=3D"$1"; pattern=3D"$2"; dir=3D"$3"=
; shift 3;		 pkg=3D`/usr/bin/env  /usr/sbin/pkg_admin -K /var/db/pkg -b -d =
/var/db/pkg -S lsbest "$pattern" || true`;	 case "$pkg" in						 "")							=
 echo "=3D>" "Required installed package $pattern: NOT found";  target=3Dre=
install;			 echo "=3D>" "Verifying $target for $dir";	 if test ! -d "$dir";=
 then			 echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`$dir'' does not=
 exist.";  exit 1;					 fi;						 cd $dir;					 /usr/bin/env _PKGSRC_DEPS=
=3D", nmap-4.11, nessus-plugins-2.2.7, nessus-2.2.7" PKGNAME_REQD=3D"$patte=
rn" /usr/bin/make  DIGEST=3D/usr/pkg/bin/digest DIGEST_VERSION=3D20060302 H=
OST_OSTYPE=3DNetBSD-3.0_STABLE-x86_64 LOWER_OPSYS=3Dnetbsd LOWER_OS_VERSION=
=3D3.0_stable OPSYS=3DNetBSD OS_VERSION=3D3.0_STABLE PKGTOOLS_VERSION=3D200=
51122 _AUTOMATIC=3Dyes _CC=3D/usr/bin/cc _MAKE=3D/usr/bin/make _PATH_ORIG=
=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:=
/usr/local/bin:/usr/local/sbin _PKGSRCDIR=3D/usr/pkgsrc _SRC_TOP_=3D LOWER_=
OPSYS=3Dnetbsd _AUTOMATIC=3Dyes $target;	 pkg=3D`/usr/bin/env  /usr/sbin/pk=
g_admin -K /var/db/pkg -b -d /var/db/pkg -S lsbest "$pattern" || true`;  ca=
se "$pkg" in					 "")	echo 1>&2 "ERROR:" "[depends.mk] A package matching \=
`\`$pattern'' should";  echo 1>&2 "ERROR:" "    be installed, but one canno=
t be found.  Perhaps there is a";  echo 1>&2 "ERROR:" "    stale work direc=
tory for $dir?";  exit 1;					 esac;						 echo "=3D>" "Returning to build =
of nmap-4.11";  ;;						 *)							 objfmt=3D`/usr/bin/env  /usr/sbin/pkg_in=
fo -K /var/db/pkg -Q OBJECT_FMT "$pkg"`;	 case "$objfmt" in				 "")	echo 1>=
&2 "WARNING:" "[depends.mk] Unknown object format for installed package $pk=
g" ;;  ELF)	;;				 *)	echo 1>&2 "ERROR:" "[depends.mk] Installed package $p=
kg has an";  echo 1>&2 "ERROR:" "    object format \`\`$objfmt'' which diff=
ers from \`\`ELF''.  Please";  echo 1>&2 "ERROR:" "    update the $pkg pack=
age to ELF.";  exit 1;					 ;;					 esac;						 echo "=3D>" "Required insta=
lled package $pattern: $pkg found";  ;;						 esac;							 done
=3D> Required installed package libtool-base>=3D1.5.18nb5: libtool-base-1.5=
.22nb3 found
=3D> Required installed package gmake>=3D3.78: gmake-3.81 found
=3D> Required installed package pcre>=3D6.2: NOT found
=3D> Verifying reinstall for ../../devel/pcre

make: stopped in /usr/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/nmap
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/nessus-plugins
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/nessus

--3MwIy2ne0vdjdPXF--