| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Where appropriate fiddle with a few other things.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=554893
|
|
|
|
| |
Notes:
svn path=/head/; revision=554142
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=554139
|
|
|
|
|
|
|
|
|
|
|
| |
Move FLAVOR processing before the overlays processing so that flavors
can be used with overlays.
PR: 247741
Submitted by: mikael
Notes:
svn path=/head/; revision=541336
|
|
|
|
| |
Notes:
svn path=/head/; revision=531389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=510950
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=508819
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=455690
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**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
Notes:
svn path=/head/; revision=450663
|
|
|
|
|
|
|
|
|
|
|
| |
This code seems unused though since bsd.port.mk has its own handling
for clean-depends.
PR: 212273
With hat: portmgr
Notes:
svn path=/head/; revision=425026
|
|
|
|
|
|
|
|
| |
This also optimizes the PKGBASE/PKGFILE lookup with the new port_var_fetch(),
which passes in the known DEPENDS_ARGS.
Notes:
svn path=/head/; revision=417413
|
|
|
|
|
|
|
| |
With hat: portmgr
Notes:
svn path=/head/; revision=417411
|
|
|
|
|
|
|
|
| |
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D6474
Notes:
svn path=/head/; revision=415573
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=403013
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
Notes:
svn path=/head/; revision=401524
|
|
|
|
| |
Notes:
svn path=/head/; revision=395910
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: bapt, pgolluci
Exp-run by: mat
Approved by: bapt
With hat: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3150
Notes:
svn path=/head/; revision=392816
|
|
|
|
|
|
|
|
| |
Reviewed by: antoine
Differential Revision: https://reviews.freebsd.org/D2966
Notes:
svn path=/head/; revision=391119
|
|
|
|
|
|
|
|
|
|
| |
qemu emulation
Reported by: Sylvain Garrigues (via #poudriere)
Tested by: Sylvain Garrigues (via #poudriere)
Notes:
svn path=/head/; revision=390989
|
|
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)
portmaster/portupgrade hasn't been checked. if one cares about those last 2 it
would be really nice to provide patches to them!
- Remove _DEPENDS_ALWAYS it has half broken for a while and did not really make
sense.
- Keep STRICT_DEPENDS for now it might not be necessary anymore given all the
new checks added, but until someone confirms it is worth keeping it.
Note that all the env passed are prefixed by 'dp_' to avoid polluting children
make
Differential Revision: https://reviews.freebsd.org/D2897
Reviewed by: antoine
Exp-run by: antoine
Notes:
svn path=/head/; revision=390865
|