Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9249 - Upgraded ebuilds: samba-2.2.6.ebuild (needs openldap-2.1.6.ebuild included)
Summary: Upgraded ebuilds: samba-2.2.6.ebuild (needs openldap-2.1.6.ebuild included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-17 08:10 UTC by Rigo
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
samba-2.2.6.tar.gz (samba-2.2.6.tar.gz,3.80 KB, application/gzip)
2002-10-17 08:12 UTC, Rigo
Details
Patch for the ebuild (samba-2.2.6-r1_ebuild.patch,330 bytes, patch)
2002-11-05 23:18 UTC, Matthew Schick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo 2002-10-17 08:10:59 UTC
diff -ur samba-2.2.5-r1.ebuild samba-2.2.6.ebuild 
--- samba-2.2.5-r1.ebuild	2002-10-17 12:44:14.000000000 +0200
+++ samba-2.2.6.ebuild	2002-10-17 14:34:22.000000000 +0200
@@ -14,7 +14,7 @@
 	>=sys-libs/pam-0.72
 	acl? ( sys-apps/acl )
 	cups? ( net-print/cups )
-	ldap? ( =net-nds/openldap-2* )
+	ldap? ( >=net-nds/openldap-2.1.6 )
 	ssl? ( >=dev-libs/openssl-0.9.6 )"
 
 DEPEND="${RDEPEND}
@@ -27,13 +27,15 @@
 
 src_unpack() {
 	unpack ${A} ; cd ${S}
-	patch -p0 < ${FILESDIR}/samba-2.2.2-smbmount.diff || die
+	# patch -p0 < ${FILESDIR}/samba-2.2.2-smbmount.diff || die
+	#patch fails. Is it still needed ? Without it it seems to compile fine now
(Same goes for rest src_unpack())
+	#<rigo@home.nl> dd. 17-10-2002
 
 	# fix kerberos include file collision..
-	cd ${S}/source/include
-	mv profile.h smbprofile.h
-	sed -e "s:profile\.h:smbprofile.h:" includes.h > includes.h.new
-	mv includes.h.new includes.h
+	#cd ${S}/source/include
+	#mv profile.h smbprofile.h
+	#sed -e "s:profile\.h:smbprofile.h:" includes.h > includes.h.new
+	#mv includes.h.new includes.h
 
 	#cd ${S}/source
 	#autoconf || die


diff -ur openldap-2.0.25-r3.ebuild openldap-2.1.6.ebuild 
--- openldap-2.0.25-r3.ebuild	2002-10-17 13:06:18.000000000 +0200
+++ openldap-2.1.6.ebuild	2002-10-17 13:33:06.000000000 +0200
@@ -18,7 +18,7 @@
 	tcpd?	  ( >=sys-apps/tcp-wrappers-7.6 )
 	ssl?	  ( >=dev-libs/openssl-0.9.6 )
 	readline? ( >=sys-libs/readline-4.1 )
-	berkdb? ( >=sys-libs/db-3.2.9 )
+	berkdb? ( >=sys-libs/db-4.1.24 )
 	gdbm?   ( >=sys-libs/gdbm-1.8.0 )"
 
 RDEPEND="virtual/glibc


Regards, Rogi
Comment 1 Rigo 2002-10-17 08:12:55 UTC
Created attachment 4781 [details]
samba-2.2.6.tar.gz
Comment 2 Nick Hadaway 2002-10-18 12:59:04 UTC
Samba-2.2.6 depends on OpenLDAP-2.1.6 which depends on db4... db4 is not 
unmasked in portage yet. 
 
I will let you know as soon as I get some test builds up on the server. 
Comment 3 Rigo 2002-10-21 15:03:29 UTC
<Snip releasenotes>

This is the latest stable release of Samba. This is the version that all
production Samba servers should be running for all current bug-fixes.

There have been several issues addressed in this release including:

 * Fixes for MS-RPC printing issues affecting Windows 2000 clients
 * New support for smb.conf generation in SWAT
 * Inclusion of several performance enhancements (See --with-sendfile
   & and the modified smb.conf(5) parameters in these Release Notes)
 * Fixes for several file locking bugs and returned status codes


New Parameters
- - --------------

Refer to the smb.conf(5) man page for complete descriptions of new
parameters.

  * profile acls (S)            workaround for issue with WinXP SP1
                                and roaming user profiles

Removed Parameters
- - ------------------

  * max packet (G)
  * packet size (G)

Modified Parameters
- - -------------------

  * max xmit (G)                new default value
  * large readwrite (G)         new default value

New ./configure Options
- - -----------------------

  --with-sendfile               Enable experimental sendfile support
  --with-winbind-ldap-hack      Enable winbindd_ldap_hack() functionality
                                for Windows 2000 native mode domains
</snip releasenotes>
Comment 4 Donny Davies (RETIRED) gentoo-dev 2002-10-25 07:00:47 UTC
hi.

please assign samba bugs to me, as i maintain it.

thanks!
Comment 5 Donny Davies (RETIRED) gentoo-dev 2002-10-25 19:11:25 UTC
thanks.

the changes to openldap will have to wait some more.
Comment 6 Matthew Schick 2002-11-05 23:17:57 UTC
I'm attaching a patch for the ebuild that does actually allow for 2.2.6 to
compile successfully against openldap 2.0.25.  The problem was that after sasl
was removed as a compile option, samba-2.2.6-libresolv.patch wasn't applied. 
This results in samba not including libresolv in the compile process.

Anyway, I used the modified ebuild to build 2.2.6-r1 on my machine with no problems.
Comment 7 Matthew Schick 2002-11-05 23:18:49 UTC
Created attachment 5411 [details, diff]
Patch for the ebuild
Comment 8 Donny Davies (RETIRED) gentoo-dev 2002-11-12 23:24:35 UTC
added matt's fix a while ago.