Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-02 | solver: prefer highest requirer count above installed status | William Pitcock | 2 | -7/+8 | |
This ensures a swap is emitted when replacing a virtual with apk add. | |||||
2017-11-02 | solver: fix dbg_printf() call in select_package() | William Pitcock | 1 | -2/+2 | |
2017-11-02 | solver: only select a default if there is at least one provider with a ↵ | William Pitcock | 3 | -1/+31 | |
declared provider_priority | |||||
2017-11-02 | solver: instead of tracking selected packages, score by requirer count for ↵ | William Pitcock | 2 | -7/+13 | |
tiebreaking | |||||
2017-11-02 | solver: implement support for choosing default virtuals | William Pitcock | 9 | -11/+51 | |
By introducing a new package metadata field, `provider_priority` (index letter `k`), we can specify default packages to satisfy a virtual. If a user wishes to select an alternative provider for the virtual, a changeset swapping the default provider for the selected provider will be generated by the dependency resolver. | |||||
2017-10-27 | apk-tools-2.8.1v2.8.1 | Timo Teräs | 1 | -1/+1 | |
2017-10-27 | build: add 'make tag' | Timo Teräs | 1 | -0/+4 | |
2017-10-27 | solver: consider virtual provides to exclude non-provides transitively | Timo Teräs | 2 | -12/+20 | |
this fixes package selection when a 'real' package exists, but would need to be provided by another package with 'virtual provides'. In current package database this can happen with postgresql which is also provided by postgresql-bdr. Normally postgresql would be satisfied by postgresql, but if any package depends on postgresql-bdr and there's no versioned dependency on postgresql this will help apk figure out that postgresql-bdr should be used. | |||||
2017-10-12 | io: fix skip and splice to detect unexpected end-of-file | Timo Teräs | 2 | -31/+22 | |
2017-10-10 | db: handle default root correctly for /proc | Timo Teräs | 1 | -1/+1 | |
dbopts->root may be null; use db->root instead fixes #7162 | |||||
2017-10-06 | apk-tools-2.8.0v2.8.0 | Timo Teräs | 1 | -1/+1 | |
2017-10-06 | libfetch: fix certificate host name check | Timo Teräs | 1 | -1/+1 | |
OpenSSL allows passing zero-length to indicate "use strlen". LibreSSL requires using the real length always, so pass the length. | |||||
2017-10-06 | libfetch: improve openssl/libressl compatibility | Timo Teräs | 4 | -7/+436 | |
X509_check_host() is introduced in libressl-2.5.0 and openssl-1.0.2 which are not yet universally available. Add support for building against the older versions. | |||||
2017-10-05 | libfetch: improve ssl connections | Timo Teräs | 3 | -6/+111 | |
loosely based on the freebsd implementation, implement https connection settings to override CA, and use client certificate. new files supported in /etc/apk/: ca.pem - if exists, it contains CAs acceptable for https (otherwise system wide CAs are used) crl.pem - if ca.pem is used, this is the (optional) CRL for it cert.pem - used as client authentication certificate (+ key) cert.key - used as client key (can be also inside cert.pem) | |||||
2017-10-05 | libfetch: remove unwanted code conditionals | Timo Teräs | 7 | -94/+7 | |
2017-10-05 | libfetch: fix ssl context leak | Timo Teräs | 1 | -0/+14 | |
from freebsd | |||||
2017-10-05 | build and use bundled libfetch natively | Timo Teräs | 10 | -115/+61 | |
2017-10-05 | import libfetch-2.38 from NetBSD | Timo Teräs | 13 | -0/+6630 | |
ftp://ftp.fu-berlin.de/unix/NetBSD/packages/current-src/pkgsrc/net/libfetch/files libfetch comes (at least) in netbsd and freebsd flavors which differing functionality. Alpine and Arch package netbsd one, but it's not widely packaged across other distributions. We need NetBSD version as it does not use funopen(3) which is not supported in musl, and supports connection pooling. FreeBSD seems to be the orignal and better maintained version with support for SSL CAs, client certificate authentication, proxy authentication, and improved http redirect handling. So this imports NetBSD version, and future commits will pick up the needed improvements from FreeBSD tree. Incidentally, this also fixes #7857 and likes for good. | |||||
2017-10-04 | package: remove package script after use (fixes #7974) | Timo Teräs | 1 | -6/+9 | |
this is a regression introduced in commit 349c61c9 ("add support for pre and post commit hooks") | |||||
2017-09-27 | info: fix typo in help | Damiano Albani | 1 | -1/+1 | |
2017-08-23 | commit: proper singular/plural for 'error(s)' in commit message | Timo Teräs | 1 | -1/+2 | |
based on github pull request #5 | |||||
2017-08-23 | fix comparison of unsigned expression < 0 is always false | Dmitry Golovin | 2 | -4/+7 | |
found by clang | |||||
2017-08-23 | make preprocessor arguments clang-compatible | Dmitry Golovin | 1 | -1/+1 | |
2017-08-23 | use labs istead of abs with long argument | Dmitry Golovin | 1 | -1/+1 | |
2017-07-29 | index: Only rewrite arch if no error is encountered | A. Wilcox | 1 | -2/+2 | |
2017-07-29 | database: include POSIX header for ST_* defines | A. Wilcox | 1 | -0/+1 | |
2017-07-25 | travis: notify on IRC | Jakub Jirutka | 1 | -0/+7 | |
2017-06-26 | tar: use standard header prefix | Timo Teräs | 1 | -1/+9 | |
APKs have been created with GNU tar so far, which uses the GNU extensions for long names. In order to increase portability support the standard header's 'prefix' portion in case the GNU extensions are not present. | |||||
2017-06-26 | db: fix current directory instance caching in tar extraction | Timo Teräs | 1 | -1/+1 | |
Depending how the directory entries are ordered, the cached dir instance might not have been updated correctly. This has not been a problem as the entries have been ordered, but is now triggered on ppc. | |||||
2017-06-26 | database: mark error on renameat failure | A. Wilcox | 1 | -2/+6 | |
2017-06-23 | travis: deploy tarballs with static binary to GH Releases | Jakub Jirutka | 1 | -0/+19 | |
The main usage is for alpine-chroot-install and similar scripts, so it can depend on specific *persistent* version. | |||||
2017-06-23 | travis: update alpine-chroot-install to 0.5.1 | Jakub Jirutka | 1 | -2/+2 | |
2017-06-23 | io: make io vtables const struct, and add accessors for them | Timo Teräs | 13 | -120/+195 | |
This reduces function pointers in heap, and unifies how the io functions are called. | |||||
2017-06-23 | archive: validate reading of pax and gnu long filename extensions | Timo Teräs | 1 | -14/+14 | |
Detect properly if the file stream gets an error during these read operations. Reported-by: Ariel Zelivansky from Twistlock | |||||
2017-06-23 | archive: fix incorrect bounds checking for memory allocation | Timo Teräs | 1 | -2/+4 | |
The value from tar header is unsigned int; keep it casted to unsigned int and size_t instead of (signed) int, otherwise the comparisons fail to do their job properly. Additionally check entry.size against SSIZE_MAX so the rounding up later on is guaranteed to not overflow. Fixes CVE-2017-9669 and CVE-2017-9671. Reported-by: Ariel Zelivansky from Twistlock | |||||
2017-06-23 | Revert "version: consider pkg-rX and pkg to be the same version" | William Pitcock | 1 | -5/+0 | |
This reverts commit ee5ce7284aef8679fabcf728dd5bd5a17c965798. | |||||
2017-06-11 | gitignore: exclude files generated by root-tests | Jakub Jirutka | 1 | -0/+4 | |
2017-06-11 | test: modernize testing APKBUILDs | Jakub Jirutka | 6 | -59/+54 | |
2017-06-11 | test: fix test4.sh, script failure is non-fatal | Jakub Jirutka | 1 | -2/+2 | |
This behaviour has been changed in: 7d5cd2c8a0052a7446515f90d3d0ea5cc2e93efe. | |||||
2017-06-11 | test: fix running root-tests with QEMU user-mode emulation | Jakub Jirutka | 1 | -1/+12 | |
Variable QEMU_EMULATOR is set by enter-chroot script from alpine-chroot-install. | |||||
2017-06-11 | test: run test*.sh with set -x | Jakub Jirutka | 1 | -1/+1 | |
2017-06-11 | test: fix test6.sh, vmlinuz and initramfs are not symlinks | Jakub Jirutka | 1 | -2/+2 | |
2017-06-11 | test: fix test6.sh, replace linux-grsec w/ linux-vanilla, add alpine-keys | Jakub Jirutka | 1 | -3/+3 | |
2017-06-11 | test: exit with non-zero status when some root-test fail | Jakub Jirutka | 1 | -3/+4 | |
2017-06-11 | test: print output log when test fail | Jakub Jirutka | 1 | -3/+6 | |
2017-06-11 | test: fix invalid SYSREPO with http://nl.a.o | Jakub Jirutka | 1 | -1/+1 | |
2017-06-11 | test: fix target $(repos), APKINDEX is now generated by abuild | Jakub Jirutka | 1 | -3/+0 | |
2017-06-11 | test: fix target $(repos), PKGDEST is no longer supported | Jakub Jirutka | 1 | -1/+1 | |
2017-06-11 | test: fix missing "arch" in testing APKBUILDs | Jakub Jirutka | 6 | -0/+6 | |
2017-06-11 | travis: set up running tests on Travis CI | Jakub Jirutka | 1 | -0/+27 | |