Project

General

Profile

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

# Date Author Comment
633d51b7 01/17/2013 06:36 PM Cyrill B

Add version check to package install

33ba4131 10/04/2012 01:14 PM Jim Pingle

Sanitize some variables
Discovered-By: Yann CAM

06aa745e 08/03/2012 07:54 AM Phil Davis

pkg_mgr_install - only mount rw when needed

When entering pkg_mgr_install the filesystem was being mounted rw and a backup made of the config, even if the case was "showlog" or "installedinfo". This resulted in:
a) an extra "backup" of the config being made after an install - it could be seen in Diagnostics, Backup Restore, Config History...

2229d94e 06/16/2012 02:06 AM Jim Pingle

This is apparently breaking reinstalls. Revert "Actually make reinstallpkg remove the bionaries and really reinstall them"

This reverts commit 12b0fa564dc9b9ffe1773855e6ab528f4a5c7a5e.

12b0fa56 06/15/2012 10:02 AM Ermal LUÇI

Actually make reinstallpkg remove the bionaries and really reinstall them

f0e69fca 01/25/2011 10:32 AM Chris Buechler

don't show version on this page either, to match the other pages

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

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

d3bea818 12/29/2010 08:54 PM Scott Ullrich

Add 10 to row count on textarea

5edb6fee 12/29/2010 08:48 PM Scott Ullrich

Unbreak installedinfo option

9b3ade76 12/25/2010 06:07 PM Scott Ullrich

Increase textarea col size now that there is a lot more pkg install/deinstall information being output

fb548cde 12/15/2010 03:47 AM Scott Ullrich

No need to use escapeshellcmd here.

70ed5a6a 12/14/2010 08:59 PM Scott Ullrich

Use file_put_contents()

d98d2db3 12/14/2010 08:57 PM Scott Ullrich

Redirect to the installedinfo page after package installation giving the system a chance to refresh the menus and the final installation text

4c3d9312 11/17/2010 07:47 PM Ermal LUÇI

Ticket #1017. Put a @ before each fwrite to silence errors. Also setup the log file in the beginning rather than on each individual function.

fcf92dae 11/16/2010 07:40 PM Ermal LUÇI
  • Use pkg_info -E pkgname* for testing if a package is installed.
  • Do not call eval if we cannot include an .inc file since that will make the whole script fail.
  • Keep the log from the start to the end without overwriting. This makes debugging and problem reporting easy and explains what is done during installation....
2c794549 10/14/2010 07:32 PM Ermal LUÇI

Ticket #950. Correctly handle failures while installing packages which might leave stale information behind. Also do not try to startup services twice. Rename uninstall_package_from_name to uninstall_package because the operation on packages is only done through package names.

b2a66231 09/03/2010 10:54 PM Ermal LUÇI

Ticket #873. Call write_config() before including file to avoid loosing already done modifications. While here do some code cleanup and formating to make it more readble.

31c78e5d 08/12/2010 01:54 PM Renato Botelho

Add missing )

381af659 08/11/2010 05:11 PM Renato Botelho

Small gettext() fixes

0897ff7b 04/29/2010 01:37 PM Renato Botelho

Implement gettext()

4f6a5e6a 04/27/2010 11:32 PM Scott Ullrich

Update (C) to 2010

68347742 03/08/2010 05:32 PM Ermal Luçi

Close before unmounting.

1570d27a 02/03/2010 11:55 PM Ermal Luçi

When removing a package delete its underlying FreeBSD pacakges.
Correct checks for avioding as much as possible errors.
Simplify logic in some cases.
Remove package include files when uninstalling packages.

NOTE: Some work is needed to have more error reporting. Espescially when failing to retrieve files or add them locally.

0089af7c 01/22/2010 12:20 AM Scott Ullrich

Increase execution time

7a927e67 11/22/2009 12:28 AM Scott Ullrich

Require filter.inc and shaper.inc

1d333258 09/15/2009 01:49 AM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on

f69d50ce 07/08/2009 02:56 PM Ermal Luçi

Since we could not use anchors now we need to reload the filter whenever we add/remove/reinstall a package.

ba6d3521 07/01/2009 02:31 AM Scott Ullrich

Nuke packages for any platform

e2d15485 06/30/2009 04:43 PM Scott Ullrich

