Re: crash while building libunbound.so on 12-STABLE

2020-05-24 Thread Donald Wilde
On 5/24/20, Donald Wilde  wrote:
> I will, guys, thanks for the pointer. I didn't look hard enough! >8^O
>
Successful. That (contrib) next to the  filter should have been a
bright red flag for me, but I'd forgotten.

Thanks, Beasties!
-- 
Don Wilde

* What is the Internet of Things but a system *
* of systems including humans? *

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: svn commit: r361435 - in stable: 11/contrib/unbound 11/contrib/unbound/.github 11/contrib/unbound/cachedb 11/contrib/unbound/compat 11/contrib/unbound/contrib 11/contrib/unbound/daemon 11/contr

2020-05-24 Thread Cy Schubert
Thanks. The version strings have been updated in HEAD and will be MFCd 
tomorrow.


-- 
Cheers,
Cy Schubert 
FreeBSD UNIX: Web:  https://FreeBSD.org
NTP:   Web:  https://nwtime.org

The need of the many outweighs the greed of the few.


In message , mike tancsa 
write
s:
> Hi,
>
> with this change,  I was expecting the version # to change from the cli,
> but it still shows the old version. Is this expected ?
>
>
> prior to buildworld
>
> # local-unbound -V
> Version 1.9.6
>
> Configure line: --with-ssl=/usr --with-libexpat=/usr --disable-dnscrypt
> --disable-dnstap --enable-ecdsa --disable-event-api --enable-gost
> --with-libevent --disable-subnet --disable-tfo-client
> --disable-tfo-server --with-pthreads--prefix=/usr
> --localstatedir=/var/unbound --mandir=/usr/share/man --build=freebsd
> Linked libs: mini-event internal (it uses select), OpenSSL
> 1.1.1g-freebsd  21 Apr 2020
> Linked modules: dns64 respip validator iterator
>
> BSD licensed, see LICENSE in source package for details.
> Report bugs to unbound-b...@nlnetlabs.nl or
> https://github.com/NLnetLabs/unbound/issues
>
> post buildworld/installworld / reboot
>
> # local-unbound -V
> Version 1.9.6
>
> Configure line: --with-ssl=/usr --with-libexpat=/usr --disable-dnscrypt
> --disable-dnstap --enable-ecdsa --disable-event-api --enable-gost
> --with-libevent --disable-subnet --disable-tfo-client
> --disable-tfo-server --with-pthreads--prefix=/usr
> --localstatedir=/var/unbound --mandir=/usr/share/man --build=freebsd
> Linked libs: mini-event internal (it uses select), OpenSSL
> 1.1.1g-freebsd  21 Apr 2020
> Linked modules: dns64 respip validator iterator
>
> BSD licensed, see LICENSE in source package for details.
> Report bugs to unbound-b...@nlnetlabs.nl or
> https://github.com/NLnetLabs/unbound/issues
>
>
>     ---Mike
>
> On 5/24/2020 12:47 PM, Cy Schubert wrote:
> > Author: cy
> > Date: Sun May 24 16:47:27 2020
> > New Revision: 361435
> > URL: https://svnweb.freebsd.org/changeset/base/361435
> >
> > Log:
> >   MFC r361344: MFV r361322:
> >   
> >   Update unbound 1.9.6 --> 1.10.1.
> >   
> >   Bug Fixes:
> >- CVE-2020-12662 Unbound can be tricked into amplifying an incoming
> >  query into a large number of queries directed to a target.
> >- CVE-2020-12663 Malformed answers from upstream name servers can be
> >  used to make Unbound unresponsive.
> >   
> >   Reported by:  emaste
> >   Relnotes: yes
> >   Security: CVE-2020-12662, CVE-2020-12663
> >
> > Added:
> >   stable/12/contrib/unbound/.github/
> >  - copied from r361344, head/contrib/unbound/.github/
> >   stable/12/contrib/unbound/contrib/drop2rpz
> >  - copied unchanged from r361344, head/contrib/unbound/contrib/drop2rpz
> >   stable/12/contrib/unbound/contrib/unbound_portable.service.in
> >  - copied unchanged from r361344, head/contrib/unbound/contrib/unbound_
> portable.service.in
> >   stable/12/contrib/unbound/contrib/unbound_smf23.tar.gz
> >  - copied unchanged from r361344, head/contrib/unbound/contrib/unbound_
> smf23.tar.gz
> >   stable/12/contrib/unbound/services/rpz.c
> >  - copied unchanged from r361344, head/contrib/unbound/services/rpz.c
> >   stable/12/contrib/unbound/services/rpz.h
> >  - copied unchanged from r361344, head/contrib/unbound/services/rpz.h
> > Deleted:
> >   stable/12/contrib/unbound/contrib/unbound_smf22.tar.gz
> > Modified:
> >   stable/12/contrib/unbound/Makefile.in
> >   stable/12/contrib/unbound/README.md
> >   stable/12/contrib/unbound/aclocal.m4
> >   stable/12/contrib/unbound/cachedb/cachedb.c
> >   stable/12/contrib/unbound/compat/getentropy_solaris.c
> >   stable/12/contrib/unbound/config.guess
> >   stable/12/contrib/unbound/config.h.in
> >   stable/12/contrib/unbound/config.sub
> >   stable/12/contrib/unbound/configure
> >   stable/12/contrib/unbound/configure.ac
> >   stable/12/contrib/unbound/contrib/README
> >   stable/12/contrib/unbound/contrib/fastrpz.patch
> >   stable/12/contrib/unbound/contrib/libunbound.pc.in
> >   stable/12/contrib/unbound/contrib/unbound.service.in
> >   stable/12/contrib/unbound/contrib/unbound_munin_
> >   stable/12/contrib/unbound/daemon/daemon.c
> >   stable/12/contrib/unbound/daemon/daemon.h
> >   stable/12/contrib/unbound/daemon/remote.c
> >   stable/12/contrib/unbound/daemon/stats.c
> >   stable/12/contrib/unbound/daemon/unbound.c
> >   stable/12/contrib/unbound/daemon/worker.c
> >   stable/12/contrib/unbound/doc/Changelog
> >   stable/12/contrib/unbound/doc/README
> >   stable/12/contrib/unbound/doc/example.conf.in
> >   stable/12/contrib/unbound/doc/libunbound.3.in
> >   stable/12/contrib/unbound/doc/unbound-anchor.8.in
> >   stable/12/contrib/unbound/doc/unbound-checkconf.8.in
> >   stable/12/contrib/unbound/doc/unbound-control.8.in
> >   stable/12/contrib/unbound/doc/unbound-host.1.in
> >   stable/12/contrib/unbound/doc/unbound.8.in
> >   stable/12/contrib/unbound/doc/unbound.conf.5.in
> >   

