Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/sssd: sssd-1.8.0.ebuild ChangeLog
Date: Fri, 02 Mar 2012 15:42:37
Message-Id: 20120302154225.682C72004B@flycatcher.gentoo.org
1 maksbotan 12/03/02 15:42:25
2
3 Modified: ChangeLog
4 Added: sssd-1.8.0.ebuild
5 Log:
6 Bump to 1.8.0, drop libunistring depend, make logrotate installation unconditional. Thanks to slepnoga
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 sys-auth/sssd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 2 Mar 2012 15:14:52 -0000 1.14
24 +++ ChangeLog 2 Mar 2012 15:42:25 -0000 1.15
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-auth/sssd
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.14 2012/03/02 15:14:52 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.15 2012/03/02 15:42:25 maksbotan Exp $
30 +
31 +*sssd-1.8.0 (02 Mar 2012)
32 +
33 + 02 Mar 2012; Maxim Koltsov <maksbotan@g.o> +sssd-1.8.0.ebuild:
34 + Bump to 1.8.0, drop libunistring depend, make logrotate installation
35 + unconditional. Thanks to slepnoga
36
37 02 Mar 2012; Agostino Sarubbo <ago@g.o> sssd-1.6.4.ebuild:
38 Stable for amd64, wrt bug #406291
39
40
41
42 1.1 sys-auth/sssd/sssd-1.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sssd-1.8.0.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.8.0.ebuild,v 1.1 2012/03/02 15:42:25 maksbotan Exp $
52
53 EAPI=4
54
55 PYTHON_DEPEND="python? 2:2.6"
56
57 inherit python multilib pam linux-info autotools-utils
58
59 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
60 HOMEPAGE="http://fedorahosted.org/sssd/"
61 SRC_URI="http://fedorahosted.org/released/${PN}/${P}.tar.gz"
62
63 LICENSE="GPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="doc +locator netlink nls python selinux test"
67
68 COMMON_DEP="
69 virtual/pam
70 dev-libs/popt
71 dev-libs/glib:2
72 >=dev-libs/ding-libs-0.1.2
73 >=sys-libs/talloc-2.0
74 sys-libs/tdb
75 sys-libs/tevent
76 sys-libs/ldb
77 >=net-nds/openldap-2.4.19
78 dev-libs/libpcre
79 >=app-crypt/mit-krb5-1.9.1
80 sys-apps/keyutils
81 >=net-dns/c-ares-1.7.4
82 >=dev-libs/nss-3.12.9
83 selinux? ( >=sys-libs/libselinux-2.0.94 >=sys-libs/libsemanage-2.0.45 )
84 net-dns/bind-tools
85 dev-libs/cyrus-sasl
86 sys-apps/dbus
87 nls? ( >=sys-devel/gettext-0.17 )
88 virtual/libintl
89 netlink? ( dev-libs/libnl )
90 "
91
92 RDEPEND="${COMMON_DEP}"
93 DEPEND="${COMMON_DEP}
94 test? ( dev-libs/check )
95 >=dev-libs/libxslt-1.1.26
96 app-text/docbook-xml-dtd:4.4
97 doc? ( app-doc/doxygen )"
98
99 CONFIG_CHECK="~KEYS"
100
101 pkg_setup(){
102 if use python; then
103 python_set_active_version 2
104 python_pkg_setup
105 python_need_rebuild
106 fi
107 linux-info_pkg_setup
108 }
109
110 src_prepare() {
111 cp -f "${FILESDIR}"/sssd "${S}/"src/sysv/gentoo/sssd
112 }
113
114 src_configure(){
115 local myeconfargs=(
116 --localstatedir="${EPREFIX}"/var
117 --enable-nsslibdir="${EPREFIX}"/$(get_libdir)
118 --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
119 --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
120 --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/ldb/modules/ldb
121 --without-nscd
122 --with-unicode-lib="glib2"
123 $(use_with selinux)
124 $(use_with selinux semanage)
125 $(use_with python python-bindings)
126 $(use_enable locator krb5-locator-plugin)
127 $(use_enable nls )
128 $(use_with netlink libnl) )
129
130 autotools-utils_src_configure
131 }
132
133 src_install(){
134 autotools-utils_src_install
135 remove_libtool_files all
136
137 insinto /etc/sssd
138 insopts -m600
139 doins "${S}"/src/examples/sssd-example.conf
140
141 insinto /etc/logrotate.d
142 insopts -m644
143 newins "${S}"/src/examples/logrotate sssd
144
145 if use python; then
146 python_clean_installation_image
147 python_convert_shebangs 2 "${ED}$(python_get_sitedir)/"*.py
148 fi
149 newconfd "${FILESDIR}"/sssd.conf sssd
150 }
151
152 src_test() {
153 autotools-utils_src_test
154 }
155
156 pkg_postinst(){
157 elog "You must set up sssd.conf (default installed into /etc/sssd)"
158 elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
159 elog "features. Please see howto in http://fedorahosted.org/sssd/wiki/HOWTO_Configure_1_0_2"
160
161 use python && python_mod_optimize SSSDConfig.py ipachangeconf.py
162 }
163
164 pkg_postrm() {
165 use python && python_mod_cleanup SSSDConfig.py ipachangeconf.py
166 }