Project

General

Profile

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

# Date Author Comment
725c8134 10/28/2019 03:23 PM Steve Beaver

Add packages to version string to support composite update

f3f98e97 10/02/2019 07:11 AM Phillip Davis

Fix random typos

552a41fb 08/28/2019 06:19 PM Steve Beaver

Make factory test case insensitive

81916502 08/28/2019 06:04 PM Steve Beaver

Revise update check to provide a more consistent version string, and to provide it in JSON format

38809d47 07/29/2019 05:50 PM Renato Botelho

Fix copyright message years to reflect BSDP -> ESF -> Netgate

0b4c14a4 01/02/2019 02:50 PM Steve Beaver

Update copyright notices to 2019. Happy New Year

c6c398c6 11/21/2018 06:30 PM Jim Pingle

Fix #9121: Initialize arrays to prevent PHP 7 errors

e1a6074d 11/09/2018 10:56 AM Renato Botelho

Fix #9102: Suppress stream_select() undesired warnings

bfd3334b 10/25/2018 07:40 PM Jim Pingle

Initialize package arrays before use. Fixes #9067

10511c3b 08/07/2018 12:47 PM Renato Botelho

Fix #7604: Rework pkg reinstall on config restore

- Remove old code needed to upgrade fom < 2.3 to 2.3
- Simplify logic using a single file /conf/needs_package_sync
- Create /etc/rc.package_reinstall_all, a script used to reinstall all
packages present in config but not on pkg database...

22e3bc56 08/07/2018 12:46 PM Renato Botelho

Do not remove needs_package_sync file when it's not needed

4221eba1 08/07/2018 11:12 AM Renato Botelho

Remove code used to upgrade from < 2.3 to 2.3

283e8d24 07/30/2018 03:07 PM Renato Botelho

Skip repo check for base packages

e87ea36d 07/30/2018 03:07 PM Renato Botelho

Revert "Parameter must be an array or 'all'"

Fix #8715 respecting get_pkg_info parameter when it doesn't start with
pfSense-pkg

This reverts commit 70a7c029fbe61935da7474358e7359bb9dc1bcc3.

05318264 07/27/2018 11:49 AM Renato Botelho

Make sure additional packages are provided by official pkg repo

a835cdee 07/27/2018 11:01 AM Renato Botelho

Fix style

70a7c029 07/27/2018 10:58 AM Renato Botelho

Parameter must be an array or 'all'

71b4b23b 07/05/2018 12:19 PM Renato Botelho

Add missing global $g declaration

7fe4d351 07/05/2018 12:02 PM Renato Botelho

Create pkg_conf_setup() to setup pkg.conf

It will be necessary in near future for thoth setup

b395c4f2 04/30/2018 01:36 PM Renato Botelho

Add a global to keep valid meta package suffixes

6298695a 04/26/2018 12:56 PM Steve Beaver

PHP7 - Resolve Warning: Use of undefined constant ā€œpā€ in System->Update

8062e6a4 03/22/2018 02:56 PM Steve Beaver

Change reported version to installed version rather than product version for more detail

a55718c8 03/12/2018 10:24 PM Renato Botelho

Fix #8208

When restoring backup, delete packages not present in new config.xml

8552be10 03/12/2018 10:24 PM Renato Botelho

Ticket #8208

When restoring backup, set default pkg repository

1bedcacc 03/12/2018 10:22 PM Renato Botelho

Do not call get_pkg_info() when it's not going to be used

fa5e9db2 03/12/2018 10:22 PM Renato Botelho

Respect default repo

b870f03d 03/12/2018 10:22 PM Renato Botelho

Deduplicate build_repo_list() and get_repo_name()

b8f91b7c 01/05/2018 01:44 PM Luiz Souza

Update the Copyright notice for pfSense.

c93231e1 12/21/2017 03:18 PM Steve Beaver

Merge pull request #3866 from PiBa-NL/20171104-pkg-reinstallmissingpackage

bc60e070 11/10/2017 04:33 PM Renato Botelho

Use a strict check of array_search() result

c253e352 11/10/2017 04:18 PM Renato Botelho

Remove empty items from output

8d5ff32b 11/10/2017 02:20 PM Renato Botelho

Detect when system is running a newer version than the one available on remote repository

eaed7e74 11/10/2017 02:17 PM Renato Botelho

Always do rquery when pkg search is not used

a9b0a7a3 11/10/2017 12:10 PM Renato Botelho

Fix #7946: Display installed packages missing on remote repo to let user to delete it

00d0c66e 11/07/2017 05:32 PM Steve Beaver

Provide mechanism to allow for transition to a new package repository server

