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.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: Mk/Scripts/do-depends.sh

Number of commits found: 24

Wednesday, 6 Mar 2024
20:22 Tijl Coosemans (tijl) search for other commits by this committer
Mk/Scripts/do-depends.sh: Avoid make -D flag

Both FreeBSD make and GNU make pass command line flags to sub-makes
through the MAKEFLAGS environment variable, but the flags aren't
compatible and GNU make 4.4 exits with an error when it encounters
flags it doesn't understand, e.g. -D.

Avoid using the flag for now until ports run gmake with SETENVI.

This fixes the case where a port is built using make directly and it
recurses to build a dependency that uses gmake.  Poudriere does not
use this feature of the ports tree to build dependencies so it's not
affected.

PR:		272216, 277492
commit hash: 830ec3717024e0060b2b48db4319a4eb060f8023 commit hash: 830ec3717024e0060b2b48db4319a4eb060f8023 commit hash: 830ec3717024e0060b2b48db4319a4eb060f8023 commit hash: 830ec3717024e0060b2b48db4319a4eb060f8023 830ec37
Monday, 1 Jan 2024
21:58 Luca Pizzamiglio (pizzamig) search for other commits by this committer
component: add SUBPACKAGES

This commit add SUBPACKAGES support to the framework.

Fix users of _LICENSE_DIR
Fix multi/dual license
Add annotation to packages about being a subpkg
Make do-depends aware of the subpackages
Add PKGBASE.subpkg variable
Fix actual-package-depends target
Fix dependencies in sub-packages
Implement LICENSE support
Fix PLIST_FILES.subpkg
Make DESCR.subpkg warning message shorter
Add SUBPACKES to the list of OPTIONS_HELPERS
Fix _strip_perms
Simplify METADIR as in the original patch
Fix _PLIST
Fix the case when there are no subpackages
Fix typo
Fix _PKGDIR initialization
Fix PLIST
Fix typo in RE
Fix METADIR
Fix type in PKGFILE
Fix [build|run]-depends-list targets
Initial import of the subpackage framework
This import is based on https://reviews.freebsd.org/D16457

PR:		275735
Differential Revision:	https://reviews.freebsd.org/D40549
commit hash: 47564762a319a037686c921accbb831db779715c commit hash: 47564762a319a037686c921accbb831db779715c commit hash: 47564762a319a037686c921accbb831db779715c commit hash: 47564762a319a037686c921accbb831db779715c 4756476
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
Wednesday, 11 Nov 2020
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 
Monday, 6 Jul 2020
11:10 mat search for other commits by this committer
Fix overlays when using flavors.

Move FLAVOR processing before the overlays processing so that flavors
can be used with overlays.

PR:		247741
Submitted by:	mikael
Original commitRevision:541336 
Friday, 10 Apr 2020
23:28 bdrewery search for other commits by this committer
Don't show private variable name in user message.
Original commitRevision:531389 
Tuesday, 3 Sep 2019
14:36 bapt search for other commits by this committer
Add support for overlays

overlays are a way to help users to integrate their own ports tree
with the official ports tree without having to maintain clone of the
official tree and remerge on regular basis.

The ports tree will lookup in the overlays (in the order the are listed in
OVERLAY variable) for the dependencies and the USES. It will use the first
found.

in order to use it the user have to declare his overlays that way in their
make.conf:
OVERLAYS= overlay1 overlay2 overlay3

Reviewed by:	manu
Approved by:	swills
Differential Revision:	https://reviews.freebsd.org/D21468
Original commitRevision:510950 
Tuesday, 13 Aug 2019
10:31 mat search for other commits by this committer
Force ports depending on a fetch target to actually run checksum.

This prevents an improbable MITM attack on dependencies where the target
is "fetch" and the port is built manuallt.  (Which means a port depends
on a dependency being fetched, but not built or anything else.)  In this
case, as the target is only "fetch", the distribution files of the
dependency are not checked against the dependency's distinfo file.  One
could, in theory, impersonate the dependency's master site and provide a
malicious distribution file.

The ports that could in theory be affected are russian/gd, ukrainian/gd,
and ukrainian/webalizer.  They are only affected when building manually,
as when building with poudriere, the *-depends target do not have
network access, and the build would fail if the distribution files are
not already present.  (From the dependencies being built normally, where
checksum would have ran.)

The detail is described here:
https://www.reddit.com/r/BSD/comments/br62hm/freebsd_cryptographic_bypass_and_mitmbased/

Reported by:	emaste (on IRC)
Reviewed by:	swills emaste antoine
MFH:		2019Q3
Differential Revision:	https://reviews.freebsd.org/D21230
Original commitRevision:508819 
Thursday, 7 Dec 2017
01:51 bdrewery search for other commits by this committer
Fix 'make -j'.

- Pass MAKEFLAGS down into do-depends properly.
- Remove redundant dependencies, run-depends and lib-depends, from
  targets that already depend on earlier targets that depend on
  the needed targets.

Reported by:	emaste
With hat:	portmgr
Original commitRevision:455690 
Tuesday, 26 Sep 2017
14:14 mat search for other commits by this committer
Implement basic flavors.