Unbreak installed information screen. After package installation the form redirects to the info page that looks identical to display the final package information and to give the menus a chance to reload with the new package options.

f8a437b6 03/14/2009 11:58 PM Bill Marquette

remove new lines

16654db5 03/11/2009 02:35 AM Scott Ullrich

After package installation, redirect and show the installation
was OK. This has the side effect of reloading the menus so the package
can be clicked on immediately.

cfde64b8 02/22/2009 07:31 PM Scott Ullrich
  • Add get_after_install_info()
  • Show installation instructions for package if they exist (after_install_info)
864b3976 11/22/2008 11:42 PM Scott Ullrich

Create a backup of the configuration prior to package installation.

87294f24 10/25/2008 08:43 PM Scott Ullrich

Correctly delete package

c85c6f1e 10/24/2008 10:45 PM Scott Ullrich

Correctly delete package

4c951cc9 09/10/2008 06:41 PM Matthew Grooms

Whitespace and minor bug fixes for package manager pages.

3c43b728 08/05/2008 04:17 PM Scott Ullrich

Fix error: Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_mgr_install.php on line 155

659fa7f2 08/03/2008 05:54 PM Matthew Grooms

Cleanup authentication code. The basic auth method, the passwd, htpasswd
and pam backing functions have been removed. The basic auth method was
legacy code and the backing functions were redundant with no added value
that I could see. A simplified replacement backing function named...

6b07c15a 08/01/2008 06:30 AM Matthew Grooms

Rewrite the pfsense privilege system with the following goals in mind ...

1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance...

af6f0a3a 07/23/2008 05:03 AM Scott Ullrich

Allow outputting of package log with mode=showlog&pkg=ntop for example.

7ffeba59 07/23/2008 12:49 AM Scott Ullrich

Only reinstall package if it has a name.

d8c1a6c5 02/12/2008 04:40 AM Scott Ullrich

Make scripts XSS input safe.

Pointed-out: by

d88c6a9f 11/16/2007 12:48 AM Scott Ullrich

Switch over to array style page titles. Obtained-from: m0n0wall

7fa5fd2c 10/05/2007 08:59 PM Scott Ullrich

Include second argument for pkg_delete()

Ticket #1470

880e1525 02/02/2007 05:47 PM Scott Ullrich

After package installation is completed, note that the user should configure the package and start it from the menu since this seems to be a common question/problem report.

bf541de9 09/27/2006 05:37 PM Scott Ullrich

Be kind, rewind. Restart the package after a reinstallation.

960e61ae 09/27/2006 05:36 PM Scott Ullrich

Be kind, rewind. Restart the package after a reinstallation.

64b243d2 08/25/2006 11:04 PM Scott Ullrich

Misc package changes

Submitted-by: Daniel Haischt

5bd87465 08/20/2006 11:48 PM Scott Ullrich

Remove packages with a different version tab

61a48553 08/20/2006 11:30 PM Scott Ullrich

MFC package changes to show information better such as HEAD only packages,
etc.

99ce7a3e 01/28/2006 03:15 AM Scott Ullrich

Pass pkg info for reinstall pkg

6758725e 01/28/2006 03:12 AM Scott Ullrich

Pass $pkg info

a3af2487 01/07/2006 08:17 PM Scott Ullrich

Flush output

e54d4de6 01/02/2006 11:46 PM Scott Ullrich

Remove #!/usr/local/bin/php

f9b205f3 10/13/2005 10:30 PM Scott Ullrich

Allow -1 return to indicated package failure. Removing exit

734cd552 10/02/2005 08:35 PM Colin Smith

Move stop_service() to pkg-utils.

9a5fcf80 10/02/2005 08:24 PM Scott Ullrich

Stop package upon deinstall

079948bd 08/21/2005 08:10 PM Scott Ullrich

Use sync_webgui_passwords()

ceae1304 08/10/2005 08:16 PM Scott Ullrich

Sync password database before installation.

4f409c9e 07/24/2005 07:59 PM Scott Ullrich

Change name of main div to avoid conflicting

30af342f 07/21/2005 12:39 AM Erik Kristensen

just a few modifications

677c0869 07/21/2005 12:17 AM Erik Kristensen

updating files to use theme images
removing images from /usr/local/www
adding specific images into the correct theme directories

8d8f8970 07/09/2005 05:55 PM Scott Ullrich

