Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
2f1889c9 01/14/2016 11:06 AM Renato Botelho

Change pfSense-upgrade to return time for reboot so GUI can use it

8bd845b6 01/08/2016 05:28 PM Stephen Beaver

Reverting accidental change

5aba7eed 01/08/2016 05:24 PM Stephen Beaver

Merge branch 'bugfix-for-4605' of https://github.com/the-real-ed/pfsense

6cf87aec 01/07/2016 09:15 PM Renato Botelho

Do not set PKG_AUTOUPDATE=false anymore and let pkg to update metadata when it's necessary. Some users reported to see issues in cases where update was necessary

6aa3723a 12/15/2015 06:03 PM Renato Botelho

Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used

f5ed821f 12/11/2015 09:18 AM Phil Davis

Only ask Proceed with upgrade question once

On nanoBSD there is a "Proceed with upgrade?" question warning about the duplicate slice. After answering "y" to that, the system does the duplicate slice, which takes some minutes. Then it asks again "Proceed with upgrade?" after displaying all the packages it will install....

b3b10d30 12/10/2015 02:20 PM Renato Botelho

Fix #5598 - Nanobsd upgrade fails on GUI

When -p is used on nanobsd, progres socket must be created on secondary
partition (chroot_dir) otherwise pkg, that runs with -c chroot_dir,
will not be able to find UNIX socket to connect and send events

48ef5630 12/10/2015 02:20 PM Renato Botelho

Track nc PID and kill it on _exit()

3b9adc65 12/08/2015 05:03 AM Phil Davis

pfSense-upgrade script text

Just a few extra words to put in this text, while I am reading it and waiting for the upgrade to complete.

bb8e1db7 11/27/2015 11:15 AM Renato Botelho

Remove extra )

c6b87ace 11/27/2015 09:34 AM Renato Botelho

Implement -n (dry-run) option in pfSense-upgrade

32d0eedf 11/24/2015 11:36 AM Renato Botelho

Use _exec() to call gitsync

de73f5e9 11/23/2015 02:20 PM Renato Botelho

Teach pfSense-upgrade to run gitsync after upgrade

f4001737 11/23/2015 12:41 PM Renato Botelho

Define user-agent on pfSense-upgrade

77764580 11/19/2015 02:48 PM Renato Botelho

Duplicate slice before upgrade, fixes #5483

9bdf72fd 11/16/2015 07:09 PM Renato Botelho

Add a workaround on pfSense-upgrade to prevent breaking strongswan port due to the symlinks we create

3a452a3e 11/13/2015 05:37 PM Renato Botelho

Improve language

0895a9a5 11/13/2015 05:36 PM Renato Botelho

Fix copyright year

706724c3 11/13/2015 05:34 PM Renato Botelho

Improve language

8af32edf 11/13/2015 05:33 PM Renato Botelho

Fix spell issue spotted by Jim

1c114534 11/13/2015 05:26 PM Renato Botelho

Add a new option to force upgrade script to don't reboot

d86a6c40 11/13/2015 05:26 PM Renato Botelho

Wait 10 seconds before reboot, also notify admin

d6f92b70 11/05/2015 06:10 PM Renato Botelho

Do not consider only meta package, but also other pfSense main packages, also change exit code from -1 to 2

e8ef8dd8 11/05/2015 05:28 PM Renato Botelho

Add a new option to pfSense-upgrade, -c, it'll return 0 if system firmware is up2date or -1 if there are updates available

f80d02a4 10/24/2015 10:55 AM Phil Davis

Fix case wildcard of package names for reinstallall

Introduced by https://github.com/pfsense/pfsense/commit/e3b43e4bfe5a3e69028c1ab7e0e4a632ff5ee499
None of the packages were being matched here, none of them would be reinstalled. A "reinstallall" would complete very quickly with "Success" message but actually do nothing.

3e191a85 10/23/2015 08:04 PM Renato Botelho

Ignore kernel-debug package when looking for main kernel package

463c438d 10/23/2015 05:50 PM Renato Botelho

Make it possible to _exec to get $_cmd exit code instead of tee one

b194ed9e 10/23/2015 05:49 PM Renato Botelho

Use _exit()

54d0cd74 10/23/2015 05:22 PM Renato Botelho

Fix #5338: Add -4 and -6 options to pfSense-upgrade to select IP protocol version

e3b43e4b 10/23/2015 05:22 PM Renato Botelho

Use already defined pkg_prefix variable

6741243b 10/19/2015 06:52 PM Stephen Beaver

