summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* apk-tools-2.0_pre14apk-tools-2.0_pre14Timo Teras2009-07-131-1/+1
|
* openssl: register engines, and use oneshot digest when possibleTimo Teras2009-07-132-5/+2
| | | | to actually get hardware acceleration if available.
* gunzip: accept concatenated gzip streamsTimo Teras2009-07-101-1/+11
| | | | | allow .apk to consist of multiple separate gzip streams which are just concatenated together.
* db: removed apk_repository_update_all() as its no longer neededNatanael Copa2009-07-093-15/+1
| | | | We use APK_UPDATE_CACHE apk_flag instead.
* ver: implement --limitNatanael Copa2009-07-091-27/+24
| | | | | | | | | Support for limiting output for only showing the packages who have the status we are interested in. For example --limit '<' will only list packages that have a newer version available. While here, we also fix so packages that are not in any repository are displayed with '?'.
* implement --update-cache optionNatanael Copa2009-07-094-2/+12
| | | | This will update the repository cache upon db_open.
* db: check cache directory earlyTimo Teras2009-07-081-3/+3
| | | | | we need to know if caching is enabled, before the repositories are added. otherwise the cache is not used properly at db opening time.
* apk: initialize opensslTimo Teras2009-07-081-0/+22
| | | | | add all ciphers and built-in engines so we get e.g. hw acceleration of sha1 when available.
* build: link zlib dynamically, use --as-neededTimo Teras2009-07-081-3/+5
| | | | | | use pkgconfig of zlib instead of hard requiring it. and link in the pkg-config libs with --as-needed as not all of the openssl libs are really required.
* csum: use openssl insteadTimo Teras2009-07-0810-519/+67
| | | | | instead of having static md5 implemenation, use the openssl library for digest functions.
* apk: add --wait option to wait for exclusive lock (fixes #26)Timo Teras2009-07-073-9/+37
|
* add: ignore install failures on 'apk add --force'Timo Teras2009-07-071-1/+2
| | | | | and use this option in initramfs, so we are likely to get an usable environment even if some packages from world are missing. fixes #50.
* ver: fix output indentationTimo Teras2009-07-071-1/+3
|
* cache: delete also wget temporary filesTimo Teras2009-07-071-2/+10
| | | | | | check for the full filename to match an expected pattern or delete it (so we delete files with .new, .new.backup, etc.). final part of remote package caching: fixes #49.
* cache: use changeset to figure out downloadablesTimo Teras2009-07-071-3/+23
| | | | | that way we get the same result as the 'apk add world' at boot time; it might differ from currently installed set (ref #49).
* db: open flags revisitedTimo Teras2009-07-076-35/+45
| | | | | more fine grained control what to load, and rename some of the flags to be shorter.
* fetch: respect --simulate optionNatanael Copa2009-07-061-0/+3
|
* apk-tools-2.0_pre13apk-tools-2.0_pre13Timo Teras2009-07-021-1/+1
|
* info: fix compiler warning on x86_64Natanael Copa2009-06-301-2/+2
| | | | | printf %i does not work so well with size_t on 64 bit. Use %zu which seems to be portable enough.
* cache: new applet (ref #49)Timo Teras2009-06-296-18/+203
| | | | Administrative tool to download or delete files to/from the cache.
* db: cache packages (ref #49)Timo Teras2009-06-294-59/+149
| | | | | | | | | | | If /etc/apk/cache is a symlink to directory, a copy of all installed packages is stored there, and the index of remote repositories will be there instead of /var/lib/apk. This enables to reconstruct running system during boot. Left as todo: remove cached copy when the package is removed, and additional apk applet to download missing packages to cache and/or remove extra items.
* blob: function to checksum a blobTimo Teras2009-06-284-22/+21
| | | | And use it in couple of places. Some whitespace fixes too.
* help: auto construct helpTimo Teras2009-06-2513-142/+264
| | | | And add some more verbosity to the help message.
* upgrade: add --available optionTimo Teras2009-06-253-5/+42
| | | | | | | That will make the upgrade prefer packages available in repositories. This is good if one want's to downgrade packages by removing an experimental repository. Or to force re-install of locally built vs. repository version when the package version are same, but checksum is different. Fixes #51.
* upgrade: new appletTimo Teras2009-06-252-1/+56
| | | | | Currently just goes through all world dependencies and updates them where possible (ref #51).
* package: removed debug codeNatanael Copa2009-06-221-1/+0
|
* version: added apk_version_compare_blob() functionNatanael Copa2009-06-222-7/+9
| | | | | We want be able to compare blobs so we basicly revert the old change, and make a wrapper that takes version strings.
* ver: only compare the given packages, show versionNatanael Copa2009-06-207-37/+71
| | | | | make apk_version_compare() take strings rather than blobs add apk_pkgversion_compare(), a wrapper that takes packages
* db: add function apk_repository_update_allNatanael Copa2009-06-193-4/+13
| | | | | | | | We might want to add an --update-index option to misc applets. For example: apk add --update-index -u package apk version --update-index
* info: support for -d, --descriptionNatanael Copa2009-06-191-5/+20
| | | | and re-arrange the order of displayed info
* info: allow multiple subactions at the same runNatanael Copa2009-06-191-18/+45
| | | | By using a bitmask we can combine subactions
* info: add size and webpage to usageNatanael Copa2009-06-191-1/+1
|
* info: add -w,--webpage and -s,--size optionsNatanael Copa2009-06-191-0/+30
|
* improve --help outputNatanael Copa2009-06-198-23/+36
| | | | | apk --help will list the generic options only and give a list of commands To get the details for a spefic command, 'apk command --help' should be used.
* add: support for forced versionsNatanael Copa2009-06-165-16/+61
| | | | | | | Support version numbers specified with packages. For example: apk add 'busybox<1.14' apk add 'squid=>3.0'
* fetch: use lstat to verify filesize on existing targetsNatanael Copa2009-06-161-3/+2
| | | | | since we dont verify the checksum we dont need to calculate it Speed up when you try fetch lots of stuff thats already there.
* state: bugfix in the package version selectorNatanael Copa2009-06-161-2/+5
|
* io: fix mmap bstream fd leakTimo Teras2009-06-111-1/+2
| | | | | We need to close the fd on destruction. This is what the corresponding istream variant does too.
* fetch: readlink does not end buffer with \0Natanael Copa2009-06-111-1/+4
| | | | | According the manpage readlink(2) does not append a null byte to buf. So we have to do it ourselves.
* fetch: do not create hardlinks to softlinks but to softlink targetsNatanael Copa2009-06-111-1/+3
| | | | Otherwise the iso image will have softlinks which is not what we want
* fetch: removed debug messageNatanael Copa2009-06-091-1/+0
| | | | leftovers from a debug session.
* fetch: added --link/-L optionNatanael Copa2009-06-091-19/+33
| | | | | | | | | fixes #42 This will also fix a bug that left an empty file in destination dir when source file did not exist in repository. There are still issues with paths longer than 255 chars.
* build: create archive directly from git treeTimo Teras2009-05-272-4/+16
| | | | So we don't get local modifications or extra files in the tarball.
* fetch: fix fd leakNatanael Copa2009-05-261-1/+1
| | | | we should always close the in-stream, not only on failure.
* apk-tools-2.0_pre12apk-tools-2.0_pre12Timo Teras2009-05-251-1/+1
|
* Revert "add: replace coffe-cup with starwars"Timo Teras2009-05-252-4/+48
| | | | | | | | This reverts commit 0906a1c7de37ba54f29e9dbabbbd5ea069258cef. Conflicts: src/add.c
* state: upgrade deps for given packages to add -uNatanael Copa2009-05-241-4/+4
|
* add: fix segfault when no params are givenLinux User2009-05-211-1/+2
|
* add: replace coffe-cup with starwarsNatanael Copa2009-05-211-48/+4
| | | | saves space
* add: coffe-cupNatanael Copa2009-05-211-0/+49
|