Project

General

Profile

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

# Date Author Comment
ddd59e52 07/16/2010 06:22 PM Renato Botelho

Pass name instead of config_file for start_service

3a9eb3c9 06/18/2010 09:05 PM Ermal LUÇI

If packages are reinstalled during bootup than there is no need to reinstall them again during GUI login.

af8fca8f 06/08/2010 08:48 PM Jim Pingle

Don't delete these additional files until the end of the package uninstall process. Otherwise files needed in some steps will be missing. Should fix some outstanding package issues (especially uninstall/reinstall issues). At the very least this fixes uninstall/reinstall of OpenVPN Client Export.

d7f742c2 05/21/2010 04:05 AM Scott Ullrich

Do not process items in which we cannot resolve the config file

df5da531 04/27/2010 11:10 AM Ermal LUÇI

Missed curly.

b7729cee 04/27/2010 11:08 AM Ermal LUÇI

Do not error out when trying to delete an unexisting package. Just display an error message.

40a721c0 03/17/2010 03:46 PM Scott Ullrich

get_pkg_depends must return the whole paths of dependency files in order
to enable sync_package to check for files which are not installed in the
standard pkg location (i.e. outside of /usr/local/pkg).

Ticket #431
Submitted-by: Lorenz Schori

3339fac0 03/08/2010 06:34 PM Ermal Luçi

Place conf_mount_ro() calls where supposed too.

6ee34f4d 03/08/2010 10:27 AM Ermal Luçi

Silence errors.

017d381c 03/06/2010 11:10 PM Scott Ullrich

Ensure prefix directory exists before downloading and installing additional file

43ad432c 03/03/2010 11:18 PM Ermal Luçi

Ticket #396. Try to fix issues with missing include files or filesystem being in ro mode during operations.

f4bca05a 02/04/2010 12:08 AM Ermal Luçi

More cleanup and code flow simplification.

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.

8604523b 02/02/2010 10:17 PM Ermal Luçi

Ticket #309. Fix it for packages.

90a89478 02/02/2010 06:54 PM Ermal Luçi

Reactivate the hack for packages to show as installed. Untill php decides to behave.

ab94ba00 02/01/2010 06:23 PM Ermal Luçi

Ticket #309. Correctly fix the problems of intermediate config lost because of inclusion of config.inc. This might have speed impacts to be measured.

ed6b04d8 02/01/2010 06:06 PM Ermal Luçi

Resolves #309. Seems that including config.inc has bad habits on packages. Workaround this for now until the package config include is fixed.

232b01db 01/04/2010 12:06 AM Jim Pingle

Fix some package uninstall bits on nano

6955830f 12/28/2009 09:42 AM Ermal Luçi

Replace some occurrence of /tmp with the propper global variable in attempt to minimize the search for what changes /tmp permissions.

4143a437 12/24/2009 05:57 PM Scott Ullrich

Nuke pkg_build_filter_rules(). It is not called anywhere in the code and adds complexity that I do not wish to see in the codebase

e4c3d767 12/10/2009 11:13 PM Scott Ullrich

Transmit freebsd machine (uname -m) so that we can be begin offering multi platform packages

cd12593b 12/03/2009 04:21 AM Scott Ullrich

Check to see if syslogd is running before killing

093bcebc 11/07/2009 03:33 AM Scott Ullrich

Move newer xmlreader code to xmlreader.inc. Restore old xmlparse code to xmlparse.inc. Default to the older xmlparse.inc but add a flag check if /cf/conf/use_xmlreader is present the newer code will be included instead until the remaining bugs can be resolved with it (see rcs for many).

ffba4976 10/06/2009 10:01 PM Jim Pingle

Add a new (unlinked) page which allows entering a custom pkg repo URL

29c7ac0d 09/25/2009 05:15 PM Ermal Luçi

Do not process empty tags in the config as this breaks the code.

523855b0 09/12/2009 07:34 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

32113e06 09/09/2009 09:27 PM Ermal Luçi

Use empty() function for testing which is far more better than just <> "".

9d3d1ac1 09/09/2009 09:23 PM Ermal Luçi

Make checks stronger.

83cfae8d 09/09/2009 09:21 PM Ermal Luçi

Remove wrongly duplicated code. Leave a comment on the oddity that is the packages code.

ada51839 07/15/2009 09:46 PM Ermal Luçi

Be smarter at it and reduce some overhead.

e33ab5d0 07/15/2009 05:18 PM Ermal Luçi

Correct file names.

b0ec358d 07/15/2009 04:38 PM Ermal Luçi

