Project

General

Profile

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

# Date Author Comment
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)

19f576fd 11/03/2011 04:43 PM Scott Ullrich

Allow carriage returns to separate filenames as well as spaces

44d55df6 11/02/2011 06:51 PM Scott Ullrich

Only symlink files once

764bd0ac 11/02/2011 06:50 PM Scott Ullrich

Download correct filenames

05ff388a 10/06/2011 01:24 PM Scott Ullrich

Allow multiple PBI packages in one tag space separated

169f1574 10/01/2011 01:47 AM Vinicius Coque

Create symlinks for packages config files into the PBI directory

9b1b25ee 10/01/2011 01:47 AM Vinicius Coque

Fix pbi_info path

a6410107 10/01/2011 01:47 AM Vinicius Coque

Remove line forgotten last commit

53107064 09/29/2011 03:49 AM Vinicius Coque

remove symlinks for PBI binaries

569aeae7 09/29/2011 03:49 AM Vinicius Coque

remove PBI even when packages depends on only one PBI package

43dad535 09/29/2011 03:49 AM Vinicius Coque

Create symlinks for bin and sbin directories on /usr/local/ after installing a PBI

a5566aa8 09/28/2011 04:57 AM Vinicius Coque

install/remove packages using PBI

6f14b34a 09/01/2011 07:54 PM Ermal LUÇI

Unlink the failed downloaded file if present. Since it might contain harmful and not expected content

57811192 08/03/2011 08:50 PM Ermal LUÇI

Move seting up of tabs/menus/service entries after custom php commands. Seems there is something tripping config vars that make these steps not work.

f3a274b7 08/03/2011 08:19 PM Ermal LUÇI

Correct the ambiguity caused by missing curlies

05ca39d9 08/03/2011 05:29 PM Ermal LUÇI

Remove this write_config call seems to be causing grief.

27018d3c 08/03/2011 02:30 PM Ermal LUÇI

Add yet another intermediate config write during pacakge processing which breaks some installation steps.

b1e4005f 07/18/2011 06:33 PM Vinicius Coque

removes variables concatenation on gettext strings

84bc8eb7 07/14/2011 07:18 PM Jim Pingle

Fix missing " in gettext line

0b07c763 07/13/2011 11:26 AM Chris Buechler

fix missing "

48427553 06/28/2011 07:55 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

d2a08a06 06/23/2011 03:34 PM Scott Ullrich

Add small comment about rrd binaries

cb6630e5 06/23/2011 03:14 PM Scott Ullrich

Loosen grep for rrd

efea7969 06/23/2011 03:11 PM Scott Ullrich

Backup rrdtool binaries during package reinstallation. Currently that is the onlyp package that can be clobbered by others. We will rework this completely in a future version when we adopt PBIs.

68d1632c 06/22/2011 02:39 PM Warren Baker

New line missing after pkg is extracted.

d8012adb 06/07/2011 01:47 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/voucher.inc
usr/local/www/fbegin.inc

5b542ae5 06/03/2011 10:29 PM Bill Marquette

Typoes

45d4b71e 05/23/2011 06:57 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

941baf1e 05/18/2011 10:49 PM Ermal LUÇI

When uninstalling packages try to remove even any rc files created by packages.

7eea4407 05/17/2011 10:23 PM Ermal LUÇI

When uninstalling a service actually stop it first.

54bdff75 03/25/2011 11:49 AM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc
etc/inc/priv.defs.inc
etc/inc/services.inc...

96f1a57a 03/14/2011 07:53 PM Ermal LUÇI

Remove comment since the service is not started anymore after installation in 2.0

c53eb903 03/04/2011 08:50 PM Ermal LUÇI

Be smart and remove the needs package sync toggle since the begining otherwise not behaving packages might mess up the whole thing.

73d885d7 02/26/2011 04:34 PM Jim Pingle

Ensure the pkg staging area exists on nanobsd before trying to use it.

22beab88 02/24/2011 03:46 PM Jim Pingle

Move this code up a bit and also use /root/tmp to fetch packages instead of /tmp so it won't fill up.

9011a843 02/24/2011 03:37 PM Jim Pingle

If we're on nanobsd, pass -t to pkg_add to specify a different "staging area" path.

633ef551 02/23/2011 07:07 PM Jim Pingle

Set PKG_TMPDIR here too, to help nanobsd pkg installs.

9d3d8d00 01/28/2011 07:32 PM Vinicius Coque

Merge branch 'master' into inc

Conflicts:
etc/inc/captiveportal.inc
etc/inc/config.console.inc
etc/inc/config.lib.inc
etc/inc/easyrule.inc
etc/inc/filter.inc
etc/inc/ipsec.inc
etc/inc/pkg-utils.inc
etc/inc/shaper.inc...

81e54dab 01/21/2011 05:09 PM Jim Pingle

Use a better method to determine the FTP URL for FreeBSD based on the version being used. The old method worked with 8.1-RELEASE-p2 but failed with just 8.1-RELEASE.

09e11b69 01/20/2011 04:33 PM Scott Ullrich

Comment what this variable does

f0695975 01/20/2011 04:30 PM Scott Ullrich

Adding $builder_package_install variable. When set to true ignore library fixups and sync_package() directives.

b1224cdc 01/18/2011 08:38 PM Jim Pingle

Fix references to what was apparently supposed to be $g['booting'] and not $bootup.

f9c8e64c 01/18/2011 08:38 PM Jim Pingle

Add a description to this write_config() so it's a little more obvious what it's doing in the logs.

ad0d6389 01/12/2011 09:39 PM Jim Pingle

Bail on reinstalling all packages if we can't contact the package repo.

b7ff3186 01/10/2011 09:06 PM Ermal LUÇI

Ticket #875. While ldconfig should be called by pkg code itself do it explicitly to have the cache file rebuilt with correct list.

b2b15543 01/07/2011 03:53 PM Scott Ullrich

Need to use Unlink in tar

06e57df8 01/06/2011 11:56 PM Scott Ullrich

Shorten english

86af45ec 01/06/2011 10:48 PM Scott Ullrich

Ensure $pkg is defined. Send pkg_delete errors to /tmp/pkg-delete_errors.txt

64974db7 01/06/2011 10:37 PM Scott Ullrich

Fix package dependency check code now that we no longer nuke /var/db/pkg/ before operating on packages

28ed552d 01/06/2011 09:53 PM Scott Ullrich

Strip off the space between @depend and the package name. Otherwise it will return a space in front of the pkgname

550fea7a 01/06/2011 09:39 PM Scott Ullrich

Do not unlink file, it's handled by behind the scenes pkg-utils.inc code

608b154d 01/06/2011 08:58 PM Scott Ullrich

Shorten repo download message

ca99d6a6 01/06/2011 08:55 PM Scott Ullrich

Do not show already installed messages which fill up the textarea too many times

9d308f58 01/05/2011 09:50 PM Scott Ullrich

Do not nuke /var/db/pkg now that 2.0 has better handling