Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | standardize URLs | Chris Buechler | 2014-03-14 | 1 | -1/+1 |
| | |||||
* | Check if the package is installed before deleting opteration is started | Ermal | 2014-02-18 | 1 | -2/+3 |
| | |||||
* | Ticket #3461. Protect output to browser by using htmlspecialchars. | Ermal | 2014-02-18 | 1 | -1/+1 |
| | |||||
* | Do not do any operations on system libraries. Nowdays pbis are used and ↵ | Ermal | 2014-02-18 | 1 | -25/+2 |
| | | | | those do not break things by definition | ||||
* | Grab exec result just to be careful | Renato Botelho | 2014-02-17 | 1 | -2/+2 |
| | |||||
* | Abort installation when pbi_add fails | Renato Botelho | 2014-02-14 | 1 | -12/+23 |
| | |||||
* | escapeshellarg() is not required here | Renato Botelho | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | Fix some wrong escapeshellarg() calls | Renato Botelho | 2014-02-04 | 1 | -2/+2 |
| | | | | | | Conflicts: etc/inc/filter_log.inc etc/inc/pkg-utils.inc | ||||
* | Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵ | Renato Botelho | 2014-02-04 | 1 | -7/+7 |
| | | | | | | | | | | exec() calls by php functions like symlink, copy, unlink, mkdir Conflicts: etc/inc/filter_log.inc etc/inc/interfaces.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc | ||||
* | Rework the usage of the shell i/o during stop_packages(), fixes the "Syntax ↵ | jim-p | 2013-11-11 | 1 | -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 error | Ermal | 2013-08-13 | 1 | -2/+6 |
| | |||||
* | Fix interface selections on UPnP to show the customized descriptions entered ↵ | jim-p | 2013-08-12 | 1 | -0/+15 |
| | | | | by the user. While here, add an external interface selection knob. Fixes #3141 | ||||
* | Be a lot more verbose in the logs during package reinstallation. | jim-p | 2013-06-28 | 1 | -4/+19 |
| | |||||
* | Add version check to package install | bcyrill | 2013-01-17 | 1 | -22/+38 |
| | |||||
* | Support different package internal name | Phil Davis | 2012-12-14 | 1 | -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 constant | phildd | 2012-08-07 | 1 | -5/+5 |
| | |||||
* | Tidy package cleanup output | Phil Davis | 2012-08-02 | 1 | -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 console | Ermal | 2012-08-01 | 1 | -5/+5 |
| | |||||
* | Try to keep existing files rather than unlinking/replacing when restoring ↵ | jim-p | 2012-07-31 | 1 | -2/+2 |
| | | | | the package libraries during a package removal. Needs some testing, but for NanoBSD it fixes #1049 | ||||
* | Don't conf_mount_rw every time packages are listed | Phil Davis | 2012-07-31 | 1 | -3/+3 |
| | | | | Every time System:Packages is selected, the code does a conf_mount_rw, checks for existence of some dirs, then does conf_mount_ro. This makes navigating the package install GUI slow on nanobsd, and it is not needed. Do is_dir checks first, then conf_mount_rw only if they need to be created. The is_dir function works fine on a read-only filesystem. | ||||
* | make sure this grep parameter is quoted | jim-p | 2012-06-23 | 1 | -1/+1 |
| | |||||
* | Setup library paths to include /usr/pbi/*/lib as a last resort to make sure ↵ | jim-p | 2012-06-23 | 1 | -1/+1 |
| | | | | things can find libraries. We may eventually replace this with a better method as this can lead to conflicts, but for now it will allow packages to find their proper libraries. | ||||
* | Restore this code that was accidentally reverted | jim-p | 2012-06-21 | 1 | -6/+5 |
| | |||||
* | Remove null character at end of file | Erik Fonnesbeck | 2012-06-19 | 1 | -1/+1 |
| | |||||
* | Fix trailing whitespace | jim-p | 2012-06-19 | 1 | -7/+7 |
| | |||||
* | Don't fall back to fetching PBIs from FreeBSD, they have none. | jim-p | 2012-06-18 | 1 | -6/+6 |
| | |||||
* | Move the stop_packages code to a function, and call the function from the ↵ | jim-p | 2012-04-30 | 1 | -0/+44 |
| | | | | shell script, and call the function directly for a reboot. Fixes #2402 and ticket #1564 | ||||
* | remove_freebsd_package: check that a symlink exists and is currently ↵ | Phil Davis | 2012-03-23 | 1 | -7/+18 |
| | | | | | | | pointing into the pbidir of the current package, then unlink it. This avoids possibly deleting real files, or deleting a symlink that points into some other package. pkg_fetch_recursive: remove a bonus "$" in the symlink target specification. This was causing symlinks from /usr/local/bin to not be generated validly. install_package_xml: make the grep for a pbi package name more robust by anchoring the search for the name to be at the start. This will prevent potential problems, e.g. with a package "bar" matching "foobar". install_package_xml: check that the target pbi dir exists before creating the symlink. There can be extra conf files in /user/local/etc/... that are not in the PBI dir tree. This can happen with squidGuard on top of squid, particularly after adding/removing/adding the packages. | ||||
* | Remove an extra "-" left there by accident. | Phil Davis | 2012-03-21 | 1 | -1/+1 |
| | |||||
* | Handle mixed-case package names like squidGuard. | Phil Davis | 2012-03-21 | 1 | -12/+37 |
| | | | | | Check that conf files in PBI folders exist before unlink. Pass correct package names 1 at a time from uninstalll_package to delete_package. log_error if the PBI package name can't be found in remove_freebsd_package - this means that the PBI files will not get cleaned up. Usually this is caused because the system has been rebooted since the package was installed and the PBI db in /var/db/pbi has gone (e.g. on nanobsd /var is created from scratch at boot) | ||||
* | Fix case where package names are substrings of each other. e.g. "squid" and ↵ | Phil Davis | 2012-03-20 | 1 | -4/+4 |
| | | | | "squid_radius_auth". Look for "squid-", which will match the full PBI package name for squid but will not match "squid_radius_auth". Bug #2301 | ||||
* | The function split() is replaced by the function explode(). Starting with ↵ | smos | 2012-01-19 | 1 | -1/+1 |
| | | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings | ||||
* | Trim filename before use to clear away any unnecessary whitespace. Fixes ↵ | jim-p | 2011-11-10 | 1 | -0/+1 |
| | | | | client export package install (and probably others) | ||||
* | Allow carriage returns to separate filenames as well as spaces | Scott Ullrich | 2011-11-03 | 1 | -0/+5 |
| | |||||
* | Only symlink files once | Scott Ullrich | 2011-11-02 | 1 | -1/+3 |
| | |||||
* | Download correct filenames | Scott Ullrich | 2011-11-02 | 1 | -2/+2 |
| | |||||
* | Allow multiple PBI packages in one tag space separated | Scott Ullrich | 2011-10-06 | 1 | -49/+51 |
| | |||||
* | Create symlinks for packages config files into the PBI directory | Vinicius Coque | 2011-09-30 | 1 | -0/+12 |
| | |||||
* | Fix pbi_info path | Vinicius Coque | 2011-09-30 | 1 | -1/+1 |
| | |||||
* | Remove line forgotten last commit | Vinicius Coque | 2011-09-30 | 1 | -1/+0 |
| | |||||
* | remove symlinks for PBI binaries | Vinicius Coque | 2011-09-29 | 1 | -0/+15 |
| | |||||
* | remove PBI even when packages depends on only one PBI package | Vinicius Coque | 2011-09-29 | 1 | -0/+2 |
| | |||||
* | Create symlinks for bin and sbin directories on /usr/local/ after installing ↵ | Vinicius Coque | 2011-09-29 | 1 | -2/+15 |
| | | | | a PBI | ||||
* | install/remove packages using PBI | Vinicius Coque | 2011-09-28 | 1 | -44/+10 |
| | |||||
* | Unlink the failed downloaded file if present. Since it might contain harmful ↵ | Ermal | 2011-09-01 | 1 | -0/+1 |
| | | | | and not expected content | ||||
* | Move seting up of tabs/menus/service entries after custom php commands. ↵ | Ermal | 2011-08-03 | 1 | -27/+27 |
| | | | | Seems there is something tripping config vars that make these steps not work. | ||||
* | Correct the ambiguity caused by missing curlies | Ermal | 2011-08-03 | 1 | -6/+6 |
| | |||||
* | Remove this write_config call seems to be causing grief. | Ermal | 2011-08-03 | 1 | -2/+1 |
| | |||||
* | Add yet another intermediate config write during pacakge processing which ↵ | Ermal | 2011-08-03 | 1 | -1/+8 |
| | | | | breaks some installation steps. | ||||
* | removes variables concatenation on gettext strings | Vinicius Coque | 2011-07-18 | 1 | -1/+1 |
| |