Remove files before recreating them. Add filter rules early content to the file it was missing.

07b73e3d 07/09/2009 02:38 PM Ermal Luçi

Add forgotten global so file creation actually works.

bc771948 07/09/2009 12:05 PM Ermal Luçi

I really need to take more coffee. Fix another typo.

22d249d3 07/09/2009 12:01 PM Ermal Luçi

Fix typo

8dee24a6 07/09/2009 10:48 AM Ermal Luçi

Add missed commit for package filter functions to work.

6bb91286 07/06/2009 05:50 PM Ermal Luçi

Present hook points for packages to present their rules.
This allows to remove the filter.inc dependecy from pkg-utils.inc and simplifies lot of package writing as concerened to the firewall.
The rules hardcoded in filter.inc for some packages will be removed at a second pass.

762cb660 06/30/2009 04:09 AM Scott Ullrich

Add stub for update_output_window() if it does not exist

f041d58b 06/28/2009 10:39 PM Scott Ullrich

Add update_status() function if needed

b47833cc 06/26/2009 09:24 PM Scott Ullrich

Add a dummy update_status() function if we need it.

7955cde8 06/25/2009 06:31 PM Scott Ullrich

Check to see if dir exists before blindly mounting rw

6e2365bb 06/25/2009 06:28 PM Scott Ullrich

Add missing conf_mount_ro();

d3c02149 06/17/2009 08:57 PM Scott Ullrich

Handle packages on embedded the same. Ssshhhh, don't tell anyone.

a6d821bc 05/31/2009 01:44 PM Ermal Luçi

Update functions to add other anchors for before {nat,rdr} rules and {nat,rdr}early rules. Further more no need to call filter_configure since the anchors can be loaded separately from the main ruleset.

0e11e138 05/30/2009 06:27 AM Scott Ullrich

Unbreak english

ea8a58ea 05/30/2009 04:40 AM Jim Pingle

Unbreak pkg-utils.inc. Extra space made it rather unhappy. Reported on IRC and in the forums.

a9b2e638 05/29/2009 09:49 PM Ermal Luçi

Present a new package option filter_rules_needed which has a function name to be called if the package needs to create firewall rules. The function should have a switch statement one with 'nat' option wich is called for nat/rdr and one with 'rule' option which is needed for rules. This will help on removing from filter.inc all the packages hardcoded includes and rules and give some more dynamicity. The rules by this function will be included on rules.nat.packages and rules.packages on /tmp partition and called by anchors include file when filter reloads(still this has to come).

8d582d67 04/12/2009 07:44 PM Scott Ullrich

Remove extra tab

5274feb0 04/12/2009 07:07 PM Scott Ullrich

Avoid these errors: Warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc on line 776 Warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc on line 779 Warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc on line 779

57ecd9b6 03/15/2009 11:01 PM Scott Ullrich

Jettison clog and replace with fifolog which is included in FreeBSD 7.1

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)
02d6d72e 02/10/2009 07:08 PM Scott Ullrich

Add check for after_install_info and display this info after package installation

e6d436e8 10/19/2008 03:38 AM Scott Ullrich

If <prefix> does not exist, then call safe_mkdir on it.

5025a56c 10/19/2008 03:19 AM Scott Ullrich
  • Add run_plugins() function
  • Use run_plugins() function in filter.inc
  • Add plugin hook for parse_config and write_config
b63f2e8b 09/16/2008 05:41 PM Matthew Grooms

Make it possible for pakages to insert additional tabbed pages into an
existing tab group. This requires that each page in the tab group call
add_package_tabs() with the tab group name before display_top_tabs() so
pages can be inserted. While far from optimal, this system is really a...

9140757d 07/24/2008 03:53 AM Bill Marquette

DRY up the code a tad, download_file_with_progress_bar isn't related to
packages only anymore, move into pfsense-utils and allow for multiple
file write functions (firmware upgrades use a different one than our
standard)

416c47c1 07/06/2008 01:52 AM Scott Ullrich

Only push 1 char version, such as 7 instead of 7.0

340c0677 07/06/2008 01:29 AM Scott Ullrich

Add freebsd version as parm.

29b42b4a 02/29/2008 09:17 PM Ermal Luçi

Add way to find the version of pfSense.
This is needed since for 1.3 rules that packages install should be overridable.

cc3087bd 02/17/2008 05:21 AM Scott Ullrich

Remove bogus check.

1af187a1 02/17/2008 05:18 AM Scott Ullrich

Ensure /tmp/y exists before running pkg_delete command.

5daf1708 02/17/2008 05:16 AM Scott Ullrich