Re: svn commit: r361435 - in stable: 11/contrib/unbound 11/contrib/unbound/.github 11/contrib/unbound/cachedb 11/contrib/unbound/compat 11/contrib/unbound/contrib 11/contrib/unbound/daemon 11/contrib/

2020-05-24 Thread mike tancsa
Hi,

with this change,  I was expecting the version # to change from the cli,
but it still shows the old version. Is this expected ?


prior to buildworld

# local-unbound -V
Version 1.9.6

Configure line: --with-ssl=/usr --with-libexpat=/usr --disable-dnscrypt
--disable-dnstap --enable-ecdsa --disable-event-api --enable-gost
--with-libevent --disable-subnet --disable-tfo-client
--disable-tfo-server --with-pthreads--prefix=/usr
--localstatedir=/var/unbound --mandir=/usr/share/man --build=freebsd
Linked libs: mini-event internal (it uses select), OpenSSL
1.1.1g-freebsd  21 Apr 2020
Linked modules: dns64 respip validator iterator

BSD licensed, see LICENSE in source package for details.
Report bugs to unbound-b...@nlnetlabs.nl or
https://github.com/NLnetLabs/unbound/issues

post buildworld/installworld / reboot

# local-unbound -V
Version 1.9.6

Configure line: --with-ssl=/usr --with-libexpat=/usr --disable-dnscrypt
--disable-dnstap --enable-ecdsa --disable-event-api --enable-gost
--with-libevent --disable-subnet --disable-tfo-client
--disable-tfo-server --with-pthreads--prefix=/usr
--localstatedir=/var/unbound --mandir=/usr/share/man --build=freebsd
Linked libs: mini-event internal (it uses select), OpenSSL
1.1.1g-freebsd  21 Apr 2020
Linked modules: dns64 respip validator iterator

BSD licensed, see LICENSE in source package for details.
Report bugs to unbound-b...@nlnetlabs.nl or
https://github.com/NLnetLabs/unbound/issues


    ---Mike

