notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
non port: Mk/Scripts/create-manifest.sh

Number of commits found: 19

Monday, 21 Aug 2023
15:50 Baptiste Daroussin (bapt) search for other commits by this committer
Mk: depulicate WWW information

Stop duplication the WWW informations within the packages

Since september 2022 the WWW lines has been moved from pkg-descr
to Makefile, however the ports tree continued to push this info
at the end of pkg-descr automatically, which is a duplicated
information.

Differential Revision:	https://reviews.freebsd.org/D41523
Reviewed by:		mat
commit hash: c501f81fa74e9795dc6a4564881ee8795938e6ca commit hash: c501f81fa74e9795dc6a4564881ee8795938e6ca commit hash: c501f81fa74e9795dc6a4564881ee8795938e6ca commit hash: c501f81fa74e9795dc6a4564881ee8795938e6ca c501f81
Wednesday, 14 Dec 2022
05:11 Bryan Drewery (bdrewery) search for other commits by this committer
Mk/Scripts: Fix potential error creating .metadir/+DESC

In some builds it could be possible that pkg-descr is not writable.
We could either install -m 0644 the file over or just let sh create
it.

This change also opens the destination file only once now.

Fixes: ddd0e820c
commit hash: f0191973eadf9d52e3c32d5f430fa4f2d083fde6 commit hash: f0191973eadf9d52e3c32d5f430fa4f2d083fde6 commit hash: f0191973eadf9d52e3c32d5f430fa4f2d083fde6 commit hash: f0191973eadf9d52e3c32d5f430fa4f2d083fde6 f019197
Wednesday, 21 Sep 2022
11:23 Stefan Eßer (se) search for other commits by this committer
Mk/bsd.port.mk: support multiple URLs in WWW

The WWW macro was supposewd to hold only one URL pointing to the most
useful starting point for a user searching for additional information,
configuration examples, etc.

Some port maintainers have set the WWW macro to a list of URLs,
breaking assumptions by scripts and tools in the ports system and of
external users of the ports system.

This change allows WWW to hold a list of URLs by only considering the
first list element in places where only a single URL is supported.

This mirrors the previous behavior of only using the first line tagged
with "WWW: " in the pkg-descr file.

Approved by:	portmgr (tcberner)
Differential Revision:	https://reviews.freebsd.org/D36558
commit hash: 45530097ae3725e7265e8bac2bde48766f3f4f09 commit hash: 45530097ae3725e7265e8bac2bde48766f3f4f09 commit hash: 45530097ae3725e7265e8bac2bde48766f3f4f09 commit hash: 45530097ae3725e7265e8bac2bde48766f3f4f09 4553009
Friday, 9 Sep 2022
16:46 Stefan Eßer (se) search for other commits by this committer
Mk/Scripts: protect URL string by enclosing it quotes

The format of the manifest file does not allow commas in values.
Since URLs may include commas, they need to be protected against
interpretation of these commas as field separators.

This update unbreaks the package generation for ports that have
a comma in the URL.

Approved by:	portmgr (implcit)
commit hash: 0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c commit hash: 0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c commit hash: 0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c commit hash: 0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c 0d7e17c
Wednesday, 7 Sep 2022
19:32 Stefan Eßer (se) search for other commits by this committer
Mk/bsd.ports.mk: Add suppport for WWW in Makefiles

Expect the project website or other relevant URL of a port to be
specified in a WWW macro in its Makefile.

This information used to be available in WWW: lines at the end of
each port's pkg-descr file. By moving it into the Makefile, this
value is easier to access, verify, and maintain.

A WWW: line is added to the "desc" element of package manifests
based on the WWW macro value by the create-manifest.sh script.
This restores the previous contents of this line in the manifest
(as e.g. expected by the Freshports website).

The ports-mgmt/portlint port has been updated in commit 9800743f0
(version 2.19.13) to support the planned introduction of WWW in
port Makefiles.

