Commit Graph

31 Commits

Author SHA1 Message Date
Franco Fichtner
7e01d1eef5 scripts: run nightly test target 2017-08-21 09:18:47 +02:00
Franco Fichtner
9d5a52f0b5 scripts: only remove when archive is ok 2017-08-14 17:16:21 +02:00
Franco Fichtner
0bc370b356 scripts: another 2017-08-14 17:13:44 +02:00
Franco Fichtner
19d59f2d41 scripts: typo 2017-08-14 17:11:22 +02:00
Franco Fichtner
c792444bb9 scripts: archive the nightly logs 2017-08-14 17:07:41 +02:00
Franco Fichtner
c7758a578c scripts/nightly: another try in redirect 2017-08-05 13:34:20 +02:00
Franco Fichtner
fcf91a8038 scripts/nightly: clean logs first to see activity right away 2017-08-05 13:24:22 +02:00
Franco Fichtner
972914be37 scripts/nightly: proper redirect 2017-08-05 13:22:33 +02:00
Franco Fichtner
dec5379405 build: at least allow to clean the log directory 2017-08-05 13:18:52 +02:00
Franco Fichtner
12717fff77 scripts: add nightly script with basic logging support 2017-08-05 13:07:27 +02:00
Franco Fichtner
ed910d6c03 scripts: make run.sh a little more flexible 2017-02-08 18:30:57 +01:00
Franco Fichtner
1ccf0e4a58 scripts: timeout can be too short, increase 2017-01-13 15:53:18 +01:00
Franco Fichtner
12a4432855 scripts: improve batch run script slightly
Sometimes clean wasn't done on abort.
2017-01-01 14:47:38 +01:00
Franco Fichtner
6fd4df327d scripts: add batch runner script 2016-09-21 04:26:27 +02:00
Franco Fichtner
180ecff083 build: adapt a patch by @lattera to directly set PUBKEY+PRIVKEY 2016-02-01 18:07:20 +01:00
Franco Fichtner
1f05ee532a build/base: finally weave obsolete files into build step
Also signs the obsolete file list to complete the set signing.
2015-12-26 09:20:10 +01:00
Franco Fichtner
e213702060 build: add override for signing keys #20
The logic of scripts dir was that it doesn't need build dir foo,
which isn't true anymore for the pkg_* scripts so that needs to
be shuffled now.
2015-10-30 07:32:21 +01:00
Franco Fichtner
057e2d1c61 build/skim: make it part of the official build glue 2015-05-22 10:03:23 +02:00
Franco Fichtner
f304248a7f build: expand all configs around the product name 2015-05-11 17:57:49 +02:00
Franco Fichtner
6089d8fccc scripts: weird error; old style fix 2015-05-02 10:59:58 +02:00
Franco Fichtner
d63c3e9de6 scripts: improve skim to pick up MASTER_PORT magic 2015-04-28 10:22:42 +02:00
Franco Fichtner
c513581dfb scripts: do a full sync on unused ports only if required
It takes ages to sync the whole ports tree, so let's decouple this
from the cherry-picking we do on used ports...
2015-04-22 07:20:47 +02:00
Franco Fichtner
acc5837808 scripts: prune all ports that have been deleted 2015-04-22 06:03:02 +02:00
Franco Fichtner
b49aececeb build: add package signing glue 2015-04-02 05:17:49 +02:00
Franco Fichtner
912c2144b6 scripts: obsoleted files may be reinstated 2015-02-27 10:14:06 +01:00
Franco Fichtner
4b5468f90c scripts: don't let files linger any more than they should 2015-02-21 08:48:01 +01:00
Franco Fichtner
d6c42ddaeb scripts/port_skim: clear the screen to make individual port diffs...
distinguishable and thus easier to review.
2015-02-18 07:10:50 +01:00
Franco Fichtner
aa0fe2a8b7 scripts: trailing slashes prevent diff output in case of plain files 2015-02-15 07:35:59 +01:00
Franco Fichtner
9cec4caf90 scripts: properly generate the list of obsoleted files 2015-02-14 12:30:30 +01:00
Franco Fichtner
5bb6b77f7e scripts: it's time to add the infamous `port_skim'
A lot of time went into this gem to find changes in a
vanilla FreeBSD tree and to pick them up via the config
files provided by OPNsense and its current ports tree.

A vanilla tree is expected under /usr/freebsd-ports as
well as the standard layout of OPNsense.  If not the case,
the config vars can be edited to adapt to your directory
structure.

A known weakness of this script is its thoughtlessness
in case a port does an include-some-other-Makefile trick,
e.g. vim-lite to vim or gettext-runtime to gettext.  The
issue has been amended by marking these ports `sync' in
our ports.conf in opnsense/tools.git.  A better fix would
require a substantial rework of the ports infrastructure,
something that I don't think will happen.

Ports that are marked `sync' will also never update their
dependencies, as this would e.g. in the case of vim pull
in a lot of Xorg glue.

In any case it works reliably now.  :)
2015-02-10 09:12:11 +01:00
Franco Fichtner
28a8bcbea0 scripts: step towards system upgrades
We need to keep track of new and old binaries and directories.
This script will show removed and added files, but really only
the removed files are interesting as they must be stripped from
the system to not cause any harm (think vulnerable libraries
like OpenSSL from base we want to get rid of soon).
2015-01-18 09:40:44 +01:00