Sync master.passwd database before beginning package operations

a9dc5e11 07/08/2005 10:08 PM Scott Ullrich

Do not foreach through installedpackages['package'] if its not defined

7a13e63a 07/04/2005 01:33 AM Colin Smith

Fix indent.

276d1b95 07/04/2005 01:25 AM Colin Smith

Don't fclose() the log if it doesn't exist.

96d9f5c9 07/03/2005 04:35 PM Bill Marquette

Use $pgtitle

323d040b 07/02/2005 08:51 PM Scott Ullrich
  • Fix diagnostics logging tab menus
  • Curve bottom of grey areas if needed
  • Curve tabs
  • Cleanup
52380979 07/02/2005 02:20 AM Scott Ullrich

Cleanup and add rounded corners.

338ec5f4 07/02/2005 02:13 AM Scott Ullrich

Correct urls

e3ebc979 07/02/2005 02:12 AM Scott Ullrich

Convert Packages tabs to rounded aka (display_top_tabs() calls

c347ddb3 06/23/2005 05:20 PM Scott Ullrich

No need for {} surrounding a one line foreach()

25cbd600 06/23/2005 05:19 PM Scott Ullrich

make sure $todo is an array

91e58a1a 06/21/2005 03:37 PM Scott Ullrich

Mount image RW before package operations

c6ab761d 06/20/2005 02:50 AM Colin Smith

No more xmlparse_pkg.

aca3b8c9 06/12/2005 07:47 PM Colin Smith

Add "Package Installer" tab.

60c5ffdb 06/12/2005 07:26 PM Colin Smith

Update package reinstallation to use depends_on_package.

6199503b 06/12/2005 07:21 PM Colin Smith

Use depends_on_package to properly remove a BSD package.

c3fcf407 06/07/2005 09:10 PM Scott Ullrich

Break between progress bar and first textarea

497fa5ed 06/07/2005 06:44 PM Colin Smith

Remove an extra newline.

e1531d00 06/07/2005 06:43 PM Colin Smith

Add support for XML (or package) reinstallation and package deletion.

05b3b83a 06/07/2005 03:48 AM Colin Smith

Fix package reinstallation.

1733581d 06/07/2005 03:39 AM Colin Smith

Fix syntax error.

52111a3a 06/07/2005 03:35 AM Colin Smith

Whoops, checking for the wrong $_GET variable.

efd81869 06/07/2005 03:33 AM Colin Smith

Add reinstall all packages. This needs to be tested.

8c304753 06/06/2005 10:27 PM Colin Smith

Fix progress bars.

25038334 06/06/2005 10:18 PM Colin Smith

Update output and status windows when installation is complete.

9f9dcd98 06/06/2005 03:15 AM Scott Ullrich

require -> require_once

6751a1a3 06/06/2005 01:53 AM Colin Smith

Add pkg-utils based package installer.

f8e335a3 06/05/2005 11:40 PM Scott Ullrich

Include pkg-utils.inc to atleast get the scripts running again. It doesn't install correctly however.

2f22c8ff 06/02/2005 05:41 AM Holger Bauer

don't initiate progressbar with 100% at start. 0% is better ;-)

71a85b21 06/02/2005 04:22 AM Holger Bauer

ups, one border border too much...

cff79a9f 06/02/2005 04:19 AM Holger Bauer

changed the package-install-progressbar to the new style.
now uses the same graphs like the the system-status and queue-graphs.
one look, one feel and makes customization later easier :-)

abadeb6e 05/24/2005 12:42 AM Colin Smith

Missing '-'.

2983ae92 05/24/2005 12:41 AM Colin Smith

Tighten up pattern matching - I completely overlooked the obvious :)

4cff4d3f 05/24/2005 12:24 AM Colin Smith
  • Fix skip_install_checks.
  • Loosen up pattern matching on /var/db/pkg. This is not an ideal solution.
0d534dce 05/23/2005 11:23 PM Scott Ullrich

Carriage return after Package installation completed

e559aae9 05/19/2005 09:56 PM Colin Smith

Add tag to skip installation verification.

fc5a35cf 04/26/2005 09:11 PM Scott Ullrich

Create /var/db/pkg if it does not exist

04000d32 04/26/2005 03:49 PM Colin Smith

Clean up full reinstall code.