Project

General

Profile

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

# Date Author Comment
d98a2e6a 05/16/2015 02:55 PM Jose Luis Duran

Remove artifacts from latin1 to utf8 conversions

String replacement:

s/Ermal L.../Ermal Luçi/g
3ba1e728 05/08/2015 04:18 PM Renato Botelho

Keep verify_all_package_servers() and check_package_server_ssl() around until GUI is finished

5b275f2d 05/08/2015 03:47 PM Renato Botelho

xmlrpc is not being used anymore

e0d24d88 05/08/2015 03:42 PM Renato Botelho

Keep get_pkg_id() around since a couple of packages are using them

b7e9afc0 05/08/2015 03:27 PM Renato Botelho

Escape entire command to avoid breaking parameters

dfa9759a 05/08/2015 03:26 PM Renato Botelho

ASSUME_ALWAYS_YES is boolean

5f3a0fc3 05/07/2015 06:22 PM Renato Botelho

Drop verify_all_package_servers() verify_package_server() check_package_server_ssl() package_server_ssl_failure_message() and package_server_mismatch_message()

fa0a84cd 05/07/2015 06:21 PM Renato Botelho

Drop pkg_fetch_config_file() and pkg_fetch_additional_files()

84d0ea1c 05/07/2015 06:16 PM Renato Botelho

Remove package_skip_tests(), it won't be necessary anymore with pkg

3c4392ee 05/07/2015 06:15 PM Renato Botelho

Add a note to implement pkg_reinstall_all later

3bb7e3e8 05/07/2015 06:10 PM Renato Botelho

Rework delete_package_xml() for pkg migration

8af4dd4c 05/07/2015 06:07 PM Renato Botelho

Fix delete_package for pkg

801fcf24 05/07/2015 06:04 PM Renato Botelho

Modify install_package and install_package_xml to work with new pkg flow

7379d80f 05/07/2015 04:37 PM Renato Botelho

Implement pkg_install()

d69bbc8b 05/07/2015 04:28 PM Renato Botelho

Remove unused function get_pbi_binaries()

57a608c5 05/07/2015 04:27 PM Renato Botelho

Remove unused function pkg_fetch_recursive()

04dd9b04 05/07/2015 04:27 PM Renato Botelho

Do not try to install package since it's already installed at this point

d1a8f050 05/07/2015 04:24 PM Renato Botelho

Adjust uninstall_package() for pkg

82917ea2 05/07/2015 04:17 PM Renato Botelho

Remove unnecessary function get_pkg_depends()

a0d4336f 05/07/2015 04:16 PM Renato Botelho

Rework sync_package, remove unused parameters, remove sync_depends, sanitize returns

eafe02a2 05/07/2015 04:07 PM Renato Botelho

Remove global variables declared but not used

a4f585c0 05/07/2015 03:51 PM Renato Botelho

Return a blank array on get_pkg_info for now, will be implemented later when I touch GUI

78c61a75 05/07/2015 03:08 PM Renato Botelho

Remove unused function expand_to_bytes() get_pkg_db() and get_pkg_interfaces_select_source()

79b0035d 05/07/2015 02:53 PM Renato Botelho

Remove unused function does_package_depend()

106574d1 05/07/2015 02:52 PM Renato Botelho

Remove unecessary function force_remove_package()

24fa00fc 05/07/2015 02:50 PM Renato Botelho

Drop is_freebsd_pkg_installed() in favour of is_pkg_installed()

97c88dfa 05/07/2015 02:48 PM Renato Botelho

Remove unused function walk_depends()

ae786f03 05/07/2015 02:48 PM Renato Botelho

Remove unused function squash_from_bytes()

45cd5fcd 05/07/2015 02:47 PM Renato Botelho

Remove unused functions get_pkg_sizes() and get_package_install_size()

af5d93f6 05/07/2015 02:02 PM Renato Botelho

Rename get_pkg_id() to get_package_id() and get_pkg_internal_name() to get_package_internal_name(). Try to use more standard parameter names and simplify logic while here

c2eb2508 05/07/2015 01:53 PM Renato Botelho

Rename remove_freebsd_package() to pkg_delete() and introduce pkg_remove_prefix() pkg_call() and is_pkg_installed()

d2caff9b 05/07/2015 01:33 PM Renato Botelho

Cleanup old and unecessary directory creation