**Do not start migrating any ports, a hook will prevent it**

This has been a long awaiting feature, most of the work has been done by
bapt, bdrewery and antoine, I am just the one actually doing the commit.

All this informations, and more to come are in the first link to our wiki
in the bottom block. A roadmap is in the second link.

To define a different flavors in a port, before any include, set:

FLAVORS=  flavor1 flavor2 [...]

The first flavor in the list will be the default.

You can then check for flavors after includ'ing bsd.port.options.mk with:

.if ${FLAVOR} == flavor2
[some stuff]
.endif

To build flavor2, simply run:

make FLAVOR=flavor2

To depend on a specific flavor, write @<flavor> at the end of the depend
string, like:

RUN_DEPENDS=	something:origin@foo

Submitted by:	bapt, bdrewery, antoine
Reviewed by:	portmgr
More infos:	https://wiki.freebsd.org/Ports/FlavorsMigration
Todo List:	https://wiki.freebsd.org/Ports/FlavorsAndSubPackages
With hat:	portmgr
Differential Revision: https://reviews.freebsd.org/D10327
Original commitRevision:450663 
Monday, 31 Oct 2016
20:54 bdrewery search for other commits by this committer
Don't truncate DEPENDS_ARGS here.

This code seems unused though since bsd.port.mk has its own handling
for clean-depends.

PR:		212273
With hat:	portmgr
Original commitRevision:425026 
Friday, 24 Jun 2016
05:04 bdrewery search for other commits by this committer
Fix package depends install not respecting DEPENDS_ARGS for the PKGFILE lookup.

This also optimizes the PKGBASE/PKGFILE lookup with the new port_var_fetch(),
which passes in the known DEPENDS_ARGS.
Original commitRevision:417413 
04:53 bdrewery search for other commits by this committer
Show proper variable in error.

With hat:	portmgr
Original commitRevision:417411 
Friday, 20 May 2016
19:01 mat search for other commits by this committer
Ease debugging of Mk/Scripts scripts.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6474
Original commitRevision:415573 
Friday, 4 Dec 2015
22:18 bdrewery search for other commits by this committer
Use normal PORTSDIR rather than dp_PORTSDIR so it is passed around properly.

This fixes errors when PORTSDIR is not set and /usr/ports is not used.  The
/usr/share/bsd.port.mk logic will auto set PORTSDIR, but this was not being
passed into children in the dependency scripts.

With hat:	portmgr
Reported by:	bapt
Original commitRevision:403013 
Friday, 13 Nov 2015
18:00 bdrewery search for other commits by this committer
- Only consider missing dependency origins to be fatal if they were not
  satisfied and needed to be installed.  This restores older behavior of
  allowing a partial checkout where dependencies are already installed. [1]
- Delay fatal errors show that all can be shown at once.

With hat:	portmgr
Reported by:	lev [1]
Original commitRevision:401524 
Wednesday, 2 Sep 2015
21:23 bapt search for other commits by this committer
Fix error message when not finding a package
Original commitRevision:395910 
Friday, 24 Jul 2015
11:05 mat search for other commits by this committer
[Forced commit to explain the previous commit]

Before this, you could say:
BUILD_DEPENDS=	libfoo.so:some/foo
LIB_DEPENDS=	bar:some/bar

The package would build because the dependencies would be installed
correctly.  But, the dependencies would not be registered in the
package, and it would be non functionnal when installed.

Now, if you say the same thing, it will tell you that
1) it can't find exececutable libfoo.so
2) bar is not a valid pattern for LIB_DEPENDS

giving you a hint that you are doing something wrong.

Poked by:	myself, bapt
Original commitRevision:392818 
10:11 mat search for other commits by this committer
Split LIB_DEPENDS and the other _DEPENDS types.

Reviewed by:	bapt, pgolluci
Exp-run by:	mat
Approved by:	bapt
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3150
Original commitRevision:392816 
Wednesday, 1 Jul 2015
20:08 bapt search for other commits by this committer
Factorize the function to validate env

Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D2966
Original commitRevision:391119 
Tuesday, 30 Jun 2015
19:54 bapt search for other commits by this committer
Add PATH environment when trying to find libraries this fixes building under
qemu emulation

Reported by:	Sylvain Garrigues (via #poudriere)
Tested by:	Sylvain Garrigues (via #poudriere)
Original commitRevision:390989 
Sunday, 28 Jun 2015
18:50 bapt search for other commits by this committer
Refactor dependency checks and installation

This is an important step to prepare the ports tree for VARIANTS(aka flavours)
and subpackage by making the dependency code easier to deal with.

Change:
- Externalize in a proper shell script the code that was an inlined shell script
- Add better validation on the syntaxe used
- test after the dependency has been installed that it actually really fulfill
  the pattern searched (improving QA)
- Unify lib-depends with other dependency checks
- Make ${PORTSDIR} not mandatory anymore in _DEPENDS lines:
  aka pattern:${PORTSDIR}/category/port can now be written pattern:category/port
  /!\ Please to not use this syntax yet! poudriere have received a fix to be
  able to handle this new syntax (but no new release of poudriere has it yet)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Original commitRevision:390865 

Number of commits found: 24