summaryrefslogtreecommitdiff
path: root/src/url.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2011-05-27db: more fix for read-only cache remountingTimo Teräs1-0/+1
remount to read-write before trying to create the cache directory subdirs. fix a fd leak that might prevent remounting back to rw.
2011-03-11url: try wget from $PATH first and fallback to busybox wgetNatanael Copa1-0/+4
If GNU wget is available, then we want use it as it gives the user possibility to set misc options, such as bandwidth limit in wgetrc. It might also be that busybox is not available in case bootstrapping alpine from other distros (think debian vserver host creating an alpine guest) In any case we, fall back to busybox wget in case wget libs are getting upgraded. (see http://redmine.alpinelinux.org/issues/347)
2011-01-01url: use always busybox wgetTimo Teräs1-1/+1
I think there used to be problems with using http_proxy on bb wget, but those have been fixed for quite some time. This fixes #347. We should probably use libcurl or similar library eventually, but I'm not entirely sure if/when we want that.
2010-12-09io: enhance istream/bstreams with pipe to forked childTimo Teräs1-5/+37
* prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly
2009-07-31apk: use *at instead of chdir+normal file syscallTimo Teras1-9/+12
this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used.
2009-07-16gzip: always autoclose the inner streamTimo Teras1-2/+2
2009-04-21url: rename to .backup rather than unlink before wgetNatanael Copa1-1/+3
2009-04-21url: unlink file before trying to downloadNatanael Copa1-0/+1
2009-04-16db: cache index files, 'update' appletTimo Teras1-4/+30
Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19.
2009-01-16url: allow wget report error messagesNatanael Copa1-2/+1
2009-01-15db: index file location is a URLTimo Teras1-0/+6
2008-11-28io: prepartions for url handlingTimo Teras1-0/+75