# ChangeLog for dev-db/cdb
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.31 2006/11/22 18:45:04 masterdriverz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.32 2006/12/09 14:10:16 drizzt Exp $
+
+*cdb-0.75-r2 (09 Dec 2006)
+
+ 09 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> +cdb-0.75-r2.ebuild:
+ Revision bump: Remove redundant deps, make it respect LDFLAGS and add
+ ~x86-fbsd keyword
22 Nov 2006; Charlie Shepherd <masterdriverz@gentoo.org> ChangeLog:
Add blocker with dev-db/freecdb, thanks to Tuan Van for reporting, bug 115594
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX cdb-0.75-errno.diff 243 RMD160 90c6614ff96108a7965857b65919b8cad1fdfaac SHA1 eab8001280c0c77b469129a2c1c1825762e87a16 SHA256 7d614d7e677a64685995067cc1db1d514b6a1c73981187f2d7a5d56b54b6966e
MD5 1a3e347b6ebfe24f60f255100a2af4a0 files/cdb-0.75-errno.diff 243
RMD160 90c6614ff96108a7965857b65919b8cad1fdfaac files/cdb-0.75-errno.diff 243
MD5 8a6b792b0be177b9333e517f0afacc8f cdb-0.75-r1.ebuild 1558
RMD160 63654ae2a4a26b9678f484deb6150e6a9a5979e2 cdb-0.75-r1.ebuild 1558
SHA256 1ff5d61c50fd6614bf363b9b9822de3491bb7a31f7a7c07906c850b4ff1d7202 cdb-0.75-r1.ebuild 1558
+EBUILD cdb-0.75-r2.ebuild 1552 RMD160 16eefdc3bf7097df42d4539f58d06512c32613f7 SHA1 1cda5bfb28e2e825eedf83e230e0ad617128b8ec SHA256 c8d21a111bd78cf1ef3377a2bd3ad550d3817555cefac105ba64d29041f1b39d
+MD5 78df7e952a36fdfa3b2fe3ceed4a153d cdb-0.75-r2.ebuild 1552
+RMD160 16eefdc3bf7097df42d4539f58d06512c32613f7 cdb-0.75-r2.ebuild 1552
+SHA256 c8d21a111bd78cf1ef3377a2bd3ad550d3817555cefac105ba64d29041f1b39d cdb-0.75-r2.ebuild 1552
EBUILD cdb-0.75.ebuild 1567 RMD160 1f453254a08697b9dafbcf231f6cb0b9d88add07 SHA1 432a6d28e831ab98a4261f9768dcaaa14aa506fd SHA256 09e3935c63e559f1e2ac000878695f4b8a2e4bed20bcc1c361de70ecc1a8fff4
MD5 4b5d26654a8777f3ebb30809444f43b8 cdb-0.75.ebuild 1567
RMD160 1f453254a08697b9dafbcf231f6cb0b9d88add07 cdb-0.75.ebuild 1567
SHA256 09e3935c63e559f1e2ac000878695f4b8a2e4bed20bcc1c361de70ecc1a8fff4 cdb-0.75.ebuild 1567
-MISC ChangeLog 3706 RMD160 a04e93d1e6895cda680bfa938befc0283403a551 SHA1 5497f397b0ee558bd4314ab2336e706957a9891c SHA256 e8d4975099da3ce527c259d21835870613924f03aee819203278c3485a06eb25
-MD5 f057ec2039637fbb9a0531d2355b5289 ChangeLog 3706
-RMD160 a04e93d1e6895cda680bfa938befc0283403a551 ChangeLog 3706
-SHA256 e8d4975099da3ce527c259d21835870613924f03aee819203278c3485a06eb25 ChangeLog 3706
+MISC ChangeLog 3893 RMD160 56bff01ccacd4398cd3fce9932cf0ae884d2129d SHA1 cc6ee49de75894f4468498540bd8ee4b03be69ba SHA256 05eca25d18b10c99fcbdcc246eefc6ab85cac4f17ed012800bca697cff70b2bd
+MD5 d4333bcff73214c60217eb715ff48ae3 ChangeLog 3893
+RMD160 56bff01ccacd4398cd3fce9932cf0ae884d2129d ChangeLog 3893
+SHA256 05eca25d18b10c99fcbdcc246eefc6ab85cac4f17ed012800bca697cff70b2bd ChangeLog 3893
MISC metadata.xml 233 RMD160 d81ec1a0582856aeac5ef3bfec5c80d9850216f6 SHA1 9b94f113e7f382076b1749c2a856e409c96cade3 SHA256 dce03f6cdd96135caf3c971a5ca4a8c916f44532fe8cfb6df88b7bdade407e8b
MD5 4eda2fda81ea6a89d8f1f4a2dcd12a85 metadata.xml 233
RMD160 d81ec1a0582856aeac5ef3bfec5c80d9850216f6 metadata.xml 233
MD5 eafb947ac7beb3a281c33422edefdcbd files/digest-cdb-0.75-r1 223
RMD160 e8244b5eb5d3b11a784ec7f7d49a72b98da52ad8 files/digest-cdb-0.75-r1 223
SHA256 25088bfc8f823910ee6602a88f223d0a20ccb5f4764c9d5a3202b3814c652b48 files/digest-cdb-0.75-r1 223
+MD5 eafb947ac7beb3a281c33422edefdcbd files/digest-cdb-0.75-r2 223
+RMD160 e8244b5eb5d3b11a784ec7f7d49a72b98da52ad8 files/digest-cdb-0.75-r2 223
+SHA256 25088bfc8f823910ee6602a88f223d0a20ccb5f4764c9d5a3202b3814c652b48 files/digest-cdb-0.75-r2 223
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFesPtGDyatLGpTbYRAq4WAKCdOo6MLi8MZUic4eqyhHyQOAAwIQCcCszu
+HxbV+gmBzIZlJPsgLvYdE4k=
+=HgJx
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75-r2.ebuild,v 1.1 2006/12/09 14:10:16 drizzt Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="fast, reliable, simple package for creating and reading constant databases"
+HOMEPAGE="http://cr.yp.to/cdb.html"
+SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4
+ !dev-db/freecdb"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-errno.diff
+
+ sed -i \
+ -e 's/head -1/head -n 1/g' Makefile || \
+ die "sed Makefile failed"
+}
+
+src_compile() {
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+ echo "/usr" > conf-home
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest || \
+ die "dobin failed"
+
+ # ok so.. first off, some automakes fail at not finding
+ # cdb.a, so install that
+ dolib *.a || die
+
+ # then do this pretty little symlinking to solve the somewhat
+ # cosmetic library issue at hand
+ dosym cdb.a /usr/$(get_libdir)/libcdb.a || die "newlib.a failed"
+
+ # uint32.h needs installation too, otherwise compiles depending
+ # on it will fail
+ insinto /usr/include
+ doins cdb*.h buffer.h alloc.h uint32.h || die "doins failed"
+
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+}