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/

Number of commits found: 10

Tue, 13 Aug 2019
[ 17:23 tobik ] Original commit   Revision:508838
508838 Mk/Uses/
Mk/Uses/ 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 <> (maintainer)
Differential Revision:
Thu, 1 Aug 2019
[ 06:25 tobik ] Original commit   Revision:507751
507751 Mk/Uses/
507751 databases/go-carbon/pkg-plist
507751 security/ct-submit/Makefile
507751 security/ct-submit/pkg-plist

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


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: (maintainer)
Differential Revision:
Fri, 26 Jul 2019
[ 07:15 tobik ] Original commit   Revision:507340
507340 Mk/Uses/
Mk/Uses/ 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 <>
Approved by:	jlaffaye (maintainer timeout, ~3 weeks)
Differential Revision:
Sat, 29 Jun 2019
[ 03:51 tobik ] Original commit   Revision:505321
505321 Mk/Uses/
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: (also D20745)
Reviewed by:	mat, tobik
Exp-run by:	antoine
Differential Revision:
Sun, 23 Jun 2019
[ 11:50 tobik ] Original commit   Revision:504942
504942 Mk/Uses/
Mk/Uses/ Allow overriding the Go port

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

Submitted by:
Differential Revision:
Wed, 24 Apr 2019
[ 16:25 jlaffaye ] Original commit   Revision:499862
499862 Mk/Uses/
Improve support for ARM in
- Set GOARM value according to current ARCH

Submitted by:	Dmitri Goutnik <>
Differential Revision:	D19892
Mon, 8 Apr 2019
[ 16:46 tobik ] Original commit   Revision:498386
498386 Mk/Uses/
Mk/Uses/ 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
- Add initial support for building in module-aware mode

PR:		236509
Submitted by:	Dmitri Goutnik <>
Reviewed by:	0mp, jlaffaye, tobik
Approved by:	jlaffaye (maintainer)
Differential Revision:
Sat, 25 Aug 2018
[ 17:26 jlaffaye ] Original commit   Revision:478076
478076 Mk/Uses/
Add GO_BUILDFLAGS variable to Uses/

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

Prior to this change, if a port had:
- .include <>, 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/" 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
This concept was copied from Mk/Uses/

PR:		224948
Submitted by:	woodsb02
Approved by:	jlaffaye (maintainer)
Fri, 22 Apr 2016
[ 12:40 mat ] Original commit   Revision:413776
413776 Mk/Uses/
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/ to USES=go.

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:

Number of commits found: 10

User Login
Create account

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

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

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

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 38042
Broken 792
Deprecated 84
Ignore 1072
Forbidden 3
Restricted 156
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.