Use _echo, not echo

1166ee1e 10/16/2015 01:02 PM Stephen Beaver

Fixed #5291 - Reinstalling pfSense-pkg-openvpn-client-export

21de7a20 10/15/2015 05:55 PM Stephen Beaver

Removed debug
Improved package detection

f16d76c3 10/15/2015 05:04 PM Stephen Beaver

Added "reinstall all packages" functionality (accessed via diag_backup.php)

3989741c 10/14/2015 06:19 PM Renato Botelho

Use a socket to talk with pkg and write json file to GUI

1a850fc9 10/14/2015 09:38 AM Renato Botelho

Move kill tail process to _exit()

94621fcc 10/14/2015 01:07 AM Stephen Beaver

pfSense-upgrade revised to kill tail on exit
pkg_mgr_install.php revised to catch json deocde error on partial lines read from file

7dd07954 10/13/2015 10:10 PM Renato Botelho

Remove old logfile before start

a2df0a1b 10/13/2015 10:09 PM Renato Botelho

Add quotes

2b0a0109 10/13/2015 10:09 PM Renato Botelho

Do not accept blank logfile

fd9c69a2 10/13/2015 10:08 PM Renato Botelho

Change -l parameter to receive a complete path for logfile

24a11c92 10/13/2015 09:59 PM Renato Botelho

_force must be local

59dd1f15 10/13/2015 09:43 PM Renato Botelho

Do not stop when package is up to date and force flag was passed

98a58bee 10/13/2015 07:29 PM Stephen Beaver

Changes to accommodate new pfSense-upgrade

bb12c4b1 10/13/2015 07:08 PM Renato Botelho

Add -f option to force package reinstallation

3c5a06e7 10/13/2015 07:01 PM Renato Botelho

When -p is used, read fifo content and write it to a file used by GUI

8870b1c6 10/13/2015 06:31 PM Chris Buechler

Merge pull request #1963 from davidjwood/ppp-ipv6

8237727a 10/13/2015 05:58 PM Stephen Beaver

Multiple changes to clean up the package installaion system by causing the installer to run in the background
whilst monitoring its output via AJAX to provide a better GUI display.
Work in progress !

3e800a46 10/13/2015 12:19 PM Renato Botelho

Respect chroot_dir, ticket #5300

d6e8a994 10/13/2015 12:10 PM Renato Botelho

Ticket #5300:

Add a workaround to fix the issue of extensions.ini out of order ending
up breaking PHP. Since the only dependency we have is suhosin that
depends of session, alphabetical sort does the trick for now while a
proper solution is not handled by the ports tree

624799c9 10/13/2015 09:45 AM David Wood

Move ppp-ipv6 helper script into the correct location

55fe5491 10/11/2015 05:35 PM David Wood

Use named variables for ppp-linkup command line parameters

f7dfd39f 10/11/2015 05:32 PM David Wood

Make route deletions quiet - it may well be the routes have already disappeared

6df89ece 10/11/2015 05:32 PM David Wood

Make code dealing with the IPv4 default gateway conditional on the IPv4 link going down

6c452777 10/11/2015 05:32 PM David Wood

Connect ppp-ipv6 helper script to ppp-linkdown and ppp-linkup

3d00a29b 10/08/2015 06:37 PM Stephen Beaver

Further updates to pfSense-upgrade-GUI.sh

42cf0f48 10/08/2015 06:15 PM Stephen Beaver

Script to set up pfSense-upgrade when called from web GUI

55e73a56 10/08/2015 03:38 PM Stephen Beaver

Preparation for $5279
New wrapper script to be called by web GUI

a5733f63 10/07/2015 06:51 PM Renato Botelho

Rework pfSense-upgrade script to make it work with nanobsd

366d1482 10/07/2015 06:51 PM Renato Botelho

Exit script when _exec fails

db96a95c 10/02/2015 07:08 PM Renato Botelho

Call /etc/rc.reboot in bg and exit just after that

c6c3b066 10/02/2015 11:32 AM Renato Botelho

Let user know it's going to reboot if any package of core repo needs upgrade

0d04830f 10/02/2015 11:30 AM Renato Botelho

Check if packages are up to date early

b476eb8d 10/02/2015 11:07 AM Renato Botelho

Make sure partition are mounted in rw mode before any operation

f0308648 10/02/2015 11:06 AM Renato Botelho

Only reboot if there are upgrades from core repo

375a1754 10/02/2015 11:05 AM Renato Botelho

Remove unnecessary variable