Missing global $g and $config

9eeef922 12/27/2007 01:48 AM Scott Ullrich

Correctly remove freebsd package upon package deletion.

cbe2ebe0 05/27/2007 12:25 AM Scott Ullrich

Remove trailing space / cr

8797aa32 05/10/2007 05:16 PM Scott Ullrich

$config needs to be a global item

f898cf33 04/30/2007 09:57 PM Scott Ullrich

Install the package, deinstall and reinstall to ensure it is in a proper state.

a902a5d7 04/30/2007 09:43 PM Scott Ullrich

Woops, use delete_package_xml() instead of delete_package()

cf577b5a 04/30/2007 09:34 PM Scott Ullrich

Delete package before reinstalling to avoid multiple service entries, etc.

761902b0 04/29/2007 08:10 PM Scott Ullrich

Correctly output the package name that we are attempting to reinstall instead of the package array number.

26a26ef7 04/29/2007 08:06 PM Scott Ullrich

Add missing / directory seperator.

This should hopefully fix squid from reinstalling itself a million times on bootup.

4bf3f3f1 04/29/2007 02:15 AM Scott Ullrich

Note missing file before reinstalling package

31e7e1bc 02/23/2007 05:21 PM Scott Ullrich

Addremove_freebsd_package() so that we can begin using it after 1.0.2 / 1.2 (which ever we decide to call it)

2f9a19df 02/23/2007 01:50 AM Scott Ullrich

Stop service before sync

0d427314 02/23/2007 01:48 AM Scott Ullrich

Only write to stream if it is open.

ebe1ef4e 02/23/2007 01:48 AM Scott Ullrich

Only write to stream if it is open.

5059da03 02/23/2007 01:39 AM Scott Ullrich

Remove extra space while I am being ultra picky.

b3726bb4 02/23/2007 01:36 AM Scott Ullrich

Remove non-needed \n

6520d17b 02/23/2007 01:27 AM Scott Ullrich

Dont forget global variable

20e593fa 02/23/2007 01:22 AM Scott Ullrich

Further text cleanup

dbef849d 02/23/2007 01:15 AM Scott Ullrich

Cleanup console package installation text. Now it looks nice and tidy.

1a22ffcd 02/23/2007 12:52 AM Scott Ullrich

Honor $pkg_interface for console operations

27d671c8 02/22/2007 08:14 PM Scott Ullrich

Correct variable

3e155fab 02/07/2007 04:56 PM Scott Ullrich

Handle include files correctly

Ticket #1250

46c4f5d0 02/06/2007 09:00 PM Scott Ullrich

When package include files do not exist, simply reinstall package.

c8433e58 02/06/2007 08:56 PM Scott Ullrich

When package include files do not exist, simply reinstall package.

597dd9b9 02/06/2007 08:53 PM Scott Ullrich

When package include files do not exist, simply reinstall package.

7ccf9931 02/06/2007 08:43 PM Scott Ullrich

Break the stalemate for invalid packages by removing them (force deinstall).

7bbfe007 02/06/2007 08:36 PM Scott Ullrich

Break the stalemate for invalid packages by removing them (force deinstall).

5576c6f3 02/06/2007 08:27 PM Scott Ullrich

Kill trailing space

3b371980 02/06/2007 08:25 PM Scott Ullrich
  • Do not file a notice for missing package files. Simply log an error.
  • Improve require_file handling
91dc2ecf 10/14/2006 05:34 PM Scott Ullrich

file_notice() requires notices.inc

11d30033 10/14/2006 05:28 PM Scott Ullrich

file_notice() requires notices.inc

864210cb 09/25/2006 04:20 AM Scott Ullrich

Output buffer so that progress bar, etc works

43db85f8 09/25/2006 04:18 AM Scott Ullrich

Output buffer so that progress bar, etc works

5e5f5fac 09/01/2006 12:03 AM Bill Marquette

MFC of [14076]
fix typo and don't output the package config file

04d10bbc 07/29/2006 09:43 PM Scott Ullrich

MFC 13272
skip past blank packages (not sure where this comes from)

30e4c34a 07/29/2006 09:40 PM Scott Ullrich

MFC 13273
package include files need to be included for custom php commands to run in
package resync

0e16b9ca 04/08/2006 02:04 AM Scott Ullrich

We're in 2006 now, toto

ca9b25aa 04/07/2006 01:52 AM Scott Ullrich

Remove old debugging code

Found-by: PHPEclipse

2c21de57 01/28/2006 08:34 AM Scott Ullrich

Extra safety check