Commit Graph

65 Commits

Author SHA1 Message Date
Ruslan Makhmatkhanov
3f08599581 lang/go* ports: do not package back files
All the go ports installing *.bak files left after sed calls in
ports Makefile. Tweak sed calls to not create them in first place
and bump PORTREVISION to reflect package change.

PR:		280176
Approved by:	go (maintainer timeout)
2024-08-18 17:43:54 +03:00
Gleb Popov
71cdbc6f78 lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE. 2024-03-02 16:07:22 +03:00
Ashish SHUKLA
ccd8e6b897 lang/go*: Update to Go 1.22 snapshot
- Add overridable BUILD_DEPENDS on shells/bash, but only for Go 1.22+
- Since lang/go121 also depends on it, allow SHEBANG_FILES to be
  overridden
- Re-roll the patch
- Update lang/go120 to co-exist with lang/go-devel update
- Update lang/go121 to co-exist with lang/go-devel update

PR:		277091
2024-02-20 21:05:05 +00:00
Muhammad Moinur Rahman
bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Dmitri Goutnik
c5ee3ed478 lang/go-devel: Update tp 1.21 2023-08-12 06:39:19 -05:00
Dmitri Goutnik
dee235a109 lang/go-devel: Update to 1.21rc4
Changes:	https://tip.golang.org/doc/go1.21
2023-08-04 10:22:04 -05:00
Dmitri Goutnik
ac549a1c65 lang/go-devel: Update to go1.20, add riscv64 support
Also update bootstrap to the latest go1.20 release, which adds support
for freebsd/riscv64.
2023-02-02 08:47:29 -05:00
Dmitri Goutnik
1e2f60d438 lang/go-devel: Update to go1.20rc3
Changes:	https://tip.golang.org/doc/go1.20
2023-01-15 10:18:29 -05:00
Dmitri Goutnik
844c479daf lang/go-devel: Update to go1.20rc2
While here, make sure installed binaries are stripped.

Changes:	https://tip.golang.org/doc/go1.20
2023-01-05 07:32:57 -05:00
Dmitri Goutnik
ac4d327f05 lang/go-devel: Update to go1.20rc1
Changes:	https://tip.golang.org/doc/go1.20
2022-12-11 07:00:45 -05:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 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)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 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)
2022-09-07 23:10:59 +02:00
Dmitri Goutnik
7ff1d0fd0a lang/go-devel: Update to 1.19
Release notes:	https://go.dev/doc/go1.19
2022-08-02 13:19:22 -05:00
Tobias C. Berner
f98ae56653 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
2022-07-20 16:22:15 +02:00
Dmitri Goutnik
6ea1aaa47a lang/go-devel: Update to go1.19rc2
Changes:	https://tip.golang.org/doc/go1.19
2022-07-14 07:39:44 -05:00
Dmitri Goutnik
69d8cd0cd0 lang/go{-devel,118}: Add GOAMD64 knobs
Add amd64 microarchitecture level knobs for the Go compiler. Note that
this will affect only the compiler itself, port users will still need to
set GOAMD64 in the environment to adjust the microarchitecture of the
compiled code [1, 2].

Set default to the baseline level for the maximum backward
compatibility.

GOAMD64=v1 (default): The baseline. Exclusively generates instructions
            that all 64-bit x86 processors can execute.
GOAMD64=v2: all v1 instructions, plus CMPXCHG16B, LAHF, SAHF, POPCNT,
            SSE3, SSE4.1, SSE4.2, SSSE3.
GOAMD64=v3: all v2 instructions, plus AVX, AVX2, BMI1, BMI2, F16C, FMA,
            LZCNT, MOVBE, OSXSAVE.
GOAMD64=v4: all v3 instructions, plus AVX512F, AVX512BW, AVX512CD,
            AVX512DQ, AVX512VL.

[1] https://github.com/golang/go/wiki/MinimumRequirements#microarchitecture-support
[2] https://tip.golang.org/doc/go1.18#amd64
2022-07-08 14:53:00 -05:00
Dmitri Goutnik
4f8ef2cdbe lang/go-devel: Update to go1.19rc1
Changes:	https://tip.golang.org/doc/go1.19
2022-07-07 07:27:14 -05:00
Dmitri Goutnik
af2d79551a lang/go-devel: Update to go1.19beta1
Changes:	https://tip.golang.org/doc/go1.19
2022-06-11 17:43:28 -05:00
Dmitri Goutnik
a3ead31804 */*: Pass lang/go* and Mk/Uses/go.mk maintainership
Pass maintainership to the new Go team.

Approved by:	ygy (maintainer, by email)
2022-06-06 13:27:20 -05:00
Dmitri Goutnik
3012ca2179 */*: Introduce versioned Go ports
- Mk/Uses/go.mk: add support for selecting Go port version in USES=go;
- Mk/bsd.default-versions.mk: add GO_DEFAULT;
- convert lang/go-devel to the master and lang/go{117,118} to slave
  ports;
- add lang/go meta-port that provides go and gofmt symlinks to the
  current default version.

PR:		264336
Reviewed by:	ygy jwb yuri mikael drtr0jan@yandex.ru decke mat
Differential Revision:	https://reviews.freebsd.org/D35346
2022-06-06 13:19:10 -05:00
Dmitri Goutnik
ef05a2efcf lang/{go,go117,go-devel}: Update bootstrap to go1.17.9
Switch to the newer go1.17.9 bootstrap with backported CL346872
[1,2], fixes ports 259709.

[1] https://go-review.googlesource.com/c/go/+/346872/
[2] https://github.com/golang/go/issues/48112

