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.
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.
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. :)
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.
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>
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.
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.
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.