<blockquote>
<p>For now the App Store is simply located at /var/lib/appstore. Perhaps Apple will be unhappy with this.</p>
</blockquote>

<p>+1</p>

<blockquote>
<p>Hey xiangzhai, db6 is released under AGPL. Nobody knows why Oracle did that but you might want to keep using db5.</p>
</blockquote>

<p>Berkeley DB is really difficult to use, there are <a href="https://github.com/rpm-software-management/rpm/tree/master/lib/backend">sophisticated Wrapper</a> and <a href="https://github.com/rpm-software-management/rpm/blob/master/lib/rpmdb.c">Controller Interface</a> for rpm usage.</p>

<p>I prefer to use SQLite3, so I totally rewrote the pkgcache generation <a href="http://apt-rpm.org/scm/?p=apt.git;a=summary">APT-RPM</a>, it is quite simple to use SQLite table to store Package information about <strong><em>Requires</em></strong> and <strong><em>Provides</em></strong> for Building Dependency Tree ;-)</p>

<pre><code>CREATE TABLE `Package` (
    `Name`  TEXT NOT NULL UNIQUE,
    `Version`   TEXT NOT NULL,
    `Release`   TEXT NOT NULL,
    `Arch`  TEXT NOT NULL,
    `IGroup`    TEXT NOT NULL,
    `Uri`   TEXT NOT NULL,
    `Requires`  TEXT,
    `Provides`  TEXT,
    `Md5`   TEXT,
    `Status`    INTEGER NOT NULL DEFAULT 0
);
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/40#issuecomment-168575518">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb80-KDb_5Lu2Vggh4xOeyqhRUk57Ytks5pWeSBgaJpZM4G90fJ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/40#issuecomment-168575518"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>