<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apk-tools/src/fix.c, branch v2.3.2</title>
<subtitle>Alpine Package Keeper, the 2.x tree
</subtitle>
<id>https://git-old.alpinelinux.org/apk-tools/atom?h=v2.3.2</id>
<link rel='self' href='https://git-old.alpinelinux.org/apk-tools/atom?h=v2.3.2'/>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/'/>
<updated>2012-02-24T14:31:40Z</updated>
<entry>
<title>all: introduce apk_provides and use it in apk_name</title>
<updated>2012-02-24T14:31:40Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2012-02-24T13:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=99145e2c0dc0b5b3b5a2a72fb1bff140d1f583f3'/>
<id>urn:sha1:99145e2c0dc0b5b3b5a2a72fb1bff140d1f583f3</id>
<content type='text'>
in preparation for provides support. implements also some
dependency satisfaction helper routines.

ref #574.
</content>
</entry>
<entry>
<title>audit, db: add etc/apk/protected_files.d and new audit features</title>
<updated>2012-02-23T13:05:06Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2012-02-23T13:05:06Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=ba3ee3f86396f05123f732da7c7879c8ed016c9d'/>
<id>urn:sha1:ba3ee3f86396f05123f732da7c7879c8ed016c9d</id>
<content type='text'>
fixes #607.

audit is now mostly rewritten for the new functionality. And
has new features like --check-permissions, --recursive and
--packages.

$ROOT/etc/apk/protected_files.d/*.list can now contain additional
protected paths, one path per line:

+etc
@etc/init.d
-tmp

+ will include the directory as protected configuration directory.
@ considers the directory protected, but will backup only symlinks.
- removes any protection

lbu should be modified to put include and exclude paths in
etc/apk/protected_files.d/lbu.list. Additionally, some packages
might provide their own listings.

E.g. ssh might want to provide ssh.list with something like:
+root/.ssh
+home/*/.ssh
</content>
</entry>
<entry>
<title>db, fix: more secure way to choose effective directory permissions</title>
<updated>2012-02-10T14:40:01Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2012-02-10T14:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=9ac8d8710229315b2e481fb99cec3ebc1852ea4f'/>
<id>urn:sha1:9ac8d8710229315b2e481fb99cec3ebc1852ea4f</id>
<content type='text'>
And implement --directory-permissions for fix-applet to reset all
directory uid, gid and modes.
</content>
</entry>
<entry>
<title>solver: inheritable solver flags</title>
<updated>2011-09-16T14:10:50Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2011-09-16T14:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=51999c97dabf9fbbe352ca3ead02851a982fcade'/>
<id>urn:sha1:51999c97dabf9fbbe352ca3ead02851a982fcade</id>
<content type='text'>
allow per-name solver flags to be inheritable, and use them in
self-upgrade, add -u  and the fix applet. this gives more familiar
behaviour for the upgrades.
</content>
</entry>
<entry>
<title>all: update copyright year statement</title>
<updated>2011-09-13T08:53:01Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2011-09-13T08:53:01Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=1817b0a3c3ebd57e5332a80c15c70c46ec3eb8c0'/>
<id>urn:sha1:1817b0a3c3ebd57e5332a80c15c70c46ec3eb8c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>solver: add per-name specific flags, and fix the fix applet</title>
<updated>2011-09-13T08:47:34Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2011-09-13T08:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=c6d9962d818abd557cf25a686ea96fcf1315bc8c'/>
<id>urn:sha1:c6d9962d818abd557cf25a686ea96fcf1315bc8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>applets: start using solver code</title>
<updated>2011-09-09T13:32:31Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2011-09-09T13:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=a5a7021658212748e9f787ce23181d3e099aba73'/>
<id>urn:sha1:a5a7021658212748e9f787ce23181d3e099aba73</id>
<content type='text'>
still todo:
  - 'fix' is missing
  - 'del -R' does not work
  - 'upgrade' does not do self-upgrade first

... and a lot of testing.
</content>
</entry>
<entry>
<title>state: use db in own struc when committing</title>
<updated>2011-03-30T12:53:02Z</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2011-02-21T15:31:39Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=e43ec608749a44a305afec89f46bcb282ab93d10'/>
<id>urn:sha1:e43ec608749a44a305afec89f46bcb282ab93d10</id>
<content type='text'>
The db parameter to apk_state_commit is not needed so we remove it.
</content>
</entry>
<entry>
<title>First steps for libapk</title>
<updated>2010-06-11T07:02:18Z</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2010-03-05T08:13:25Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=3ec82a5a420fc00d38ad7dded819525a91533652'/>
<id>urn:sha1:3ec82a5a420fc00d38ad7dded819525a91533652</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: rework how arrays work</title>
<updated>2010-06-05T09:33:54Z</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2010-06-05T09:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/apk-tools/commit/?id=7be853e63785276338a4c4d9e5be084f24114bed'/>
<id>urn:sha1:7be853e63785276338a4c4d9e5be084f24114bed</id>
<content type='text'>
Instead of having a null pointer, use a dummy array which just
says the array is empty. This helps in multiple places of the code
which would otherwise need explicitly need to check first if the
array exists. This has been cause of multiple seg.faults in the
past as the array check is easily omitted.

This also removes (or fixes) all existing checks accordingly.
</content>
</entry>
</feed>
