310 Commits

Author SHA1 Message Date
Franco Fichtner
a3e3b97e53 firmware: switch to 20.7 2020-07-28 10:33:42 +02:00
Franco Fichtner
8ca1deb9c9 pkg: treat version numbers correctly
Also see: https://github.com/opnsense/tools/commit/84e5ec467a
2020-07-23 12:23:39 +02:00
Franco Fichtner
52954b91fb Revert "pkg: align 20.7 build for hassle-free update"
This reverts commit e450310b23c563a206a9d567a5689ac9d6bdd65f.
Keep this to prevent manual upgrade breakage for the moment.
2020-07-16 00:08:19 +02:00
Franco Fichtner
e450310b23 pkg: align 20.7 build for hassle-free update 2020-07-14 11:23:12 +02:00
Franco Fichtner
864971a28e make: save a bit of typing 2020-06-23 16:26:38 +02:00
Franco Fichtner
a18ac8fdc9 pkg: switch to syslog 3.27 2020-05-22 08:21:25 +02:00
Franco Fichtner
67b053a1da system: syslog 3.27 is out already... 2020-05-14 12:16:12 +02:00
Ad Schellevis
faf650e7ca
Syslog: optionally disable legacy (clog) logging (#4101)
* Syslog-NG replacement for legacy syslog local logs:

Part of this commit:

- support both formats in query log, which is used by our log api
- sample local syslog-ng target for configd

for https://github.com/opnsense/core/issues/4068

* syslog: add disable clog toggle + preserve number of log (days) setting when only using syslog-ng. for https://github.com/opnsense/core/issues/4068

* syslog: include local syslog-ng files when clog is disabled. for https://github.com/opnsense/core/issues/4068

* Syslog-NG: change local handling, add relayd file to test the concept.

The local directory contains filters for local targets, which should replace the <plugin>_syslog() construction eventually, everything relevant and not matched is send to system

for https://github.com/opnsense/core/issues/4068

* Syslog-NG: minor update to local template to support module/file format as the query log handler supports it (e.g. /var/log/squid/access/) and add local templates

* Syslog-NG: change flush log actions to support new format, while here make sure "flush all" actuallly flushes all logs (including plugins). for https://github.com/opnsense/core/issues/4068

* Syslog-NG: missing level in system log, for https://github.com/opnsense/core/issues/4068

* fix typo for https://github.com/opnsense/core/issues/4068

* syslog-ng: filter live log support for https://github.com/opnsense/core/issues/4068

* Syslog-NG: replace diag_logs_filter_summary.php for mvc enabled version, using the same log output as live log, for https://github.com/opnsense/core/issues/4068

* Syslog-NG: add log cleanup script to enforce preservelogs setting. for https://github.com/opnsense/core/issues/4068

* Syslog-NG: webuser auth message should use LOG_AUTH facility. for https://github.com/opnsense/core/issues/4068

* Syslog-NG: ditch sshlockout_pf in favour for a small script that locks out ssh/web gui failed attempts for both IPv4 and IPv6. for https://github.com/opnsense/core/issues/4068

* ditch sshlockout_pf dependancy, for https://github.com/opnsense/core/issues/4068

* fix indent in ACL, for https://github.com/opnsense/core/issues/4068

* fix plist
2020-05-10 10:59:14 +02:00
Franco Fichtner
22b67cc1d9 pkg: ideally we do not need this override anymore 2020-04-24 09:15:10 +02:00
Franco Fichtner
348ba54c92 pkg: not sure why we have this in here 2020-04-15 19:47:18 +02:00
Franco Fichtner
4d4a9565be pkg: newlines are cool 2020-04-15 19:19:16 +02:00
Franco Fichtner
6e1b7a1d1e pkg: dump our version data for quick audit 2020-04-15 19:16:35 +02:00
Franco Fichtner
072d9673b9 pkg: useless overrides ARCH and FLAVOUR 2020-04-15 19:12:22 +02:00
Franco Fichtner
094bbd66c1 pkg: variable links at build time
Has been on the wishlist almost since we have started
using Python 3 and needed our own python3 link to the
currently used version.
2020-04-13 22:19:37 +02:00
Franco Fichtner
c4edd0b86d make: detect more version stuff on demand
Makes "make upgrade" super easy between dev and release.
2020-04-13 12:19:29 +02:00
Franco Fichtner
08fc36a327 pkg: remove unused overrides 2020-04-11 11:04:08 +02:00
Franco Fichtner
5db335e02e pkg: "make upgrade" can be difficult in dev situations
Auto-detect PHP if possible, change FLAVOUR behaviour while at it.
2020-04-11 10:59:45 +02:00
Franco Fichtner
8fda4ca245 pkg: finally switch to radvd 2.x 2020-04-01 20:27:17 +02:00
Franco Fichtner
0481c26fe1 pkg: allow using different updater 2020-03-16 07:15:39 +01:00
Franco Fichtner
2c25b1cffa pkg: accept build-time flavour selection 2020-03-06 12:37:27 +01:00
Franco Fichtner
f233429c33 make: run plist-fix on sync 2020-02-18 16:44:52 +01:00
Franco Fichtner
d5e7ad8792 Framework: parity between plugins and core 2020-02-13 08:14:01 +01:00
Franco Fichtner
cf19e0ca8f pkg: move FLAVOUR to defaults 2020-02-12 12:34:18 +01:00
Franco Fichtner
adc7f3fc78 pkg: this is 20.1 now 2020-01-30 20:50:13 +01:00
Franco Fichtner
82c919ec77 pkg: change Syslog-ng to version 3.25 2020-01-24 11:37:33 +01:00
Franco Fichtner
28be3a171e pkg: Happy new year! :) 2020-01-01 15:49:50 +01:00
Franco Fichtner
285a6fdc0b make: allow to use syslogd-devel 2019-12-18 09:14:52 +01:00
Franco Fichtner
f098b3a9ba pkg: suricata with RUST builtin doesn't work everywhere yet 2019-10-29 12:04:09 +01:00
Ad Schellevis
bb06e1a5e1
Switch backup to Google api php client v2 (#3778) 2019-10-29 10:34:23 +01:00
Franco Fichtner
953ada8761 system: Syslog-ng 3.24 2019-10-23 16:20:49 +02:00
Franco Fichtner
65212fcded pkg: can't help it, change space to tab :D 2019-10-09 19:40:08 +02:00
Ad Schellevis
ec613d3042 switch to suricata 5.0.0-rc1 for -devel version 2019-10-09 16:15:01 +02:00
Franco Fichtner
9f853b8149 make: magical part of the syslog-ng version integration 2019-10-02 07:57:31 +02:00
Franco Fichtner
c9e395e6f8 system: replace syslog-ng version via build
Next step is using a form of CORE_SYSLOGNG to select
the syslog-ng package suffix.  More testing needed.
2019-10-01 22:45:09 +02:00
Franco Fichtner
959eea632f firmware: tie pkg dependency to core #3473 2019-09-24 09:39:59 +02:00
Franco Fichtner
b7f160e0a2 make: fix Python binary name 2019-07-19 01:04:32 +02:00
Franco Fichtner
130436ca74 firmware: this is what 20.1 will be now 2019-07-15 12:45:13 +02:00
Franco Fichtner
3ff6c602ab firmware: track for 20.1 development now 2019-07-14 18:15:48 +02:00
Franco Fichtner
13e1906be8 pkg: move timestamp refresh to post-install stage 2019-07-01 07:19:23 +02:00
Franco Fichtner
ac303690ef make: try to invalidate the cache, but only if the system looks like it
`install' has the same issue as `upgrade' and maybe we need to be careful
about use of `-[pP]' so that we are not stuck with a hash that does not
invalidate when installing a new version anymore.
2019-06-25 09:06:05 +02:00
Franco Fichtner
4728a64a1b make: lint pass also checks rc.syshook.d now 2019-06-24 07:54:13 +02:00
Franco Fichtner
f55ad273b7 pkg: move to Python 3.7 2019-06-03 07:59:55 +02:00
Franco Fichtner
5d83d8612c pkg: since CORE_PYTHON2 goes away make 3 the CORE_PYTHON default 2019-05-23 08:57:38 +02:00
Franco Fichtner
8b22eebb9c pkg: move python dep to 3 2019-05-21 09:04:26 +02:00
Franco Fichtner
28f87839f2 make: LOCALBASE should be used 2019-05-14 07:24:59 +02:00
Franco Fichtner
61ebecddfb make: tar behaviour seems different, touch index for cache regen 2019-05-13 08:53:00 +00:00
Franco Fichtner
3a59bec6a9 make: speed up `upgrade' by not doing compression
txz is quite slow and since we do not publish the image we can
simply use a tar file in this case.
2019-05-13 08:40:42 +00:00
Franco Fichtner
ab75fbb673 make: add the glue for extended style sweep default 2019-05-06 07:43:07 +02:00
Franco Fichtner
f8143ef30d pkg: switch to PHP 7.2
For older package sets use:

    # make upgrade CORE_PHP=71

Discussed with: @adschellevis
2019-03-18 08:28:45 +01:00
Franco Fichtner
1f5f414a90 pkg: mcrypt PHP module is no longer needed
And doesn't exist on PHP 7.2 ;)
2019-03-14 11:43:09 +01:00