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.5.ebuild ChangeLog
Date: Tue, 21 May 2013 20:04:10
Message-Id: 20130521200405.D006E2171D@flycatcher.gentoo.org
1 hwoarang 13/05/21 20:04:05
2
3 Modified: ChangeLog
4 Added: sssd-1.9.5.ebuild
5 Log:
6 Version bump. Bug #470728
7
8 (Portage version: 2.1.12.1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
9
10 Revision Changes Path
11 1.42 sys-auth/sssd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 12 May 2013 02:07:16 -0000 1.41
24 +++ ChangeLog 21 May 2013 20:04:05 -0000 1.42
25 @@ -1,6 +1,11 @@
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.41 2013/05/12 02:07:16 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.42 2013/05/21 20:04:05 hwoarang Exp $
30 +
31 +*sssd-1.9.5 (21 May 2013)
32 +
33 + 21 May 2013; Markos Chandras <hwoarang@g.o> +sssd-1.9.5.ebuild:
34 + Version bump. Bug #470728
35
36 12 May 2013; Patrick Lauer <patrick@g.o> metadata.xml:
37 Drop obsolete use flags from metadata.xml
38
39
40
41 1.1 sys-auth/sssd/sssd-1.9.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.9.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.9.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sssd-1.9.5.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.9.5.ebuild,v 1.1 2013/05/21 20:04:05 hwoarang Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="python? 2:2.6"
55
56 AUTOTOOLS_IN_SOURCE_BUILD=1
57 AUTOTOOLS_AUTORECONF=1
58
59 inherit python multilib pam linux-info autotools-utils
60
61 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
62 HOMEPAGE="http://fedorahosted.org/sssd/"
63 SRC_URI="http://fedorahosted.org/released/${PN}/${P}.tar.gz"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="autofs doc +locator netlink nls +manpages python selinux sudo ssh test"
69
70 COMMON_DEP="
71 virtual/pam
72 >=dev-libs/popt-1.16
73 dev-libs/glib:2
74 >=dev-libs/ding-libs-0.2
75 >=sys-libs/talloc-2.0.7
76 >=sys-libs/tdb-1.2.9
77 >=sys-libs/tevent-0.9.16
78 >=sys-libs/ldb-1.1.13
79 >=net-nds/openldap-2.4.30
80 >=dev-libs/libpcre-8.30
81 >=app-crypt/mit-krb5-1.10.3
82 >=sys-apps/keyutils-1.5
83 >=net-dns/c-ares-1.7.4
84 >=dev-libs/nss-3.12.9
85 selinux? (
86 >=sys-libs/libselinux-2.1.9
87 >=sys-libs/libsemanage-2.1
88 >=sec-policy/selinux-sssd-2.20120725-r9
89 )
90 >=net-dns/bind-tools-9.9[gssapi]
91 >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
92 >=sys-apps/dbus-1.6
93 nls? ( >=sys-devel/gettext-0.18 )
94 virtual/libintl
95 netlink? ( dev-libs/libnl:3 )
96 "
97
98 RDEPEND="${COMMON_DEP}
99 || ( <=sys-libs/glibc-2.16.9999 >=sys-libs/glibc-2.17[nscd] )
100 "
101 DEPEND="${COMMON_DEP}
102 test? ( dev-libs/check )
103 manpages? (
104 >=dev-libs/libxslt-1.1.26
105 app-text/docbook-xml-dtd:4.4
106 )
107 doc? ( app-doc/doxygen )"
108
109 CONFIG_CHECK="~KEYS"
110
111 PATCHES=(
112 "${FILESDIR}"/0001*.patch
113 "${FILESDIR}"/0002*.patch
114 )
115
116 pkg_setup(){
117 if use python; then
118 python_set_active_version 2
119 python_pkg_setup
120 python_need_rebuild
121 fi
122 linux-info_pkg_setup
123 }
124
125 src_prepare() {
126 autotools-utils_src_prepare
127 }
128
129 src_configure(){
130 local myeconfargs=(
131 --localstatedir="${EPREFIX}"/var
132 --enable-nsslibdir="${EPREFIX}"/$(get_libdir)
133 --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
134 --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
135 --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/ldb/modules/ldb
136 --without-nscd
137 --with-unicode-lib="glib2"
138 --disable-rpath
139 --enable-silent-rules
140 $(use_with selinux)
141 $(use_with selinux semanage)
142 $(use_with python python-bindings)
143 $(use_enable locator krb5-locator-plugin)
144 $(use_enable nls )
145 $(use_with netlink libnl)
146 $(use_with manpages)
147 $(use_with sudo)
148 $(use_with autofs)
149 $(use_with ssh)
150 --with-crypto="libcrypto"
151 --with-initscript="sysv"
152 )
153
154 autotools-utils_src_configure
155 }
156
157 src_install(){
158 autotools-utils_src_install
159 prune_libtool_files --all
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 }