Commit Graph

50 Commits

Author SHA1 Message Date
Franco Fichtner 491f462b4b build/distfiles: fetch for specific flavor to fix qemu guest agent 2023-02-08 08:56:45 +01:00
Franco Fichtner 62cf737ea3 build|composite: remove PRODUCT_FLAVOUR where irrelevant 2023-02-03 15:13:55 +01:00
Franco Fichtner 1dd0017153 build: adding SRC_BASE to command line breaks nrpe3 Makefile 2022-12-12 09:43:15 +01:00
Franco Fichtner 73da6bb488 build: pass SRC_BASE so ports know about correct SRCDIR; closes #294 2022-12-10 13:51:04 +01:00
Franco Fichtner 6b61fb18d4 Revert "build: pass SRC_BASE so ports know about correct SRCDIR; closes #294"
This reverts commit 8c25051195.
2022-12-09 16:37:32 +01:00
Franco Fichtner 8c25051195 build: pass SRC_BASE so ports know about correct SRCDIR; closes #294 2022-12-08 14:52:41 +01:00
Johnny S. Lee 64e0e1b2f7
build: Allow delimiters other than newline in {AUX,PLUGINS,PORTS}LIST (#322)
Currently, when assigning multiple items to a LIST, the following works:
```
make ports PORTSLIST="port/a
port/b"
```
while the following would fail:
```
make ports PORTSLIST="port/a port/b"
```
2022-10-18 14:37:57 +02:00
Franco Fichtner d412689c99 build: fix missing overide for lists; closes #318 2022-09-30 11:04:07 +02:00
Franco Fichtner e31fbaa3fd build: list_ports/list_plugins are the same, use shared list_packages 2022-08-31 12:43:36 +02:00
Franco Fichtner a9d3dc8ec9 build/distfiles: CLEAN_FETCH_ENV irreversibly broken by GO_MODULES 2022-05-10 14:59:00 +02:00
Franco Fichtner 4845246ad2 build: improve port selection in audit and distfiles; closes #268 2022-02-16 13:33:59 +01:00
Franco Fichtner 278a72fa81 build: fix list_config use 2022-01-18 08:38:53 +01:00
Franco Fichtner 10c850dded build: add list_config to make list_ports and list_plugins shorter #262 2022-01-12 12:30:36 +01:00
Franco Fichtner 73ce4f6f23 build: refactor PORTSLIST generation into shared list_ports() call
With five consumers this makes sense nowadays.  While here make the
distfiles fetch ignore PORT_IGNORE to download otherwise missing files
not found in the default flavour.
2021-10-15 14:59:24 +02:00
Franco Fichtner 4336b0210d build: streamline version derivation/override 2021-09-09 13:09:54 +02:00
Franco Fichtner 5823c875f4 build: go:modules fetch requires runtime packages
Buidling pkg, go and openssl with perl5 and nss is quite the overkill so
try to use the existing packages when found.
2021-09-08 13:56:50 +02:00
Franco Fichtner 1633ef27eb build: clean up REPO_VERSION usage enabling VERSION override everywhere 2021-09-06 12:11:05 +02:00
Franco Fichtner 181a092c02 build/distfiles: fetch broken ports anyway (i.e. skim list) 2021-08-17 12:53:20 +02:00
Franco Fichtner b1b52c4631 build: document PORTSLIST and PLUGINSLIST 2021-06-24 09:04:48 +02:00
Franco Fichtner 91eab2adcf build: use new make.conf target to simplify patches; closes #210 2021-01-26 20:26:50 +01:00
Franco Fichtner 3b8dad95d2 build: pass more vars for new make.conf
It might make more sense to move make.conf target lower and
use it from the build scripts as well.  Not for today.
2021-01-26 15:54:12 +01:00
Franco Fichtner bcfcd1c0ad build: fix typo 2020-02-24 09:17:23 +01:00
Franco Fichtner 603330a8f6 config: remove notion of version "3" Python, it's the default 2020-02-18 10:15:34 +01:00
Franco Fichtner 1f00c8b677 build: remove PYTHON2 selector, no longer used 2020-02-18 08:25:11 +01:00
Franco Fichtner e50d175fe7 build: add a real "package" target and aux.conf trickery
aux.conf harbours ports that are needed for the build and intermediate
package sets for testing and rebuilding, but that will ultimately be
removed from the sets when they are supposed to be uploaded to the mirror.
2019-10-13 15:46:07 +02:00
Franco Fichtner e46b40bf5d build/distfiles: fetch actual port's distfile
This bug exists since December 2017 where we had to side-step
fetch-recursive because FLAVOUR git in the way...
2019-01-21 07:10:12 +01:00
Franco Fichtner 4f5a745c52 config: more changes for Pyhton split
ansible and py-boto3 are missing for now.
2018-10-28 08:34:44 +01:00
Franco Fichtner 52fa145122 build/ports: cache temporary packages for reuse 2018-09-29 08:19:28 +02:00
Franco Fichtner 1693cf43c3 build/distfiles: fix typo after last refactor; closes #81 2018-06-20 12:23:56 +02:00
Franco Fichtner 2e59e74cfb build: use the new defaults correctly 2018-04-01 10:04:43 +02:00
Franco Fichtner e50148a8a5 build/distfiles: fix fetch-recursive + FLAVOR fail
FreeBSD says "don't do that", but it's clearly an error on the
framework part.  To make the code more robust, kill the usage
of the fetch-recursive target and just do what we do in skim by
using all-depends-list.

When we have that list, we iterate over it with a small caveat:

We strip the flavor again to avoid breakage in the future which
could be pretty likely given that the functionality is very new
and not yet found to be used in its full potential.
2017-12-03 10:35:41 +01:00
Franco Fichtner 3b4c96ec17 build: more on FLAVOR support, small tweaks in reading 2017-12-01 06:44:31 +01:00
Franco Fichtner 2f9806ca7a build: mostly FLAVOR support, some bug in fetch-recursive 2017-11-30 20:35:59 +01:00
Franco Fichtner 044618e7dd build: proper PHP version propagation, src.conf for kernel build 2017-11-28 07:19:23 +01:00
Franco Fichtner 042334ef50 build: make PHP version selectable from the top 2017-11-27 21:33:27 +01:00
Franco Fichtner 71fe06f98c build: fix PORTS_LIST / PLUGINS_LIST usage 2017-10-17 17:18:40 +02:00
Franco Fichtner 9f2aaaaa6d build: better ignore in distfile fetch 2017-10-16 22:27:17 +02:00
Franco Fichtner 15963da55b build: provide overrides for PLUGINS_LIST and PORTS_LIST
Makes it easier to run test builds without editing the respective
config file, e.g.

    # make ports-phalcon PORTS_LIST="www/phalcon"
2017-07-07 05:46:21 +02:00
Franco Fichtner df43aa9126 build: fix argument scrubbing, remove obsolete gettext-tools from core 2017-04-27 19:14:36 +02:00
Franco Fichtner c474187c8b build: add a hint for how to fix branch mismatch temporarily
This isn't a good sign in general, but point users into the right
direction on how to proceed.  The error should be enough to make
them awae of something is wrong with the setup.
2017-01-11 07:31:06 +01:00
Franco Fichtner ff437f6c95 build: lock down branches, can override through build.conf
Actually, build.conf can hold all overrides from the main Makefile
now.  This is pretty handy for OEMs now.  Thanks for the prodding
on IRC for this one.  :)
2016-12-23 16:44:27 +01:00
Franco Fichtner 4338d44515 build: allow to run a newer jail (experimental) 2016-07-30 09:42:31 +02:00
Franco Fichtner 064e3f841a config: split off skim.conf, easier to follow 2016-07-30 07:38:40 +02:00
Franco Fichtner 5884626732 build/distfiles: correct invoke 2016-05-21 12:06:09 +02:00
Franco Fichtner c0f3dbb3fa build: self-awareness for all scripts, needed for #30 2016-05-05 17:11:45 +02:00
Franco Fichtner 7c007d7bb5 build/distfiles: behave like ports... continue, recover, abort
While here, also set CLEAN_FETCH_ENV to avoid a spurious build of pkg.
2016-02-26 09:23:48 +01:00
Franco Fichtner e828219a8c build: remember packages progress
This implements the usual "memory" we have when using make(1) to run
a build: progress is remembered and repeated steps are thus skipped,
especially useful for errors coupled with subsequent invokes of the
infamous `make everything'.
2016-01-20 10:24:20 +01:00
Franco Fichtner 4e13d38a1e build/distfiles: stagify like the rest of the package scripts 2015-11-17 20:50:49 +01:00
Franco Fichtner 5e0d2230ca build/distfiles: use it whenever possible 2015-09-11 22:18:34 +02:00
Franco Fichtner 64b65c8137 build/distfiles: add a fetch script...
... to avoid multiple fetch runs when doing ports later.
2015-09-11 21:05:55 +02:00