* [gentoo-commits] gentoo-x86 commit in sys-libs/tdb: ChangeLog tdb-1.2.7.ebuild
@ 2011-01-03 19:45 Victor Ostorga (vostorga)
0 siblings, 0 replies; only message in thread
From: Victor Ostorga (vostorga) @ 2011-01-03 19:45 UTC (permalink / raw
To: gentoo-commits
vostorga 11/01/03 19:45:20
Modified: ChangeLog
Added: tdb-1.2.7.ebuild
Log:
Version bump to 1.2.7 bug #350464
(Portage version: 2.1.9.24/cvs/Linux i686)
Revision Changes Path
1.25 sys-libs/tdb/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?r1=1.24&r2=1.25
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog 29 Dec 2010 21:36:14 -0000 1.24
+++ ChangeLog 3 Jan 2011 19:45:20 -0000 1.25
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/tdb
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.24 2010/12/29 21:36:14 vostorga Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.25 2011/01/03 19:45:20 vostorga Exp $
+
+*tdb-1.2.7 (03 Jan 2011)
+
+ 03 Jan 2011; Víctor Ostorga <vostorga@gentoo.org> +tdb-1.2.7.ebuild:
+ Version bump to 1.2.7 bug #350464
29 Dec 2010; Víctor Ostorga <vostorga@gentoo.org> tdb-1.2.1-r1.ebuild:
Improving python related code, patch thanks to Arfrever Frehtes Taifersar
1.1 sys-libs/tdb/tdb-1.2.7.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild?rev=1.1&content-type=text/plain
Index: tdb-1.2.7.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild,v 1.1 2011/01/03 19:45:20 vostorga Exp $
EAPI="2"
PYTHON_DEPEND="python? 2"
inherit autotools python
DESCRIPTION="Samba tdb"
HOMEPAGE="http://tdb.samba.org/"
SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="python static-libs tools tdbtest"
RDEPEND=""
DEPEND="!<net-fs/samba-3.3
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
dev-libs/popt"
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
fi
}
src_prepare() {
eautoconf -Ilib/replace
sed -i \
-e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \
{Makefile.in,tdb.mk} || die "sed failed"
# xsltproc will display a warning but we can assume the xml files are valid
sed -i \
-e 's|$(XSLTPROC) -o|$(XSLTPROC) --nonet -o|' \
tdb.mk || die "sed failed"
}
src_configure() {
local myconf=()
if use python; then
myconf+=(
PYTHON_CONFIG="${EPREFIX}/usr/bin/python-config-$(python_get_version)"
PYTHON="$(PYTHON -a)"
)
fi
econf \
--sysconfdir=/etc/samba \
--localstatedir=/var \
$(use_enable python) \
"${myconf[@]}"
}
src_compile() {
# TODO:
# - don't build static-libs in case of USE=-static-libs
# we create the directories first to avoid workaround parallel build problem
emake dirs || die "emake dirs failed"
emake shared-build || die "emake shared-build failed"
if use tdbtest ; then
emake bin/tdbtest || die "emake tdbtest failed"
fi
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
# installs a necessary symlink
dolib.so sharedbuild/lib/libtdb.so
dodoc docs/README
use static-libs || rm -f "${D}"/usr/lib*/*.a
use tools || rm -rf "${D}/usr/bin" "${D}/usr/share/man"
use tdbtest && dobin bin/tdbtest
use python && python_need_rebuild
}
src_test() {
# the default src_test runs 'make test' and 'make check', letting
# the tests fail occasionally (reason: unknown)
emake check || die "emake check failed"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-03 19:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03 19:45 [gentoo-commits] gentoo-x86 commit in sys-libs/tdb: ChangeLog tdb-1.2.7.ebuild Victor Ostorga (vostorga)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox