summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
Commit message (Collapse)AuthorAgeFilesLines
* Bring in the RCFILEPREFIX as constant fixes from HEAD, since otherwise ↵jim-p2013-01-301-5/+5
| | | | rc.stop_packages was globbing in the wrong dir and executing the wrong scripts. Also seems to have fixed the "bad fd" error.
* Silence tar command to not garble consoleErmal2012-08-011-4/+4
|
* Try to keep existing files rather than unlinking/replacing when restoring ↵jim-p2012-07-311-2/+2
| | | | the package libraries during a package removal. Needs some testing, but for NanoBSD it fixes #1049
* Move the stop_packages code to a function, and call the function from the ↵jim-p2012-05-081-0/+44
| | | | shell script, and call the function directly for a reboot. Fixes #2402 and ticket #1564
* support for xmlrpcauthuser and xmlrpcauthpass in $g.Darren Embry2012-03-151-0/+12
| | | | also for some reason get_pkg_sizes() wasn't using credentials at all.
* Unlink the failed downloaded file if present. Since it might contain harmful ↵Ermal2011-09-011-0/+1
| | | | and not expected content
* Compensate some more occurencies of write_config() during the pathErmal2011-08-191-0/+2
|
* Show the package name that are geing downloaded even during console updateErmal2011-08-191-0/+1
|
* Compenstate for the write_config calls sending the filesystem to ro during ↵Ermal2011-08-191-13/+17
| | | | pacakge installation.
* Move seting up of tabs/menus/service entries after custom php commands. ↵Ermal2011-08-031-27/+54
| | | | Seems there is something tripping config vars that make these steps not work.
* Correct the ambiguity caused by missing curliesErmal2011-08-031-6/+6
|
* Remove this write_config call seems to be causing grief.Ermal2011-08-031-3/+2
|
* Add yet another intermediate config write during pacakge processing which ↵Ermal2011-08-031-1/+8
| | | | breaks some installation steps.
* Add small comment about rrd binariesScott Ullrich2011-06-231-0/+1
|
* Loosen grep for rrdScott Ullrich2011-06-231-1/+1
|
* Backup rrdtool binaries during package reinstallation. Currently that is ↵Scott Ullrich2011-06-231-2/+5
| | | | the onlyp package that can be clobbered by others. We will rework this completely in a future version when we adopt PBIs.
* New line missing after pkg is extracted.Warren Baker2011-06-221-1/+1
|
* TypoesBill Marquette2011-06-031-3/+3
|
* When uninstalling packages try to remove even any rc files created by packages.Ermal2011-05-181-1/+8
|
* When uninstalling a service actually stop it first.Ermal2011-05-171-0/+3
|
* Remove comment since the service is not started anymore after installation ↵Ermal2011-03-141-1/+0
| | | | in 2.0
* Be smart and remove the needs package sync toggle since the begining ↵Ermal2011-03-041-0/+2
| | | | otherwise not behaving packages might mess up the whole thing.
* Ensure the pkg staging area exists on nanobsd before trying to use it.jim-p2011-02-261-2/+5
|
* Move this code up a bit and also use /root/tmp to fetch packages instead of ↵jim-p2011-02-241-5/+10
| | | | /tmp so it won't fill up.
* If we're on nanobsd, pass -t to pkg_add to specify a different "staging ↵jim-p2011-02-241-2/+4
| | | | area" path.
* Set PKG_TMPDIR here too, to help nanobsd pkg installs.jim-p2011-02-231-1/+3
|
* Use a better method to determine the FTP URL for FreeBSD based on the ↵jim-p2011-01-211-2/+3
| | | | version being used. The old method worked with 8.1-RELEASE-p2 but failed with just 8.1-RELEASE.
* Comment what this variable doesScott Ullrich2011-01-201-2/+6
|
* Adding $builder_package_install variable. When set to true ignore library ↵Scott Ullrich2011-01-201-9/+18
| | | | fixups and sync_package() directives.
* Fix references to what was apparently supposed to be $g['booting'] and not ↵jim-p2011-01-181-4/+4
| | | | $bootup.
* Add a description to this write_config() so it's a little more obvious what ↵jim-p2011-01-181-2/+2
| | | | it's doing in the logs.
* Bail on reinstalling all packages if we can't contact the package repo.jim-p2011-01-121-0/+9
|
* Ticket #875. While ldconfig should be called by pkg code itself do it ↵Ermal2011-01-101-1/+4
| | | | explicitly to have the cache file rebuilt with correct list.
* Need to use Unlink in tarScott Ullrich2011-01-071-12/+8
|
* Shorten englishScott Ullrich2011-01-061-5/+12
|
* Ensure $pkg is defined. Send pkg_delete errors to /tmp/pkg-delete_errors.txtScott Ullrich2011-01-061-1/+6
|
* Fix package dependency check code now that we no longer nuke /var/db/pkg/ ↵Scott Ullrich2011-01-061-4/+22
| | | | before operating on packages
* Strip off the space between @depend and the package name. Otherwise it will ↵Scott Ullrich2011-01-061-1/+1
| | | | return a space in front of the pkgname
* Do not unlink file, it's handled by behind the scenes pkg-utils.inc codeScott Ullrich2011-01-061-1/+0
|
* Shorten repo download messageScott Ullrich2011-01-061-1/+1
|
* Do not show already installed messages which fill up the textarea too many timesScott Ullrich2011-01-061-1/+1
|
* Do not nuke /var/db/pkg now that 2.0 has better handlingScott Ullrich2011-01-051-2/+0
|
* Reinstall packages on bootup during console. Ticket #1156Scott Ullrich2011-01-051-0/+22
|
* Nuke newlineScott Ullrich2010-12-291-1/+1
|
* Unlink needs_package_sync after one pkg has installed OK which means that ↵Scott Ullrich2010-12-271-1/+2
| | | | our internet connection is up.
* More misc pkg install txt fixupsScott Ullrich2010-12-251-31/+31
|
* More misc pkg install txt fixupsScott Ullrich2010-12-251-3/+2
|
* Add newline after restoring libsScott Ullrich2010-12-251-0/+1
|
* backup and restore libs in correct locationScott Ullrich2010-12-251-13/+13
|
* misc text formatting fixes (tabs)Scott Ullrich2010-12-251-5/+5
|
OpenPOWER on IntegriCloud