48 Commits

Author SHA1 Message Date
Franco Fichtner
a3e3b97e53 firmware: switch to 20.7 2020-07-28 10:33:42 +02:00
Franco Fichtner
cf96f043a3 pkg: cheer up @adschellevis by auto-selecting suricata 2020-07-24 14:34:01 +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
2a216f91c7 Framework: small comment on current use for these settings 2020-04-24 09:17:48 +02:00
Franco Fichtner
072d9673b9 pkg: useless overrides ARCH and FLAVOUR 2020-04-15 19:12:22 +02:00
Franco Fichtner
7b0bd24771 pkg: finish cleanup of install/plist targets
No functional changes; refactored for readability and exclusive
use of ".link", ".shadow" and ".sample" suffix.

".in" can always be applied, must be the first prefix.
2020-04-15 18:54:25 +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
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
cf19e0ca8f pkg: move FLAVOUR to defaults 2020-02-12 12:34:18 +01: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
2d0ff7ab9d pkg: fix wrong version in core metadata file 2018-12-22 17:47:21 +01:00
Franco Fichtner
028bfa10e8 pkg: mkdir -p '' has issues, happens on `make install' 2018-10-31 11:34:31 +01:00
Franco Fichtner
7e3ffaa436 pkg: these too 2018-10-27 23:43:33 +02:00
Franco Fichtner
983485d745 pkg: remove verbose output on copy
In the old times this was nice as a control mechanism,
but now we have a plist to match this against.
2018-10-27 23:39:08 +02:00
Franco Fichtner
bd7169e6ac pkg: fixes for previous 2018-10-27 23:32:57 +02:00
Franco Fichtner
6fd1fd0d74 pkg: move rc to /etc/rc.opnsense; closes #2416
Move /usr/local/etc/rc to /etc/rc.opnsense in order to be able
to boot without /usr mounted.  Move the /boot files along with
it since they require the same type of /usr/local-escapting.

1. This needs further testing.  :)
2. Inspect rc script for commands depend on /usr tools

Our rc.shutdown stays where it is, if we can shutdown we should be
able to access it.  If not, it's not grabbed via /etc/rc.shutdown.
2018-10-27 22:12:04 +02:00
Franco Fichtner
225ba12ef8 pkg: rename tree.mk to core.mk 2018-09-22 20:23:57 +02:00
Franco Fichtner
cd5a171966 pkg: ignore files that are templated 2018-09-22 10:17:10 +02:00
Franco Fichtner
d6657904f3 pkg: also inject CORE_COMMIT 2018-09-22 09:18:37 +02:00
Franco Fichtner
8d6a9b4197 firmware: hijack firmare-product for build-time metadata 2018-09-16 19:03:36 +02:00
Franco Fichtner
47baf6b122 make: replace all the things! 2018-09-16 13:09:57 +02:00
Franco Fichtner
08569103ce ui: funnel hash through firmware-product file #2367
Part one makes it possible to inject branding info from the Makefile
which is not fully complete yet but can always be finished.  The new
hash value can thus be used as a unqiue identifier for page resources
that may be subject to caching.  By using the git hash it allows us
to have this effect on test commits as well as earch working version
as we don't want to track the changes for each file but still get a
good amount of caching.
2018-09-02 09:43:52 +02:00
Franco Fichtner
86350fc183 man: allow to enroll and install man pages
Support was missing for quite a while.  Time to write a couple
of docs for our "opnsense-" tools in core.
2018-05-19 15:57:16 +02:00
Franco Fichtner
9c63784ebf make: update target, some cleanups 2018-02-26 14:55:16 +00:00
Franco Fichtner
3386053709 webgui: clean up after rework 2017-05-04 16:59:51 +02:00
Franco Fichtner
83b5aae6c3 pkg: second half of previous 2017-03-02 07:02:25 +01:00
Franco Fichtner
72e462453a pkg: split @shadow and @sample syntax, slight differences
Can't guarantee this is the final state, but opnsense-bootstrap
stopping over lingering repository information without the finger-
prints in place is not very helpful either.

Now we have a working copy of the file we need, it is already
reconfigured after install and it now also reverts FreeBSD.conf
back to its required state--which is off--to prevent problems.
2017-03-02 06:55:28 +01:00
Franco Fichtner
8185e2007b pkg: exclude missing packages on armv6 2016-10-24 17:13:50 +02:00
Franco Fichtner
f597fff380 pkg: ignore a few more files
Now that we have a plist it's easier to review/preview changes.
Can finally tackle the src/opnsense/contrib mess in a sensible
way with this and since we do not rely on mount/umount anymore.
2016-09-25 12:40:24 +02:00
Franco Fichtner
54cb00d75a Mk: no errors on crypto probe 2016-09-24 14:26:53 +02:00
Franco Fichtner
8903f16227 pkg: add an explicit plist for qa purposes
When we build packages, we want to know if something is wrong.
For now, only use it in the upgrade path, not sure how to
to distinguish if a user or the build system is running the
package build.
2016-09-24 14:21:45 +02:00
Franco Fichtner
dc2bd36118 Mk: split out some common stuff, add headers 2016-09-24 14:00:47 +02:00
Franco Fichtner
12a5ac98d7 Mk: allow ROOT fallback, but make sure it's there 2016-09-24 11:48:13 +02:00
Franco Fichtner
28f3f5391f Mk: small fix, /usr/local is our default-default 2016-09-24 11:36:08 +02:00
Franco Fichtner
1fea1163dc pkg: ":" wasn't supposed to be in there 2016-09-24 11:31:11 +02:00
Franco Fichtner
50f557f4d7 pkg: ok, 500% harder than found in the last commit
Transition away from making the internals known, so rework
the whole tree.mk to expand better to dynamic destinations.
2016-09-24 11:29:10 +02:00
Franco Fichtner
82bece2a6d pkg: shadow the sample files, delete on uninstall is undesired
While there also get rid of the need for a /usr/ports dir (this will
make tools.git crash and burn for sure.)

shadow.ucl adapted from https://github.com/freebsd/freebsd-ports/blob/master/Keywords/sample.ucl
2016-08-29 19:46:37 +02:00
Franco Fichtner
b5c7f232d7 firmware: make ABI a bit more flexible and also register name 2016-07-01 14:33:17 +02:00
Franco Fichtner
875d57612f pkg: do not install *.pyc files 2016-03-12 09:31:27 +01:00
Franco Fichtner
ebaef43b60 make: honour spaces during plist/install stage 2016-01-27 09:44:24 +01:00
Franco Fichtner
9b8db23330 make: add a bootstrap target 2015-11-17 19:59:08 +01:00
Franco Fichtner
4453f751dc Mk: add NO_SAMPLE mod to install/plist targets 2015-11-17 19:48:33 +01:00
Franco Fichtner
d4d6db2770 Mk: refactor for EXTRA plist/install targets
Guess what's coming soon...  :)
2015-11-16 19:54:37 +01:00
Franco Fichtner
27846e1b0e pkg: refactor using PREFIX, but this time for real 2015-08-07 17:00:54 +02:00
Franco Fichtner
8061ea1e5b pkg: setting PREFIX did not do anything 2015-08-07 07:54:34 +02:00
Franco Fichtner
d5cd97a492 pkg: generalise packaging magic; add .in suffix awareness
o Makes live-mounting easier as the package config samples won't
  be clobbered anymore.

o Automatically picks up ".in" files, runs replace and moves them
  to their permanent location.

o Refactored src directory install while at it.
2015-07-29 17:00:13 +02:00
Franco Fichtner
bd23c117f5 Mk: refactor install/plist code a wee bit 2015-07-26 16:42:23 +02:00