Project

General

Profile

Download (24 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
5c97738b 05/05/2016 02:43 PM Renato Botelho

Unlock kernel package to make dry-run output more consistent

01789906 05/02/2016 04:44 PM Renato Botelho

Reboot after upgrade when meta package version changed

a120c849 04/27/2016 10:41 PM Renato Botelho

Reduce values of FETCH_TIMEOUT and FETCH_RETRY to help ticket #6177

a7fcbc1e 04/19/2016 07:10 PM Jim Pingle

Setup HTTP_PROXY environment variable for pkg when it's called from the GUI and also for pfSense-upgrade

751815fe 04/06/2016 10:29 AM Renato Botelho

Silence /etc/rc.notify_message garbage output

(cherry picked from commit eb3491d99e939ab21d84122ededf9e7e9462ed71)

c8194922 04/06/2016 10:21 AM Renato Botelho

Fix code used to read config repo path

(cherry picked from commit e429ac7134ac2080af9117c11e2f294d4dd8c5d0)

b3c75c1a 04/06/2016 10:21 AM Renato Botelho

Do all steps to replace repo package and make sure symlink is in place

(cherry picked from commit 5caee0ba0f8782ea7bf1df54ad0848da1d5084d2)

2d05e9c6 04/06/2016 10:21 AM Renato Botelho

Force update after reinstall repo pkg

(cherry picked from commit 3e7c1ea74a8c0600c785e9588349afd927719d23)

05bdceee 04/06/2016 09:58 AM Renato Botelho

Simplify logic

fa1560ec 04/06/2016 09:37 AM Renato Botelho

Make sure directory exists

(cherry picked from commit cc1b7ddd0ba2d7eee6ee7ec1cae83efda91427d0)

75cdfae3 04/06/2016 01:13 AM Renato Botelho

Make sure source file exists

967794d2 04/06/2016 12:52 AM Renato Botelho

Add a workaround on pfSense-upgrade to make sure repo package is replaced by correct one

(cherry picked from commit a491ec98d8ffc5663cca84df402c2d6274a78a07)

db8621d8 04/05/2016 10:54 PM Renato Botelho

Rework the way repo packages work

- Distribute only a single pfSense-repo package containing all templates
- Create a symlink pointing to selected repo
- Do not limit it only to pfSense-repo and pfSense-repo-devel

(cherry picked from commit a90f1c9b12c4d31ea845fa04188e599ba28dbaf1)

0f03b62a 04/05/2016 10:54 PM Renato Botelho

Do not return -1, sh doesn't like it

(cherry picked from commit a35bf546b57558535e3fc1958cf3fb2b4d18ade7)

ebefc6a8 04/04/2016 03:15 PM Renato Botelho

Make sure repo metadata is updated before any other package when repo conf changes. Fixes #6052

(cherry picked from commit 78aee67a9e8ddb40d10c965ee8ce1ad1389d25f6)

80f10be2 02/16/2016 11:55 AM Renato Botelho

Use PHP CLI explicitly to run rc.conf_mount_r(w|o) from pfSense-upgrade, it fixes #5875

f1d01c3e 02/05/2016 11:53 AM Renato Botelho

Fix #5837

Since the introduction of pkg_with_pb(), direct calls to this function
were added using the following format:

if ! pkg_with_pb ... | tee -a $logfile; then

What happened in this case is if was always getting a successfull
return code from tee call, and pkg_with_pb return was always being...

b69a106a 02/02/2016 12:38 PM Renato Botelho

Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when it's booting

1855c106 02/02/2016 12:38 PM Renato Botelho

Revert "Fix #5831"

This reverts commit 93a8ddf7a4c5d43cbeb623c923eb76659e6f49e0.

ec337167 02/01/2016 07:31 PM Renato Botelho

Save pkg call return code to use on return. The way it is now is always returning 0. It should fix #5837

aecade14 02/01/2016 12:20 PM Renato Botelho

Make additional packages install/delete operations to respect -n (dry-run)

2b29a7e2 02/01/2016 12:15 PM Renato Botelho

Reorder pkg_reinstall_all(), no functional changes

73e4bf68 02/01/2016 12:15 PM Renato Botelho

Respect ALL_PACKAGES for package removal

93a8ddf7 02/01/2016 11:19 AM Renato Botelho

Fix #5831

After PKG_AUTOUPDATE=false was removed, operations done during boot,
2nd and 3rd stages of upgrade process, are trying to update repository
metadata. The problem is during this stage we don't have a network
available yet and all needed packages were previously downloaded....

da2e65d5 01/28/2016 02:39 PM Jim Pingle

Test duplicated slice with fsck after cloning during an upgrade

e21ac870 01/22/2016 02:30 PM Renato Botelho

Make sure LANG = C for pkg calls

2f1889c9 01/14/2016 11:06 AM Renato Botelho

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

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

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

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

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

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

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()