Approved by:		portmgr (tcberner)
Differential Revision:	https://reviews.freebsd.org/D36434
commit hash: ddd0e820c8eb73acef94c72434c382982d0fa329 commit hash: ddd0e820c8eb73acef94c72434c382982d0fa329 commit hash: ddd0e820c8eb73acef94c72434c382982d0fa329 commit hash: ddd0e820c8eb73acef94c72434c382982d0fa329 ddd0e82
Sunday, 20 Jun 2021
23:29 Guangyuan Yang (ygy) search for other commits by this committer
Mk/*: Update the link about adopting ports

Approved by:	rene (portmgr), lwhsu (mentor)
Differential Revision:	https://reviews.freebsd.org/D30744
commit hash: de745e3b9f0257e6ff50c2edb2b92e4a2cda379a commit hash: de745e3b9f0257e6ff50c2edb2b92e4a2cda379a commit hash: de745e3b9f0257e6ff50c2edb2b92e4a2cda379a commit hash: de745e3b9f0257e6ff50c2edb2b92e4a2cda379a de745e3
Tuesday, 6 Apr 2021
14:27 Mathieu Arnold (mat) search for other commits by this committer
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 5d33e04
Monday, 29 Mar 2021
07:42 bapt search for other commits by this committer
Remove upgrade script

It never actually really have been a thing, and can be done
directly in install/deinstall scripts

Reviewed by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D29427
Original commitRevision:569436 
Wednesday, 11 Nov 2020
13:30 mat search for other commits by this committer
Ignore grep return value.

Most of the time, we use grep in a test, where its return value is
important.  In this instance, it is only used for filtering, and we do
not care about its return value, so ignore it.

PR:             250723
Exp-run by:     antoine
Differential Revision:  https://reviews.freebsd.org/D27007
Original commitRevision:554894 
13:29 mat search for other commits by this committer
Add set pipefail in most framework scripts.

set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline.  This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.

PR:		250723
Exp-run by:	antoine
Reviewed by:	bapt
Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D27007
Original commitRevision:554893 
Thursday, 5 Nov 2020
16:51 mat search for other commits by this committer
Backout r554139.
Original commitRevision:554142 
16:42 mat search for other commits by this committer
Add set pipefail in most framework scripts.

set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline.  This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.
Original commitRevision:554139 
Wednesday, 29 Apr 2020
14:01 bapt search for other commits by this committer
Allow lua scripts in the framworks.

Bump the minimum required pkg version to a version that accepts
properly lua scripts

Lua script offers the advantages over shell scripts that they are
running in a capsicum sandbox and they are natively rootdir friendly

Reviewed by:		portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D21433
Original commitRevision:533337 
Monday, 19 Aug 2019
12:18 mat search for other commits by this committer
If pkg-message is not a UCL file, assume the message is "install" only.

Reviewed by:	adamw
Differential Revision:	https://reviews.freebsd.org/D21262
Original commitRevision:509281 
Monday, 3 Jun 2019
12:57 mat search for other commits by this committer
Use UCL for pkg-message

Remain backward compatible but use ucl for the pkg-messages, which allows to:
- append messages one after the other
- only print message on delete, install, upgrade from a version to another

If pkg-message starts with a [ we consider it should be a valid ucl file

The format is the following:
[
{ message: "Always print" },
{ message: "package being removed", type: remove },
{ message: "package being installed", type: install },
{ message: "package is being upgraded", type: upgrade },
{ message: "Upgrading from lower than 1.0", maximum_version: "1.0", type:
upgrade },
{ message: "Upgrading from higher than 1.0", minimum_version: "1.0", type:
upgrade  },
{ message: "Upgrading from >1.0 < 3.0", maximum_version: "3.0", minimum_version:
"1.0",
]

Because it is ucl one can use some sugar like:
[
{ message = <<EOD
formatted
message 'with fancy things'
EOD
},
}

Submitted by:	bapt
Reviewed by:	bapt, mat
Differential Revision:	https://reviews.freebsd.org/D19310
Original commitRevision:503385 
Friday, 1 Jun 2018
16:20 mat search for other commits by this committer
SC2006: Use $(..) instead of legacy `..`.

Backtick command substitution `STATEMENT` is legacy syntax with several
issues.

 - It has a series of undefined behaviors related to quoting in POSIX.
 - It imposes a custom escaping mode with surprising results.
 - It's exceptionally hard to nest.

$(STATEMENT) command substitution has none of these problems, and is
therefore strongly encouraged.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
Original commitRevision:471274 
Friday, 28 Jul 2017
20:30 bdrewery search for other commits by this committer
Exec less rm(1) for existing files.

Reported by:	mjg
Approved by:	portmgr (implicit)
Original commitRevision:446850 
Wednesday, 3 Aug 2016
12:45 mat search for other commits by this committer
Add a PKGMESSAGES variable that allows the framework to have more than
one PKGMESSAGE file.

This allows the framework to add messages to ports, without touching
their PKGMESSAGE file.

Sponsored by:	Absolight
Original commitRevision:419513 
Sunday, 19 Jun 2016
11:25 mat search for other commits by this committer
Extract create-manifest.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
Original commitRevision:417112 

Number of commits found: 19