ffa04fc2 05/07/2015 01:26 PM Renato Botelho

Remove use of obsolete packages tag 'modify_system'

a0f190a2 04/17/2015 02:46 PM Renato Botelho

Do not try to add package tabs info to config

Remove broken code that was supposed to add packages tabs entries to
config.xml. Since tag['name'] doesn't exist, it only adds the first item
of first installed package, and in the end this is not used at all since...

5d655e26 04/09/2015 08:48 PM Robert Nelson

Remove obsolete logging code which is duplicated in system_syslogd_start()

49aec489 02/28/2015 05:24 PM Phil Davis

Code style for pkg-utils

285ef132 11/26/2014 12:10 PM Ermal Luçi

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

7525f05d 11/21/2014 01:37 PM Jim Pingle

Fix misspelling

d274a75b 11/21/2014 12:22 PM Renato Botelho

Fix syntax

977c1ad8 11/20/2014 01:44 PM Ermal Luçi

Log in system log the result of install_package to be able to troubleshoot later on.

dd34d7d2 11/20/2014 12:03 PM Ermal Luçi

Force installation even here.

3e643dba 11/20/2014 11:04 AM Ermal Luçi

Make this code do proper checks in all cases

2b7fb769 08/27/2014 10:42 PM Renato Botelho

Do not use regex to check filetype to avoid being wrong since . is a regex metachar. It fixes #3817

bfe9c9e7 08/19/2014 06:32 PM Jim Pingle

Move the fetching of a package's config file and additional files to 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.

375fce94 07/10/2014 02:56 AM Chris Buechler

use HTTPS for files.pfsense.org for update_bogons and priv_url in pkg-utils

6916360e 07/02/2014 07:20 PM Jim Pingle

Also check and verify the package server's SSL certificate if using HTTPS. 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.

7c8f3711 07/02/2014 04:07 PM Jim Pingle

