s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases.
fixup gitsync for 2.1/2.2
Add PHP shell playback script to control services from the command line (works like Status > Services)
update github repo location
Add a pfSsh.php script to remove the shaper settings from the console if needed.
Try to use our git PBI instead of the tbz version.
Add some PHP shell scripts for managing packages from the CLI.pfSsh.php playback installpkg gitpfSsh.php playback uninstallpkg gitpfSsh.php playback listpkg
Add php shell scripts to (en|dis)able carp.
Add a few required things here to allow the script to work
gitsync: Improve parameter handling to allow hyphenated options anywhere in the parameter list. (previously only allowed them at the end)
gitsync: Add --minimal parameter that installs only the updated files.
Fix special build_commit tag that was broken from previous change to how it read the file with the commit ID.
Modify the tar parameters to exclude .git
Move git package name/URL to the configuration variables section.
Move some constants in gitsync closer to the top of the source code and add some new ones of potential interest to those reconfiguring gitsync. Also modify messages to indicate that Git URLs are also allowed.
Remove obsolete files after gitsync
Allow specifying the branch name after the repository URL for gitsync command-line arguments and remove an unnecessary use of the backtick operator.
correct branches in gitsync
add a shortcut to disable referer check
Extend this script to also add an ipv6 rule.
Update default gitsync url to be the github URL. If anyone had done a gitsync before to the standard URL, they'll need to either rm /root/pfsense/ or cd /root/pfsense/pfSenseGITREPO/pfSenseGITREPO; git remote set-url origin git://github.com/bsdperimeter/pfsense.git; and then gitsync again.
Declare $g a global here.
Ensure the pkg staging area exists on nanobsd before trying to use it.
If we're on nanobsd, pass -t to pkg_add to specify a different "staging area" path.
And one more place for PKG_TMPDIR... just in case.
Restart lighty captive portal after sync
Use exec()
Add pfSsh.php externalconfiglocator playback script
Add option to System: Firmware: Settings for running gitsync after installing an update, hidden/disabled if git has not been installed yet.
Bring gitsync to the new check_reload_status behaviour.
Add support for an automatic merge list to gitsync, properly escape user-supplied parameters, and improve error handling a bit.
fix text
Allow specifying other branches when using the existing repository URL in gitsync after the branches have been downloaded for the first time.
Some minor fixes for gitsync. Don't create these unused directories, and make sure the file system is returned to the read-only state on NanoBSD.
Combine checkout logic for cloning and updating in gitsync and fix a condition showing an error message on the initial cloning.
First steps for 3g serviceproviders support
o Move xml2array from rrd.inc to pfsense-utils.inc because it'll be used on non-rrd related placeso Add necessary require_once() calls to pfsense-utils.inc on places that are calling xml2array()o Add serviceproviders.xml, obtained from [1]...
Do not include altq/shaper twice
Do not reinclude filter.inc
Adding enablesshd pfSsh.php script
Add a gitsync option for reverting to the commit used when building the image.
Default to and display the last used repository URL in gitsync.
Add gitsync support for merging from other repositories.
Allow gitsync to properly switch branches or repositories. Resolves #523
Do not spread checking for value accross code. Do it in the function that is supposed to do it.
Include globals.inc
Resolve Warning: Invalid argument supplied for foreach() in /usr/local/sbin/pfSsh.php(334) : eval()'d code on line 257
Include needed libraries
Fix RELENG_1_2 gitsync
Hide debugging item
Cleanup after sync
Run git clean
No need for duplicate command
Reset to HEAD on non master
Use git reset --hard HEAD
Uncomment code and move to checkout tree after intiial fetch
Do not download entire tree every time, use cached version
Add ===>
Unbreak console lockout on bootup and in gitsync (pfSsh.php) Resolves #195
Require filter.inc and shaper.inc
Fix typo
Catch up to muli interface changes and really turn off bogons on WAN
Clarify that the URL should be a RCS url and that it should be HTTP
Resolve merge
Note when running /etc/rc.php_ini_setup
Run /etc/rc.php_ini_setup if it exists
Call conf_mount_rw() early
Rename cvssync to gitsync and do not introduce haproxy changes
Revert "Rename cvssync to gitsync"
This reverts commit 62b035ce5f41c8342f0eea0b78e5878ff467e525.
Rename cvssync to gitsync
Sync
Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel now.(yay!)
cd to correct directory
rm -rf /pfSenseGITREPO, too
Set CODIR early, remove directories as needed
Use full path to rm binary
Remove /home/pfsense on each run until we can fine tune this script.
Blow away GIT repo until I get it under control (no pun intended)
Use $branch
Unbreak RELENG_1_2 checkouts
pkg_add -r git
Remove mainline and HEAD previous checkouts (CVS)
Use fetch and merge on subsequent checkouts
Use /root/pfSenseGITREPO for checkouts
Add missing ;
Correctly checkout branches
Checkout correctly
Use git fetch and merge
Use git fetch
Correctly checkout GIT
Pull latest GIT repo (master)
Pull latest GIT repo
Set git fetch url correctly
Checkout master correctly
Handle git branches correctly (missing half the command)
Update scripts for git (final repo cut).
Run /etc/rc/php_ini_setup before testing php
Do not sleep, just exit
Remove non-needed \n
Minor text cleanups