notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: Mk/Uses/go.mk
SVNWeb

Number of commits found: 10

Tue, 13 Aug 2019
[ 17:23 tobik ] Original commit   Revision:508838
508838 Mk/Uses/go.mk
Mk/Uses/go.mk: Add gomod-vendor helper target

For USES=go:modules ports it simplifies generating GH_TUPLE by
calling modules2tuple in the right directory etc.

Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)
Differential Revision:	https://reviews.freebsd.org/D21246
Thu, 1 Aug 2019
[ 06:25 tobik ] Original commit   Revision:507751
507751 Mk/Uses/go.mk
507751 databases/go-carbon/pkg-plist
507751 security/ct-submit/Makefile
507751 security/ct-submit/pkg-plist
Mk/Uses/go.mk: Drop PLIST_SUB for GO_PKGNAME

GO_PKGNAME defaults to ${PORTNAME}.  As a result it is often too
general and can produce bad results with make makeplist.  For
example, in mail/aerc it produces bogus entries like

man/man5/%%GO_PKGNAME%%-sendmail.5.gz

since GO_PKGNAME=aerc there.

Having it in PLIST_SUB was only useful for Go libraries which we
no longer support.  Only 2 ports use it currently but do not really
need to and are easily fixed.

Approved by:	dg@syrec.org (maintainer)
Differential Revision:	https://reviews.freebsd.org/D21114
Fri, 26 Jul 2019
[ 07:15 tobik ] Original commit   Revision:507340
507340 Mk/Uses/go.mk
Mk/Uses/go.mk: Default to "." instead of PORTNAME

If neither GO_PKGNAME or GO_TARGET are set explicitly, go install
tries to install a package named ${PORTNAME} which is almost always
wrong.  This forces Go ports to set GO_PKGNAME or GO_TARGET although
their value is often redundant.

Update do-build to default to the "." package instead ("the package
in the current directory") and teach do-install to install the "."
package.  In many cases, this removes the need to explicitly set
GO_PKGNAME and GO_TARGET making USES=go:modules alone sufficient
for simpler ports.

This is a backward compatible change.

- Assign maintainership to Dmitri

Submitted by:	Dmitri Goutnik <dg@syrec.org>
Approved by:	jlaffaye (maintainer timeout, ~3 weeks)
Differential Revision:	https://reviews.freebsd.org/D20813
Sat, 29 Jun 2019
[ 03:51 tobik ] Original commit   Revision:505321
505321 Mk/Uses/go.mk
505321 databases/cayley/Makefile
505321 databases/cockroach/Makefile
505321 databases/go-carbon/Makefile
505321 databases/influxdb/Makefile
505321 databases/mongodb34-tools/Makefile
505321 databases/mongodb36-tools/Makefile
505321 databases/pgmetrics/Makefile
505321 databases/tile38/Makefile
505321 databases/usql/Makefile

(Only the first 10 of 114 ports in this commit are shown above. View all ports for this commit)
Convert all Go ports to USES=go

This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.

USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.

PR:		238849
Submitted by:	dg@syrec.org (also D20745)
Reviewed by:	mat, tobik
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20746
Sun, 23 Jun 2019
[ 11:50 tobik ] Original commit   Revision:504942
504942 Mk/Uses/go.mk
Mk/Uses/go.mk: Allow overriding the Go port

This is intended to be used for regression testing of USES=go ports
with lang/go-devel.

Submitted by:	dg@syrec.org
Differential Revision:	https://reviews.freebsd.org/D20570
Wed, 24 Apr 2019
[ 16:25 jlaffaye ] Original commit   Revision:499862
499862 Mk/Uses/go.mk
Improve support for ARM in go.mk
- Set GOARM value according to current ARCH
- Set CGO_ENABLED

Submitted by:	Dmitri Goutnik <dg@syrec.org>
Differential Revision:	D19892
Mon, 8 Apr 2019
[ 16:46 tobik ] Original commit   Revision:498386
498386 Mk/Uses/go.mk
Mk/Uses/go.mk: Remove support for installing Go libs and sources

All ports that depend on it have been removed in r497504.

- Restrict build to only main packages by adding -buildmode=exe to
  GO_BUILDFLAGS
- Add initial support for building in module-aware mode

PR:		236509
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Reviewed by:	0mp, jlaffaye, tobik
Approved by:	jlaffaye (maintainer)
Differential Revision:	https://reviews.freebsd.org/D19570
Sat, 25 Aug 2018
[ 17:26 jlaffaye ] Original commit   Revision:478076
478076 Mk/Uses/go.mk
Add GO_BUILDFLAGS variable to Uses/go.mk

PR:		225812
Submitted by:	David O'Rourke <dor.bsd@xm0.uk>
Sun, 11 Mar 2018
[ 02:24 woodsb02 ] Original commit   Revision:464138
464138 Mk/Uses/go.mk
Allow USES=go ports to override make targets & include <bsd.port.pre.mk>

Prior to this change, if a port had:
- USES=go.mk,
- .include <bsd.port.pre.mk>, and
- overrode a make target (e.g. post-extract:)

then the following warnings were produced when invoking make on the port:
  make: "/usr/local/poudriere/ports/default/CATEGORY/PORT/Makefile" line XX:
warning: duplicate script for target "post-extract" ignored
  make: "/usr/local/poudriere/ports/default/Mk/Uses/go.mk" line 68: warning:
using previous script for "post-extract" defined here

This change fixes this issue by wrapping the definition of make targets
in a separate once-only !defined wrapper which is blocked until post.mk.
This concept was copied from Mk/Uses/python.mk.

PR:		224948
Submitted by:	woodsb02
Approved by:	jlaffaye (maintainer)
Fri, 22 Apr 2016
[ 12:40 mat ] Original commit   Revision:413776
413776 Mk/Uses/go.mk
413776 databases/godis/Makefile
413776 databases/gomdb/Makefile
413776 databases/gosqlite3/Makefile
413776 databases/levigo/Makefile
413776 databases/redigo/Makefile
413776 devel/gb/Makefile
413776 devel/git-lfs/Makefile
413776 devel/go-btree/Makefile
413776 devel/go-flags/Makefile

(Only the first 10 of 35 ports in this commit are shown above. View all ports for this commit)
Move lang/go/files/bsd.go.mk to USES=go.

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6057

Number of commits found: 10

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
chromiumNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
nexus2-ossNov 07
php71Nov 06
php72Nov 06
php73Nov 06
php74Nov 06
fileNov 02
mariadb101-serverNov 02
mariadb102-serverNov 02
mariadb103-serverNov 02

10 vulnerabilities affecting 191 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-11-12 21:39:02


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 38042
Broken 792
Deprecated 84
Ignore 1072
Forbidden 3
Restricted 156
No CDROM 72
Vulnerable 33
Expired 7
Set to expire 54
Interactive 0
new 24 hours 2
new 48 hours4
new 7 days26
new fortnight55
new month113

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.