Message ID | YdNgg/FI6LdYmDJ5@humpty.home.comstyle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | FreeBSD: Upgrade to 12.3 release | expand |
On 3/1/22 21:45, Brad Smith wrote: > FreeBSD: Upgrade to 12.3 release Maybe some mention like: ''' Note, since libasn1 got fixed in 12.3 [*], this commit re-enables GNUTLS. [*] https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 ''' > Signed-off-by: Brad Smith <brad@comstyle.com> > Tested-by: Thomas Huth <thuth@redhat.com> > --- > .gitlab-ci.d/cirrus.yml | 5 +---- > tests/vm/freebsd | 8 +++----- > 2 files changed, 4 insertions(+), 9 deletions(-) > > diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml > index d273a9e713..18ded37c77 100644 > --- a/.gitlab-ci.d/cirrus.yml > +++ b/.gitlab-ci.d/cirrus.yml > @@ -52,14 +52,11 @@ x64-freebsd-12-build: > NAME: freebsd-12 > CIRRUS_VM_INSTANCE_TYPE: freebsd_instance > CIRRUS_VM_IMAGE_SELECTOR: image_family > - CIRRUS_VM_IMAGE_NAME: freebsd-12-2 > + CIRRUS_VM_IMAGE_NAME: freebsd-12-3 > CIRRUS_VM_CPUS: 8 > CIRRUS_VM_RAM: 8G > UPDATE_COMMAND: pkg update > INSTALL_COMMAND: pkg install -y > - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed > - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > - CONFIGURE_ARGS: --disable-gnutls > TEST_TARGETS: check > > x64-freebsd-13-build: > diff --git a/tests/vm/freebsd b/tests/vm/freebsd > index 6e20e84322..805db759d6 100755 > --- a/tests/vm/freebsd > +++ b/tests/vm/freebsd > @@ -28,8 +28,8 @@ class FreeBSDVM(basevm.BaseVM): > name = "freebsd" > arch = "x86_64" > https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > - link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.2/FreeBSD-12.2-RELEASE-amd64-disc1.iso.xz" > - csum = "a4530246cafbf1dd42a9bd3ea441ca9a78a6a0cd070278cbdf63f3a6f803ecae" > + link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.3/FreeBSD-12.3-RELEASE-amd64-disc1.iso.xz" > + csum = "36dd0de50f1fe5f0a88e181e94657656de26fb64254412f74e80e128e8b938b4" > size = "20G" > pkgs = [ > # build tools > @@ -65,8 +65,6 @@ class FreeBSDVM(basevm.BaseVM): > "zstd", > ] > > - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed > - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > BUILD_SCRIPT = """ > set -e; > rm -rf /home/qemu/qemu-test.* > @@ -74,7 +72,7 @@ class FreeBSDVM(basevm.BaseVM): > mkdir src build; cd src; > tar -xf /dev/vtbd1; > cd ../build > - ../src/configure --python=python3.7 --disable-gnutls {configure_opts}; > + ../src/configure --python=python3.7 {configure_opts}; > gmake --output-sync -j{jobs} {target} {verbose}; > """ >
On Mon, Jan 3, 2022 at 1:47 PM Brad Smith <brad@comstyle.com> wrote: > FreeBSD: Upgrade to 12.3 release > > Signed-off-by: Brad Smith <brad@comstyle.com> > Tested-by: Thomas Huth <thuth@redhat.com> > --- > .gitlab-ci.d/cirrus.yml | 5 +---- > tests/vm/freebsd | 8 +++----- > 2 files changed, 4 insertions(+), 9 deletions(-) > Reviewed-by: Warner Losh <imp@bsdimp.com> > diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml > index d273a9e713..18ded37c77 100644 > --- a/.gitlab-ci.d/cirrus.yml > +++ b/.gitlab-ci.d/cirrus.yml > @@ -52,14 +52,11 @@ x64-freebsd-12-build: > NAME: freebsd-12 > CIRRUS_VM_INSTANCE_TYPE: freebsd_instance > CIRRUS_VM_IMAGE_SELECTOR: image_family > - CIRRUS_VM_IMAGE_NAME: freebsd-12-2 > + CIRRUS_VM_IMAGE_NAME: freebsd-12-3 > CIRRUS_VM_CPUS: 8 > CIRRUS_VM_RAM: 8G > UPDATE_COMMAND: pkg update > INSTALL_COMMAND: pkg install -y > - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed > - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > - CONFIGURE_ARGS: --disable-gnutls > TEST_TARGETS: check > > x64-freebsd-13-build: > diff --git a/tests/vm/freebsd b/tests/vm/freebsd > index 6e20e84322..805db759d6 100755 > --- a/tests/vm/freebsd > +++ b/tests/vm/freebsd > @@ -28,8 +28,8 @@ class FreeBSDVM(basevm.BaseVM): > name = "freebsd" > arch = "x86_64" > > - link = " > https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.2/FreeBSD-12.2-RELEASE-amd64-disc1.iso.xz > " > - csum = > "a4530246cafbf1dd42a9bd3ea441ca9a78a6a0cd070278cbdf63f3a6f803ecae" > + link = " > https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.3/FreeBSD-12.3-RELEASE-amd64-disc1.iso.xz > " > + csum = > "36dd0de50f1fe5f0a88e181e94657656de26fb64254412f74e80e128e8b938b4" > size = "20G" > pkgs = [ > # build tools > @@ -65,8 +65,6 @@ class FreeBSDVM(basevm.BaseVM): > "zstd", > ] > > - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed > - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > BUILD_SCRIPT = """ > set -e; > rm -rf /home/qemu/qemu-test.* > @@ -74,7 +72,7 @@ class FreeBSDVM(basevm.BaseVM): > mkdir src build; cd src; > tar -xf /dev/vtbd1; > cd ../build > - ../src/configure --python=python3.7 --disable-gnutls > {configure_opts}; > + ../src/configure --python=python3.7 {configure_opts}; > gmake --output-sync -j{jobs} {target} {verbose}; > """ > > -- > 2.34.1 > > >
On Mon, Jan 3, 2022 at 1:57 PM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > On 3/1/22 21:45, Brad Smith wrote: > > FreeBSD: Upgrade to 12.3 release > > Maybe some mention like: > > ''' > Note, since libasn1 got fixed in 12.3 [*], this commit re-enables GNUTLS. > > [*] > https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > ''' > Agreed. > > Signed-off-by: Brad Smith <brad@comstyle.com> > > Tested-by: Thomas Huth <thuth@redhat.com> > > --- > > .gitlab-ci.d/cirrus.yml | 5 +---- > > tests/vm/freebsd | 8 +++----- > > 2 files changed, 4 insertions(+), 9 deletions(-) > > > > diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml > > index d273a9e713..18ded37c77 100644 > > --- a/.gitlab-ci.d/cirrus.yml > > +++ b/.gitlab-ci.d/cirrus.yml > > @@ -52,14 +52,11 @@ x64-freebsd-12-build: > > NAME: freebsd-12 > > CIRRUS_VM_INSTANCE_TYPE: freebsd_instance > > CIRRUS_VM_IMAGE_SELECTOR: image_family > > - CIRRUS_VM_IMAGE_NAME: freebsd-12-2 > > + CIRRUS_VM_IMAGE_NAME: freebsd-12-3 > > CIRRUS_VM_CPUS: 8 > > CIRRUS_VM_RAM: 8G > > UPDATE_COMMAND: pkg update > > INSTALL_COMMAND: pkg install -y > > - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed > > - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > > - CONFIGURE_ARGS: --disable-gnutls > > TEST_TARGETS: check > > > > x64-freebsd-13-build: > > diff --git a/tests/vm/freebsd b/tests/vm/freebsd > > index 6e20e84322..805db759d6 100755 > > --- a/tests/vm/freebsd > > +++ b/tests/vm/freebsd > > @@ -28,8 +28,8 @@ class FreeBSDVM(basevm.BaseVM): > > name = "freebsd" > > arch = "x86_64" > > https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > > - link = " > https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.2/FreeBSD-12.2-RELEASE-amd64-disc1.iso.xz > " > > - csum = > "a4530246cafbf1dd42a9bd3ea441ca9a78a6a0cd070278cbdf63f3a6f803ecae" > > + link = " > https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.3/FreeBSD-12.3-RELEASE-amd64-disc1.iso.xz > " > > + csum = > "36dd0de50f1fe5f0a88e181e94657656de26fb64254412f74e80e128e8b938b4" > > size = "20G" > > pkgs = [ > > # build tools > > @@ -65,8 +65,6 @@ class FreeBSDVM(basevm.BaseVM): > > "zstd", > > ] > > > > - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed > > - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 > > BUILD_SCRIPT = """ > > set -e; > > rm -rf /home/qemu/qemu-test.* > > @@ -74,7 +72,7 @@ class FreeBSDVM(basevm.BaseVM): > > mkdir src build; cd src; > > tar -xf /dev/vtbd1; > > cd ../build > > - ../src/configure --python=python3.7 --disable-gnutls > {configure_opts}; > > + ../src/configure --python=python3.7 {configure_opts}; > > gmake --output-sync -j{jobs} {target} {verbose}; > > """ > > > > >
diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml index d273a9e713..18ded37c77 100644 --- a/.gitlab-ci.d/cirrus.yml +++ b/.gitlab-ci.d/cirrus.yml @@ -52,14 +52,11 @@ x64-freebsd-12-build: NAME: freebsd-12 CIRRUS_VM_INSTANCE_TYPE: freebsd_instance CIRRUS_VM_IMAGE_SELECTOR: image_family - CIRRUS_VM_IMAGE_NAME: freebsd-12-2 + CIRRUS_VM_IMAGE_NAME: freebsd-12-3 CIRRUS_VM_CPUS: 8 CIRRUS_VM_RAM: 8G UPDATE_COMMAND: pkg update INSTALL_COMMAND: pkg install -y - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 - CONFIGURE_ARGS: --disable-gnutls TEST_TARGETS: check x64-freebsd-13-build: diff --git a/tests/vm/freebsd b/tests/vm/freebsd index 6e20e84322..805db759d6 100755 --- a/tests/vm/freebsd +++ b/tests/vm/freebsd @@ -28,8 +28,8 @@ class FreeBSDVM(basevm.BaseVM): name = "freebsd" arch = "x86_64" - link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.2/FreeBSD-12.2-RELEASE-amd64-disc1.iso.xz" - csum = "a4530246cafbf1dd42a9bd3ea441ca9a78a6a0cd070278cbdf63f3a6f803ecae" + link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.3/FreeBSD-12.3-RELEASE-amd64-disc1.iso.xz" + csum = "36dd0de50f1fe5f0a88e181e94657656de26fb64254412f74e80e128e8b938b4" size = "20G" pkgs = [ # build tools @@ -65,8 +65,6 @@ class FreeBSDVM(basevm.BaseVM): "zstd", ] - # TODO: Enable gnutls again once FreeBSD's libtasn1 got fixed - # See: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 BUILD_SCRIPT = """ set -e; rm -rf /home/qemu/qemu-test.* @@ -74,7 +72,7 @@ class FreeBSDVM(basevm.BaseVM): mkdir src build; cd src; tar -xf /dev/vtbd1; cd ../build - ../src/configure --python=python3.7 --disable-gnutls {configure_opts}; + ../src/configure --python=python3.7 {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """