summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-01-14 12:53:16 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-01-14 12:53:16 +0000
commitd32a2b0948e4fba6ed6f87670f516468d3bc81a5 (patch)
tree7e82ae3d3a4f3ed35eb5c431a0c0ec0070814b67 /net-fs/samba-client
parentstable x86, bug 299691 (diff)
downloadhistorical-d32a2b0948e4fba6ed6f87670f516468d3bc81a5.tar.gz
historical-d32a2b0948e4fba6ed6f87670f516468d3bc81a5.tar.bz2
historical-d32a2b0948e4fba6ed6f87670f516468d3bc81a5.zip
Bump of 3.3, remove old
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'net-fs/samba-client')
-rw-r--r--net-fs/samba-client/ChangeLog8
-rw-r--r--net-fs/samba-client/samba-client-3.3.10.ebuild (renamed from net-fs/samba-client/samba-client-3.4.3.ebuild)71
2 files changed, 39 insertions, 40 deletions
diff --git a/net-fs/samba-client/ChangeLog b/net-fs/samba-client/ChangeLog
index 8de448b4dbb3..131d77c0cf26 100644
--- a/net-fs/samba-client/ChangeLog
+++ b/net-fs/samba-client/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-fs/samba-client
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/ChangeLog,v 1.22 2010/01/07 13:50:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/ChangeLog,v 1.23 2010/01/14 12:52:28 patrick Exp $
+
+*samba-client-3.3.10 (14 Jan 2010)
+
+ 14 Jan 2010; Patrick Lauer <patrick@gentoo.org>
+ +samba-client-3.3.10.ebuild, -samba-client-3.4.3.ebuild:
+ Bump of 3.3, remove old
*samba-client-3.4.4 (07 Jan 2010)
diff --git a/net-fs/samba-client/samba-client-3.4.3.ebuild b/net-fs/samba-client/samba-client-3.3.10.ebuild
index ad399baaf13d..939ad6f9839c 100644
--- a/net-fs/samba-client/samba-client-3.4.3.ebuild
+++ b/net-fs/samba-client/samba-client-3.3.10.ebuild
@@ -1,20 +1,20 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/samba-client-3.4.3.ebuild,v 1.4 2009/11/30 16:24:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/samba-client-3.3.10.ebuild,v 1.1 2010/01/14 12:52:28 patrick Exp $
EAPI="2"
-inherit pam confutils versionator multilib eutils toolchain-funcs autotools
+inherit pam confutils versionator multilib eutils toolchain-funcs
MY_P="samba-${PV}"
-DESCRIPTION="Client bits of the samba network filesystem"
+DESCRIPTION="Libraries from Samba"
HOMEPAGE="http://www.samba.org/"
SRC_URI="mirror://samba/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="samba4 ads aio avahi caps cluster cups debug ldap minimal syslog winbind zeroconf"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="ads aio avahi caps cluster cups debug ldap minimal syslog winbind zeroconf"
DEPEND="!<net-fs/samba-3.3
!net-fs/mount-cifs
@@ -30,12 +30,11 @@ DEPEND="!<net-fs/samba-3.3
debug? ( dev-libs/dmalloc )
ldap? ( net-nds/openldap )
syslog? ( virtual/logger )
- sys-libs/tdb
- sys-libs/talloc
- ~net-fs/samba-libs-${PV}[caps?,cups?,ldap?,syslog?,winbind?,ads?,samba4?,netapi] )"
+ net-fs/samba-libs[caps?,cups?,ldap?,syslog?,winbind?]
+ )"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}/source3"
+S="${WORKDIR}/${MY_P}/source"
# TODO:
# - enable iPrint on Prefix/OSX and Darwin?
@@ -47,42 +46,36 @@ CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
BINPROGS="bin/smbclient bin/net bin/smbget bin/smbtree bin/nmblookup bin/smbpasswd bin/rpcclient bin/smbcacls bin/smbcquotas bin/ntlm_auth"
pkg_setup() {
- confutils_use_depend_all samba4 ads
confutils_use_depend_all ads ldap
}
src_prepare() {
-
- cd ".."
-
epatch \
- "${FILESDIR}/samba-3.4.2-missing_includes.patch" \
- "${FILESDIR}/samba-3.4.2-fix-samba4-automake.patch" \
- "${FILESDIR}/samba-3.4.2-insert-AC_LD_VERSIONSCRIPT.patch"
-# "${FILESDIR}/samba-3.4.2-upgrade-tevent-version.patch" \
-
- cp "${FILESDIR}/samba-3.4.2-lib.tevent.python.mk" "lib/tevent/python.mk"
-
- cd "source3"
- eautoconf -Ilibreplace -Im4 -I../m4 -I../lib/replace -I../source4
+ "${FILESDIR}/3.3.4-missing_includes.patch" \
+ "${FILESDIR}/3.3.3-fix-as-needed.patch"
+
+ sed -i \
+ -e 's|"lib32" ||' \
+ -e 's|if test -d "$i/$l" ;|if test -d "$i/$l" -o -L "$i/$l";|' \
+ configure || die "sed failed"
+
+ sed -i \
+ -e 's|@LIBTALLOC_SHARED@||g' \
+ -e 's|@LIBTDB_SHARED@||g' \
+ -e 's|@LIBWBCLIENT_SHARED@||g' \
+ -e 's|@LIBNETAPI_SHARED@||g' \
+ -e 's|$(REG_SMBCONF_OBJ) @LIBNETAPI_STATIC@ $(LIBNET_OBJ)|$(REG_SMBCONF_OBJ) @LIBNETAPI_LIBS@ $(LIBNET_OBJ)|' \
+ Makefile.in || die "sed failed"
+
+ # Upstream doesn't want us to link certain things dynamically, but those binaries here seem to work
+ sed -i \
+ -e '/^LINK_LIBNETAPI/d' \
+ configure || die "sed failed"
}
src_configure() {
local myconf
- # compile franky samba4 hybrid
- # http://wiki.samba.org/index.php/Franky
- if use samba4 ; then
- myconf="${myconf} --enable-merged-build --enable-developer"
- if has_version app-crypt/heimdal ; then
- myconf="${myconf} --with-krb5=/usr/"
- elif has_version app-crypt/mit-krb5 ; then
- die "MIT Kerberos not supported by samba 4, use heimdal"
- else
- die "No supported kerberos provider detected"
- fi
- fi
-
# Filter out -fPIE
[[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie"
use hppa && myconf="${myconf} --disable-pie"
@@ -100,7 +93,7 @@ src_configure() {
# - AFS is a pw-auth-method and only used in client/server code
# - AFSACL is a server module
# - automount is only needed in conjunction with NIS and we don't have that
- # anymore
+ # anymore
# - quota-support is only needed in server-code
# - acl-support is only used in server-code
# - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default
@@ -144,7 +137,7 @@ src_configure() {
--without-quotas \
--without-sys-quotas \
--without-utmp \
- --without-lib{talloc,tdb,netapi,smbclient,smbsharemodes} \
+ --with-lib{talloc,tdb,netapi,smbclient,smbsharemodes} \
--without-libaddns \
$(use minimal && echo "--without-ctdb" || echo "$(use_with cluster ctdb /usr)") \
$(use minimal && echo "--without-cluster" || echo "$(use_with cluster cluster-support)") \
@@ -177,7 +170,7 @@ src_compile() {
src_install() {
into /
dosbin bin/mount.cifs bin/umount.cifs || die "u/mount.cifs not around"
- doman ../docs/manpages/{u,}mount.cifs.8 || die "can't create man pages"
+ doman ../docs/manpages/{u,}mount.cifs.8 || die "can't create man pages"
dohtml ../docs/htmldocs/manpages/{u,}mount.cifs.8.html || die "dohtml failed"
into /usr