Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/sssd: sssd-1.9.6.ebuild ChangeLog
Date: Sun, 01 Dec 2013 17:11:02
Message-Id: 20131201171055.288F92004E@flycatcher.gentoo.org
1 hwoarang 13/12/01 17:10:55
2
3 Modified: ChangeLog
4 Added: sssd-1.9.6.ebuild
5 Log:
6 Version bump. Remove nscd dependency from the init script. Bug #491608
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
9
10 Revision Changes Path
11 1.46 sys-auth/sssd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.46&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.46&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?r1=1.45&r2=1.46
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v
20 retrieving revision 1.45
21 retrieving revision 1.46
22 diff -u -r1.45 -r1.46
23 --- ChangeLog 27 Oct 2013 11:58:57 -0000 1.45
24 +++ ChangeLog 1 Dec 2013 17:10:54 -0000 1.46
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-auth/sssd
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.45 2013/10/27 11:58:57 maksbotan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.46 2013/12/01 17:10:54 hwoarang Exp $
30 +
31 +*sssd-1.9.6 (01 Dec 2013)
32 +
33 + 01 Dec 2013; Markos Chandras <hwoarang@g.o>
34 + +files/sssd-1.9.6-fix-init.patch, +sssd-1.9.6.ebuild:
35 + Version bump. Remove nscd dependency from the init script. Bug #491608
36
37 27 Oct 2013; Michał Górny <mgorny@g.o> sssd-1.8.6-r1.ebuild,
38 sssd-1.8.6.ebuild, sssd-1.9.4-r3.ebuild, sssd-1.9.5-r1.ebuild:
39
40
41
42 1.1 sys-auth/sssd/sssd-1.9.6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.9.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.9.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sssd-1.9.6.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.9.6.ebuild,v 1.1 2013/12/01 17:10:54 hwoarang Exp $
52
53 EAPI=4
54
55 PYTHON_DEPEND="python? 2:2.6"
56
57 AUTOTOOLS_IN_SOURCE_BUILD=1
58 AUTOTOOLS_AUTORECONF=1
59 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
60
61 inherit python multilib pam linux-info autotools-utils
62
63 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
64 HOMEPAGE="http://fedorahosted.org/sssd/"
65 SRC_URI="http://fedorahosted.org/released/${PN}/${P}.tar.gz"
66
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="autofs doc +locator netlink nls +manpages python selinux sudo ssh test"
71
72 COMMON_DEP="
73 virtual/pam
74 >=dev-libs/popt-1.16
75 dev-libs/glib:2
76 >=dev-libs/ding-libs-0.2
77 >=sys-libs/talloc-2.0.7
78 >=sys-libs/tdb-1.2.9
79 >=sys-libs/tevent-0.9.16
80 >=sys-libs/ldb-1.1.15-r1
81 >=net-nds/openldap-2.4.30
82 >=dev-libs/libpcre-8.30
83 >=app-crypt/mit-krb5-1.10.3
84 >=sys-apps/keyutils-1.5
85 >=net-dns/c-ares-1.7.4
86 >=dev-libs/nss-3.12.9
87 selinux? (
88 >=sys-libs/libselinux-2.1.9
89 >=sys-libs/libsemanage-2.1
90 >=sec-policy/selinux-sssd-2.20120725-r9
91 )
92 >=net-dns/bind-tools-9.9[gssapi]
93 >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
94 >=sys-apps/dbus-1.6
95 nls? ( >=sys-devel/gettext-0.18 )
96 virtual/libintl
97 netlink? ( dev-libs/libnl:3 )
98 "
99
100 RDEPEND="${COMMON_DEP}
101 || ( <=sys-libs/glibc-2.16.9999 >=sys-libs/glibc-2.17[nscd] )
102 "
103 DEPEND="${COMMON_DEP}
104 test? ( dev-libs/check )
105 manpages? (
106 >=dev-libs/libxslt-1.1.26
107 app-text/docbook-xml-dtd:4.4
108 )
109 doc? ( app-doc/doxygen )"
110
111 CONFIG_CHECK="~KEYS"
112
113 PATCHES=(
114 "${FILESDIR}"/${P}*.patch
115 )
116
117 pkg_setup(){
118 if use python; then
119 python_set_active_version 2
120 python_pkg_setup
121 python_need_rebuild
122 fi
123 linux-info_pkg_setup
124 }
125
126 src_prepare() {
127 autotools-utils_src_prepare
128 }
129
130 src_configure(){
131 local myeconfargs=(
132 --localstatedir="${EPREFIX}"/var
133 --enable-nsslibdir="${EPREFIX}"/$(get_libdir)
134 --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
135 --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
136 --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
137 --without-nscd
138 --with-unicode-lib="glib2"
139 --disable-rpath
140 --enable-silent-rules
141 $(use_with selinux)
142 $(use_with selinux semanage)
143 $(use_with python python-bindings)
144 $(use_enable locator krb5-locator-plugin)
145 $(use_enable nls )
146 $(use_with netlink libnl)
147 $(use_with manpages)
148 $(use_with sudo)
149 $(use_with autofs)
150 $(use_with ssh)
151 --with-crypto="libcrypto"
152 --with-initscript="sysv"
153 )
154
155 autotools-utils_src_configure
156 }
157
158 src_install(){
159 autotools-utils_src_install
160
161 insinto /etc/sssd
162 insopts -m600
163 doins "${S}"/src/examples/sssd-example.conf
164
165 insinto /etc/logrotate.d
166 insopts -m644
167 newins "${S}"/src/examples/logrotate sssd
168
169 use python && python_clean_installation_image
170
171 newconfd "${FILESDIR}"/sssd.conf sssd
172 }
173
174 src_test() {
175 autotools-utils_src_test
176 }
177
178 pkg_postinst(){
179 elog "You must set up sssd.conf (default installed into /etc/sssd)"
180 elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
181 elog "features. Please see howto in http://fedorahosted.org/sssd/wiki/HOWTO_Configure_1_0_2"
182
183 use python && \
184 python_mod_optimize SSSDConfig/{ipachangeconf,sssd_upgrade_config}.py
185 }
186
187 pkg_postrm() {
188 use python && \
189 python_mod_cleanup SSSDConfig/{ipachangeconf,sssd_upgrade_config}.py
190 }