From owner-svn-src-all@freebsd.org Wed Feb 3 18:10:56 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD89DA97D12; Wed, 3 Feb 2016 18:10:55 +0000 (UTC) (envelope-from peter@wemm.org) Received: from smtp2.wemm.org (smtp2.wemm.org [IPv6:2001:470:67:39d::78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C93C0B50; Wed, 3 Feb 2016 18:10:55 +0000 (UTC) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (canning.wemm.org [192.203.228.65]) by smtp2.wemm.org (Postfix) with ESMTP id 654A3A1D; Wed, 3 Feb 2016 10:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1454523055; bh=wOmVAUHGemnQPhu0sMmGJaalVj2Q01wtUIKnI1jQ/xM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WuK6y91+Nk219+y9BIRDjy6HRH00sy3rVCg0Tp+fWok2CV9qX21NAy5LKiS+ziRT6 5/d7OdyrRAb6FO+sfJlRXNlpERu4BhWti/HFiFRcq6eVBIdygugAe9ZTLMMvD1kcDp tOUEC1gpJIjni05ietgH4N/SUTE2gabArmb9ghLo= From: Peter Wemm To: svn-src-head@freebsd.org Cc: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r292206 - in head/contrib/unbound: . compat daemon dns64 dnstap doc iterator libunbound libunbound/python libunbound/python/doc libunbound/python/doc/modules libunbound/python/examples ... Date: Wed, 03 Feb 2016 10:10:51 -0800 Message-ID: <2289655.bjqHNzHbLI@overcee.wemm.org> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-Reply-To: <201512141301.tBED1pnR087993@repo.freebsd.org> References: <201512141301.tBED1pnR087993@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3968233.9TFDir0Csu"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 18:10:56 -0000 --nextPart3968233.9TFDir0Csu Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Monday, December 14, 2015 01:01:51 PM Dag-Erling Sm=F8rgrav wrote: > Author: des > Date: Mon Dec 14 13:01:51 2015 > New Revision: 292206 > URL: https://svnweb.freebsd.org/changeset/base/292206 >=20 > Log: > Upgrade to Unbound 1.5.7. >=20 > Added: > head/contrib/unbound/.gitignore > - copied unchanged from r292133, vendor/unbound/dist/.gitignore > head/contrib/unbound/compat/isblank.c > - copied unchanged from r292133, vendor/unbound/dist/compat/isbl= ank.c > Modified: > head/contrib/unbound/Makefile.in An error was introduced here that breaks some of the support scripts: @@ -107,16 +107,15 @@ fi =20 # create self-signed cert for server =2Dcat >request.cfg < request.cfg +echo "default_bits=3D$BITS\n" >> request.cfg +echo "default_md=3D$HASH\n" >> request.cfg +echo "prompt=3Dno\n" >> request.cfg +echo "distinguished_name=3Dreq_distinguished_name\n" >> request.cfg +echo "\n" >> request.cfg +echo "[req_distinguished_name]\n" >> request.cfg +echo "commonName=3D$SERVERNAME\n" >> request.cfg =20 =2D[req_distinguished_name] =2DcommonName=3D$SERVERNAME =2DEOF test -f request.cfg || error "could not create request.cfg" =20 echo "create $SVR_BASE.pem (self signed certificate)" @@ -125,16 +124,15 @@ openssl x509 -in $SVR_BASE.pem -addtrust serverAuth -out=20 $SVR_BASE"_trust.pem" =20 # create client request and sign it, piped =2Dcat >request.cfg < request.cfg +echo "default_bits=3D$BITS\n" >> request.cfg +echo "default_md=3D$HASH\n" >> request.cfg +echo "prompt=3Dno\n" >> request.cfg +echo "distinguished_name=3Dreq_distinguished_name\n" >> request.cfg +echo "\n" >> request.cfg +echo "[req_distinguished_name]\n" >> request.cfg +echo "commonName=3D$CLIENTNAME" >> request.cfg =20 =2D[req_distinguished_name] =2DcommonName=3D$CLIENTNAME =2DEOF test -f request.cfg || error "could not create request.cfg" =20 echo "create $CTL_BASE.pem (signed client certificate)" Whoever wrote this seems to have confused "echo" with "printf". All th= e=20 trailing "\n" lines cause an openssl error. In the cluster build I had= to=20 remove the "\n" and that was sufficient to bootstrap new instances agai= n. I suspect this error is harmless on bash. Unfortunately our environmen= t=20 cares. =2D-=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI= 6FJV UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246 --nextPart3968233.9TFDir0Csu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJWskKrAAoJEDXWlwnsgJ4ESaQH/iRPiV8qr1kFmEBx3Ys3dnAD UCZ8vDg9piEW6ZRTyVBQ3BmkY5cNBZznRsI9G+TQdzcLFwX3yUCGGOyuWBp1NN9I jrAfJK6S3evyl9VYctnQL+lS6cSrXF3y+VdmNaObP2fcLsdSn/5TsZEQpHlACWGw 5J94KEM07Bcdd+oIScRxsRB9OO5T+8btCloqguT2ZfLMf0ltmjhM0Zn/Bwa32mLx /ltA3yme0nckBLNor9ft3sb2EYe4hQ95DcqocpcSSwQfp0uw5RCvrTBTs24CUos2 vygfRjs1J9OvME4bGtoWTcNj/AGokWQxeD1Fh10yLaCxz/gH+viNvsDQEeJKDmQ= =L5bg -----END PGP SIGNATURE----- --nextPart3968233.9TFDir0Csu--