54d0134b 10/02/2015 10:08 AM Renato Botelho

Remove more cases of hard coded pfSense and use product_name

e4121dde 10/01/2015 04:27 PM Renato Botelho

Introduce read_global_var:

- Add a new script, read_global_var, that returns the value of any item
contained in global array $g
- Replace all grep and sed magic from shell scripts

a5c36eb2 10/01/2015 01:21 PM Renato Botelho

Introduce read_xml_tag.sh

Create /usr/local/sbin/read_xml_tag.sh, that will read a xml tag from
config file using xmllint. Replace all direct read using cat, grep, sed,
... by this script

f39bb5b6 09/30/2015 01:45 PM Renato Botelho

pkg 1.6.x upgrade command called with -q is now respecting it

7a19c326 09/29/2015 08:42 PM Renato Botelho

Do not run pkg update between first and second step of upgrade process

26bc0c20 09/29/2015 05:23 PM Renato Botelho

Remove old references to undefined variable firmwarelock

9f25db73 09/29/2015 05:17 PM Renato Botelho

Call exit after detect another instance is already running, otherwise it would end up deleting pid file

b6c72ae2 09/29/2015 05:12 PM Renato Botelho

Detect when pkg must be upgraded and do it early, followed by a pkg update to make sure metadata is updated

acce8404 09/25/2015 07:46 PM Renato Botelho

Cleanup cache and stale packages after install/delete

ab56095b 09/25/2015 07:46 PM Renato Botelho

Add missing ;;

fdf35e23 09/25/2015 06:33 PM Renato Botelho

Fix logic to set EVENT_PIPE

c979e86b 09/25/2015 06:29 PM Renato Botelho

Add -h, to show help

7025e3d4 09/25/2015 05:25 PM Renato Botelho

Define EVENT_PIPE using a parameter, -p

d61a194d 09/25/2015 04:46 PM Renato Botelho

Print return code when _GUI_CALL is not empty, used by GUI to check rc of a process that runs in bg

ac56271c 09/25/2015 04:42 PM Renato Botelho

Replace direct calls to exit by _exit

35ad2c72 09/25/2015 04:27 PM Renato Botelho

Set environment var EVENT_PIPE, used by pkg to write out progress in json format

f62ea19b 09/25/2015 04:09 PM Renato Botelho

Rename functions and variables to improve readability, no functional changes

badfc76a 09/25/2015 04:05 PM Renato Botelho

Use compare_version() for kernel_pkg checks

92c9d6cc 09/25/2015 04:03 PM Renato Botelho

Add pfSense-upgrade parameters -i/-r to install or remove packages

88af0be4 09/25/2015 12:31 PM Renato Botelho

Change usage() to use regular echo() and print to stderr

096c5147 09/25/2015 12:26 PM Renato Botelho

Relocate global variables definitions, no functional changes

23ee0868 09/25/2015 12:25 PM Renato Botelho

Relocate main block and leave all functions in the beggining

b046b5c4 09/25/2015 12:23 PM Renato Botelho

Check if update needs to run inside update()

9346911f 09/25/2015 11:35 AM Renato Botelho

Update repository metadata hourly

2edc6c80 09/23/2015 08:52 PM Renato Botelho

Add -u option to pfSense-upgrade

- New u option, to run pkg update
Move upgrade action code to upgrade()
- Rename first_step to upgrade_first_step
- Rename second_step to upgrade_second_step
- Do not call update when upgrade is called

d4c86857 09/23/2015 08:52 PM Renato Botelho

Verify if pkg is (un)locked before (un)lock it

32783770 09/23/2015 08:52 PM Renato Botelho

Disable trap on _exit()

3ea25fad 09/23/2015 08:52 PM Renato Botelho

Declare logfile earlier

d6891fcc 09/23/2015 08:52 PM Renato Botelho

Make usega() more informative

0dfc62d5 09/23/2015 08:52 PM Renato Botelho

Teach _exit() to return 1st parameter, replace exit calls by _exit and move trap to start of main block

d9a0f7a2 09/23/2015 08:52 PM Renato Botelho

Track pfSense-upgrade pidfile to avoid running 2 instances simultaneosly

66855de6 09/22/2015 08:05 PM Renato Botelho

Abort when 'pkg update' fails

d8123075 09/14/2015 07:58 PM Renato Botelho

Rename upgrade script to pfSense-upgrade

5ec643eb 09/14/2015 04:41 PM Renato Botelho

Do not call reboot, use /etc/rc.reboot instead