summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-22 18:09:59 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-22 18:09:59 +0000
commitb13522d39a9112834419dc1e93ff0fe2216fb647 (patch)
treec0bbed92af6c4ffdd25fd8cdd11e69e018a01d2f /net-fs
parentFixing deps for #288543 (diff)
downloadgentoo-2-b13522d39a9112834419dc1e93ff0fe2216fb647.tar.gz
gentoo-2-b13522d39a9112834419dc1e93ff0fe2216fb647.tar.bz2
gentoo-2-b13522d39a9112834419dc1e93ff0fe2216fb647.zip
Fixing tdb and talloc useflags for #288543, remove old
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba-libs/ChangeLog8
-rw-r--r--net-fs/samba-libs/metadata.xml2
-rw-r--r--net-fs/samba-libs/samba-libs-3.4.2-r2.ebuild (renamed from net-fs/samba-libs/samba-libs-3.4.2-r1.ebuild)48
3 files changed, 13 insertions, 45 deletions
diff --git a/net-fs/samba-libs/ChangeLog b/net-fs/samba-libs/ChangeLog
index ddca1ba0a13f..6a76cf71e53e 100644
--- a/net-fs/samba-libs/ChangeLog
+++ b/net-fs/samba-libs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-fs/samba-libs
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/ChangeLog,v 1.14 2009/10/11 17:27:59 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/ChangeLog,v 1.15 2009/10/22 18:09:59 patrick Exp $
+
+*samba-libs-3.4.2-r2 (22 Oct 2009)
+
+ 22 Oct 2009; Patrick Lauer <patrick@gentoo.org>
+ -samba-libs-3.4.2-r1.ebuild, +samba-libs-3.4.2-r2.ebuild, metadata.xml:
+ Fixing tdb and talloc useflags for #288543, remove old
*samba-libs-3.4.2-r1 (11 Oct 2009)
diff --git a/net-fs/samba-libs/metadata.xml b/net-fs/samba-libs/metadata.xml
index a56428f9d2e5..68bee2e57d04 100644
--- a/net-fs/samba-libs/metadata.xml
+++ b/net-fs/samba-libs/metadata.xml
@@ -15,8 +15,6 @@ Samba is an Open Source/Free Software suite that provides seamless file and prin
<flag name="cluster">Enable support for clustering</flag>
<flag name="winbind">Enables support for the winbind auth daemon</flag>
<flag name="samba4">Enable experimental samba4 bits</flag>
- <flag name="tdb">Enable building of tdb lib</flag>
- <flag name="talloc">Enable building of talloc lib</flag>
<flag name="netapi">Enable building of netapi bits</flag>
<flag name="smbclient">Enable smbclient tool</flag>
<flag name="smbsharemodes">Enable special smb share modes (?) </flag>
diff --git a/net-fs/samba-libs/samba-libs-3.4.2-r1.ebuild b/net-fs/samba-libs/samba-libs-3.4.2-r2.ebuild
index 7ce335328283..224e87467d59 100644
--- a/net-fs/samba-libs/samba-libs-3.4.2-r1.ebuild
+++ b/net-fs/samba-libs/samba-libs-3.4.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/samba-libs-3.4.2-r1.ebuild,v 1.1 2009/10/11 17:27:59 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/samba-libs-3.4.2-r2.ebuild,v 1.1 2009/10/22 18:09:59 patrick Exp $
EAPI="2"
@@ -15,9 +15,11 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
IUSE="samba4 ads aio caps cluster cups debug examples ldap pam syslog winbind
- +tdb +talloc +netapi +smbclient smbsharemodes addns tools"
+ +netapi +smbclient smbsharemodes addns tools"
DEPEND="dev-libs/popt
+ sys-libs/talloc
+ sys-libs/tdb
virtual/libiconv
ads? ( virtual/krb5 sys-fs/e2fsprogs )
caps? ( sys-libs/libcap )
@@ -27,19 +29,6 @@ DEPEND="dev-libs/popt
ldap? ( net-nds/openldap )
pam? ( virtual/pam
winbind? ( dev-libs/iniparser ) )
- addns? ( !talloc? ( virtual/talloc ) )
- netapi? ( !tdb? ( virtual/tdb ) )
- netapi? ( !talloc? ( virtual/talloc ) )
- smbclient? ( !tdb? ( virtual/tdb ) )
- smbclient? ( !talloc? ( virtual/talloc ) )
- smbsharemodes? ( !tdb? ( virtual/tdb ) )
- smbsharemodes? ( !talloc? ( virtual/talloc ) )
- winbind? ( !tdb? ( virtual/tdb ) )
- winbind? ( !talloc? ( virtual/talloc ) )
- pam? ( !tdb? ( virtual/tdb ) )
- pam? ( !talloc? ( virtual/talloc ) )
- samba4? ( tools? ( !tdb? ( virtual/tdb ) ) )
- samba4? ( tools? ( !talloc? ( virtual/talloc ) ) )
syslog? ( virtual/logger )
!<net-fs/samba-3.3"
RDEPEND="${DEPEND}"
@@ -50,7 +39,6 @@ RESTRICT="test"
BINPROGS=""
if use tools ; then
- if use tdb ; then BINPROGS="${BINPROGS} bin/tdbbackup bin/tdbdump bin/tdbtool"; fi
if use samba4 ; then BINPROGS="${BINPROGS} bin/ldbedit bin/ldbsearch bin/ldbadd bin/ldbdel bin/ldbmodify bin/ldbrename"; fi
fi
@@ -65,14 +53,6 @@ CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
pkg_setup() {
confutils_use_depend_all samba4 ads
confutils_use_depend_all ads ldap
-
- if use tdb && has_version sys-libs/tdb ; then
- die "sys-libs/tdb already installed, please disable tdb use flag"
- fi
- if use talloc && has_version sys-libs/talloc ; then
- die "sys-libs/talloc already installed, please disable talloc use flag"
- fi
-
}
src_prepare() {
@@ -189,9 +169,9 @@ src_configure() {
--without-quotas \
--without-sys-quotas \
--without-utmp \
- $(use_with tdb libtdb) \
+ --without-libtdb \
$(use_with netapi libnetapi) \
- $(use_with talloc libtalloc) \
+ --without-libtalloc \
$(use_with smbclient libsmbclient) \
$(use_with smbsharemodes libsmbsharemodes) \
$(use_with addns libaddns) \
@@ -208,14 +188,6 @@ src_configure() {
src_compile() {
# compile libs
- if use tdb ; then
- einfo "make tdb library"
- emake libtdb || die "emake libtdb failed"
- fi
- if use talloc ; then
- einfo "make talloc library"
- emake libtalloc || die "emake libtalloc failed"
- fi
if use addns ; then
einfo "make addns library"
emake libaddns || die "emake libaddns failed"
@@ -254,14 +226,6 @@ src_compile() {
src_install() {
# install libs
- if use tdb ; then
- einfo "install tdb library"
- emake installlibtdb DESTDIR="${D}" || die "emake install libtdb failed"
- fi
- if use talloc ; then
- einfo "install talloc library"
- emake installlibtalloc DESTDIR="${D}" || die "emake install libtalloc failed"
- fi
if use netapi ; then
einfo "install netapi library"
emake installlibnetapi DESTDIR="${D}" || die "emake install libnetapi failed"