Commit graph

60 commits

Author SHA1 Message Date
Franco Fichtner
9a1ab4c444 build: also add branch info to custom_package() 2025-10-23 14:07:55 +02:00
Franco Fichtner
2d652965ac build: show branch on skip in search_package()
When dealing with EXTRABRANCHES the output can be confusing when
a branch was not updated but we don't know which one.
2025-08-05 14:27:19 +02:00
Franco Fichtner
4b9a1b342f build/plugins: fix a spurious error due to not passing the correct variable 2025-05-22 08:22:07 +02:00
Franco Fichtner
e35a234910 build/plugins: defer plugin builds which have plugin dependencies
We did avoid this for as long as possible and through plugins.conf.local
that was automatic for os-OPNProxy before but now we need to put a bit
more effort in in order to not fail the bulk plugins build because of
os-squid not being ready (yet).  It's also a complication of os-squid
no longer being in core but there are still situations like this in plugins
and core that require this fix.
2024-04-17 06:54:02 +02:00
Franco Fichtner
9ee5252153 build: remove remnants of FLAVOUR handling 2023-02-07 09:20:29 +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
16e789806e build/plugins: support PLUGIN_OBSOLETE
If plugins are being phased out we can start to annotate them and the
reason why (or how to emulate the plugin in the future).  It's useful
because as long as a release retains a plugin we do not have to delete
it from master branch right away.
2022-04-06 11:58:41 +02:00
Franco Fichtner
1f85cfffca build/plugins: add list_plugins for #262 2022-01-12 12:16:08 +01:00
Franco Fichtner
729ddb6f79 build/plugins: fix typo 2021-12-10 07:50:00 +01:00
Franco Fichtner
adfd2ba5ce build/plugins: last branch wins here in contrast to general behaviour
Plugins have a special handling whereas the last active branch
gets to insert its package.  The same could be done for core, but
here we only have one package per branch and they should not
overlap in naming.
2021-12-01 22:38:31 +01:00
Franco Fichtner
b192f2968e build/(core|plugins): use similar approach as ports to report skipped/rebuilt; closes #241 2021-08-10 16:22:16 +02:00
Franco Fichtner
b1b52c4631 build: document PORTSLIST and PLUGINSLIST 2021-06-24 09:04:48 +02:00
Franco Fichtner
99996adef8 build/plugins: avoid underscore here as well 2021-06-24 08:57:52 +02:00
Franco Fichtner
f1b1f75f90 build: support plugin variants much like port flavors
Use it on zabbix4-proxy although the resulting package is the same
as before (plus some new features previously not available there).
2021-06-01 10:08:13 +02:00
Franco Fichtner
bf47a6ce42 build/plugins: only enforce mandatory plugin list for main branch
When not using EXTRABRANCH this is the same behaviour as before.
2021-03-31 14:03:02 +02:00
Franco Fichtner
679f0cc68e build/plugins: provide local override here as well 2021-02-02 09:36:33 +01:00
Franco Fichtner
1b61f199e8 build: rename DEVELBRANCH to EXTRABRANCH
We can switch it to any other branch depending on requirements.
2021-01-22 13:37:46 +01:00
Franco Fichtner
553bf8a787 build/ports: only add aux.conf if packages step has not been executed
For hotfixes it will start to build go and rust even if it does not
need it.

For the cases where e.g. suricata rebuild requires rust use the
non-packaged packages set or let rust build during dependecy build.
2021-01-18 17:22:38 +01:00
Franco Fichtner
9746b57855 build: pass FLAVOUR instead of poisoning the variable via env 2020-03-06 08:57:40 +01:00
Franco Fichtner
9d77c902e3 build: remove QUICK support, rarely useful and undocumented 2019-06-03 08:25:26 +02:00
Franco Fichtner
456a4c9fdc build/plugins: fix PLUGINSENV propagation 2019-03-14 11:27:15 +01:00
Franco Fichtner
563165ede2 build: make DEVELBRANCH optional; closes #117 2019-02-24 18:33:44 +01:00
Franco Fichtner
2884a5fc8e build: add SERVER knob and PLUGINSENV 2018-03-17 09:13:29 +01:00
Franco Fichtner
eea860cadf build/plugins: fix typo in manual plugins list 2017-12-09 11:58:08 +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
43909930b1 build/plugins: mostly added during the 17.1 / 17.7 flip-flopping...
... it masks the fact that we have a plugin in our config that does
not exist on all trees yet.  That shouldn't happen.
2017-08-10 13:19:33 +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
405a7e18d8 build: add QUICK mode, skipping optional things 2017-06-26 09:11:14 +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
50184590f9 build/plugins: steer PLUGIN_DEVEL from plugins.git, less code 2017-04-03 06:29:29 +02:00
Franco Fichtner
cd38ff9932 build/plugins: need to fix argument handling here 2017-03-11 09:54:24 +01:00
Franco Fichtner
e7422c71c3 build/plugins: don't build plugins that are not there 2017-02-15 23:30:59 +01:00
Franco Fichtner
e698b4ff5a build/plugins: build -devel packages from master 2017-02-15 23:14:31 +01: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
9bd279f32c config: extend ignore to check against product target
This is a little easier as it clusters arm together, if anyone
wants to build !armv6 and runs in to general trouble there.
2017-01-05 20:12:24 +01:00
Franco Fichtner
09dfb52ca0 config: disable plugins not for armv6 the right way 2016-12-24 12:45:09 +01:00
Franco Fichtner
7bdd764b1f build/plugins: handle list of plugins like ports 2016-12-24 09:28:49 +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
c78ea52a5e build/plugins: cannot build plugins on ARM as their deps are disabled 2016-10-24 16:28:07 +02:00
Franco Fichtner
bcf4649544 build: more cross-build adventures 2016-07-18 17:53:08 +02:00
Franco Fichtner
05f7f08a11 build: more plumbing to make plugins work like ports 2016-07-05 10:08:50 +02:00
Franco Fichtner
b880044e04 build/plugins: keep git and pkg installed for a speedup 2016-05-26 07:27: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
867eafd82b build/plugins: skip earlier 2016-02-04 21:32:40 +01:00
Franco Fichtner
46ba822524 build/plugins: add selective (re)build support 2016-01-26 08:16:10 +01:00
Franco Fichtner
6c9beb690c build: skip check if forced by optional arguments 2016-01-25 07:45:36 +01:00
Franco Fichtner
4734a177c2 build: check packages for progress even earlier 2016-01-25 07:38:07 +01:00