Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-04-24 | apk-tools-2.6.0_rc4v2.6.0_rc4 | Timo Teräs | 1 | -1/+1 | |
2015-04-24 | do not extract files with malicious name | Timo Teräs | 1 | -1/+14 | |
the security implications are not as high as compared to regular tar/unzip archiver. this is because you are anyway trusting the package to install files anywhere in the filesystem. this serves rather as a sanity to check against errors in created package. | |||||
2015-04-24 | allow virtual packages beginning with dot by default on tmpfs installs | Timo Teräs | 1 | -3/+3 | |
the allows update-kernel script to work on tmpfs install before cache is configured. | |||||
2015-04-24 | modifications for the previous commit in error message handling | Timo Teräs | 4 | -5/+8 | |
forgot to --amend my changes | |||||
2015-04-22 | print.c: provide more detailed error messages if retrieving a package fails | Alex Dowad | 2 | -1/+21 | |
fetch_maperror() translates error codes returned by libfetch to our error codes. Handle those in apk_error_str(), returning error messages which advise the user of the most likely fix. A custom error code, EAPKSTALEINDEX, has been added for cases where retrieving a package fails due to a HTTP error 404 or similar. [TimoT: add also EAPKBADURL, as well as organize a bit better where the EAPKSTALEINDEX is generated] | |||||
2015-04-22 | io: fix compiler error by including stdint.h | Alex Dowad | 1 | -0/+1 | |
According to the C standards, uint32_t is defined in stdint.h. Presumably apk is usually built against C libraries where stdint.h is indirectly included through another header file, but this isn't the case with the version of glibc which I am using. | |||||
2015-04-17 | apk-tools-2.6.0_rc3v2.6.0_rc3 | Timo Teräs | 1 | -1/+1 | |
2015-04-17 | fix issue introduced in previous xattr error handling changes | Timo Teräs | 1 | -2/+2 | |
2015-04-17 | disable xattrs on symlinks for now | Timo Teräs | 2 | -2/+2 | |
there's no nice syscall to manipulate xattrs with atfd and or open the symlink without dereferencing it (and having fd that we can do xattrs with) | |||||
2015-04-17 | make file install errors non-fatal, and xattr errors hidden | Timo Teräs | 5 | -83/+109 | |
user xattrs on tmpfs are not supported no non-grsec kernels, and many times root fs is mounted without user_xattr. Thus to allow things to go smoothly on non-grsec kernels xattr unsupported errors are now hidden. xattrs can be fixed still now with "apk fix --xattrs" | |||||
2015-04-13 | apk-tools-2.6.0_rc2v2.6.0_rc2 | Timo Teräs | 1 | -1/+1 | |
2015-04-13 | fix tee io error handling | Timo Teräs | 2 | -4/+6 | |
use ERR_PTR mechanism, and handle it at all places. | |||||
2015-04-13 | fix error mapping types | Timo Teräs | 1 | -1/+1 | |
on arm char is by default unsigned, so this caused crashes as the ERR_PTR mechanism did not work as expected with unsigned types. extend the array type to be signed short explicitly. | |||||
2015-04-10 | update: return errors also with --quiet | Natanael Copa | 1 | -1/+1 | |
fixes #4040 | |||||
2015-04-08 | use memmove for copying buffer leftovers, as the ranges may overlap | Timo Teräs | 1 | -1/+1 | |
issue cought by fortify | |||||
2015-04-08 | apk-tools-2.6.0_rc1v2.6.0_rc1 | Timo Teräs | 1 | -1/+1 | |
2015-04-08 | unbreak audit after xattr support | Timo Teräs | 1 | -2/+1 | |
2015-04-08 | ignore .apk-new files for overlays | Timo Teräs | 3 | -1/+12 | |
2015-04-08 | make default dir/file acl implicit | Timo Teräs | 1 | -2/+2 | |
apk in alpine 3.1 already supports this optimization, but kept the database format. now is time to start using this feature. | |||||
2015-04-08 | audit xattrs | Timo Teräs | 3 | -38/+90 | |
ref #3027 | |||||
2015-04-07 | update: return failure if any mirror update failed | Natanael Copa | 3 | -3/+10 | |
fixes #4040 | |||||
2015-04-07 | commit: return failure if there are any errors | Natanael Copa | 1 | -1/+1 | |
fixes #4019 | |||||
2015-03-11 | calculate and store checksum of xattrs | Timo Teräs | 5 | -7/+63 | |
ref #3027 | |||||
2015-03-10 | rename file info related functions for consistency | Timo Teräs | 8 | -17/+17 | |
2015-03-10 | extract xattrs from packages | Timo Teräs | 3 | -0/+46 | |
ref #3027 | |||||
2015-03-10 | rework error handling for write streams | Timo Teräs | 4 | -29/+19 | |
2015-03-10 | rework error handling for read streams | Timo Teräs | 8 | -42/+74 | |
2015-02-04 | apk-tools-2.5.0v2.5.0 | Timo Teräs | 1 | -1/+1 | |
2015-02-04 | remove old compat. field entry from installed db handling | Timo Teräs | 1 | -1/+0 | |
Package pinning was first implemented with 'p' tag. However, it was before any release renamed to 's', and 'p' was reserved for package provides support for which is used now. | |||||
2015-01-30 | remove spurious audit message from missing files with --system | Timo Teräs | 1 | -4/+2 | |
fixes #3840 | |||||
2015-01-30 | sort world dependencies alphabetically | Timo Teräs | 5 | -14/+22 | |
this makes 'lbu diff' and aaudit diffs nice when a world dependency is added or removed. sorting also makes the ordering more deterministic as the world targets constraints are always applied in the same order. test suite updated accordingly. | |||||
2015-01-30 | always save 'world' with line feeds | Timo Teräs | 2 | -4/+1 | |
using space was for backwards compatibility with apk-tools 2.2.2 and earlier (from January 2012) | |||||
2015-01-30 | remove support for old database location in /var | Timo Teräs | 3 | -57/+0 | |
the location changed in apk-tools 2.1.0 (March 2011) which was used in Alpine Linux 2.2. | |||||
2015-01-30 | remove reverse dependencies first | Timo Teräs | 1 | -0/+6 | |
when removing large sets of packets, the ordering of removal was not quaranteed to honor dependencies. this fixes the removal order to be in reverse dependency order as far as possible. | |||||
2014-12-08 | make del, fetch, fix and info return errors | Timo Teräs | 8 | -32/+63 | |
In case all applet arguments are packages names (that is are not including wildcards), return error if they do not match to some package. | |||||
2014-12-08 | fix test mode | Timo Teräs | 1 | -5/+7 | |
2014-11-03 | apk-tools-2.5.0_rc1v2.5.0_rc1 | Timo Teräs | 1 | -1/+1 | |
2014-11-03 | db: assign write permission to lock file | Kaarle Ritvanen | 1 | -2/+2 | |
Allows running apk as an unprivileged user, e.g. with fakeroot. Opening the lock file fails without the write permission. | |||||
2014-11-01 | move --simulate to commit options group and alias -s for it | Timo Teräs | 1 | -5/+4 | |
2014-11-01 | make 'mode, uid, gid' triplet separate atomized struct | Timo Teräs | 3 | -53/+68 | |
there are only few combinations for that triplet, and they occur multiple times reducing the struct sizes a bit. make sane defaults and prepare to not write defaults to disk to reduce on-disk installed db size. | |||||
2014-11-01 | support extended pax header in tar extractor | Timo Teräs | 3 | -38/+93 | |
2014-10-13 | db: improve and unify fdb error messages | Timo Teräs | 1 | -27/+13 | |
2014-10-09 | db: unconditionally refresh index with --force | Timo Teräs | 1 | -1/+3 | |
2014-10-08 | rework option parsing to have a group structure | Timo Teräs | 14 | -319/+390 | |
Add also a new 'commit' group that is the common options for all applets that can commit package changes. | |||||
2014-10-08 | url: fix double free from late libfetch changes | Timo Teräs | 1 | -1/+0 | |
2014-10-08 | io,url,db: support for if-modified-since | Timo Teräs | 6 | -53/+81 | |
2014-10-08 | url: use libfetch to retrieve http/https/ftp files | Timo Teräs | 3 | -56/+51 | |
2014-10-08 | apk-tools-2.4.5v2.4.5 | Timo Teräs | 1 | -1/+1 | |
2014-10-07 | db: fix crash if unable to download cache item | Timo Teräs | 1 | -2/+3 | |
fixes #3371 | |||||
2014-10-07 | io: fix few error path leaks | Timo Teräs | 2 | -6/+9 | |