Project

General

Profile

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

# Date Author Comment
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

4b834523 01/05/2016 01:41 PM Renato Botelho

Make sure filesystem is rw state when pkg operations are called

75bb92c4 01/05/2016 01:41 PM Renato Botelho

Set necessary env vars for pkg db and cache dir on nanobsd or when MFS partition is being used

6b861ecd 12/28/2015 04:27 PM Renato Botelho

Only remove config.xml items on post-deinstall, fixes #5689

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

4e322e2c 12/10/2015 03:09 PM Phil Davis

Code style and white space in etc

5a5cbf01 12/07/2015 01:43 PM Jim Pingle

Eliminate an incorrect use of config_file from a pkg info.xml (it should be reading configurationfile, not config_file)
This is the last place that references the old config_file field, it will be safe to remove once this is in snapshots.

9defee3f 11/30/2015 05:50 PM Renato Botelho

Revert "Stick xmlrpc.inc include back to avoid breaking packages"

All packages were fixed, thanks @doktornotor

This reverts commit 21f239d35d3fbd542c5a2e988dea6724bb0b7034.

3138b2e3 11/23/2015 12:40 PM Renato Botelho

Use new host_uuid option name when changing User-Agent

21f239d3 11/21/2015 09:50 PM Doktor Notor

Stick xmlrpc.inc include back to avoid breaking packages

Removing this broke 29 packages which rely on it for configuration sync and include pkg-utils.inc instead of xmlrpc.inc.

b5b51aa6 11/20/2015 04:53 PM Renato Botelho

Always define $last_update_file to avoid calling file_put_contents with empty filename. Fixes #5502

ad3c9763 11/18/2015 10:50 AM Renato Botelho

Add a new function pkg_switch_repo() to change between stable and devel pkg repo

e791dee8 11/18/2015 10:02 AM Renato Botelho

Replace all update_output_window() calls by update_status() that now only print on console. While here, also remove all use of $static_output

59d256a1 11/16/2015 04:58 PM Renato Botelho

Fix typo in variable name

82692fe1 11/13/2015 04:20 PM Renato Botelho

Add broken information on get_pkg_info(), it means config.xml contain package but binary pkg is not installed

d5f0597b 11/13/2015 03:25 PM Renato Botelho

Add get_system_pkg_version(), that return main pkg name, version and installed_version

f5b1c660 11/13/2015 02:20 PM Renato Botelho

Stop forcing pkg_prefix on is_pkg_installed() and pkg_install()

f0dfdae6 11/13/2015 02:20 PM Renato Botelho

Remove unused functions install_package() and delete_package()

37a4c89d 11/13/2015 02:20 PM Renato Botelho

Remove pfSense_BUILDER_BINARIES

b9e2048a 11/13/2015 12:29 PM Renato Botelho

Add shortname and changeloglink to get_pkg_info()

46903fb9 11/12/2015 01:14 PM Renato Botelho

Reinstall packages from old versions when upgrading to 2.3

1262d7e7 11/12/2015 11:15 AM Renato Botelho

platform is always defined in global

cb41dd63 11/09/2015 11:19 AM Renato Botelho

Copyright and license cleanup

- Remove personal copyright from people who assigned it to employer (ESF)
- Remove $Id$
- Remove extra spaces

a2b0d909 10/22/2015 08:48 PM Renato Botelho

Rework the way GUI reads packages tabs, it fixes #5311

c5ecf722 10/20/2015 07:01 PM Renato Botelho

Sort return of get_pkg_info()

54f236f7 10/20/2015 06:55 PM Renato Botelho

Change get_pkg_info() to also return installed_version

77340246 10/20/2015 06:33 PM Renato Botelho

Make get_pkg_info() add a tag saying when package is installed

6551511c 10/20/2015 06:33 PM Renato Botelho

Remove unnecessary functions verify_all_package_servers() and check_package_server_ssl()

d65fc2ff 10/20/2015 06:19 PM Renato Botelho

Teach get_pkg_info() to deal with an array of packages

c8cae8e5 10/20/2015 06:19 PM Renato Botelho

Remove WWW: line from pkg desc

8df1877b 10/20/2015 06:19 PM Renato Botelho

Add pkg_version_compare()

cd51e4f6 10/20/2015 06:19 PM Renato Botelho

Remove fifo debug from internal functions

4999ee1a 10/16/2015 02:38 PM Stephen Beaver

Fixed bogus "Beginning package installation" message from the install_package_XML() function

cc31f1c3 10/14/2015 05:43 PM Renato Botelho

Disable repo auto update

d3ff1e59 10/14/2015 02:57 PM Renato Botelho

Run pkg update once one time every hour, like upgrade script does

a2febf9a 10/06/2015 02:41 PM Stephen Beaver

Partial fix for #5263
Added timeout to pkg_call function to prevent GUI lockup when beta.pfsense.org is not available

f164ace4 09/28/2015 06:43 AM Doktor Notor

Fix comment language

ce7edfff 09/27/2015 04:39 PM Doktor Notor

Remove syslog.conf entries on package uninstall (Bug #5210)

The remove_text_from_file() is not needed at all. However, system_syslogd_start() must be run after the package entries are gone from config.xml, otherwise system_syslogd_start() just re-adds the (now almost removed) package logging configuration from there.

6ed6941d 09/22/2015 05:44 PM Renato Botelho

Use pkg info -e to check if package is installed, it only returns 0/1 without printing anything

e7f954ed 09/22/2015 05:27 PM Renato Botelho

We do not need a blank line on console

a50534b6 09/22/2015 05:10 PM Renato Botelho

Take internal_name into consideration when looking for package id

5c22f8ef 09/22/2015 04:24 PM Stephen Beaver

Unfinished (but better) versions of hte pkg pages and utilities

8a82c222 09/19/2015 06:13 PM Doktor Notor

pkg-utils.inc typo fix

Partial resubmit of PR #1798 (not really convinced the second part is wanted or correct).