1 |
hwoarang 15/07/22 20:00:57 |
2 |
|
3 |
Modified: sssd-1.13.0.ebuild ChangeLog |
4 |
Log: |
5 |
Fix python support. Bug #554776. Respect SSSD_OPTIONS in init script. Bug #553678 |
6 |
|
7 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sys-auth/sssd/sssd-1.13.0.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: sssd-1.13.0.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- sssd-1.13.0.ebuild 11 Jul 2015 21:11:58 -0000 1.1 |
23 |
+++ sssd-1.13.0.ebuild 22 Jul 2015 20:00:57 -0000 1.2 |
24 |
@@ -1,12 +1,12 @@ |
25 |
# Copyright 1999-2015 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild,v 1.1 2015/07/11 21:11:58 hwoarang Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.13.0.ebuild,v 1.2 2015/07/22 20:00:57 hwoarang Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
33 |
|
34 |
-inherit python-single-r1 multilib pam linux-info autotools multilib-minimal systemd toolchain-funcs |
35 |
+inherit eutils multilib pam linux-info autotools multilib-minimal systemd toolchain-funcs |
36 |
|
37 |
DESCRIPTION="System Security Services Daemon provides access to identity and authentication" |
38 |
HOMEPAGE="http://fedorahosted.org/sssd/" |
39 |
@@ -76,14 +76,19 @@ |
40 |
) |
41 |
|
42 |
pkg_setup(){ |
43 |
- use python && python-single-r1_pkg_setup |
44 |
linux-info_pkg_setup |
45 |
} |
46 |
|
47 |
src_prepare() { |
48 |
+ # bug #553678 |
49 |
+ epatch "${FILESDIR}"/${P}-fix-init.patch |
50 |
+ |
51 |
eautoreconf |
52 |
|
53 |
multilib_copy_sources |
54 |
+ |
55 |
+ # Maybe run it before eautoreconf? |
56 |
+ epatch_user |
57 |
} |
58 |
|
59 |
src_configure() { |
60 |
@@ -95,7 +100,15 @@ |
61 |
multilib_src_configure() { |
62 |
# set initscript to sysv because the systemd option needs systemd to |
63 |
# be installed. We provide our own systemd file anyway. |
64 |
- local myconf=( |
65 |
+ local myconf=() |
66 |
+ if [[ "${PYTHON_TARGETS}" == *python2* ]]; then |
67 |
+ myconf+=($(multilib_native_use_with python python2-bindings)) |
68 |
+ fi |
69 |
+ if [[ "${PYTHON_TARGETS}" == *python3* ]]; then |
70 |
+ myconf+=($(multilib_native_use_with python python3-bindings)) |
71 |
+ fi |
72 |
+ |
73 |
+ myconf+=( |
74 |
--localstatedir="${EPREFIX}"/var |
75 |
--enable-nsslibdir="${EPREFIX}"/$(get_libdir) |
76 |
--with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd |
77 |
@@ -111,7 +124,6 @@ |
78 |
$(multilib_native_use_enable augeas config-lib) |
79 |
$(multilib_native_use_with selinux) |
80 |
$(multilib_native_use_with selinux semanage) |
81 |
- $(multilib_native_use_with python python-bindings) |
82 |
$(use_enable locator krb5-locator-plugin) |
83 |
$(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin) |
84 |
$(use_enable nls ) |
85 |
@@ -179,7 +191,6 @@ |
86 |
multilib_src_install_all() { |
87 |
einstalldocs |
88 |
prune_libtool_files --all |
89 |
- use python && python_optimize |
90 |
|
91 |
insinto /etc/sssd |
92 |
insopts -m600 |
93 |
|
94 |
|
95 |
|
96 |
1.73 sys-auth/sssd/ChangeLog |
97 |
|
98 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.73&view=markup |
99 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.73&content-type=text/plain |
100 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?r1=1.72&r2=1.73 |
101 |
|
102 |
Index: ChangeLog |
103 |
=================================================================== |
104 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v |
105 |
retrieving revision 1.72 |
106 |
retrieving revision 1.73 |
107 |
diff -u -r1.72 -r1.73 |
108 |
--- ChangeLog 11 Jul 2015 21:11:58 -0000 1.72 |
109 |
+++ ChangeLog 22 Jul 2015 20:00:57 -0000 1.73 |
110 |
@@ -1,6 +1,11 @@ |
111 |
# ChangeLog for sys-auth/sssd |
112 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
113 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.72 2015/07/11 21:11:58 hwoarang Exp $ |
114 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.73 2015/07/22 20:00:57 hwoarang Exp $ |
115 |
+ |
116 |
+ 22 Jul 2015; Markos Chandras <hwoarang@g.o> |
117 |
+ +files/sssd-1.13.0-fix-init.patch, sssd-1.13.0.ebuild: |
118 |
+ Fix python support. Bug #554776. Respect SSSD_OPTIONS in init script. Bug |
119 |
+ #553678 |
120 |
|
121 |
*sssd-1.13.0 (11 Jul 2015) |