summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-05-19del: allow deletion of world dependency when it is not installedTimo Teräs1-0/+3
this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed.
2014-05-12finally fix building PIE binariesTimo Teräs3-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!
2014-04-25db: allow replacing files of origin package is sameTimo Teräs1-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.
2014-04-10package: do not report duplicate reverse dependenciesTimo Teräs1-1/+4
most notable in error report from 'del' applet
2014-04-10url: double-fallback to static busyboxTimo Teräs1-0/+1
2014-04-10solver: purge install_if packages deleted from repositories on upgrade -aTimo Teräs1-2/+9
2014-04-10solver: fix cleaning of packages that got replaced by providesTimo Teräs1-1/+4
2014-04-04solver: fix inherited flags/pinning for install_if packagesTimo Teräs1-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.
2014-04-04solver: do not consider packages in cache as 'available'Timo Teräs1-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.
2014-03-12audit: report missing files in system modeTimo Teräs1-21/+64
fixes #2113
2014-03-12solver: additional improvements to install_if handlingTimo Teräs2-4/+22
2014-03-12audit: include all files in etc/apk in overlayTimo Teräs3-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.
2014-03-11solver: fixes to install_if handlingTimo Teräs1-14/+21
2014-03-07info: fix printing of 'replaces' fieldTimo Teräs1-1/+1
2014-02-03fetch: disable all progress/log output with --stdoutNatanael Copa1-1/+3
2014-02-03fetch: disable progress when outputting pkg to stdoutTimo Teräs1-1/+4
2014-01-06Revert "fetch: run quiet when --stdout"Natanael Copa1-1/+0
This reverts commit a99bedba6fa66cc55b30575b32b1359e22cfefb5.
2014-01-06apk: new option --print-archNatanael Copa1-0/+10
Simply print the default arch and exit. This is so scripts don't need to parse the output of -V.
2013-12-10fetch: run quiet when --stdoutNatanael Copa1-0/+1
Prevent the progressbar and status messages to mess up stdout.
2013-12-05print: flush on apk_logNatanael Copa1-0/+1
Makes it more useful whith pipes.
2013-10-11print: use stdout instead of stderr for logging and progressTimo Teräs2-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.
2013-10-02db: allow using cached packages with --no-networkTimo Teräs1-1/+1
2013-10-01db, url: fix exec sentinelsTimo Teräs2-3/+3
http://ewontfix.com/11/
2013-09-20db: minor improvements to an error and a verbose log messagesTimo Teräs1-2/+2
2013-09-20archive: fix handling of name lengths of exactly 100 bytesTimo Teräs1-0/+3
2013-09-20db: fix error messageTimo Teräs1-1/+1
2013-09-10apk: new option --no-scriptsTimo Teräs3-2/+7
to not run any per-package scripts. useful for managing buildroot when cross-compiling.
2013-09-06solver: if pinning is specified, it overrides preferred reposTimo Teräs1-1/+1
add also a test case for this
2013-09-05arch: use armhf for arm hardfloat eabiTimo Teräs1-2/+2
at least debian and musl do this, so let's go along with that.
2013-08-28apk: minor fix in help text and a whitespace fixNatanael Copa1-2/+2
2013-08-28search: implement --has-originNatanael Copa1-1/+15
This option lets us search for all package with given origin.
2013-08-05commit: fix segfaultNatanael Copa1-1/+1
apk would try run the trigger even if package failed to install.
2013-08-03commit: don't ask questions if simulatingTimo Teräs1-9/+9
2013-07-17solver: do not disqualify already disqualified packagesNatanael Copa1-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
2013-07-17db: fix segfault when --root points to invalid dirNatanael Copa1-1/+3
fixes #2134
2013-07-08del: don't print own name as reverse dependencyTimo Teräs1-2/+8
2013-07-08apk: give more space for applet descriptions on generic helpTimo Teräs1-1/+1
2013-07-04io: use fget{pw,gr}ent_r only on uclibc and glibcTimo Teräs1-4/+23
musl does not have those.
2013-07-04solver: use ffs (posix) instead of ffsl (gnu extension)Timo Teräs1-1/+2
for musl compatibility
2013-07-02upgrade: prefer not to upgrade dependencies during self-upgradeTimo Teräs1-1/+1
2013-07-02defines: detect endianess on arm, for armelTimo Teräs1-0/+3
2013-06-30Allow "apk search -x" for -eDubiousjim1-1/+3
2013-06-30apk: infrastructure for short-option-only synonymsDubiousjim1-8/+9
2013-06-28fix: improve usageDubiousjim1-2/+2
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
2013-06-28version: clarify usageDubiousjim1-3/+4
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
2013-06-28add, del: main dependencies -> 'world'Dubiousjim2-2/+2
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
2013-06-28various: applet help text and comment fixesDubiousjim12-22/+21
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
2013-06-26build: lua module build fixesNatanael Copa1-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
2013-06-21db: write ipkg flags in proper placeTimo Teräs1-7/+8
2013-06-21db: reset broken pkg state on reinstallTimo Teräs1-0/+2