summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete logging code which is duplicated in system_syslogd_start()Robert Nelson2015-04-131-4/+0
|
* Rather than set the g['booting'] on globals provide a function to test for ↵Ermal LUÇI2014-11-261-2/+2
| | | | that doing the right checks
* Fix misspellingjim-p2014-11-211-1/+1
|
* Fix syntaxRenato Botelho2014-11-211-2/+2
|
* Log in system log the result of install_package to be able to troubleshoot ↵Ermal LUÇI2014-11-201-0/+2
| | | | later on.
* Force installation even here.Ermal LUÇI2014-11-201-1/+1
|
* Make this code do proper checks in all casesErmal LUÇI2014-11-201-8/+6
|
* Do not use regex to check filetype to avoid being wrong since . is a regex ↵Renato Botelho2014-08-271-0/+1
| | | | metachar. It fixes #3817
* Move the fetching of a package's config file and additional files to ↵jim-p2014-08-191-63/+116
| | | | separate functions, and then have the "xml" package button perform these so that it is not only a redundant copy of the "pkg" reinstall button. This can help ensure a package files are in a known-good state before other actions are performed, in case the deinstall would fail or behave erratically due to other files being missing.
* use HTTPS for files.pfsense.org for update_bogons and priv_url in pkg-utilsChris Buechler2014-07-091-1/+1
|
* Also check and verify the package server's SSL certificate if using HTTPS. ↵jim-p2014-07-021-3/+45
| | | | | | Issue 484 Our current XMLRPC client version doesn't have support on its own to validate this in a way we can use to test in a usable for printing an error message. For now, a cURL query to the XMLRPC URL is used in its place.
* More refinements to the unofficial package repository warning ( Issue #484 ) ↵jim-p2014-07-021-10/+15
| | | | -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition.
* Detect if an unofficial package repository is in use and warn the user. Part ↵jim-p2014-07-011-0/+30
| | | | of issue #484 (more to go)
* Add local/www to the list of directories that needs to be symlink'd to ↵Renato Botelho2014-06-231-0/+1
| | | | reduce PBI differences between 2.1 and 2.2
* Create some symlinks inside pbi dir to reduce differences between 2.1 and ↵Renato Botelho2014-06-161-1/+22
| | | | 2.2 and avoid the need to change a lot of PBI scripts
* Silent pbi_infoRenato Botelho2014-06-031-1/+1
|
* Reduce possible noiseRenato Botelho2014-06-031-1/+1
|
* Small cleanupManuel Silvoso2014-05-071-1/+0
|
* Fix PBI installation when target lies on different directorieRenato Botelho2014-04-241-11/+11
|
* Missed pbi_prefix hereRenato Botelho2014-04-221-1/+3
|
* Fix PBI symlink creation and deletion under /usr/local following .pbiopt ↵Renato Botelho2014-04-221-38/+40
| | | | files, also drop setup_library_paths() since it's not necessary anymore
* Get rid of embedded platform. Its time to GC thisErmal2014-04-141-1/+1
|
* replaced uppercase html tags with lowercaseayvis2014-03-191-8/+8
| | | | js files saved as UTF-8 / LF language="JavaScript" deprecated, replaced with type="text/javascript"
* Merge branch 'master-br' of https://github.com/ayvis/pfsense into ↵Renato Botelho2014-03-171-1/+1
|\ | | | | | | ayvis-master-br
| * xhtml Complianceayvis2014-03-141-1/+1
| | | | | | replaced <br>, <br/> and </br> with <br />
* | standardize URLsChris Buechler2014-03-141-1/+1
|/
* Do not do any operations on system libraries. Nowdays pbis are used and ↵Ermal2014-02-181-25/+2
| | | | those do not break things by definition
* Grab exec result just to be carefulRenato Botelho2014-02-171-2/+2
|
* Abort installation when pbi_add failsRenato Botelho2014-02-131-13/+22
|
* Declare $config global so we can test the pkg_nochecksig optionjim-p2014-02-101-1/+1
|
* Add support for signed PBI, help ticket #3365:Renato Botelho2014-02-071-1/+5
| | | | | | - Add an option to allow user to accept unsigned packages - The only missing part is public key, that needs to be added to /var/db/pbi/keys/pfSense.ssl
* escapeshellarg() is not required hereRenato Botelho2014-02-051-1/+1
|
* Revert "Set PATH before call pbi related binaries"Renato Botelho2014-02-051-4/+0
| | | | | | This was pushed by mistake This reverts commit 4c9bda43f5bcfd5ba9812c84199bbe4f1f158960.
* Fix some wrong escapeshellarg() callsRenato Botelho2014-02-041-2/+2
|
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-7/+7
| | | | exec() calls by php functions like symlink, copy, unlink, mkdir
* Set PATH before call pbi related binariesRenato Botelho2014-02-041-0/+4
|
* Remove arch from fall back url since it's a single dir nowRenato Botelho2014-01-301-3/+1
|
* Merge pull request #888 from PiBa-NL/pkg-utils-append-logRenato Botelho2014-01-241-1/+1
|\ | | | | pkg-utils do not clear first part of installation log.
| * pkg-utils do not clear first part of installation log.PiBa-NL2014-01-251-1/+1
| |
* | Fix FreeBSD version detection for 10.xRenato Botelho2014-01-201-4/+2
| |
* | Rework the usage of the shell i/o during stop_packages(), fixes the "Syntax ↵jim-p2013-11-111-5/+4
|/ | | | error: bad fd number" for the remaining people who still saw it on shutdown
* Ticket #3139 try to detect if the popen is closed from an errorErmal2013-08-131-2/+6
|
* Fix interface selections on UPnP to show the customized descriptions entered ↵jim-p2013-08-121-0/+16
| | | | | | | | by the user. While here, add an external interface selection knob. Fixes #3141 Conflicts: etc/inc/pkg-utils.inc
* Be a lot more verbose in the logs during package reinstallation.jim-p2013-06-281-4/+19
|
* Add dynamic category tabs for better listing all available packagesmarcelloc2013-05-221-0/+33
|
* Add version check to package installbcyrill2013-01-171-22/+38
|
* Support different package internal namePhil Davis2012-12-141-5/+23
| | | Allow the package external name (e.g. Ipguard-dev or squid3) to be different from the internal name (ipguard or squid). In particular, this allows package start and stop code to know what the associated package service name and/or *.sh start/stop script name is when the external package name is different.
* Change rcfileprefix to a constantphildd2012-08-071-5/+5
|
* Tidy package cleanup outputPhil Davis2012-08-021-0/+2
| | | | Add a "done." and newline after "Cleaning up..." Then when output is going to the serial console the next line will start cleanly and %age figures will not write over the top of "Clean".
* Silence tar command to not garble consoleErmal2012-08-011-5/+5
|
OpenPOWER on IntegriCloud