Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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-13 | 1 | -13/+22 |
| | |||||
* | Declare $config global so we can test the pkg_nochecksig option | jim-p | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | Add support for signed PBI, help ticket #3365: | Renato Botelho | 2014-02-07 | 1 | -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 here | Renato Botelho | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | Revert "Set PATH before call pbi related binaries" | Renato Botelho | 2014-02-05 | 1 | -4/+0 |
| | | | | | | This was pushed by mistake This reverts commit 4c9bda43f5bcfd5ba9812c84199bbe4f1f158960. | ||||
* | Fix some wrong escapeshellarg() calls | Renato Botelho | 2014-02-04 | 1 | -2/+2 |
| | |||||
* | 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 | ||||
* | Set PATH before call pbi related binaries | Renato Botelho | 2014-02-04 | 1 | -0/+4 |
| | |||||
* | Remove arch from fall back url since it's a single dir now | Renato Botelho | 2014-01-30 | 1 | -3/+1 |
| | |||||
* | Merge pull request #888 from PiBa-NL/pkg-utils-append-log | Renato Botelho | 2014-01-24 | 1 | -1/+1 |
|\ | | | | | pkg-utils do not clear first part of installation log. | ||||
| * | pkg-utils do not clear first part of installation log. | PiBa-NL | 2014-01-25 | 1 | -1/+1 |
| | | |||||
* | | Fix FreeBSD version detection for 10.x | Renato Botelho | 2014-01-20 | 1 | -4/+2 |
| | | |||||
* | | 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/+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-p | 2013-06-28 | 1 | -4/+19 |
| | |||||
* | Add dynamic category tabs for better listing all available packages | marcelloc | 2013-05-22 | 1 | -0/+33 |
| | |||||
* | 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 |
| |