Franco Fichtner
d1c7ed00ab
firmware: collect plugin conflicts and remove them #7818
...
Also let conficts generate with its sibilings so we can remove
all of that code from the register script. Most things are
fixed automatically now.
2024-08-27 11:01:48 +02:00
Franco Fichtner
805489d1a0
make: remove 'devel' alias as it doesn't work on plugins
...
The idea was opnsense-"devel" annotation, but there is a "devel" directory
in plugins and since we have "master" or "main" alias (that we want to switch
to some day even) it's better to remove this cruft.
2024-08-09 13:52:31 +02:00
Franco Fichtner
34ab8a6ef3
make: optimize previous
2024-08-09 13:49:00 +02:00
Franco Fichtner
e099299e06
make: rename a var to allow merging the glue to plugins
2024-08-09 13:38:50 +02:00
Franco Fichtner
4583f8ae2c
make: add a little stable branch helper
2024-05-17 08:46:28 +02:00
Franco Fichtner
dc8a3c4424
make: bring version-specific code closer together
2024-04-30 08:21:19 +02:00
Franco Fichtner
faf6ab7f21
make: add a small 'feed' helper for compiling release notes
2024-04-04 08:59:36 +02:00
Franco Fichtner
92bd601a7b
make: remove the sourceMapping awareness
...
It's been a couple of years and Chrome should behave now.
2024-03-20 11:46:21 +01:00
Franco Fichtner
7d80f955de
dhcp: DHCRelay model migration #6983
...
It would be nice to have both IPv4 and IPv6 in here but it may be
less desirable in practice. For now use a shared namespace and
only migrate IPv4 switching the binary and breaking everything
in the process.
2024-03-12 11:00:59 +01:00
Franco Fichtner
b2d6acc23e
pkg: finally move back to original package
2024-02-07 09:23:23 +01:00
Franco Fichtner
fccaa2e548
pkg: avoid the problematic "suricata" package for now
2024-01-31 12:13:06 +01:00
Franco Fichtner
0c731017ad
firmware: now at 24.7 development track
2024-01-31 07:58:32 +01:00
Franco Fichtner
70d6dc03b8
Framework: use LOCALBASE where possible
2024-01-17 09:00:15 +01:00
Franco Fichtner
6ce648d507
pkg: happy new year!
2024-01-02 10:17:35 +01:00
Franco Fichtner
8226c84a2f
web proxy: move all files to plugin #7030
2023-12-19 15:11:20 +01:00
Ad Schellevis
eae7e36963
kea - add dependancy ( https://github.com/opnsense/core/issues/6971 )
2023-11-06 17:48:29 +01:00
Franco Fichtner
1785cd3935
pkg: also add squid language pack, no longer in main package
2023-10-30 09:53:28 +01:00
Franco Fichtner
a67dc2976f
make: model style/lint for Mask/MaskPerItem
2023-09-30 19:44:43 +02:00
Franco Fichtner
b7c4631179
wireguard: add dependency for now #6827
...
Not pretty. Need to hook wireguard-kmod on life support for
the initial 24.1 at least because we don't know at build time
if the kernel to be installed will have its own kernel module
or not. Having both works, but the kernel one breaks wireguard-go.
Also implementations for kernel and port kmod seem to be "slightly"
different.
2023-09-29 09:46:17 +02:00
Franco Fichtner
ca2609efbd
mvc: add "make validate" target and script
2023-09-27 16:29:35 +02:00
Franco Fichtner
f6b3beba40
make: move version info out of the way
...
Make merging easier for the main makefile.
2023-09-06 13:45:47 +02:00
Franco Fichtner
c0d183bf88
mvc: strip Required=N for clarity discussed with @adschellevis
...
Clean up multiline descriptions as well. Also noticed the following but
for later since functional change:
% git grep -i "port.*IntegerField"
2023-09-05 11:11:04 +02:00
Franco Fichtner
001c382c51
mvc: one small change
...
Same goes for Required=N but since that is used 251 times it's
probably better to skip this.
2023-09-01 08:51:50 +02:00
Franco Fichtner
8fb81879c1
make: fix typo in style-model
2023-09-01 08:25:56 +02:00
Franco Fichtner
69ac3ce299
make: work around destructive replacement pattern in style-model
...
Add a lint-model check for this so it's avoided in the future.
2023-08-31 12:49:34 +02:00
Franco Fichtner
821eeb4ab9
make: add a replacement for uppercase enforcement
...
This may be destructive if option values are set as <default/>. Always
review the resulting changes and use lint-xml too.
2023-08-31 12:35:43 +02:00
Franco Fichtner
e3b28c06f9
mvc: more model consolidation
...
* s/multiple/Multiple/g (to fix lint mismatch)
* s/Default/default/g (to be fixed later, just too many now)
* BlankDesc default update and lint pass
* empty default lint pass
2023-08-31 11:59:42 +02:00
Franco Fichtner
e22ea99d12
make: add a lint pass for model default values
2023-08-31 09:40:33 +02:00
Franco Fichtner
b94097567c
system: defer config reload to SIGHUP in gateway watcher
...
This should considerably lower CPU usage as reported a few times.
We do need to bring in pcntl PHP module in order to get that done
easily in the script.
PR: https://forum.opnsense.org/index.php?topic=35219.0
2023-08-24 10:00:54 +02:00
Franco Fichtner
40d1569877
pkg: default to 23.7 now
2023-07-31 12:25:18 +02:00
Franco Fichtner
e6101f04b5
pkg: make a note about nickname changes
2023-07-28 14:03:51 +02:00
Franco Fichtner
4fc8865b8f
pkg: shorten previous
...
I doubt we have much difference between supported architectures.
2023-07-26 17:43:25 +02:00
Christopher SHEN
7e8179f827
Makefile: add packages to CORE_DEPENDS_aarch64
...
The four packages including py${CORE_PYTHON}-duckdb, py${CORE_PYTHON}-numpy, py${CORE_PYTHON}-pandas, and suricata-devel, can be built on aarch64.
2023-07-26 17:38:51 +02:00
Ad Schellevis
58b1ec1ea6
System / Auth / Radius - add MSCHAPv2 support using Crypt_CHAP_MSv2(). As MSCHAPv1 doesn't seem to be frequently used and we currently don't have a server setup for it either, we limit the support to v2 only.
...
Implemented using the examples in https://github.com/LawnGnome/php-radius/blob/master/examples/radius-auth.php , requires 818fa8e936 for CHAP.php to funciton on php 8.1
2023-06-18 17:19:45 +02:00
Franco Fichtner
271525f00b
pkg: these too
2023-05-10 16:56:23 +02:00
Franco Fichtner
5f7984444f
pkg: duckdb for other arches not so easy
...
PR: https://github.com/opnsense/tools/issues/350
2023-05-10 14:17:50 +02:00
Franco Fichtner
c7f4c8f38b
pkg: embed metadata as annotations #6374
...
Allows us to (r)query for info such as product_tier.
2023-04-26 08:52:43 +02:00
Franco Fichtner
3518119bbe
pkg: sneak an extra space into mtod when appropriate; closes #6479
2023-04-12 08:40:22 +02:00
Franco Fichtner
d60bf5ff9e
make: stray newline
2023-03-14 09:31:16 +01:00
Franco Fichtner
09b2bec389
pkg: remove CORE_FLAVOUR handling
2023-02-07 09:22:33 +01:00
Franco Fichtner
51f97e176e
firmware: start phasing out LibreSSL glue
...
No longer able to select it from the GUI. CORE_FLAVOUR
still exists but can be removed safely later on.
2023-01-27 12:53:48 +01:00
Franco Fichtner
c8569241cb
pkg: move to 23.1 as default
2023-01-27 12:52:39 +01:00
Franco Fichtner
e36d4903c0
pkg: happy new year!
2023-01-09 11:18:19 +01:00
Franco Fichtner
afa13df34d
pkg: add new dependencies
2022-12-15 13:15:01 +01:00
Franco Fichtner
7607a6d968
system: for consistency add -c argument (the default) to pluginctl invokes
...
Some facilities might overlap in naming so make it less confusing from
the internal scripting side. "webproxy" had me doubting for a second.
2022-08-31 09:19:01 +02:00
Franco Fichtner
1fa0cb3e2d
firmware: time for 23.1 development :)
2022-07-26 11:38:44 +02:00
Franco Fichtner
52d91d0417
make: remove WANTS/WANT magic
...
The packages use is too explicit so simply check for installed
debug plugin and hope for the best.
2022-07-22 08:42:09 +02:00
Franco Fichtner
856574bbef
dhcp: use a simple periodic update for now; closes #5876
...
Gets rid of package dependency which for dhcpleases6 simply
listens on the DHCPD lease file and runs the prefix.php command
unconditionally.
For now emulate this by issuing the command every 60 seconds
which can be adjusted later if someone complains, but seeing
how many bugs this script has had vs. how many people noticed
it (basically none) I doult this will have much impact overall.
2022-07-20 11:37:18 +02:00
Franco Fichtner
bad28afe70
system: render interfaces in convert_config() #5768
...
This brings it in line with migrations although both hinge on
the idea that rc.configure_firmware is called to execute this
code. Both need a better integration but bringing them to the
same level seems to make the most sense.
After reboot the config is in a consistent state now too...
Remove previous plugins_interfaces() call and always use full
path to pluginctl like most spots already do.
2022-07-12 20:41:52 +02:00
Franco Fichtner
ef57b57ee5
pkg: sort
2022-07-08 08:37:00 +02:00