Project

General

Profile

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

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

9b193619 01/05/2011 09:44 PM Scott Ullrich

Reinstall packages on bootup during console. Ticket #1156

2388a97d 12/29/2010 08:48 PM Scott Ullrich

Nuke newline

6622e126 12/27/2010 06:40 PM Scott Ullrich

Unlink needs_package_sync after one pkg has installed OK which means that our internet connection is up.

7dbbaecd 12/25/2010 06:51 PM Scott Ullrich

More misc pkg install txt fixups

f169e274 12/25/2010 06:50 PM Scott Ullrich

More misc pkg install txt fixups

73e52b99 12/25/2010 06:45 PM Scott Ullrich

Add newline after restoring libs

4c6a49d7 12/25/2010 06:40 PM Scott Ullrich

backup and restore libs in correct location

2b216e51 12/25/2010 06:38 PM Scott Ullrich

misc text formatting fixes (tabs)

b2dd7ab4 12/25/2010 06:04 PM Scott Ullrich

Only backup libraries at the beginning of the deinstall cycle.

7102210a 12/25/2010 06:03 PM Scott Ullrich

Add tab

d96623ef 12/25/2010 05:52 PM Scott Ullrich

Add newline after installation aborted

76a6d6ae 12/25/2010 05:51 PM Scott Ullrich

s/Trying to download/Downloading

e9c7a334 12/25/2010 05:20 PM Scott Ullrich

Backup system libraries and restore during pkg deinstall.

673e8095 12/22/2010 03:39 PM Scott Ullrich

nuke trailing carriage returns

3aad9551 12/17/2010 03:32 PM Jim Pingle

When we supply a version number, it should be under All/ and not Latest/ (which has names but no version numbers)

979c5783 12/16/2010 06:56 PM Jim Pingle

Make $rel lowercase, since that's how it is on FreeBSD's package servers.

c92ccac7 12/14/2010 11:56 AM Vinicius Coque

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/gwlb.inc
etc/inc/interfaces.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc...

c9b08a50 12/12/2010 11:49 PM Jim Pingle

Show the full URL used to download package files, to aid in tracking down packages that do not install correctly.

a00fc1e2 12/07/2010 08:30 PM Ermal LUÇI

Do not atempt to start a service during installation.

b098343a 12/02/2010 07:08 PM Ermal LUÇI

Correct binaries needed.

8e428017 12/02/2010 06:09 PM Ermal LUÇI

Do not try to be smart on the package name and also use a better resulting condition testing.

75e22cbc 12/01/2010 04:25 AM Scott Ullrich

Do not output blank pkg names

78b94214 11/30/2010 05:27 PM Ermal LUÇI

Mount rw so we can have the packages processing correctly.

fedab998 11/24/2010 06:08 PM Scott Ullrich

Nuke trailing c/r

bafe2769 11/23/2010 04:58 PM Ermal LUÇI

Remove this since it does not make anymore sense after code arrangements.

a0b205f0 11/23/2010 04:57 PM Ermal LUÇI

Do not output done. because it does not related overall to the output messages.