63 Commits

Author SHA1 Message Date
Franco Fichtner
3da643e044 php: remove obsolete mbstring module
This module was used in the old XMLRPC client code, but is no longer
needed.  Removal was escalated by FreeBSD when the oniguruma4 dependency
of the php56-mbstring module was marked BROKEN.
2015-12-13 11:37:43 +01:00
Franco Fichtner
9b8db23330 make: add a bootstrap target 2015-11-17 19:59:08 +01:00
Franco Fichtner
0246d65b72 make: avoid a spurious error message when git isn't installed 2015-11-17 19:29:04 +01:00
Ad Schellevis
9d544a08c4 (legacy) zap voucher 2015-10-28 16:55:43 +00:00
Franco Fichtner
64e47c0a3a make: reload config configd pre and post mount 2015-09-25 23:15:47 +02:00
Franco Fichtner
81a8b23268 make: add remount; sometimes I'm too lazy 2015-09-14 18:26:07 +02:00
Franco Fichtner
f905215ab1 pkg: same same, but different
(os-update was renamed to opnsense-update.)
2015-08-25 13:27:57 +02:00
Franco Fichtner
d96b0755d2 dns: switch to ports-based unbound; #244
Upgrade path is not for fiddling with the installed files,
we're importing config.xml, not a full base system.
2015-08-20 16:01:49 +02:00
Franco Fichtner
751f365fa4 make: typo 2015-07-29 21:35:35 +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
4977452594 system: always rewrite from the default file
As an added benefit, (default) will now always revert back to the
actual default from the sample configuration, which is exactly
how it should be.
2015-07-29 12:18:42 +02:00
Franco Fichtner
6950149bf5 pkg: fold package configuration code into main Makefile 2015-07-29 11:21:28 +02:00
Franco Fichtner
9267664bbf pkg: add more manifest info and keep version history 2015-07-27 11:26:30 +02:00
Franco Fichtner
e8c52f5cb4 pkg: proper argument for flavour replacement 2015-07-17 17:27:52 +02:00
Franco Fichtner
0693d86ea1 pkg: take it to the next level...
We now have a branch-adaptation approach so that tools.git can
be a lot less clever as to what goes on internally.  Most meta-
data already comes from here, which is more in line with ports
and plugins.  :)
2015-07-17 17:27:52 +02:00
Franco Fichtner
7f2a872029 pkg: better auto-generation of manifest info 2015-07-17 07:49:27 +02:00
Franco Fichtner
e919d9462e pkg: new target needed now 2015-07-16 18:04:22 +02:00
Franco Fichtner
0be9325eff pkg: unify usage between core and plugins 2015-07-16 17:29:36 +02:00
Franco Fichtner
41fbe7420c make: fix lint target after xml rename 2015-07-16 14:20:35 +02:00
Franco Fichtner
da19c68bf5 make: split install' and plist' targets
While there, make install provide output as well and
mop up a few minor issues with the previous code.
2015-07-16 13:47:54 +02:00
Franco Fichtner
21012660de pkg: fix plist generation 2015-07-16 13:47:54 +02:00
Franco Fichtner
20f6c70ba0 pkg: pick up sample files automatically 2015-07-16 13:51:57 +02:00
Franco Fichtner
7dba32f597 make: disable suppression of PHP warnings by default 2015-07-06 11:17:12 +02:00
Franco Fichtner
a18ab70fba contrib: remove third party files from main src dir 2015-06-28 10:32:41 +02:00
Franco Fichtner
82a4ebb46a lang: move dynamic gettext() foo into subdir
Create and commit the files generated by the dynamic gettext extraction,
so that we can review changes more gracefully.  Two files in the Traffic
Shaper forms don't parse right now, but I have no clue why.
2015-05-31 15:05:30 +02:00
Franco Fichtner
3b562b0e38 lang: move translation glue into its own subdir 2015-05-31 13:58:18 +02:00
Franco Fichtner
b7f53fc236 make: flash README here as well 2015-05-19 08:30:42 +02:00
Franco Fichtner
bde4437625 make: apparently this just happened 2015-05-13 14:15:06 +02:00
Franco Fichtner
5c29e4b0e2 scripts: sweep here too 2015-05-12 10:44:03 +02:00
Ad Schellevis
821cca4be8 (language) add plugable script base to collect gettext tags and implement into Makefile 2015-05-11 20:09:13 +00:00
Franco Fichtner
8d69359455 make: due to recent renames, just expand to whatever we have 2015-05-11 17:15:51 +02:00
Franco Fichtner
c01a08e8fe make: not needed anymore 2015-05-11 13:52:13 +02:00
Franco Fichtner
d17d7a9396 locale: bootstrap the simplified chinese translation
Submitted by: Liu <liuyonghui_AT_grapecity.com>
2015-05-11 13:52:00 +02:00
Franco Fichtner
127614c538 make: do not install human-readable translation files 2015-05-11 11:53:11 +02:00
Franco Fichtner
d921f8288c make: `bootstrap' glue for translations 2015-05-11 11:47:09 +02:00
Franco Fichtner
34c4099e8b locale: need to change destination now 2015-05-11 10:40:09 +02:00
Franco Fichtner
4588c63f44 locale: --strict is easier to diff/read 2015-05-11 09:28:52 +02:00
Franco Fichtner
77c4d92937 make: wipe file before regeneration 2015-05-11 08:20:50 +02:00
Isaac (.ike) Levy
41ba7900f5 -j "join messages with existing file"
I believe this is what we want long term, to ensure translation messages don't pile up, and that they retain multiple comment lines for source references, etc... Please tell me if I'm wrong, I'm not 100% on how it's behaviour works.

Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
2015-05-11 02:01:08 -04:00
Franco Fichtner
87a1e6157a make: generate English .pot file via xgettext
Needs the optional gettext-tools package to run.
2015-05-10 19:25:11 +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
661d8b9ce1 make: improve live mount so that it registers the proper version 2015-04-20 08:25:41 +02:00
Franco Fichtner
a87c82fee2 pkg: add fingerprint for repository signing 2015-04-02 12:13:33 +02:00
Franco Fichtner
f6c6889d74 php: annoy Jos and Ad by enabling warnings by default...
... when using the core.git mount hook.  :)

Does not affect the packages/images.
2015-04-01 11:54:14 +02:00
Franco Fichtner
9002010cb0 inc: remove more globals that are barely used or unused 2015-03-24 22:56:23 +01:00
Franco Fichtner
f1d7efc661 vpn: is_array($x) && is_array($x) -> isset($x)
I guess this is a typo.  It makes sense to preceede is_array() with
isset() here since PHP throws a warning on unset variables nowadays.
However, is_array() should not be used if the following operation is
`foreach' as it would mask the fact that the array that is set is not
an array at all (maybe due to a bug).  Rather want to catch it instead.

A bit of style along the way and `lint' target fixing.
2015-03-24 07:57:38 +01:00
Franco Fichtner
4cf690e0a5 src: style and whitespace sweep 2015-03-11 07:46:19 +01:00
Franco Fichtner
f5b013a0dc make: exclude new .ttf files from `lint' target 2015-03-10 09:36:44 +01:00
Franco Fichtner
d72df5d071 make: lint over all files that are `ok' for PHP...
Seeing PHP ignore text files makes it easier to lint over more
files for a simple reason:  maybe someone sneaked a PHP file
into the repo and forgot the proper file extension, which is not
uncommon for utilities in *bin/ -- makes it easier to catch those.
2015-03-03 15:46:56 +01:00
Franco Fichtner
9e1b921efe rc: fix a couple of parse errors that previously went unnoticed 2015-03-03 08:53:54 +01:00