CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

lang/ghc9.12.4

Compiler for the functional language Haskell

Maintainer
haskell@FreeBSD.org
Packages
ghc 9.12.4
Upstream
Higher version available: 9.14.1
CPE
none, CVEs only via VuXML
WWW
https://www.haskell.org/ghc/
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (591)

Gleb Popov (arrowd)
lang/ghc: Pass CC and CXX to Hadrian to fix build in lang/gcc presence.

PR:		271928
Reported by:	John Hein <jcfyecrayz@liamekaens.com>, Mark Evenson <evenson.not.org@gmail.com>
57bf75dc7f
Gleb Popov (arrowd)
lang/ghc92: Update to 9.2.8
7ef23b4e8c
Gleb Popov (arrowd)
lang/ghc: Mark IGNOREd on i386 and aarch64.
2faa8d42a1
Gleb Popov (arrowd)
lang/ghc: Pick correct Hadrian plan from the slave ports.
8657162e37
Gleb Popov (arrowd)
lang/ghc: Remove GHC 8.10.4 from distinfo.

It isn't used anywhere anymore.
7a5ac06b53
Gleb Popov (arrowd)
lang/ghc: Update to 9.4.5
9ce8282d08
Gleb Popov (arrowd)
lang/ghc92: Create slave port for GHC 9.2.7.
184179517d
Gleb Popov (arrowd)
lang/ghc: Remove USES=localbase and USES=iconv.

Apparently these aren't needed anymore.

Add iconv dependency to devel/stack, because it might download old GHC bindists,
which are still using ports libiconv.
ec3732ac63
Gleb Popov (arrowd)
lang/ghc: Disable Hadrian build on aarch64 too.

It builds successfully but for some reason only builds the vanilla way.

Reported by:	pkg-fallout
364471930d
Gleb Popov (arrowd)
lang/ghc: Try to fix build on aarch64.

Reported by:	pkg-fallout
b304ff4bbe
Gleb Popov (arrowd)
lang/ghc: Starting with GHC 9.2.7 switch to the Hadrian build system.

Hadrian is a new build system for GHC which is written in Haskell and requires
bootstrapping process. Ugh. Luckily, we only prepare a source bootstrap
archive as bootstrap GHC has everything needed to build it.

Hadrian also fails to build GHC on i386 so build it the old way for now.
ddc73a4bb4
Gleb Popov (arrowd)
lang/ghc: Replace GMP_CONFIGURE_WITH with GMP_CONFIGURE_ON.
018274cbc5
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.7
846cead81e
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.6
9e40cf6b87
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.5

MFH:		2022Q4
ba2e106d70
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se)
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Gleb Popov (arrowd)
lang/ghc: Use correct LLVM toolchain for the bootstrap compiler.

PR:		264192
Reported by:	Mark Millard <marklmi26-fbsd@yahoo.com>
3ef9df6fa2
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.4

Deal with Haskell ports fallout caused by the update.