PR:		263726
PR:		259709
Approved by:	ygy@ (maintainer)
2022-05-03 07:14:17 -05:00
Guangyuan Yang
5e06ed0bcf lang/go-devel: Update to 1.18
Changes:	https://tip.golang.org/doc/go1.18
2022-03-19 18:36:05 -04:00
Guangyuan Yang
c4986c03b5 lang/go-devel: Update to 1.18rc1
Changes:	 https://tip.golang.org/doc/go1.18
2022-02-18 00:12:22 -05:00
Guangyuan Yang
0823792c78 lang/go-devel: Update to 1.18beta2
Changes:	https://tip.golang.org/doc/go1.18
2022-02-04 19:00:38 -05:00
Guangyuan Yang
7d23d1ab15 lang/go-devel: Update to 1.18beta1
Changes:	https://tip.golang.org/doc/go1.18
2021-12-14 19:47:59 -05:00
Guangyuan Yang
63ffddfa96 lang/go-devel: Update to 1.17.5
Changes:	https://golang.org/doc/devel/release#go1.17.minor
2021-12-09 21:46:11 -05:00
Guangyuan Yang
b0962ffe28 lang/go-devel: Update to 1.17.4
Changes:	https://golang.org/doc/devel/release#go1.17.minor
2021-12-02 19:54:22 -05:00
Guangyuan Yang
2309e28d9e lang/go, lang/go-devel: Respect CC
PR:		258291
Fixes:		f55607ce7b
Reported by:	Evgeniy Khramtsov <evgeniy@khramtsov.org>
2021-11-15 16:52:27 -05:00
Evgeniy Khramtsov
f55607ce7b lang/go, lang/go-devel: Respect CC
PR:		258291
2021-11-08 01:19:59 -05:00
Guangyuan Yang
1d2e85117d lang/go-devel: Update to 1.17.3
Changes:	https://golang.org/doc/devel/release#go1.17.minor
2021-11-05 02:03:31 -04:00
Mina Galić
04e401ec55 lang/go-devel: mark stacks as non-executable on freebsd
PR:		258241
2021-09-03 08:25:09 -05:00
Dmitri Goutnik
a831e2c15e lang/go-devel: Update to 1.17
Changes:	https://golang.org/doc/go1.17
2021-08-18 10:32:09 -05:00
Dmitri Goutnik
4fcc037a18 lang/go-devel: Update to go1.17rc1
Changes:	https://tip.golang.org/doc/go1.17
2021-07-14 07:06:32 -05:00
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Dmitri Goutnik
8b2e51f95c lang/go-devel: Update to go1.16
Changes:	https://golang.org/doc/go1.16
2021-02-17 11:53:47 +00:00
Dmitri Goutnik
b015989ca3 lang/go-devel: Update to go1.16rc1
Changes:	https://tip.golang.org/doc/go1.16
2021-01-28 12:06:06 +00:00
Dmitri Goutnik
d18622ce33 lang/go-devel: Update to 1.16beta1
Changes:	https://tip.golang.org/doc/go1.16
2020-12-21 20:10:44 +00:00
Dmitri Goutnik
808f642e3f lang/go-devel: Update to 1.15.3
Changes:	https://golang.org/doc/devel/release.html#go1.15.minor
2020-10-15 11:33:08 +00:00
Dmitri Goutnik
6593cd1aa5 lang/go-devel: Update to 1.15.1
Changes:	https://golang.org/doc/devel/release.html#go1.15.minor
2020-09-01 22:09:30 +00:00
Dmitri Goutnik
d0bf00df2b lang/go-devel: Update to go1.15rc2
Changes:	https://tip.golang.org/doc/go1.15
2020-08-07 19:12:44 +00:00
Dmitri Goutnik
a8c8f5164a lang/go-devel: Update to go1.15rc1
Changes:	https://tip.golang.org/doc/go1.15
2020-07-24 20:17:12 +00:00
Dmitri Goutnik
4551389e65 lang/go-devel: Update to go1.15beta1
Changes:	https://tip.golang.org/doc/go1.15
2020-06-11 12:52:28 +00:00
Dmitri Goutnik
45fcddc6c2 lang/go-devel: Update to 1.14.4
Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
2020-06-02 13:09:19 +00:00
Dmitri Goutnik
1a5358d8a8 lang/go-devel: Update to 1.14.3
Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
2020-05-15 18:51:26 +00:00
Dmitri Goutnik
580c57d783 lang/go-devel: Convert to a slave of lang/go, apply D24122
- Convert lang/go-devel to a slave port of lang/go
- Apply D24122 (similar to r530387 for lang/go) to relax module consistency
  checks in go1.14 mode

Reviewed by:	mikael tobik
Differential Revision:	https://reviews.freebsd.org/D24397
2020-04-13 19:16:39 +00:00
Dmitri Goutnik
ddcdbb232e lang/go-devel: Update to 1.14.2
Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
2020-04-09 12:14:36 +00:00
Dmitri Goutnik
b5b475282e lang/go-devel: Update to go1.14.1
Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
2020-03-19 21:32:45 +00:00
Dmitri Goutnik
ad2f6b58ab lang/go-devel: Update bootstrap to go1.14 2020-03-02 15:11:19 +00:00
Dmitri Goutnik
6cdff66bbd lang/go-devel: Update to go1.14
Changes:	https://golang.org/doc/go1.14
2020-02-26 12:45:38 +00:00
Dmitri Goutnik
6b4f8564bc lang/go-devel: Require FreeBSD 12 or newer for aarch64 support
Upstream CL: https://go-review.googlesource.com/c/go/+/220426/
2020-02-25 15:46:27 +00:00