- Apr 24, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
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.
-
Timo Teräs authored
the allows update-kernel script to work on tmpfs install before cache is configured.
-
Timo Teräs authored
forgot to --amend my changes
-
- Apr 22, 2015
-
-
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]
-
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.
-
- Apr 17, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
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)
-
Timo Teräs authored
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"
-
- Apr 13, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
use ERR_PTR mechanism, and handle it at all places.
-
Timo Teräs authored
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.
-
- Apr 10, 2015
-
-
Natanael Copa authored
fixes #4040
-
- Apr 08, 2015
-
-
Timo Teräs authored
issue cought by fortify
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
apk in alpine 3.1 already supports this optimization, but kept the database format. now is time to start using this feature.
-
Timo Teräs authored
ref #3027
-
- Apr 07, 2015
-
-
Natanael Copa authored
fixes #4040
-
Natanael Copa authored
fixes #4019
-
- Mar 11, 2015
-
-
Timo Teräs authored
ref #3027
-
- Mar 10, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
ref #3027
-
Timo Teräs authored
-
Timo Teräs authored
-
- Feb 04, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
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.
-
- Jan 30, 2015
-
-
Timo Teräs authored
fixes #3840
-
Timo Teräs authored
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.
-
Timo Teräs authored
using space was for backwards compatibility with apk-tools 2.2.2 and earlier (from January 2012)
-
Timo Teräs authored
the location changed in apk-tools 2.1.0 (March 2011) which was used in Alpine Linux 2.2.
-
Timo Teräs authored
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.
-
- Dec 08, 2014
-
-
Timo Teräs authored
In case all applet arguments are packages names (that is are not including wildcards), return error if they do not match to some package.
-
Timo Teräs authored
-
- Nov 03, 2014
-
-
Timo Teräs authored
-
Allows running apk as an unprivileged user, e.g. with fakeroot. Opening the lock file fails without the write permission.
-
- Nov 01, 2014
-
-
Timo Teräs authored
-
Timo Teräs authored
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.
-