368 Commits

Author SHA1 Message Date
Franco Fichtner
2e7a8e438d make: add "log" target 2022-02-24 09:09:02 +01:00
Franco Fichtner
c139e03be7 pkg: allow alpha versioning for development 2022-02-02 07:55:48 +01:00
Franco Fichtner
b6ca1be13a firmware: no need to hint at upgrades anymore 2022-02-01 14:22:58 +01:00
Franco Fichtner
208be46ce2 pkg: happy new year! 2022-01-03 11:21:26 +01:00
Franco Fichtner
e4d5478662 pkg: avoid upgrades if already done, use VERSIONBIN 2021-12-21 12:07:37 +01:00
Franco Fichtner
8250ad50c3 Revert "pkg: suricata is now the same as suricata-devel"
This reverts commit d29b652cc01186b6b8d05aac998cfe3053bfb4af.

pkg-upgrade ignores this and upgrading the core package which
is suboptimal at the very least.
2021-11-23 15:25:47 +01:00
Franco Fichtner
ebfdeecdfe make: populate CORE_MAKE command with proper env on stepping stones
`make upgrade' could forget what version it was running in the first place.
2021-11-15 19:37:01 +01:00
Franco Fichtner
d29b652cc0 pkg: suricata is now the same as suricata-devel
We keep the port in order to test upcoming version 7 but for now
steer away from pulling it as a core dependency so we don't have
to update both.
2021-11-15 14:23:57 +01:00
Franco Fichtner
c4918b4c99 firmware: change CORE_ALTABI to taret ABI detection for #5144 2021-11-09 09:12:24 +01:00
Ad Schellevis
b3e3391943 Syslog - remove clog support
remove all remnants from syslogd and circular log support excluding support from the log readers. When a user upgrades and was using clog, the old files remain and are still readable from the ui, new entries are generated into our syslog-ng directory structure.

for https://github.com/opnsense/core/issues/5337
2021-11-05 21:17:35 +01:00
Franco Fichtner
14b46feee2 make: use slight modify for checking all potential files 2021-10-05 08:45:43 +02:00
Ad Schellevis
76b8ae4490 Firewall / Aliases - improve resolve performance by implementing async dns lookups. ref https://github.com/opnsense/core/issues/5117
This will need a new version of py-dnspython (py-dnspython2 in ports) for dns.asyncresolver support. Some additional log messages have been added to gain more insights into the resolving process via the general log.
Intermediate results aren't saved to disk anymore, which also simplifies the resolve() function in the Alias class. An address parser can queue hostname lookups for later retrieval (see _parse_address()) so we can batch process the list of hostnames to be collected.
2021-08-19 15:53:25 +02:00
Franco Fichtner
b91f9077f6 make: fix plist check on FreeBSD 13 2021-08-19 12:57:06 +02:00
Franco Fichtner
ac1cd84485 make: add a product_altabi setting if we want to split abis #5144
This way we can keep track of the underlying ABI in case a business
version needs to find its way back to community ABI.

In general ALTABI is just the derived ABI version, i.e. the one that
shares the same build settings/packages/OS version.
2021-08-17 08:53:22 +02:00
Franco Fichtner
b322ba9cf9 make: patch in business version numbers for CORE_NEXT #5144 2021-08-17 08:39:41 +02:00
Franco Fichtner
6abd2f2ac1 Framework: name and depends targets are no longer needed
use -v CORE_NAME and -v CORE_DEPENDS to read them...
2021-08-10 16:50:28 +02:00
Franco Fichtner
f331061387 firmware: changes for EoL of 21.1
o Remove revoked business fingerprints that were never used
o Revoke fingerprint for 21.1 as it is no longer needed
o Remove upgrade hint file to avoid development version upgrade loops
2021-07-27 16:04:57 +02:00
Franco Fichtner
5028c93393 pkg: actually demote to warning 2021-07-21 09:20:29 +02:00
Franco Fichtner
ed4ffa894c pkg: give CORE_ABI hint anyway, remove safety belt
Just let it crash and burn worst case.

PR: https://forum.opnsense.org/index.php?topic=23996.0
2021-07-21 08:53:16 +02:00
Franco Fichtner
10a5313b47 make: shorten magic variable for common use with plugins 2021-07-06 09:05:44 +02:00
Franco Fichtner
9735174eac make: tiptoe around restriction when using dev tools such as "diff" 2021-06-30 12:11:11 +02:00
Franco Fichtner
656c5ada7e pkg: fix version number derivation and missing replacement 2021-06-29 15:18:12 +02:00
Franco Fichtner
aa0affc7e7 pkg: like plugins now try to error on missing replacements 2021-06-29 15:00:10 +02:00
Franco Fichtner
15935e415a pkg: default to 7.4 now 2021-06-18 08:19:54 +02:00
Franco Fichtner
60087b5f83 Revert "pkg: default to 7.4 now"
This reverts commit 5457e046d833668a1d567669232e32b34e58759c.

Temporary revert for hotfix.
2021-06-17 16:03:31 +02:00
Franco Fichtner
5457e046d8 pkg: default to 7.4 now 2021-06-16 11:22:34 +02:00
Franco Fichtner
7c1f2659b0 pkg: PHP 7.4 does not have a separate hash module 2021-05-28 10:05:12 +02:00
Franco Fichtner
3a98ebb22f
Phalcon 4 migration (#4921)
phalcon 4 migration  #4012

o replace Phalcon\Session\Adapter\Files with new Phalcon\Session\Adapter\Stream adapter
o replace router->setUriSource() with handle() parameter
o combining sessions between phalcon and legacy php seems to be a bit problematic, first issue seems to be the legacy csrf check. refactor to use phalcon's method and legacy session
o Fix Phalcon Syslog usage in ControllerRoot (wrap in Logger class)
o session seems to miss standard prefix.
o also Gettext seems to like being wrapped...
o Gettext inheritance
o another handle()
o Volt: handle registerEngines / VoltEngine changes
o volt templates - missing session reference, bootstrap in ControllerBase
o router getRewriteUri() deprecated
o another handle() in index.php
o  Phalcon\Dispatcher::EXCEPTION_* moved to  Phalcon\Dispatcher\Exception::EXCEPTION_*
o changes in filter handling.
o fix plist
o Syslog usage changes
o refactor Validation changes
o FILTER_ALNUM - replaced FILTER_ALPHANUM
2021-04-15 11:36:57 +02:00
Franco Fichtner
a08b8ec72b installer: switch installer package 2021-04-13 09:35:28 +02:00
Franco Fichtner
61ca8a7b68 pkg: add series and nickname to metadata 2021-04-09 08:56:46 +02:00
Franco Fichtner
af587e812a make: also whitespace issue 2021-04-01 14:27:17 +02:00
Franco Fichtner
8220814034 pkg: verbatim match on business tag 2021-03-31 15:48:09 +02:00
Franco Fichtner
9d9f9c42f8 pkg: pin development version to suricata 6 2021-03-26 11:52:10 +01:00
Franco Fichtner
4e65be31b0 make: add rebase target for stable branch 2021-03-26 08:50:20 +01:00
Franco Fichtner
af2736d45c make: when mfc aborts clear it and switch back 2021-03-26 08:39:54 +01:00
Franco Fichtner
0c431a0f69 make: with strict tag rules it is possible to bail on missing tags 2021-02-08 19:32:25 +01:00
Franco Fichtner
b0b0b1878a pkg: expand this logic to figure out non-devel type numbers
We could check if we are on a stable branch but the CORE_TYPE
gives us a good hint at what we are looking at here already.
2021-02-08 10:13:33 +01:00
Franco Fichtner
6c797c271f pkg: reduce diff against former code 2021-02-07 19:36:49 +01:00
Franco Fichtner
3dcc9f512e pkg: compute CORE_NEXT to do automated tag matching
If CORE_NEXT.b tag exists do not use anything else anymore,
otherwise if CORE_NEXT* something exists use this, otherwise
hands off from manual tag pattern matching.

Since this is based on computation of CORE_ABI input we
can use this on the development track to always figure out
the correct version to use without checking the CORE_ABI
explicitly.

Use CORE_NEXT in a file replacement as well.
2021-02-07 15:04:47 +01:00
Franco Fichtner
ae7bbbacee pkg: exclude 21.7 tags from 20.7 2021-02-07 14:08:32 +01:00
Franco Fichtner
cddb86cf77 Revert "pkg: defer pkg check so that we get a package anyway on `make upgrade'"
This reverts commit 73c5252409cc28bb8d703d97e1c9eb90fbf3fe23.

`make package' works too, do not move early check.
2021-02-03 20:03:50 +01:00
Franco Fichtner
73c5252409 pkg: defer pkg check so that we get a package anyway on `make upgrade' 2021-02-03 16:56:06 +01:00
Franco Fichtner
5cf131df6c pkg: reorder for better diff 2021-01-28 11:01:48 +01:00
Franco Fichtner
771cae8182 pkg: move default ABI to 21.1, retain 20.7 compat for now 2021-01-28 10:59:10 +01:00
Franco Fichtner
95498491a2 make: mfc target may not exist, it's ok 2021-01-27 11:12:24 +01:00
Franco Fichtner
45ab146df0 pkg: "development release", not package 2021-01-12 10:16:13 +01:00
Franco Fichtner
e232f24f04 make: too early, fix git checkout emulation 2021-01-11 09:32:23 +01:00
Franco Fichtner
50700b8cd7 pkg: wrong PHP default since a while 2021-01-11 09:30:51 +01:00
Franco Fichtner
1b0ebb2c8b make: more git magic 2021-01-11 08:57:31 +01:00
Franco Fichtner
a70c6a2374 make: on a fresh clone ensure the stable branch exists 2021-01-08 08:50:22 +01:00