On 5/24/2020 12:47 PM, Cy Schubert wrote:
> Author: cy
> Date: Sun May 24 16:47:27 2020
> New Revision: 361435
> URL: https://svnweb.freebsd.org/changeset/base/361435
>
> Log:
>   MFC r361344: MFV r361322:
>   
>   Update unbound 1.9.6 --> 1.10.1.
>   
>   Bug Fixes:
>- CVE-2020-12662 Unbound can be tricked into amplifying an incoming
>  query into a large number of queries directed to a target.
>- CVE-2020-12663 Malformed answers from upstream name servers can be
>  used to make Unbound unresponsive.
>   
>   Reported by:emaste
>   Relnotes:   yes
>   Security:   CVE-2020-12662, CVE-2020-12663
>
> Added:
>   stable/12/contrib/unbound/.github/
>  - copied from r361344, head/contrib/unbound/.github/
>   stable/12/contrib/unbound/contrib/drop2rpz
>  - copied unchanged from r361344, head/contrib/unbound/contrib/drop2rpz
>   stable/12/contrib/unbound/contrib/unbound_portable.service.in
>  - copied unchanged from r361344, 
> head/contrib/unbound/contrib/unbound_portable.service.in
>   stable/12/contrib/unbound/contrib/unbound_smf23.tar.gz
>  - copied unchanged from r361344, 
> head/contrib/unbound/contrib/unbound_smf23.tar.gz
>   stable/12/contrib/unbound/services/rpz.c
>  - copied unchanged from r361344, head/contrib/unbound/services/rpz.c
>   stable/12/contrib/unbound/services/rpz.h
>  - copied unchanged from r361344, head/contrib/unbound/services/rpz.h
> Deleted:
>   stable/12/contrib/unbound/contrib/unbound_smf22.tar.gz
> Modified:
>   stable/12/contrib/unbound/Makefile.in
>   stable/12/contrib/unbound/README.md
>   stable/12/contrib/unbound/aclocal.m4
>   stable/12/contrib/unbound/cachedb/cachedb.c
>   stable/12/contrib/unbound/compat/getentropy_solaris.c
>   stable/12/contrib/unbound/config.guess
>   stable/12/contrib/unbound/config.h.in
>   stable/12/contrib/unbound/config.sub
>   stable/12/contrib/unbound/configure
>   stable/12/contrib/unbound/configure.ac
>   stable/12/contrib/unbound/contrib/README
>   stable/12/contrib/unbound/contrib/fastrpz.patch
>   stable/12/contrib/unbound/contrib/libunbound.pc.in
>   stable/12/contrib/unbound/contrib/unbound.service.in
>   stable/12/contrib/unbound/contrib/unbound_munin_
>   stable/12/contrib/unbound/daemon/daemon.c
>   stable/12/contrib/unbound/daemon/daemon.h
>   stable/12/contrib/unbound/daemon/remote.c
>   stable/12/contrib/unbound/daemon/stats.c
>   stable/12/contrib/unbound/daemon/unbound.c
>   stable/12/contrib/unbound/daemon/worker.c
>   stable/12/contrib/unbound/doc/Changelog
>   stable/12/contrib/unbound/doc/README
>   stable/12/contrib/unbound/doc/example.conf.in
>   stable/12/contrib/unbound/doc/libunbound.3.in
>   stable/12/contrib/unbound/doc/unbound-anchor.8.in
>   stable/12/contrib/unbound/doc/unbound-checkconf.8.in
>   stable/12/contrib/unbound/doc/unbound-control.8.in
>   stable/12/contrib/unbound/doc/unbound-host.1.in
>   stable/12/contrib/unbound/doc/unbound.8.in
>   stable/12/contrib/unbound/doc/unbound.conf.5.in
>   stable/12/contrib/unbound/edns-subnet/subnetmod.c
>   stable/12/contrib/unbound/install-sh
>   stable/12/contrib/unbound/iterator/iter_delegpt.c
>   stable/12/contrib/unbound/iterator/iter_delegpt.h
>   stable/12/contrib/unbound/iterator/iter_scrub.c
>   stable/12/contrib/unbound/iterator/iter_utils.c
>   stable/12/contrib/unbound/iterator/iterator.c
>   stable/12/contrib/unbound/iterator/iterator.h
>   stable/12/contrib/unbound/libunbound/context.c
>   stable/12/contrib/unbound/libunbound/libworker.c
>   

Re: crash while building libunbound.so on 12-STABLE

2020-05-24 Thread Donald Wilde
I will, guys, thanks for the pointer. I didn't look hard enough! >8^O

-- 
Don Wilde

* What is the Internet of Things but a system *
* of systems including humans? *

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: crash while building libunbound.so on 12-STABLE