e5960712 11/04/2017 06:54 PM Pi Ba

pkg, reinstall missing package
change the reference from install_package(.) as this function does not exist.

07152ca7 10/31/2017 03:11 PM Steve Beaver

Fixed #8035

(cherry picked from commit 9c4e7fd3e155d08911feb0afc527af21d79ce917)

58e60eb9 10/17/2017 06:13 PM Renato Botelho

Use pkg-static binary to prevent errors when moving to new major FreeBSD version

429091c8 08/11/2017 12:42 PM Renato Botelho

Update cache when GUI successfully update pkg metadata

d4fbf5b7 08/10/2017 10:25 PM Renato Botelho

Speedup get_system_pkg_version() considering only installed packages

e8f8aeb6 08/10/2017 08:26 PM Renato Botelho

Use cache file to show pfSense version information

b58c1588 08/10/2017 01:31 PM Renato Botelho

Run rc.update_pkg_metadata in background when repository changes

6cc74faa 07/05/2017 04:27 PM Renato Botelho

Remove extra spaces from User Agent

2bf67a6f 07/05/2017 04:21 PM Renato Botelho

Send uniqueid instead of UUID on user-agent

d49ad309 07/05/2017 04:05 PM Renato Botelho

Declare user_agent variable in the function it's used

3a0df77e 05/15/2017 08:54 PM Jim Pingle

Refine some syslogd restarts, add a way to send it a HUP to reload w/o a full restart. Part of ticket #7256

dd6ecfa2 05/02/2017 06:42 AM Phil Davis

get_pkg_info improve installed_pkgs_only case

e0b87e1a 04/25/2017 05:09 PM Renato Botelho

Merge pull request #3659 from PiBa-NL/plugin_optimize_20170321

c9cdf7d1 04/19/2017 11:32 AM Renato Botelho

Remove redundant check, get_pkg_info() call uses a parameter to return only installed packages

4333564a 04/19/2017 11:32 AM Renato Botelho

Fix indent and spaces

bdb86f67 04/19/2017 11:32 AM Renato Botelho

Use correct function (is_pkg_installed) and unbreak get_pkg_info()

804fecdd 03/29/2017 06:18 PM Pi Ba

pkg_call_plugins put includefile and supported plugins in the normal config.xml so there is no need to parse the package xml for them. this improves performance significantly for several pages like such as 'ipsec overview' and 'openvpn server edit page' which use certificates and gatewaygroups which acquire some information from plugins.

bc0661b7 03/26/2017 02:23 PM Pi Ba

load package add-on tabs into config to avoid parsing all installed package xml's, fix tabgroup filter

59fada5c 03/16/2017 06:04 PM Jim Pingle

Run custom deinstall commands during the deinstall phase instead of post-deinstall, otherwise they will never get run. Fixes #7401

8724b1ad 03/07/2017 06:43 PM Jim Pingle

Some small improvements to help with ticket #7256

They don't fix the problem but avoid some pitfalls that could contribute to it.

9c91c7bd 02/24/2017 04:25 PM Doktor Notor

