aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* test: improve loading of repositories, fix broken install-if testTimo Teräs2014-05-191-3/+15
|
* del: allow deletion of world dependency when it is not installedTimo Teräs2014-05-191-0/+3
| | | | | this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed.
* finally fix building PIE binariesTimo Teräs2014-05-123-14/+37
| | | | | | | | the dynamic applet registration never worked with PIE, and as a temporary hack -nopie was added to default link flags in 2008. this commit reworks the applet registration mechanism to something that is compatible with PIE, and removes the hack. finally!
* db: allow replacing files of origin package is sameTimo Teräs2014-04-251-0/+3
| | | | | | basically this makes packager's life simpler as there is no need to list the subpkg names in replaces. this was also very error prone and tedious job to do properly.
* package: do not report duplicate reverse dependenciesTimo Teräs2014-04-101-1/+4
| | | | most notable in error report from 'del' applet
* url: double-fallback to static busyboxTimo Teräs2014-04-101-0/+1
|
* solver: purge install_if packages deleted from repositories on upgrade -aTimo Teräs2014-04-101-2/+9
|
* solver: fix cleaning of packages that got replaced by providesTimo Teräs2014-04-101-1/+4
|
* solver: fix inherited flags/pinning for install_if packagesTimo Teräs2014-04-041-56/+28
| | | | | | | noticeable fixes upgrading of packages which get pulled in only by install_if rule. this also simplifies the inheritance calculation for packages, as well as the place where it is done for install_if triggered packages.
* solver: do not consider packages in cache as 'available'Timo Teräs2014-04-041-5/+16
| | | | | | | 'available' really means 'available in one or more configured repository'. Cache is not a repository we track, so those are only available for installation, but not available as preferred to be installed from repository. fixes #2831.
* audit: report missing files in system modeTimo Teräs2014-03-121-21/+64
| | | | fixes #2113
* solver: additional improvements to install_if handlingTimo Teräs2014-03-122-4/+22
|
* audit: include all files in etc/apk in overlayTimo Teräs2014-03-123-40/+50
| | | | | | | | | This implements a new protected path flag '!' to include always matching entries in the backup mode (overlay). This is also turned on for etc/apk to include everything there in overlay, because the full list of repositories and signing keys need to be in overlay - just getting them from a package is not enough during bootstrap.
* solver: fixes to install_if handlingTimo Teräs2014-03-111-14/+21
|
* info: fix printing of 'replaces' fieldTimo Teräs2014-03-071-1/+1
|
* fetch: disable all progress/log output with --stdoutNatanael Copa2014-02-031-1/+3
|
* fetch: disable progress when outputting pkg to stdoutTimo Teräs2014-02-031-1/+4
|
* Revert "fetch: run quiet when --stdout"Natanael Copa2014-01-061-1/+0
| | | | This reverts commit a99bedba6fa66cc55b30575b32b1359e22cfefb5.
* apk: new option --print-archNatanael Copa2014-01-061-0/+10
| | | | | Simply print the default arch and exit. This is so scripts don't need to parse the output of -V.
* fetch: run quiet when --stdoutNatanael Copa2013-12-101-0/+1
| | | | Prevent the progressbar and status messages to mess up stdout.
* print: flush on apk_logNatanael Copa2013-12-051-0/+1
| | | | Makes it more useful whith pipes.
* print: use stdout instead of stderr for logging and progressTimo Teräs2013-10-112-11/+10
| | | | | | stdout is the proper place for it. this also fixes the progress bar in musl, which seems to not support using line buffering for stderr.
* db: allow using cached packages with --no-networkTimo Teräs2013-10-021-1/+1
|
* db, url: fix exec sentinelsTimo Teräs2013-10-012-3/+3
| | | | http://ewontfix.com/11/
* db: minor improvements to an error and a verbose log messagesTimo Teräs2013-09-201-2/+2
|
* archive: fix handling of name lengths of exactly 100 bytesTimo Teräs2013-09-201-0/+3
|
* db: fix error messageTimo Teräs2013-09-201-1/+1
|
* apk: new option --no-scriptsTimo Teräs2013-09-103-2/+7
| | | | | to not run any per-package scripts. useful for managing buildroot when cross-compiling.
* solver: if pinning is specified, it overrides preferred reposTimo Teräs2013-09-061-1/+1
| | | | add also a test case for this
* arch: use armhf for arm hardfloat eabiTimo Teräs2013-09-051-2/+2
| | | | at least debian and musl do this, so let's go along with that.
* apk: minor fix in help text and a whitespace fixNatanael Copa2013-08-281-2/+2
|
* search: implement --has-originNatanael Copa2013-08-281-1/+15
| | | | This option lets us search for all package with given origin.
* commit: fix segfaultNatanael Copa2013-08-051-1/+1
| | | | apk would try run the trigger even if package failed to install.
* commit: don't ask questions if simulatingTimo Teräs2013-08-031-9/+9
|
* solver: do not disqualify already disqualified packagesNatanael Copa2013-07-171-1/+1
| | | | | | | | We should not disqualify non-selectable packages as it would mark it as dirty, forcing it to reconsider the name again, which could end up in an endless loop. fixes #2135
* db: fix segfault when --root points to invalid dirNatanael Copa2013-07-171-1/+3
| | | | fixes #2134
* del: don't print own name as reverse dependencyTimo Teräs2013-07-081-2/+8
|
* apk: give more space for applet descriptions on generic helpTimo Teräs2013-07-081-1/+1
|
* io: use fget{pw,gr}ent_r only on uclibc and glibcTimo Teräs2013-07-041-4/+23
| | | | musl does not have those.
* solver: use ffs (posix) instead of ffsl (gnu extension)Timo Teräs2013-07-041-1/+2
| | | | for musl compatibility
* upgrade: prefer not to upgrade dependencies during self-upgradeTimo Teräs2013-07-021-1/+1
|
* defines: detect endianess on arm, for armelTimo Teräs2013-07-021-0/+3
|
* Allow "apk search -x" for -eDubiousjim2013-06-301-1/+3
|
* apk: infrastructure for short-option-only synonymsDubiousjim2013-06-301-8/+9
|
* fix: improve usageDubiousjim2013-06-281-2/+2
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* version: clarify usageDubiousjim2013-06-281-3/+4
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* add, del: main dependencies -> 'world'Dubiousjim2013-06-282-2/+2
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* various: applet help text and comment fixesDubiousjim2013-06-2812-22/+21
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* build: lua module build fixesNatanael Copa2013-06-261-2/+5
| | | | | | | | - do not link with -llua. We should not link apk or lua module with it. - default to lua 5.2 - allow override the lua version with LUA_VERSION - allow override the lua pkg-config package with LUA_PC - only add the pkg-config lua --cflags to the lua module
* db: write ipkg flags in proper placeTimo Teräs2013-06-211-7/+8
|