2020-05-24 Thread Dimitry Andric
On 24 May 2020, at 12:17, Donald Wilde  wrote:
> 
> Let's see if I can report this adequately enough. The macro-task I am
> attempting to accomplish is to update my (English) FreeBSD Handbook to
> 12-STABLE from the ports collection asextracted 2020-05-23.
> 
> The actual failure in creating libunbound.so is that the command to
> compile iterator.c is short one argument. This occurs while trying to
> compile ghostscript9.
> 
> MAKE_JOBS_UNSAFE=yes
...
> ./iterator/iterator.c:2159:47: error: too few arguments to function call, 
> expected 12, have 11
> INIT_REQUEST_STATE, FINISHED_STATE, , 1)) {
> ^
> ./iterator/iterator.c:679:1: note: 'generate_sub_request' declared here
> static int
> ^
> 1 error generated.

It looks like this error has already been reported here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246648

and here:

https://github.com/NLnetLabs/unbound/issues/239

There is a patch in the upstream ticket, maybe you can try that.

-Dimitry



signature.asc
Description: Message signed with OpenPGP


Re: [REVISED] FreeBSD 11.4-RC1 Now Available

2020-05-24 Thread ltning-freebsd-stable
On 5/22/20 11:52 PM, Glen Barber wrote:
>  list of changes since 11.3-RELEASE is available in the releng/11.4
> release notes:
> 
> https://www.freebsd.org/releases/11.4R/relnotes.html
> 
> Please note, the release notes page is not yet complete, and will be
> updated on an ongoing basis as the 11.4-RELEASE cycle progresses.

How about "the release notes page is not yet available"? That URL gives a 404 :)

/Eirik
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


crash while building libunbound.so on 12-STABLE

2020-05-24 Thread Donald Wilde
Hello, all -

Let's see if I can report this adequately enough. The macro-task I am
attempting to accomplish is to update my (English) FreeBSD Handbook to
12-STABLE from the ports collection asextracted 2020-05-23.

The actual failure in creating libunbound.so is that the command to
compile iterator.c is short one argument. This occurs while trying to
compile ghostscript9.

MAKE_JOBS_UNSAFE=yes

-- 
Don Wilde

* What is the Internet of Things but a system *
* of systems including humans? *

--- stage ---
--- check-license ---
===>  License BSD3CLAUSE accepted by the user
--- pkg-depends ---
===>   unbound-1.10.1 depends on file: /usr/local/sbin/pkg - found
--- do-fetch ---
--- fetch-specials ---
===> Fetching all distfiles required by unbound-1.10.1 for building
--- extract-message ---
===>  Extracting for unbound-1.10.1
--- checksum ---
=> SHA256 Checksum OK for unbound-1.10.1.tar.gz.
--- clean-wrkdir ---
--- /usr/ports/dns/unbound/work ---
--- do-extract ---
--- extract-fixup-modes ---
--- /usr/ports/dns/unbound/work/.extract_done.unbound._usr_local ---
--- /usr/ports/dns/unbound/work/.license_done.unbound._usr_local ---
--- patch-message ---
===>  Patching for unbound-1.10.1
--- do-patch ---
--- post-patch ---
--- post-patch-FILTER_-on ---
/bin/cat 
/usr/ports/dns/unbound/work/unbound-1.10.1/contrib/-filter-iterator.patch | 
/usr/bin/patch -d /usr/ports/dns/unbound/work/unbound-1.10.1 -p1 -s
--- /usr/ports/dns/unbound/work/.patch_done.unbound._usr_local ---
--- build-depends ---
===>   unbound-1.10.1 depends on executable: swig3.0 - found
===>   unbound-1.10.1 depends on package: pkgconf>=1.3.0_1 - found
===>   unbound-1.10.1 depends on file: /usr/local/bin/python3.7 - found
===>   unbound-1.10.1 depends on package: autoconf>=2.69 - found
===>   unbound-1.10.1 depends on package: automake>=1.16.1 - found
===>   unbound-1.10.1 depends on executable: libtoolize - found
--- lib-depends ---
===>   unbound-1.10.1 depends on shared library: libexpat.so - found 
(/usr/local/lib/libexpat.so)
===>   unbound-1.10.1 depends on shared library: libsodium.so - found 
(/usr/local/lib/libsodium.so)
===>   unbound-1.10.1 depends on shared library: libhiredis.so - found 
(/usr/local/lib/libhiredis.so)
===>   unbound-1.10.1 depends on shared library: libevent.so - found 
(/usr/local/lib/libevent.so)
--- configure-message ---
===>  Configuring for unbound-1.10.1
--- do-autoreconf ---
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
--- patch-libtool ---
--- run-autotools-fixup ---
--- do-configure ---
configure: loading site script /usr/ports/Templates/config.site
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for an ANSI C-conforming const... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking cc dependency flag... -MM
checking whether cc supports -Werror... yes
checking whether cc supports -Wall... yes
checking whether cc supports -std=c99... yes
checking whether cc supports -xc99... no
checking for getopt.h... (cached) yes
checking for time.h... (cached) yes
checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE 
-D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for cc... failed
checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE 
-D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as 
a flag for cc... failed
checking