hwoarang 15/07/22 20:00:57 Modified: sssd-1.13.0.ebuild ChangeLog Log: Fix python support. Bug #554776. Respect SSSD_OPTIONS in init script. Bug #553678 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
Revision Changes Path 1.2 sys-auth/sssd/sssd-1.13.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild?r1=1.1&r2=1.2 Index: sssd-1.13.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sssd-1.13.0.ebuild 11 Jul 2015 21:11:58 -0000 1.1 +++ sssd-1.13.0.ebuild 22 Jul 2015 20:00:57 -0000 1.2 @@ -1,12 +1,12 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild,v 1.1 2015/07/11 21:11:58 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild,v 1.2 2015/07/22 20:00:57 hwoarang Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -inherit python-single-r1 multilib pam linux-info autotools multilib-minimal systemd toolchain-funcs +inherit eutils multilib pam linux-info autotools multilib-minimal systemd toolchain-funcs DESCRIPTION="System Security Services Daemon provides access to identity and authentication" HOMEPAGE="http://fedorahosted.org/sssd/" @@ -76,14 +76,19 @@ ) pkg_setup(){ - use python && python-single-r1_pkg_setup linux-info_pkg_setup } src_prepare() { + # bug #553678 + epatch "${FILESDIR}"/${P}-fix-init.patch + eautoreconf multilib_copy_sources + + # Maybe run it before eautoreconf? + epatch_user } src_configure() { @@ -95,7 +100,15 @@ multilib_src_configure() { # set initscript to sysv because the systemd option needs systemd to # be installed. We provide our own systemd file anyway. - local myconf=( + local myconf=() + if [[ "${PYTHON_TARGETS}" == *python2* ]]; then + myconf+=($(multilib_native_use_with python python2-bindings)) + fi + if [[ "${PYTHON_TARGETS}" == *python3* ]]; then + myconf+=($(multilib_native_use_with python python3-bindings)) + fi + + myconf+=( --localstatedir="${EPREFIX}"/var --enable-nsslibdir="${EPREFIX}"/$(get_libdir) --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd @@ -111,7 +124,6 @@ $(multilib_native_use_enable augeas config-lib) $(multilib_native_use_with selinux) $(multilib_native_use_with selinux semanage) - $(multilib_native_use_with python python-bindings) $(use_enable locator krb5-locator-plugin) $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin) $(use_enable nls ) @@ -179,7 +191,6 @@ multilib_src_install_all() { einstalldocs prune_libtool_files --all - use python && python_optimize insinto /etc/sssd insopts -m600 1.73 sys-auth/sssd/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.73&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.73&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?r1=1.72&r2=1.73 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- ChangeLog 11 Jul 2015 21:11:58 -0000 1.72 +++ ChangeLog 22 Jul 2015 20:00:57 -0000 1.73 @@ -1,6 +1,11 @@ # ChangeLog for sys-auth/sssd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.72 2015/07/11 21:11:58 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.73 2015/07/22 20:00:57 hwoarang Exp $ + + 22 Jul 2015; Markos Chandras <[email protected]> + +files/sssd-1.13.0-fix-init.patch, sssd-1.13.0.ebuild: + Fix python support. Bug #554776. Respect SSSD_OPTIONS in init script. Bug + #553678 *sssd-1.13.0 (11 Jul 2015)
