summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
Commit message (Collapse)AuthorAgeFilesLines
* Missed curly.Ermal2010-04-271-1/+1
|
* Do not error out when trying to delete an unexisting package. Just display ↵Ermal2010-04-271-5/+7
| | | | an error message.
* get_pkg_depends must return the whole paths of dependency files in orderScott Ullrich2010-03-171-3/+3
| | | | | | | | 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
* Place conf_mount_ro() calls where supposed too.Ermal Luçi2010-03-081-0/+6
|
* Silence errors.Ermal Luçi2010-03-081-2/+2
|
* Ensure prefix directory exists before downloading and installing additional fileScott Ullrich2010-03-061-22/+24
|
* Ticket #396. Try to fix issues with missing include files or filesystem ↵Ermal Luçi2010-03-031-10/+9
| | | | being in ro mode during operations.
* More cleanup and code flow simplification.Ermal Luçi2010-02-041-8/+6
|
* When removing a package delete its underlying FreeBSD pacakges.Ermal Luçi2010-02-031-40/+56
| | | | | | | | 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.
* Ticket #309. Fix it for packages.Ermal Luçi2010-02-021-26/+27
|
* Reactivate the hack for packages to show as installed. Untill php decides to ↵Ermal Luçi2010-02-021-0/+2
| | | | behave.
* Ticket #309. Correctly fix the problems of intermediate config lost because ↵Ermal Luçi2010-02-011-2/+0
| | | | of inclusion of config.inc. This might have speed impacts to be measured.
* Resolves #309. Seems that including config.inc has bad habits on packages. ↵Ermal Luçi2010-02-011-0/+2
| | | | Workaround this for now until the package config include is fixed.
* Fix some package uninstall bits on nanojim-p2010-01-031-0/+5
|
* Replace some occurrence of /tmp with the propper global variable in attempt ↵Ermal Luçi2009-12-281-4/+5
| | | | to minimize the search for what changes /tmp permissions.
* Nuke pkg_build_filter_rules(). It is not called anywhere in the code and ↵Scott Ullrich2009-12-241-91/+1
| | | | adds complexity that I do not wish to see in the codebase
* Transmit freebsd machine (uname -m) so that we can be begin offering multi ↵sullrich2009-12-101-2/+4
| | | | platform packages
* Check to see if syslogd is running before killingsullrich2009-12-021-1/+2
|
* Move newer xmlreader code to xmlreader.inc. Restore old xmlparse code to ↵Scott Ullrich2009-11-061-1/+4
| | | | 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).
* Add a new (unlinked) page which allows entering a custom pkg repo URLjim-p2009-10-061-1/+2
|
* Do not process empty tags in the config as this breaks the code.Ermal Luçi2009-09-251-1/+3
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additionsScott Ullrich2009-09-121-1/+9
|
* Use empty() function for testing which is far more better than just <> "".Ermal Luçi2009-09-091-4/+4
|
* Make checks stronger.Ermal Luçi2009-09-091-1/+1
|
* Remove wrongly duplicated code. Leave a comment on the oddity that is the ↵Ermal Luçi2009-09-091-10/+8
| | | | packages code.
* Be smarter at it and reduce some overhead.Ermal Luçi2009-07-151-19/+6
|
* Correct file names.Ermal Luçi2009-07-151-2/+2
|
* Remove files before recreating them. Add filter rules early content to the ↵Ermal Luçi2009-07-151-1/+12
| | | | file it was missing.
* Add forgotten global so file creation actually works.Ermal Luçi2009-07-091-7/+6
|
* I really need to take more coffee. Fix another typo.Ermal Luçi2009-07-091-1/+1
|
* Fix typoErmal Luçi2009-07-091-1/+1
|
* Add missed commit for package filter functions to work.Ermal Luçi2009-07-091-0/+2
|
* Present hook points for packages to present their rules.Ermal Luçi2009-07-061-31/+25
| | | | | 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.
* Add stub for update_output_window() if it does not existScott Ullrich2009-06-301-0/+5
|
* Add update_status() function if neededScott Ullrich2009-06-281-5/+3
|
* Add a dummy update_status() function if we need it.Scott Ullrich2009-06-261-0/+8
|
* Check to see if dir exists before blindly mounting rwScott Ullrich2009-06-251-2/+5
|
* Add missing conf_mount_ro();Scott Ullrich2009-06-251-1/+2
|
* Handle packages on embedded the same. Ssshhhh, don't tell anyone.Scott Ullrich2009-06-171-0/+4
|
* Update functions to add other anchors for before {nat,rdr} rules and ↵Ermal Luçi2009-05-311-6/+65
| | | | {nat,rdr}early rules. Further more no need to call filter_configure since the anchors can be loaded separately from the main ruleset.
* Unbreak englishScott Ullrich2009-05-301-2/+2
|
* Unbreak pkg-utils.inc. Extra space made it rather unhappy. Reported on IRC ↵jim-p2009-05-301-1/+1
| | | | and in the forums.
* Present a new package option filter_rules_needed which has a function name ↵Ermal Luçi2009-05-291-1/+41
| | | | 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).
* Remove extra tabScott Ullrich2009-04-121-1/+1
|
* Avoid these errors: Warning: Invalid argument supplied for foreach() in ↵Scott Ullrich2009-04-121-6/+8
| | | | /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
* Jettison clog and replace with fifolog which is included in FreeBSD 7.1Scott Ullrich2009-03-151-1/+1
|
* * Add get_after_install_info()Scott Ullrich2009-02-221-0/+11
| | | | * Show installation instructions for package if they exist (after_install_info)
* Add check for after_install_info and display this info after package ↵Scott Ullrich2009-02-101-0/+2
| | | | installation
* If <prefix> does not exist, then call safe_mkdir on it.Scott Ullrich2008-10-191-1/+3
|
* * Add run_plugins() functionScott Ullrich2008-10-191-1/+2
| | | | | * Use run_plugins() function in filter.inc * Add plugin hook for parse_config and write_config
OpenPOWER on IntegriCloud