Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479710 - net-fs/samba-4.1.0_rc1 version bump
Summary: net-fs/samba-4.1.0_rc1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 10:55 UTC by Mieszko Ślusarczyk
Modified: 2013-08-05 04:41 UTC (History)
0 users

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


Attachments
Proposed samba 4.1.0rc1 ebuild (samba-4.1.0_rc1.ebuild,4.07 KB, text/plain)
2013-08-04 10:57 UTC, Mieszko Ślusarczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mieszko Ślusarczyk 2013-08-04 10:55:11 UTC
Samba 4.1.0 is coming up with some significant changes.
From the build perspective it now seems to be requiring ntdb (bundled with samba) and SWAT has been removed (so we need to remove it from USE flags and configure switch )

Reproducible: Always
Comment 1 Mieszko Ślusarczyk 2013-08-04 10:57:24 UTC
Created attachment 355096 [details]
Proposed samba 4.1.0rc1 ebuild
Comment 2 Mieszko Ślusarczyk 2013-08-04 10:57:39 UTC
 I've tried to adapt existing 4.0.7 ebuild, and it seems to be working.
1. SWAT web interface has been removed. Easy fix is to remove use flag and configure switch.
2. It seems to be requiring ntdb >= 0.9 (which doesn't seem to be distributed anywhere outside samba). To use it I removed "--disable ntdb" configure parameter and modified
--bundled-libraries and--builtin-libraries to feature ntdb instead of NONE
 
3. For now I had to change SRC_URI stuff to be able to fetch RC, can someone suggest a better solution?

Please review/fix this ebuild if needed;)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-04 12:43:30 UTC
Comment on attachment 355096 [details]
Proposed samba 4.1.0rc1 ebuild

--- samba-4.0.7.ebuild  2013-07-20 19:44:20.000000000 +0200
+++ -   2013-08-04 14:43:22.333368524 +0200
@@ -15,7 +15,7 @@
        KEYWORDS=""
        inherit git-2
 else
-       SRC_URI="mirror://samba/stable/${MY_P}.tar.gz"
+       SRC_URI="mirror://samba/rc/${MY_P}.tar.gz"
        KEYWORDS="~amd64 ~hppa ~x86"
 fi
 
@@ -26,7 +26,7 @@
 SLOT="0"
 
 IUSE="acl addns ads aio avahi client cluster cups gnutls iprint
-ldap pam quota selinux swat syslog test winbind"
+ldap pam quota selinux syslog test winbind"
 
 RDEPEND="${PYTHON_DEPS}
        dev-libs/iniparser
@@ -89,9 +89,8 @@
                --disable-rpath-install \
                --nopyc \
                --nopyo \
-               --disable-ntdb \
-               --bundled-libraries=NONE \
-               --builtin-libraries=NONE \
+               --bundled-libraries=ntdb \
+               --builtin-libraries=ntdb \
                $(use_with addns dnsupdate) \
                $(use_with acl) \
                $(use_with ads) \
@@ -106,7 +105,6 @@
                $(use_with pam pam_smbpass) \
                $(use_with quota) \
                $(use_with syslog) \
-               $(use_with swat) \
                $(use_with winbind)
                "
        CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \
Comment 4 Patrick Lauer gentoo-dev 2013-08-05 04:41:47 UTC
+  05 Aug 2013; Patrick Lauer <patrick@gentoo.org> +files/4.1/com_err.patch,
+  +files/4.1/samba4.confd, +files/4.1/samba4.initd-r1, +samba-4.1.0_rc1.ebuild:
+  Bump for #479710. ntdb is now mandatory. swat is removed.
+

Thanks for your exploration of ntdb :)