26 Commits

Author SHA1 Message Date
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