Fix the pkg_call() and set the timeout to a sane value (Bug #6594)

ee836314 02/14/2017 10:26 AM Renato Botelho

Fix #7257: Use pfSense-upgrade to look for new versions

1579e70f 02/01/2017 08:33 AM Phil Davis

Code with multiple %s in etc

04daf8b1 01/30/2017 06:15 AM Stilez y

Misc cleanups at get_pkg_info()

  • rename function args to be clearer what they do ($local_only was quite ambiguous, at first sight it could mean any of: "don't update local catalog copy", "only check local catalog copy", or "only report local installed pkgs")...
2f633b52 01/26/2017 07:11 AM Stilez y

fix copy/paste - I think!

e5f96a2c 01/25/2017 06:36 AM Stilez y

use wrapped version of pkg info -e instead

587988f6 01/22/2017 10:33 AM Stilez y

get_pkg_info() fallback using pkg info if no local copy of repo catalog (resubmit)

Resubmit of PR #3157 with fix.

The issue in #3157 was that `pkg info` and `pkg search`, undocumented in man pages, seem to handle things differently if no packages match the pattern string. `pkg search` gives an error "No packages match [$pkgs]", whereas `pkg search` doesn't give an error....

1e85a9ed 01/10/2017 11:04 AM Renato Botelho

Revert "get_pkg_info() fallback using pkg info if no local copy of repo catalog"

This reverts commit e47af756de79d4e8b0356cf22f72f62f09e9ad7d.

e47af756 01/05/2017 12:44 PM Stilez y

get_pkg_info() fallback using pkg info if no local copy of repo catalog

Current behaviour

At the moment, get_pkg_info() is used to get all information on packages. The parameter $local_only is set to request info directly from the local copy of the repo catalog (using -U) without requesting the remote repo catalog or updating the local copy from the remote repo catalog. If the calling code wants only installed pkgs, it filters the returned list of pkgs looking for $pkg['installed'] == true....

1060378f 12/07/2016 06:55 PM Jim Pingle

Populate the HTTP_PROXY_AUTH env var. Ticket #6949

dc61252a 10/12/2016 07:29 PM Renato Botelho

Deprecate nanobsd platform and remove all conditionals that uses it

1289c0c1 10/12/2016 07:23 PM Renato Botelho

Remove all calls to conf_mount_r* functions

ceea9d9c 10/12/2016 03:45 PM Renato Botelho

Merge pull request #3156 from stilez/patch-43

ce6e6519 10/10/2016 05:15 PM Renato Botelho

Create pkg.conf with ABI settings

b9b6841f 09/25/2016 10:00 AM Stilez y

Remove unused arg in get_pkg_info()

The 2nd argument ($info) isn't used in that function, and doesn't seem to be used anywhere else in the codebase.

81299b5c 09/06/2016 07:23 PM Renato Botelho

Move copyright from ESF to Netgate

5eda5816 08/12/2016 02:55 PM NewEraCracker

Protect package_reinstall_all()

If one restores a config.xml without packages, there will be a warning about invalid argument supplied for foreach(). This commit fixes the problem.

b12ea3fb 07/15/2016 07:30 PM Renato Botelho

Move to Apache License 2.0

ac24dc24 07/14/2016 09:33 PM Renato Botelho

Review license / copyright on all files (1st round)

da76721a 07/06/2016 06:51 PM Renato Botelho

Add missing -R parameter to pkg call

c078dd89 06/08/2016 11:02 PM Renato Botelho

Implement pkg_valid_name()

7b31a030 05/12/2016 07:14 AM Chris Buechler

Fix package_reinstall_all post-upgrade when packages have been removed in pre_upgrade. Ticket #6137

9b7cfb3f 05/11/2016 06:37 PM Renato Botelho

Only execute remote search operation on first call of get_pkg_info(), this should fix #6177

d1c57eb8 05/07/2016 05:42 PM Stephen Beaver

Workaound fixes #6320

09c7fae4 04/29/2016 09:28 PM Stephen Beaver

Fix extrat return statement

c0cb3c73 04/29/2016 07:02 PM Renato Botelho

Fix #6137:

- Uninstall all packages on current system before upgrade using
pre_upgrade_command script
- Create a file containing all packages previously installed and
reinstall them on first boot after upgrade

3610a08e 04/29/2016 07:02 PM Renato Botelho

Test for internet connection 3 times trying to reinstall packages after upgrade or config restore. Fixes #6180

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

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)

1c981897 03/16/2016 07:19 PM Renato Botelho

Remove workaround introduced in a2febf9a0. It reduces download timeout to 10s and break update from 2.2 to 2.3

a948633c 03/16/2016 07:19 PM Renato Botelho

Add an option to define extra env vars to pkg_call() and pkg_exec()

0d0f419e 03/03/2016 11:01 PM Phil Davis

pkg-utils typo in comment

bed6c19b 03/03/2016 06:02 PM Renato Botelho

Detect binary packages installed but not registered in the system and do it during boot

c86db913 03/03/2016 05:49 PM Renato Botelho

Add an option to get_pkg_info() that makes it do not try to update metadata

e440add8 03/03/2016 04:07 PM Renato Botelho

Remove get_pkg_id, last calls to it was removed

5f267d8b 02/18/2016 01:19 PM Stephen Beaver

Merge pull request #2667 from phil-davis/patch-1

e8c516a0 02/18/2016 12:19 PM Phil Davis

Internationalize etc inc i through s

c4ff3877 02/18/2016 10:48 AM Phil Davis

pkg-utils update_status text typo

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

Make sure LANG = C for pkg calls

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

e674d246 01/07/2016 09:15 PM Renato Botelho

Revert "Force update if code reaches this point"

This reverts commit 5bcad0f5ec57858a6713cfbdbfcdf7004621b01b.

500dfdb8 01/07/2016 09:15 PM Renato Botelho

Revert "Avoid mounting / rw without need when it's possible"

This reverts commit 0305284cf2d66119d6df8e57cdc52eb3b4d478af.

0305284c 01/05/2016 06:55 PM Renato Botelho

Avoid mounting / rw without need when it's possible

5bcad0f5 01/05/2016 06:55 PM Renato Botelho

Force update if code reaches this point