Project

General

Profile

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

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

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.

b3a4ff7c 11/21/2010 10:40 PM Scott Ullrich

Add newlines

c049daef 11/20/2010 05:19 AM Jim Pingle

Disable this test, it was causing some package file downloads to be skipped for me, and nothing else seems to set/use this variable anywhere.

ad88ff3f 11/19/2010 03:34 PM Ermal LUÇI

Cleanup some code and properly handle failure of pkg_fetch_recursive.

d08b0064 11/19/2010 03:21 PM Ermal LUÇI

Clarify message.

0cdf4e87 11/19/2010 03:17 PM Ermal LUÇI

Use correct extension of tgz rather than tgz for automatically discovered dependencies.

c132bdb0 11/19/2010 12:12 AM Ermal LUÇI

Honor the config parsed var if set.

01a6e665 11/19/2010 12:02 AM Ermal LUÇI

globals.inc is better first.

d9426abc 11/19/2010 12:00 AM Ermal LUÇI

More safety belts.

d465a277 11/18/2010 11:44 PM Ermal LUÇI

Fix fetching of package list.

21bc451b 11/18/2010 06:56 PM Ermal LUÇI

Add myself to the copyright. Have modified enough the file.

2addd5b2 11/18/2010 12:57 PM Ermal LUÇI

Fix problem with syslog adding/removing for pacakges. Fix sync pacakges to call the right functions. Optimizations and code cleanup along the way.

fa15f4ae 11/17/2010 10:45 PM Ermal LUÇI

Clear up some code.

eab543ed 11/17/2010 08:17 PM Ermal LUÇI

Ticket #1017. Move the fwrite and fd_log initializing to a function. Name the function pkg_debug to properly show what is its purpose and also make it write something only when $debug is set.

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.

cfcebf07 11/17/2010 10:32 AM Renato Botelho

Fix typo

aeaa7358 11/16/2010 10:59 PM Ermal LUÇI

Make the pkg_fetch_recursive code stronger and try also to fetch from freebsd repo when fails to fetch from pfSense one.

1b28121f 11/16/2010 10:11 PM Ermal LUÇI

Correctly form the url from where to fetch packages if a base is not specified. This unbreaks packages on amd64! Also do no remove a package which is required by other installations.

fe81116d 11/16/2010 07:56 PM Ermal LUÇI

Correct variable name.

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....
9734b054 11/10/2010 05:00 PM Scott Ullrich

Remove trailing carriage return

08452bff 11/08/2010 06:55 AM Warren Baker

Cosmetic issue, add space before 'done', otherwise package XML name and done are combined.

c62d973d 11/05/2010 06:33 PM Warren Baker

Spelling fix.

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.

83fdcf45 08/06/2010 09:46 PM Ermal LUÇI

Remove useless code which might even abort package deletion process.

466f7000 08/06/2010 09:34 PM Ermal LUÇI

Use global to not cause breakage if path changes.

d282095a 08/06/2010 07:08 PM Renato Botelho

Avoid duplicate service tags when reinstalling packages

d6d09c70 07/23/2010 05:53 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.