Avoid mounting / rw without need when it's possible
Force update if code reaches this point
Make sure filesystem is rw state when pkg operations are called
Set necessary env vars for pkg db and cache dir on nanobsd or when MFS partition is being used
Only remove config.xml items on post-deinstall, fixes #5689
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
Code style and white space in etc
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.
Revert "Stick xmlrpc.inc include back to avoid breaking packages"
All packages were fixed, thanks @doktornotor
This reverts commit 21f239d35d3fbd542c5a2e988dea6724bb0b7034.
Use new host_uuid option name when changing User-Agent
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.
Always define $last_update_file to avoid calling file_put_contents with empty filename. Fixes #5502
Add a new function pkg_switch_repo() to change between stable and devel pkg repo
Replace all update_output_window() calls by update_status() that now only print on console. While here, also remove all use of $static_output
Fix typo in variable name
Add broken information on get_pkg_info(), it means config.xml contain package but binary pkg is not installed
Add get_system_pkg_version(), that return main pkg name, version and installed_version
Stop forcing pkg_prefix on is_pkg_installed() and pkg_install()
Remove unused functions install_package() and delete_package()
Remove pfSense_BUILDER_BINARIES
Add shortname and changeloglink to get_pkg_info()
Reinstall packages from old versions when upgrading to 2.3
platform is always defined in global
Copyright and license cleanup
- Remove personal copyright from people who assigned it to employer (ESF)- Remove $Id$- Remove extra spaces
Rework the way GUI reads packages tabs, it fixes #5311
Sort return of get_pkg_info()
Change get_pkg_info() to also return installed_version
Make get_pkg_info() add a tag saying when package is installed
Remove unnecessary functions verify_all_package_servers() and check_package_server_ssl()
Teach get_pkg_info() to deal with an array of packages
Remove WWW: line from pkg desc
Add pkg_version_compare()
Remove fifo debug from internal functions
Fixed bogus "Beginning package installation" message from the install_package_XML() function
Disable repo auto update
Run pkg update once one time every hour, like upgrade script does
Partial fix for #5263Added timeout to pkg_call function to prevent GUI lockup when beta.pfsense.org is not available
Fix comment language
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.
Use pkg info -e to check if package is installed, it only returns 0/1 without printing anything
We do not need a blank line on console
Take internal_name into consideration when looking for package id
Unfinished (but better) versions of hte pkg pages and utilities
pkg-utils.inc typo fix
Partial resubmit of PR #1798 (not really convinced the second part is wanted or correct).
Call conf_mount_ro() in better place
Do not call conf_mount_ro just before call write_config(),write_config() calls conf_mount_(rw|ro), and if filesystem is alreadymounted in rw state, it'll only increase the refcounter
Merge branch 'master' into bootstrap
Move main pfSense content to src/