summaryrefslogtreecommitdiffstats
path: root/loader/urls.c
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-151-381/+0
| | | | IT IS ACCOMPLISHED.
* ssl: 'noverifyssl' kernel boot argument.Ales Kozumplik2011-08-051-2/+2
| | | | | | | | | | | | Prevents Anaconda from verifying the ssl certificate for all https connections with an exception of the additional repos (where --noverifyssl can be set per repo). For instance, this allows downloading kickstart specified as ks=https://... where the server is using a self-signed certificate. Resolves: rhbz#696696 Related: rhbz#728562
* Clarify that loader method entries are looking for a tree.Chris Lumens2011-02-251-1/+1
| | | | | | We're not looking for the stage2 image anymore, so stop referring to "installation image". Also, there's no prompting to do for rescue mode anymore either.
* Remove the unused iurlinfo, urlInstallData, and fix up URL kickstarts.Chris Lumens2010-10-151-5/+0
|
* urlinstTransfer and support functions do not operate on iurlinfo anymore.Chris Lumens2010-10-151-9/+9
|
* urlMainSetupPanel no longer takes an iurlinfo.Chris Lumens2010-10-151-5/+5
| | | | Instead, it operates on loaderData->instRepo directly.
* ssl: support for 'url --noverifyssl' in loader.Ales Kozumplik2010-07-081-0/+9
| | | | Related: rhbz#599040
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-281-1/+1
| | | | | | | This is required so the source layout and package layout have a similar enough structure to make our test setup work. Without this move, you can't run "make check" or checkbot without getting error messages about no such module pyanaconda.booty.
* Change proxy regex in loader to match python proxy regex (#602712)Brian C. Lane2010-06-171-1/+1
| | | | | | | Use the exact same regex in both places to take advantage of the proxy regex unit testing. Related: rhbz#602712
* Check for proper Proxy URL in loader (#604126)Brian C. Lane2010-06-161-0/+6
| | | | | | Make sure the Proxy url starts with http or ftp:// Resolves: rhbz#604126
* Set CURL_FAILONERROR to catch url download errors (#586925)David Cantrell2010-04-291-0/+1
|
* yum requires the proxy settings to include a protocol (#576691).Chris Lumens2010-04-081-33/+32
| | | | | | | Since yum requires the protocol and libcurl doesn't care if there's a protocol given or not, add the protocol to the front of the proxy value itself. Also, both yum and libcurl will process the proxy setting if it's got a port on the end so remove all the special port handling.
* By default, libcurl does not appear to follow redirects (#572528).Chris Lumens2010-03-111-0/+2
| | | | | While I'm enabling that, I might as well also set a max redirect limit so anaconda doesn't go off looking forever.
* move log.c from loader into isys.Ales Kozumplik2010-03-081-1/+2
| | | | | | This is in preparation to use logging from imount.c. We don't want a dependency of isys on loader, instead move logging code into isys and change loader sources to use the log.h header in isys.
* Introduces check_asprintf macro that checks asprintfs return value and ↵Ales Kozumplik2009-11-191-10/+4
| | | | | | | | | terminates program in OOM scenarios. This is to avoid having to copy-paste the asprintf-log-abort if branch all the time. This commit also modifies existing asprintf() calls to use the new macro in places where the change wouldn't modify program's semantics.
* Move libcurl initialization to urlinstTransfer() (#537870).David Cantrell2009-11-181-16/+20
| | | | | | | | | | | | | | | | | | Recent trees have been giving errors when we get to the stage2 download point, such as this one: Unable to retrieve http://download.fedoraproject.org/pub/fedora/linux/development/x86_64/os//images/install.img. libcurl needs to be initialized inside urlinstTransfer() so it has the latest network state for the system. The above error is caused by old DNS settings. libcurl won't automatically do a res_init(), so we need to set up a new curl instance and use that. Since this patch moves curl usage to be exclusively within urlinstTransfer(), move 'curl' to that function as well and remove it from loaderData. Add curl cleanup calls at the end of urlinstTransfer().
* Expand the proxy table a little bit to reduce clutter (#537878).Chris Lumens2009-11-171-7/+7
|
* Add a function to split up a proxy parameter into its parts.Chris Lumens2009-09-301-1/+45
| | | | | | | | | The proxy parameter to be used on the cmdline and in kickstart is of the form: proxy=[protocol://][user[:password]@]host[:port] This is also used as url --proxy= and repo --proxy=.
* libcurl supports https in addition to http, so change our tests.Chris Lumens2009-09-301-1/+1
|
* Add initial loader UI support for proxies (#125917, #484788, #499085).Chris Lumens2009-09-301-6/+89
|
* We no longer need our own FTP/HTTP protocol support code.Chris Lumens2009-09-301-1/+0
|
* Get rid of the convertURL/UI functions, make iurlinfo just store a string.Chris Lumens2009-09-301-135/+6
|
* Add proxy support to urlinstTransfer by setting more curl options.Chris Lumens2009-09-301-0/+17
|
* Add the urlinstTransfer function, which replaces urlinst*Transfer.Chris Lumens2009-09-301-77/+61
| | | | | | | These older functions operate by initiating a connection, returning a file descriptor, the caller performing some random operation, and then closing the connection. This new function does everything for you. If the downloaded file doesn't end up where you want, you'll need to do the move yourself.
* Revert "Work around gcc bug #492973"David Cantrell2009-03-311-1/+1
| | | | | | This reverts commit 5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77. gcc-4.4.0-0.31 in rawhide fixes the problem we were seeing.
* Work around gcc bug #492973David Cantrell2009-03-301-1/+1
| | | | | | | | | Problem with -O2 and some string functions with the latest version of gcc in rawhide. Work around the problem for now so we can compile, ideally we can revert this patch in the future. gcc bug: https://bugzilla.redhat.com/show_bug.cgi?id=492973
* Download progress indicator for FTP and HTTP in stage 1.David Cantrell2008-08-251-4/+9
| | | | | Patch from Ricky Zhou to add a pinwheel and progress bar for FTP and HTTP downloads from loader.
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-0/+367
|
* remove old loader dir. for referencing, go back to anaconda-8-0-branchJeremy Katz2003-01-071-467/+0
|
* get the easy bits of the merge first.... hampton loader and isys directoriesJeremy Katz2002-04-191-15/+12
| | | | should be fine since I had originally just copied them into hampton from head :)
* merge most of the s/390 loader changes. as with the last batch, an emailJeremy Katz2001-12-271-0/+35
| | | | about these will be coming soon
* fix typo, resolves bug #51773bfox2001-08-151-1/+1
|
* Change all Ok to OKMike Fulbright2001-08-101-4/+4
|
* a few more s/Ok/OK/Matt Wilson2001-07-121-4/+4
| | | | add a flag that lets you test all GUI screens even via netboot
* kill last of OK's in favor of Ok'sMike Fulbright2001-07-121-4/+4
|
* actually assign the fixed path to the prefixMatt Wilson2001-07-021-3/+3
|
* add / in the front of the dir if it is missing (#47039)Matt Wilson2001-07-021-0/+9
|
* optionally ignore error messagesErik Troan2001-06-291-8/+11
|
* merge loader changes from branchesMatt Wilson2001-06-201-2/+2
|
* merge from (now defunct) anaconda-dispatch branchErik Troan2001-06-201-3/+3
| | | | | added telnet server support (not turned on) along with support for cramfs'd files in many places
* fix typoBill Nottingham2001-06-011-2/+2
|
* removed junk text about ftp proxiesErik Troan2000-11-171-3/+2
|
* use /., not /Erik Troan2000-08-161-3/+9
|
* enabled nonanonymous ftpErik Troan2000-04-201-44/+16
|
* 1) don't use librpm for anythingErik Troan2000-01-011-31/+52
| | | | 2) use built-in ftp and http code (because of #1)
* o changes needed to use rpmio from rpm HEADMatt Wilson1999-11-301-2/+6
| | | | | o typo in exception screen o other things that came along the way.
* merge with anaconda-6-1-1-merge-2Matt Wilson1999-11-231-0/+14
|
* Fix a segfault during ftp/http installs.jakub1999-10-201-3/+4
| | | | It is handy to sometimes link the loader with -lefence :)
* more i18nMatt Wilson1999-09-131-4/+4
|
* turned off proxy screens for nowMatt Wilson1999-08-211-0/+4
|