Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 398850 Details for
Bug 542638
net-fs/samba-4.2.0 fails on krb5_kdc_configuration
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
samba-4.2.0-r1-4.ebuild.patch
samba-4.2.0-r1-4.ebuild.patch (text/plain), 3.61 KB, created by
Denis Kaganovich
on 2015-03-14 01:27:09 UTC
(
hide
)
Description:
samba-4.2.0-r1-4.ebuild.patch
Filename:
MIME Type:
Creator:
Denis Kaganovich
Created:
2015-03-14 01:27:09 UTC
Size:
3.61 KB
patch
obsolete
>--- samba-4.2.0.ebuild 2015-03-08 16:21:55.000000000 +0300 >+++ samba-4.2.0-r2.ebuild 2015-03-14 03:05:11.901127000 +0300 >@@ -24,13 +24,16 @@ > > SLOT="0" > >-IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint >-ldap quota selinux syslog systemd test winbind" >+IUSE="acl addns ads aio avahi client cluster cups dmapi fam iprint cephfs >+ldap quota selinux syslog systemd test winbind afs minimal hardened pam sasl" >+ >+# useflag sasl control only cyrus-sasl linking, not own sasl wrapper > > # sys-apps/attr is an automagic dependency (see bug #489748) >-# sys-libs/pam is an automagic dependency (see bug #489770) > CDEPEND="${PYTHON_DEPS} >- >=app-crypt/heimdal-1.5[-ssl] >+ virtual/krb5 >+ !<app-crypt/heimdal-1.5 >+ !app-crypt/heimdal[ssl] > dev-libs/iniparser > dev-libs/popt > sys-libs/readline:= >@@ -47,17 +50,21 @@ > >=sys-libs/tevent-0.9.24 > >=sys-libs/uid_wrapper-1.0.1 > sys-libs/zlib >- virtual/pam >+ pam? ( virtual/pam ) > acl? ( virtual/acl ) > addns? ( net-dns/bind-tools[gssapi] ) > aio? ( dev-libs/libaio ) >- cluster? ( >=dev-db/ctdb-1.0.114_p1 ) >+ cluster? ( !dev-db/ctdb ) > cups? ( net-print/cups ) > dmapi? ( sys-apps/dmapi ) > fam? ( virtual/fam ) >- gnutls? ( dev-libs/libgcrypt:0 >+ !minimal? ( dev-libs/libgcrypt:0 > >=net-libs/gnutls-1.4.0 ) > ldap? ( net-nds/openldap ) >+ minimal? ( ldap? ( !net-nds/openldap[gnutls] ) ) >+ afs? ( net-fs/openafs ) >+ sasl? ( dev-libs/cyrus-sasl ) >+ cephfs? ( sys-cluster/ceph ) > systemd? ( sys-apps/systemd:0= )" > DEPEND="${CDEPEND} > virtual/pkgconfig" >@@ -93,10 +100,31 @@ > fi > } > >+src_prepare(){ >+ cd "${S}" || die >+ has_version app-crypt/heimdal && sed -i -e 's:USING_SYSTEM_KDC:USING_SYSTEM_KDC_:' source4/kdc/wscript_build >+ use sasl || sed -i -e 's:HAVE_SASL:HAVE_SASL_:' source4/auth/wscript_configure >+ sed -i -e 's:/tmp/ctdb.socket:/var/run/ctdb/ctdb.socket:g' {ctdb/doc,docs-xml/smbdotconf/misc}/*ml >+} >+ >+automagic(){ >+ local i >+ for i in "${@}"; do >+ egrep "#define.*$i.*" "${S}"/bin/default/include/config.h >+ sed -i -e "/#define.*$i.*/d" "${S}"/bin/default/include/config.h >+ done >+} >+ > src_configure() { > local myconf='' >- use "cluster" && myconf+=" --with-ctdb-dir=/usr" > use "test" && myconf+=" --enable-selftest" >+ has_version app-crypt/mit-krb5 && myconf+=" --with-system-mitkrb5" >+ if use minimal; then >+ ewarn "Selected minimal build may be failed, disabling AD DC" >+ myconf+=" --without-ad-dc --without-libarchive" >+ use !hardened && myconf+=" --without-pie" && ewarn " & PIE" >+ fi >+ use cephfs || myconf+=" --with-libcephfs=/dev/null" > myconf="${myconf} \ > --enable-fhs \ > --sysconfdir=/etc \ >@@ -119,20 +147,27 @@ > $(use_enable cups) \ > $(use_with dmapi) \ > $(use_with fam) \ >- $(use_enable gnutls) \ >+ $(use_enable !minimal gnutls) \ > $(use_enable iprint) \ > $(use_with ldap) \ >- --with-pam \ >- --with-pam_smbpass \ >+ $(use_with pam) \ >+ $(use_with pam pam_smbpass) \ > $(use_with quota quotas) \ > $(use_with syslog) \ > $(use_with systemd) \ >+ $(use_with afs fake-kaserver) \ > $(use_with winbind) > " > use "ads" && myconf+=" --with-shared-modules=idmap_ad" > > CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ > waf-utils_src_configure ${myconf} >+ >+ einfo "Removing automagic definitions" >+ # KDC wrong here >+ use pam || automagic _PAM_ '_LIBPAM ' >+# use sasl || automagic SASL >+ > } > > src_install() { >@@ -151,6 +186,11 @@ > newinitd "${CONFDIR}/samba4.initd-r1" samba > newconfd "${CONFDIR}/samba4.confd" samba > >+ if use cluster; then >+ newinitd "${CONFDIR}/ctdb.initd" ctdb >+ newconfd "${CONFDIR}/ctdb.confd" ctdb >+ fi >+ > systemd_dotmpfilesd "${FILESDIR}"/samba.conf > systemd_dounit "${FILESDIR}"/nmbd.service > systemd_dounit "${FILESDIR}"/smbd.{service,socket}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 542638
:
398464
|
398596
|
398602
|
398604
|
398606
|
398640
|
398654
| 398850 |
399866
|
399868