Commit Graph

180 Commits

Author SHA1 Message Date
Chris Buechler
6134dcf51e fixup gitsync for 2.1/2.2 2013-05-22 19:27:22 -05:00
jim-p
ab1cf45537 Add PHP shell playback script to control services from the command line (works like Status > Services) 2013-03-22 14:05:26 -04:00
Chris Buechler
d5280de64d update github repo location 2013-03-10 20:44:39 -05:00
jim-p
375136d94f Add a pfSsh.php script to remove the shaper settings from the console if needed. 2013-02-26 16:43:54 -05:00
jim-p
c3ebb2f867 Try to use our git PBI instead of the tbz version. 2013-02-19 10:48:31 -05:00
jim-p
5823264a93 Add some PHP shell scripts for managing packages from the CLI.
pfSsh.php playback installpkg git
pfSsh.php playback uninstallpkg git
pfSsh.php playback listpkg
2013-02-19 10:36:12 -05:00
jim-p
c6e83f5e6d Add php shell scripts to (en|dis)able carp. 2013-02-15 10:17:18 -05:00
jim-p
1d949f5059 Add a few required things here to allow the script to work 2012-10-16 12:56:10 -04:00
Erik Fonnesbeck
00c0720a59 gitsync: Improve parameter handling to allow hyphenated options anywhere in the parameter list. (previously only allowed them at the end) 2012-09-17 10:33:13 -06:00
Erik Fonnesbeck
147b2be1c2 gitsync: Add --minimal parameter that installs only the updated files. 2012-09-17 07:47:01 -06:00
Erik Fonnesbeck
c578fb0fc6 Fix special build_commit tag that was broken from previous change to how it read the file with the commit ID. 2012-09-17 06:33:24 -06:00
Erik Fonnesbeck
612f519852 Modify the tar parameters to exclude .git 2012-05-20 17:52:38 -06:00
Erik Fonnesbeck
ae26412f3d Move git package name/URL to the configuration variables section. 2012-05-15 13:26:38 -06:00
Erik Fonnesbeck
26b8990538 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. 2012-04-07 16:20:58 -06:00
Erik Fonnesbeck
feef287ead Remove obsolete files after gitsync 2012-02-28 14:45:15 -07:00
Erik Fonnesbeck
2044cb61fc Allow specifying the branch name after the repository URL for gitsync command-line arguments and remove an unnecessary use of the backtick operator. 2012-02-28 12:22:18 -07:00
Chris Buechler
459bb026f6 correct branches in gitsync 2012-02-04 00:53:34 -05:00
Chris Buechler
b901ea5724 add a shortcut to disable referer check 2012-01-05 19:55:41 -05:00
jim-p
41fa9c9743 Extend this script to also add an ipv6 rule. 2011-07-19 11:30:42 -04:00
jim-p
aab2a3f6df 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. 2011-05-16 16:57:02 -04:00
jim-p
153e3cb5ab Declare $g a global here. 2011-02-26 11:40:32 -05:00
jim-p
73d885d7c4 Ensure the pkg staging area exists on nanobsd before trying to use it. 2011-02-26 11:34:19 -05:00
jim-p
9011a843e8 If we're on nanobsd, pass -t to pkg_add to specify a different "staging area" path. 2011-02-24 10:37:58 -05:00
jim-p
003d1b3dab And one more place for PKG_TMPDIR... just in case. 2011-02-23 14:09:39 -05:00
Scott Ullrich
96920d07ad Restart lighty captive portal after sync 2011-01-25 15:20:08 -05:00
Scott Ullrich
84cf0b3ebf Use exec() 2010-11-28 19:55:35 -05:00
Scott Ullrich
690d24af8c Add pfSsh.php externalconfiglocator playback script 2010-11-28 19:04:34 -05:00
Erik Fonnesbeck
f0ce6758e8 Add option to System: Firmware: Settings for running gitsync after installing an update, hidden/disabled if git has not been installed yet. 2010-11-10 03:03:00 -07:00
Ermal
fbd5fc52a7 Bring gitsync to the new check_reload_status behaviour. 2010-09-22 15:27:31 +00:00
Erik Fonnesbeck
97e6256f4d Add support for an automatic merge list to gitsync, properly escape user-supplied parameters, and improve error handling a bit. 2010-09-16 02:40:17 -06:00
Chris Buechler
1f1fc944bc fix text 2010-08-13 13:02:18 -04:00
Erik Fonnesbeck
fb95b3244a Allow specifying other branches when using the existing repository URL in gitsync after the branches have been downloaded for the first time. 2010-08-05 00:50:43 -06:00
Erik Fonnesbeck
5624039060 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. 2010-08-04 23:59:42 -06:00
Erik Fonnesbeck
43141617a3 Combine checkout logic for cloning and updating in gitsync and fix a condition showing an error message on the initial cloning. 2010-07-09 23:52:53 -06:00
Renato Botelho
3ffa831888 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 places
o Add necessary require_once() calls to pfsense-utils.inc on places that
  are calling xml2array()
o Add serviceproviders.xml, obtained from [1]
o Add ISO xml with country codes and names, obtained from [2]

[1] http://git.gnome.org/browse/mobile-broadband-provider-info/
[2] http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
2010-06-02 08:30:29 -03:00
Scott Ullrich
e5cd6d8960 Do not include altq/shaper twice 2010-05-22 23:18:12 -04:00
Scott Ullrich
4e9203174a Do not reinclude filter.inc 2010-05-22 20:36:14 -04:00
Scott Ullrich
40a606961a Adding enablesshd pfSsh.php script 2010-05-21 21:17:04 -04:00
Erik Fonnesbeck
156a7868ba Add a gitsync option for reverting to the commit used when building the image. 2010-05-04 04:56:43 -06:00
Erik Fonnesbeck
932364e772 Default to and display the last used repository URL in gitsync. 2010-04-29 04:00:46 -06:00
Erik Fonnesbeck
b696422827 Add gitsync support for merging from other repositories. 2010-04-29 03:02:10 -06:00
Erik Fonnesbeck
ecac770c1a Allow gitsync to properly switch branches or repositories. Resolves #523 2010-04-29 02:59:48 -06:00
Ermal Luçi
a46e450ce9 Do not spread checking for value accross code. Do it in the function that is supposed to do it. 2010-03-08 16:53:45 +00:00
Scott Ullrich
680bcb4d04 Include globals.inc 2010-02-14 15:48:05 -05:00
sullrich
869538d53d Resolve Warning: Invalid argument supplied for foreach() in /usr/local/sbin/pfSsh.php(334) : eval()'d code on line 257 2009-12-15 11:41:13 -05:00
sullrich
784a076846 Include needed libraries 2009-12-15 11:36:05 -05:00
sullrich
7d736708b7 Fix RELENG_1_2 gitsync 2009-12-06 15:40:16 -05:00
sullrich
cb8c3cfcca Hide debugging item 2009-12-05 15:59:57 -05:00
sullrich
51a2e89221 Cleanup after sync 2009-12-05 15:59:05 -05:00
sullrich
e22aff02fb Run git clean 2009-12-04 21:06:19 -05:00