summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorArmando Di Cianno <fafhrd@gentoo.org>2004-12-04 18:18:16 +0000
committerArmando Di Cianno <fafhrd@gentoo.org>2004-12-04 18:18:16 +0000
commit795330cf70643445096a3d46ccd550159074fd99 (patch)
tree17455492d1bf4cc31dcc5a89e3651b8aab508dca /dev-db
parentAdded local use flags for sqlite for threadsafety and gnustep-base for choosi... (diff)
downloadhistorical-795330cf70643445096a3d46ccd550159074fd99.tar.gz
historical-795330cf70643445096a3d46ccd550159074fd99.tar.bz2
historical-795330cf70643445096a3d46ccd550159074fd99.zip
I have added a sqlite-3.0.8-r1 which incorporates a "nothreadsafe" USE flag, and thus enables thread safety by default. I would have rather not have added a "noflag" and bump the package, but this at least enforces proper behavior of the library, if one where to upgrade sqlite. This had to be done as the package was broken for me and many others without thread safety.
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlite/ChangeLog11
-rw-r--r--dev-db/sqlite/Manifest24
-rw-r--r--dev-db/sqlite/files/digest-sqlite-3.0.8-r11
-rw-r--r--dev-db/sqlite/sqlite-3.0.8-r1.ebuild62
4 files changed, 81 insertions, 17 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog
index fe3bb676c346..be4e8c61caeb 100644
--- a/dev-db/sqlite/ChangeLog
+++ b/dev-db/sqlite/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-db/sqlite
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.57 2004/11/11 09:56:43 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.58 2004/12/04 18:18:16 fafhrd Exp $
+
+*sqlite-3.0.8-r1 (04 Dec 2004)
+
+ 04 Dec 2004; Armando Di Cianno <fafhrd@gentoo.org> +sqlite-3.0.8-r1.ebuild:
+ I have added a sqlite-3.0.8-r1 which incorporates a "nothreadsafe" USE flag,
+ and thus enables thread safety by default. I would have rather not have added
+ a "noflag" and bump the package, but this at least enforces proper behavior of
+ the library, if one where to upgrade sqlite. This had to be done as the
+ package was broken for me and many others without thread safety.
11 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
sqlite-3.0.8.ebuild:
diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
index ac27b908ea95..b2d85c256534 100644
--- a/dev-db/sqlite/Manifest
+++ b/dev-db/sqlite/Manifest
@@ -1,25 +1,17 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 0ea51b2f6bc53454a9d49bbc252d39fd ChangeLog 7620
-MD5 4d4bfa913883e6229573e79b6f02aa3b metadata.xml 275
-MD5 860577d3f598990290ec0bd0fc89a9dd sqlite-2.8.13.ebuild 836
+MD5 3b2bd41fec51fd35f41562f17309974b sqlite-3.0.8.ebuild 1020
MD5 8953a08cf332e2c67c304975ab2827c2 sqlite-2.8.14.ebuild 860
+MD5 fc1d6171cb71e35f1732a1dddcf68e39 sqlite-3.0.7.ebuild 990
+MD5 860577d3f598990290ec0bd0fc89a9dd sqlite-2.8.13.ebuild 836
MD5 f3bea22128d945c814915f4dddc6cf3a sqlite-2.8.15.ebuild 969
+MD5 afa680c5e36d4c92a03e36214594cb8b ChangeLog 8108
MD5 f7f2b6db996414ddea4f372063c9732c sqlite-3.0.6.ebuild 1041
-MD5 fc1d6171cb71e35f1732a1dddcf68e39 sqlite-3.0.7.ebuild 990
-MD5 3b2bd41fec51fd35f41562f17309974b sqlite-3.0.8.ebuild 1020
+MD5 4d4bfa913883e6229573e79b6f02aa3b metadata.xml 275
+MD5 52e0a2c4b58401280e84611a02129b0d sqlite-3.0.8-r1.ebuild 1813
+MD5 572dbaa55a4dd1cec17ee827911ee243 files/digest-sqlite-3.0.8-r1 65
+MD5 217c8f27a3185a30858423e31e1aa4d9 files/sqlite-2.8.15-alignement-fix.patch 538
MD5 c35f34620d18893001720951f8ea0c73 files/digest-sqlite-2.8.13 65
MD5 c9c200833c7c14eb4d750bb00455199e files/digest-sqlite-2.8.14 65
MD5 b4031f19b8a32fa2b9dd4dfaf4b57ad0 files/digest-sqlite-2.8.15 65
MD5 5aeb0a32e55ac5562756134561b39dae files/digest-sqlite-3.0.6 65
MD5 e92b7000fca35af325e2ac65bce666e0 files/digest-sqlite-3.0.7 65
-MD5 217c8f27a3185a30858423e31e1aa4d9 files/sqlite-2.8.15-alignement-fix.patch 538
MD5 572dbaa55a4dd1cec17ee827911ee243 files/digest-sqlite-3.0.8 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBkzdkArHZZzCEUG0RAq4KAJ9qeh854Kd3TGH1SY2hu/nNqeWGAQCfRm9D
-JG4Bn4ZKrfKuj1e+hna37A8=
-=IDRD
------END PGP SIGNATURE-----
diff --git a/dev-db/sqlite/files/digest-sqlite-3.0.8-r1 b/dev-db/sqlite/files/digest-sqlite-3.0.8-r1
new file mode 100644
index 000000000000..518958876be2
--- /dev/null
+++ b/dev-db/sqlite/files/digest-sqlite-3.0.8-r1
@@ -0,0 +1 @@
+MD5 b7dff1ec9bf4d08928c039b278630ba7 sqlite-3.0.8.tar.gz 1288859
diff --git a/dev-db/sqlite/sqlite-3.0.8-r1.ebuild b/dev-db/sqlite/sqlite-3.0.8-r1.ebuild
new file mode 100644
index 000000000000..8ac0b066bb78
--- /dev/null
+++ b/dev-db/sqlite/sqlite-3.0.8-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.0.8-r1.ebuild,v 1.1 2004/12/04 18:18:16 fafhrd Exp $
+
+IUSE="nls nothreadsafe"
+
+S=${WORKDIR}/sqlite
+DESCRIPTION="SQLite: An SQL Database Engine in a C Library."
+SRC_URI="http://www.sqlite.org/${P}.tar.gz"
+HOMEPAGE="http://www.sqlite.org"
+
+# Adding glibc as dependency for USE !nothreadsafe until someone can tell me
+# if all virtual/libc's provide POSIX threads (pthread.h)
+# - 20041203, Armando Di Cianno <fafhrd@gentoo.org>
+DEPEND="virtual/libc
+ !nothreadsafe? ( sys-libs/glibc )
+ dev-lang/tcl"
+SLOT="3"
+LICENSE="as-is"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+src_compile() {
+ # sqlite includes a doc directory making it impossible to generate docs,
+ # which are very important to people adding support for sqlite3 to their
+ # programs.
+ rm -rf doc/
+
+ local myconf
+ myconf="--enable-incore-db --enable-tempdb-in-ram"
+ # Yes, this is ridiculous, but I'm not the maintainer for this ebuild,
+ # and yet it's broken w/o thread support, so this has to do for now
+ # - 20041203, Armando Di Cianno <fafhrd@gentoo.org>
+ if ! use nothreadsafe; then
+ myconf="${myconf} --enable-threadsafe"
+ else
+ myconf="${myconf} --disable-threadsafe"
+ fi
+ myconf="${myconf} `use_with nls utf8`"
+ econf ${myconf} || die
+ emake all doc || die
+}
+
+# In case we ever want testing support; note: this needs more work, as
+# as it causes some sandbox issues.
+# - 20041203, Armando Di Cianno <fafhrd@gentoo.org>
+#src_test() {
+# cd ${S}
+# emake fulltest || die "some test failed"
+#}
+
+src_install () {
+ dodir /usr/{bin,include,lib}
+
+ einstall || die
+
+ dobin lemon
+ dodoc README VERSION
+ doman sqlite.1
+ docinto html
+ dohtml doc/*.html doc/*.txt doc/*.png
+}