More refinements to the unofficial package repository warning ( Issue #484 ) -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition.

c55dfc4a 07/01/2014 07:22 PM Jim Pingle

Detect if an unofficial package repository is in use and warn the user. Part of issue #484 (more to go)

6c87714d 06/23/2014 12:32 PM Renato Botelho

Add local/www to the list of directories that needs to be symlink'd to reduce PBI differences between 2.1 and 2.2

7860191a 06/16/2014 06:10 PM Renato Botelho

Create some symlinks inside pbi dir to reduce differences between 2.1 and 2.2 and avoid the need to change a lot of PBI scripts

e9490019 06/03/2014 06:15 PM Renato Botelho

Silent pbi_info

bc29d9fd 06/03/2014 01:59 PM Renato Botelho

Reduce possible noise

d5fad541 05/07/2014 07:31 PM Manuel Silvoso

Small cleanup

3cc28680 04/24/2014 02:16 PM Renato Botelho

Fix PBI installation when target lies on different directorie

770f4ee5 04/22/2014 07:36 PM Renato Botelho

Missed pbi_prefix here

384e2647 04/22/2014 06:37 PM Renato Botelho

Fix PBI symlink creation and deletion under /usr/local following .pbiopt files, also drop setup_library_paths() since it's not necessary anymore

e61f548f 04/14/2014 01:06 PM Ermal LUÇI

Get rid of embedded platform. Its time to GC this

91f026b0 03/19/2014 10:38 PM ayvis

replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"

7f7626ba 03/17/2014 02:17 PM Renato Botelho

Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br

5775f324 03/15/2014 12:18 AM Chris Buechler

standardize URLs

8cd558b6 03/14/2014 08:24 PM ayvis

xhtml Compliance
replaced <br>, <br/> and </br> with <br />

8c147077 02/18/2014 11:25 AM Ermal LUÇI

Do not do any operations on system libraries. Nowdays pbis are used and those do not break things by definition

e4a4ec89 02/17/2014 02:11 PM Renato Botelho

Grab exec result just to be careful

6635f5b9 02/13/2014 11:32 AM Renato Botelho

Abort installation when pbi_add fails

83491ba5 02/10/2014 06:55 PM Jim Pingle

Declare $config global so we can test the pkg_nochecksig option

e5b5e29c 02/07/2014 12:41 PM Renato Botelho

Add support for signed PBI, help ticket #3365:

- 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

b3e1ccb5 02/05/2014 02:29 PM Renato Botelho

escapeshellarg() is not required here

275f4b5a 02/05/2014 01:50 PM Renato Botelho

Revert "Set PATH before call pbi related binaries"

This was pushed by mistake

This reverts commit 4c9bda43f5bcfd5ba9812c84199bbe4f1f158960.

7b27b18b 02/04/2014 08:14 PM Renato Botelho

Fix some wrong escapeshellarg() calls

873c1701 02/04/2014 02:34 PM Renato Botelho

Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir

4c9bda43 02/04/2014 02:34 PM Renato Botelho

Set PATH before call pbi related binaries

03734bf7 01/30/2014 05:46 PM Renato Botelho

Remove arch from fall back url since it's a single dir now

c241a3e8 01/25/2014 01:33 AM Renato Botelho

Merge pull request #888 from PiBa-NL/pkg-utils-append-log

pkg-utils do not clear first part of installation log.

206c15cc 01/24/2014 11:14 PM Pi Ba

pkg-utils do not clear first part of installation log.

770a7759 01/20/2014 12:53 PM Renato Botelho

Fix FreeBSD version detection for 10.x

6186cdc4 11/11/2013 09:29 PM Jim Pingle

Rework the usage of the shell i/o during stop_packages(), fixes the "Syntax error: bad fd number" for the remaining people who still saw it on shutdown

61ef1385 08/13/2013 10:18 AM Ermal LUÇI

Ticket #3139 try to detect if the popen is closed from an error

f8466c36 08/12/2013 04:36 PM Jim Pingle

Fix interface selections on UPnP to show the customized descriptions entered by the user. While here, add an external interface selection knob. Fixes #3141

Conflicts:

etc/inc/pkg-utils.inc
2b125a17 06/28/2013 06:54 PM Jim Pingle

Be a lot more verbose in the logs during package reinstallation.

9b4df982 05/22/2013 04:15 PM Marcello Silva Coutinho

Add dynamic category tabs for better listing all available packages

633d51b7 01/17/2013 06:36 PM Cyrill B

Add version check to package install

75a01a7c 12/14/2012 04:41 PM Phil Davis

Support different package internal name

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.

c5966711 08/07/2012 10:25 AM phildd

Change rcfileprefix to a constant

449d3e96 08/02/2012 09:06 AM Phil Davis

Tidy package cleanup output

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".

9fd9b6bf 08/01/2012 10:45 AM Ermal LUÇI

Silence tar command to not garble console

0b233932 07/31/2012 08:28 PM Jim Pingle

Try to keep existing files rather than unlinking/replacing when restoring the package libraries during a package removal. Needs some testing, but for NanoBSD it fixes #1049

a70cdb73 07/31/2012 09:02 AM Phil Davis

Don't conf_mount_rw every time packages are listed

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....

d94280cd 06/23/2012 11:54 PM Jim Pingle

make sure this grep parameter is quoted

45930696 06/23/2012 05:25 PM Jim Pingle

Setup library paths to include /usr/pbi/*/lib as a last resort to make sure 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.

a448b35f 06/21/2012 05:15 PM Jim Pingle

Restore this code that was accidentally reverted

9bdb6a13 06/19/2012 07:05 PM Erik Fonnesbeck

Remove null character at end of file

f2d5c538 06/19/2012 01:45 PM Jim Pingle

Fix trailing whitespace

ce35c606 06/18/2012 03:43 PM Jim Pingle

Don't fall back to fetching PBIs from FreeBSD, they have none.

60dd7649 04/30/2012 07:32 PM Jim Pingle

Move the stop_packages code to a function, and call the function from the shell script, and call the function directly for a reboot. Fixes #2402 and ticket #1564

a1d4a048 03/23/2012 06:28 AM Phil Davis

remove_freebsd_package: check that a symlink exists and is currently 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....

44988c5e 03/21/2012 06:06 PM Phil Davis

Remove an extra "-" left there by accident.

8059acb5 03/21/2012 05:56 PM Phil Davis

Handle mixed-case package names like squidGuard.
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)

84d50fe7 03/20/2012 11:14 AM Phil Davis

Fix case where package names are substrings of each other. e.g. "squid" and "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

cfbfd941 01/19/2012 07:33 PM Seth Mos

The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings

21762198 11/10/2011 03:35 PM Jim Pingle

Trim filename before use to clear away any unnecessary whitespace. Fixes client export package install (and probably others)