While there, re-add patches necessary for lang/ghc810 that were somehow lost.
90e26bb3b3
Gleb Popov (arrowd)
lang/ghc810: Unbreak check-sanity.
55788dde6f
Tobias C. Berner (tcberner)
lang: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
  *  Anton Shterenlikht
  *  Ashish SHUKLA <ashish@FreeBSD.org>
  *  Bob Eager <bob@eager.cx>
  *  Bruce M Simpson
  *  Bruce M. Simpson
  *  Christoph Mallon <christoph.mallon@gmx.de>
  *  Christopher Elkins <chrise@scardini.com>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Chuck Robey <chuckr@FreeBSD.org>
  *  Cyrille Lefevre <clefevre@citeweb.net>
  *  Dan Rench <citric@cubicone.tmetic.com>
  *  Danilo Egea Gondolfo <danilogondolfo@gmail.com>
  *  Dario Freni <saturnero@gufi.org>
  *  David Kalliecharan <dave@dal.ca>
  *  David Naylor <dbn@FreeBSD.org>
  *  David Naylor <dbn@dragon.local>
  *  David O'Brien (obrien@NUXI.com)
  *  David O'Brien (obrien@NUXI.org)
  *  David O'Brien <obrien@NUXI.org>
  *  David O'Brien <obrien@cs.ucdavis.edu>
  *  Dereckson <dereckson@gmail.com>
  *  Devon H. O'Dell <devon.odell@gmail.com>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Don Croyle <croyle@gelemna.org>
  *  Douglas Anestad <yotta@dougdidit.com>
  *  Edwin Groothuis (edwin@mavetju.org)
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Eugene Ossintsev
  *  Frank Fischer
  *  Frank Gruender <elwood@mc5sys.in-berlin.de>
  *  Frederic Cambus
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Gerald Pfeifer <gerald@FreeBSD.org>
  *  Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
  *  GreenDog <fiziologus@gmail.com>
  *  Gustau Perez i Querol <gustau.perez@gmail.com>
  *  Guy Antony Halse <guy@rucus.ru.za.za>
  *  Herve Quiroz <hq@FreeBSD.org>
  *  Hye-Shik Chang
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Hye-Shik Chang <perky@python.or.kr>
  *  Iblis Lin <iblis@hs.ntnu.edu.tw>
  *  James Bailie <jimmy@mammothcheese.ca>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@FreeBSD.org>
  *  Jeff Brown <jabrown@caida.org>
  *  Jeremy Norris <ishmael27@home.com>
  *  Jing-Tang Keith Jang <keith@FreeBSD.org>
  *  John Hein <jhein@symmetricom.com>
  *  John Marino <marino@FreeBSD.org>
  *  John Merryweather Cooper
  *  John Merryweather Cooper <coop9211@uidaho.edu>
  *  John Merryweather Cooper et al
  *  Joseph Koshy <jkoshy@FreeBSD.org>
  *  Josh Elsasser <jre@vineyard.net>
  *  Josh Gilliam <josh@quick.net>
  *  Julian H. Stacey <jhs@FreeBSD.org>
  *  Julian Stecklina
  *  Jyun-Yan You <jyyou@cs.nctu.edu.tw>
  *  Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com>
  *  Kimura Fuyuki <fuyuki@hadaly.org>
  *  Kimura Fuyuki <fuyuki@mj.0038.net>
  *  Kimura Fuyuki <fuyuki@nigredo.org>
  *  Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Lev Walkin <vlm@lionet.info>
  *  Li-Wen Hsu <lwhsu@FreeBSD.org>
  *  Mahdi Mokhtari <mokhi64@gmail.com>
  *  Marcin Cieslak <saper@SYSTEM.PL>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Matthew Hunt <mph@FreeBSD.org>
  *  Michael Butschky <butsch@computi.erols.com>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Mitsuru YOSHIDA <mitsuru@riken.jp>
  *  Muhammad Moinur Rahman <5u623l20@gmail.com>
  *  Neal Nelson <ports@nicandneal.net>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nils M Holm <nmh@t3x.org>
  *  Oliver Braun <obraun@informatik.unibw-muenchen.de>
  *  Oliver Breuninger <ob@seicom.NET>
  *  Patrick Li <pat@databits.net>
  *  Pawel Worach <pawel.worach@gmail.com>
  *  Pedro F. Giffuni <giffunip@asme.org>
  *  Pedro Giffuni
  *  Pedro Giffuni <giffunip@asme.org>
  *  Pete French <pete@twisted.org.uk>
  *  Peter Schuller <peter.schuller@infidyne.com>
  *  Peter van Heusden <pvh@egenetics.com>
  *  Phillip Neumann <pneumann@gmail.com>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Pontus Stenetorp <ninjin@kth.se>
  *  Ralf S. Engelschall <rse@engelschall.com>
  *  Rick van der Zwet <rick@wzoeterwoude.net>
  *  Rob Zinkov
  *  Roland Jesse <roland.jesse@gmx.net>
  *  Romain Tartiere <romain@blogreen.org>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sahil Tandon <sahil@tandon.net>
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Simon Marlow <simonmar@microsoft.com>
  *  Simun Mikecin <numisemis@yahoo.com>
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Stephen Weeks <sweeks@sweeks.com>
  *  Steven G. Kargl
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sylvio Cesar <sylvio@FreeBSD.org>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Timothy Beyer <beyert@cs.ucr.edu>
  *  Timothy Bourke <timbob@bigpond.com>
  *  Tom Judge <tj@FreeBSD.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vitaly Magerya <vmagerya@gmail.com>
  *  Wen Heping <wenheping@gmail.com>
  *  Wen Heping <wenhping@gmail.com>
  *  Wes Peters <wes@softweyr.com>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yukihiro Nakai <Nakai@technologist.com>
  *  Yukihiro Nakai <nakai@FreeBSD.org>
  *  Zach Garner <zach@neurosoft.org>
  *  aaron@FreeBSD.org
  *  andrewb@cs.cmu.edu
  *  arved
  *  chinsan
  *  chuckr
  *  dd
  *  erik@smluc.org
  *  gahr
  *  gahr@FreeBSD.org
  *  gpalmer
  *  hsu
  *  ijliao
  *  jasone
  *  jkh
  *  jkoshy
  *  jmacd
  *  jmacd@FreeBSD.org
  *  jmz
  *  js@jeannot.org
  *  jseger@FreeBSD.org
  *  kappa@FreeBSD.org.ua
  *  kbyanc
  *  msmith@gsoft.com.au
  *  mutoh@openedu.org
  *  netchild@FreeBSD.org
  *  patrick
  *  pst
  *  rene@FreeBSD.org
  *  ruslan@shevchenko.kiev.ua
  *  stas
  *  tobez

With hat:	portmgr
f98ae56653
Gleb Popov (arrowd)
lang/ghc810: Add the port, slave to lang/ghc.

