22 Commits

Author SHA1 Message Date
Franco Fichtner
604a940917 pkg: mark repo config a sample file, generation upcoming 2015-06-08 14:19:11 +02:00
Franco Fichtner
e4b2d537de pkg: avoid redirect 2015-06-08 12:07:26 +02:00
Ad Schellevis
865785568b (install) force volt templates to be flushed after install 2015-06-08 09:46:47 +00:00
Franco Fichtner
034070ef78 pkg: decide about the repo flavour via tools.git 2015-05-06 20:27:28 +02:00
Franco Fichtner
6b02199157 Revert "pkg: do not yet verify the fingerprints"
This reverts commit 4df19f1b1e84c07836f1da2ab5a27c92c6a96f63.
It's time to enable the verification.  the packagaes are being
signed since the original commit went in and all tests have
shown that this works as expected.  Staying safe, you know...
2015-05-03 15:29:08 +02:00
Franco Fichtner
a84ebd98f2 pkg: better FreeBSD repo override 2015-04-30 15:10:24 +02:00
Franco Fichtner
fef8fb56cb pkg: trailing slash is customary for WWW 2015-04-22 16:55:58 +02:00
Franco Fichtner
55db8dab0f pkg: do not overwrite default config.xml anymore; fixes #145
Fixes spurious overwrite of a standard config, but also doesn't
update the standards anymore in a running installation.  Install
media is unaffected from this change.  Users that have had their
standard config overwritten need to rewrite the file accordingly:

    /usr/local/etc/config.xml

It also enables users to use their own sample configs on a running
installation from now on.  Might add a knob in the GUI to do e.g.
`use this config as the factory reset configuration'.  :)

While there, move the pkg-related Makefile glue into its own
file in the subdirectory for clarity.
2015-04-20 12:33:05 +02:00
Franco Fichtner
4df19f1b1e pkg: do not yet verify the fingerprints
Signing is going on in the background, syncing the fingerprint
into the system, but the actual verification will wait until
the next major release.  This is pretty neat in any case...
2015-04-07 09:53:44 +02:00
Franco Fichtner
b78ce4cc7d pkg: point to fingerprints, too 2015-04-02 12:13:33 +02:00
Franco Fichtner
a87c82fee2 pkg: add fingerprint for repository signing 2015-04-02 12:13:33 +02:00
Franco Fichtner
d963cad001 pkg: shell magic, indent, whitespaces 2015-03-10 14:04:25 +01:00
Ad Schellevis
231f818c89 use configd's rc script after package upgrade 2015-03-10 10:50:32 +00:00
Franco Fichtner
5e648312ac pkg: restart configd to sync the new code
While there, switch to the defaults when reloading the webgui.
2015-03-06 17:34:07 +01:00
Franco Fichtner
10002c2278 pkg: auto-mounting the repo taints pkg(8) setups
Move the config files out of the way, but still install them properly.
2015-03-02 13:07:01 +01:00
Franco Fichtner
797b0e64b8 src: migrate the version file to a new home
We now use /usr/local/opnsense/version/xxx as our version database.
Apart from the core package, opnsense-update(8) also puts its own
version information in there.  To stay somewhat consistent, the
version file should resemble the package name, even though that
looks strange in our case: /usr/local/opnsense/version/opnsense.
It's just that /usr/local/etc is too open and might clash with
other things in the future.
2015-03-02 09:08:44 +01:00
Franco Fichtner
78bdb9aef5 pkg: fix error on +PRE_DEINSTALL 2015-02-27 23:10:26 +01:00
Franco Fichtner
0f2443ee72 rc: there's always something else that breaks...
Just move to the actual rc script in the repo from our hook and
revert back to a simple mount inside that one.  Problem solved.
2015-02-26 15:49:15 +01:00
Franco Fichtner
02f96dacf8 pkg: pull in all files, contents and insert placeholders 2015-02-25 20:42:17 +01:00
Franco Fichtner
eaed16aeb3 pkg: move the automount to /etc/rc so that...
/usr/local/etc/rc is always the latest version.  Issue
popped up again since check_reload_status was replaced.
2015-02-25 08:12:12 +01:00
Franco Fichtner
3dd6db4a52 pkg: install via `install', and fix unknown version hiccup 2015-02-25 07:49:56 +01:00
Franco Fichtner
9833d24adf pkg: bring in package scripts to make their modification easier 2015-02-25 07:35:00 +01:00