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
Created attachment 355096 [details] Proposed samba 4.1.0rc1 ebuild
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 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}" \
+ 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 :)