Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 2016 10:19:41 -0800
From:      Peter Wemm <peter@wemm.org>
To:        svn-src-all@freebsd.org
Cc:        svn-src-head@freebsd.org, src-committers@freebsd.org, Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= <des@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 ...
Message-ID:  <4187957.tkjBAhizh6@overcee.wemm.org>
In-Reply-To: <2289655.bjqHNzHbLI@overcee.wemm.org>
References:  <201512141301.tBED1pnR087993@repo.freebsd.org> <2289655.bjqHNzHbLI@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nextPart2063477.egdlyyyUCA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday, February 03, 2016 10:10:51 AM Peter Wemm wrote:
> 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
> >  =20
> >      - copied unchanged from r292133, vendor/unbound/dist/.gitignor=
e
> >  =20
> >   head/contrib/unbound/compat/isblank.c
> >  =20
> >      - copied unchanged from r292133, vendor/unbound/dist/compat/is=
blank.c
> >=20
> > Modified:
> >   head/contrib/unbound/Makefile.in
>=20
> An error was introduced here that breaks some of the support scripts:=

>=20
> @@ -107,16 +107,15 @@
>  fi
>=20
>  # create self-signed cert for server
> -cat >request.cfg <<EOF
> -[req]
> -default_bits=3D$BITS
> -default_md=3D$HASH
> -prompt=3Dno
> -distinguished_name=3Dreq_distinguished_name
> +echo "[req]\n" > 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
> -[req_distinguished_name]
> -commonName=3D$SERVERNAME
> -EOF
>  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
> $SVR_BASE"_trust.pem"
>=20
>  # create client request and sign it, piped
> -cat >request.cfg <<EOF
> -[req]
> -default_bits=3D$BITS
> -default_md=3D$HASH
> -prompt=3Dno
> -distinguished_name=3Dreq_distinguished_name
> +echo "[req]\n" > 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
> -[req_distinguished_name]
> -commonName=3D$CLIENTNAME
> -EOF
>  test -f request.cfg || error "could not create request.cfg"
>=20
>  echo "create $CTL_BASE.pem (signed client certificate)"
>=20
> Whoever wrote this seems to have confused "echo" with "printf".  All =
the
> trailing "\n" lines cause an openssl error.  In the cluster build I h=
ad to
> remove the "\n" and that was sufficient to bootstrap new instances ag=
ain.

Filed as https://bugs.freebsd.org/206887
=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
--nextPart2063477.egdlyyyUCA
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

iQEcBAABCAAGBQJWskS9AAoJEDXWlwnsgJ4EyakH/itQjRhzCQOc9XYzWJBkjCXk
OkXwbogkkNPbbVftphkyCqf8lbpZRaQRR9xfUngcBU1KQpbxfcpofaMsmTmWxDAP
mH9hjHt2+KZOtRDhuj/reCTkQSUylpU44ugKGILHui+lz0N4iNOPuv+E/RxQi3y7
y9R7fIKpu/pjTfVvyEhxUCqG670HxCf/WCSPtnK0JhZyGvB66n2/cOy38KWGPDt3
yl4cBw6jOxvYY6ggNqSsqCbmu5njywVf5Abxjl4iDMRdHexHjUmfGZCu6lE020bg
s0LKtMRGS3ixc9Wg6/588yQtoqqk6/MIh1EnI49iWEiPg57lK9jgsmKjPrRlWq8=
=/pe/
-----END PGP SIGNATURE-----

--nextPart2063477.egdlyyyUCA--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4187957.tkjBAhizh6>