The need to have different GHC versions installed on the same system became
more common in the Haskell ecosystem. The devel/stack port solves this problem
by installing its own distributions into the user's HOME dir. Cabal doesn't do
that, but uses system-wide GHC installations. This slave port is intended to
help for such use cases.

This port can also be used as a fallback during major lang/ghc upgrades. At
the moment such upgrades require a lot of work to deal with Haskell packages
fallout. By switching failing ports to older GHC we can deliver lang/ghc
updates faster.
a0d234572b
Gleb Popov (arrowd)
lang/ghc: Generate build.mk file from the Makefile variable.

This removes the need to keep build.mk.in in files/ and also allows to get
rid of SUB_FILES.
92d9d50ef6
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.3
de74e5877a
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.2
8709d6be0b
Gleb Popov (arrowd)
lang/ghc: Add RTS linker patch for the external interpreter.
be5f5db250
Gleb Popov (arrowd)
lang/ghc: Add cpuset_t related patch.
2d7aef8d9c
Gleb Popov (arrowd)
lang/ghc: Update to 9.2.1
fcc19be790
Gleb Popov (arrowd)
lang/ghc: Properly dereference a shell variable.

This makes GHC build system to pick up correct LLVM tools during the build on ARM.

PR:		264192
afdc95c40d
Kevin Bowling (kbowling)
devel/libffi: Bump deps PORTREVISION for shlib change

PR:		263764
Reported by:	VVD <vvd@unislabs.com>
db78da8f8b
Gleb Popov (arrowd)
lang/ghc: Add a patch for correctly selecting a LLVM backend.

PR:		261798
MFH:		2022Q1
c7644898c7
Dmitry Marakasov (amdmi3)
lang/ghc: add NO_CCACHE=yes

This fixes the following build error with ccache (probably caused
by CCACHE_DIR not propagated through the build properly):

    [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
    ccache: error: Failed to create directory /nonexistent/.ccache/6/3: Permission denied
    `clang' failed in phase `Assembler'. (Exit code: 1)

Approved by:	portmgr blanket
dc37cfca2d
Gleb Popov (arrowd)
lang/ghc: Update bootstrap compiler to 8.10.7
0c6dace087
Gleb Popov (arrowd)
lang/ghc: Remove unused stuff and make cosmetic changes.
b41e25946a
Gleb Popov (arrowd)
lang/ghc: Remove powerpc64 support.

It was reported as broken by pkubaj.
852fb7f3bc
Jimmy Olgeni (olgeni)
*: fix tab vs. space issues, and comments according to the guide.
4460cf727a
Mikael Urankar (mikael)
lang/ghc: Update arm bootstrap to 8.10.7

Update arm bootstrap to 8.10.7
Pass --host to the configure script otherwise ghc thinks we are crosscompiling (only affects armv6 and armv7)
Remove CONFIGURE_ENV, it is now handled in patch-aclocal.m4 (submitted upstream as https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6599)

Approved by:		arrowd
Differential Revision:	https://reviews.freebsd.org/D32155
c57db8f4de
Rene Ladan (rene)
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
620968a43a
Gleb Popov (arrowd)
lang/ghc: Update to 8.10.7
f5c3589401
Gleb Popov (arrowd)
lang/ghc: Update to 8.10.6
707da9c7da
Gleb Popov (arrowd)
lang/ghc: Fix build with new Sphinx.

PR:		257411
3036f585e6
Mikael Urankar (mikael)
lang/ghc: Fix build on aarch64

BINARY_ALIAS doesn't work anymore.
Pass the correct environment variables in the pre-configure target instead.

PR:		256605
Reported by:	tech-lists@zyxst.net
Approved by:	arrowd (previous version)
e099e7c8c3
Gleb Popov (arrowd)
lang/ghc: Add USES=iconv:patch,translit

We actually need iconv on the "configure" stage, but there is no such option.
The "translit" is here to force using libiconv from Ports.

Fixes:	4cb80ca6ddf3
a98612489c
Gleb Popov (arrowd)
lang/ghc: Workaround build failure on CURRENT.

PR:	256424

Reported by:	Filipe da Silva Santos <contact@shiori.com.br>
9db3b6bbb6
Gleb Popov (arrowd)
lang/ghc: Update to 8.10.5
4cb80ca6dd
Mathieu Arnold (mat)
Mk: Cleanup after moving apply-slist earlier.
85737aec4a
Mathieu Arnold (mat)
all: Remove all other $FreeBSD keywords.
135fdeebb9
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148f48
Danilo G. Baio (dbaio)
lang/ghc: Generate PORTDOCS pkg-plist dynamically

This is the best approach for ports building its documentation with Sphinx in
html and will save time on future Sphinx updates.

Approved by:	portmgr blanket
8744bd011d
Gleb Popov (arrowd)
lang/ghc: Remove unused patches and add some comments on bootstrap generation.
9203750bd4