1 |
commit: 42e163a7509358b146c482b5c9de3149db11b76b |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 5 13:05:01 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 5 13:05:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42e163a7 |
7 |
|
8 |
sys-auth/sssd: Security cleanup |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
sys-auth/sssd/Manifest | 1 - |
14 |
sys-auth/sssd/metadata.xml | 1 - |
15 |
sys-auth/sssd/sssd-1.12.1.ebuild | 134 --------------------------------------- |
16 |
3 files changed, 136 deletions(-) |
17 |
|
18 |
diff --git a/sys-auth/sssd/Manifest b/sys-auth/sssd/Manifest |
19 |
index 7909fdf00e4..8cb22a3997d 100644 |
20 |
--- a/sys-auth/sssd/Manifest |
21 |
+++ b/sys-auth/sssd/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST sssd-1.12.1.tar.gz 4088341 BLAKE2B 00f251eb23603441fdf9948598aab9c8b3626ca0cacab155ad29afb63332991b7aab5139429258284e1cc2a3b15c338f2f23195e7b847228bbd3cb25e336870f SHA512 9514586eb51ac7e8d9639f2aba52cfd5cf71c442ee0a6c652e7838a96cf0fcb62ce4ffa9f9b956d984cd5ecfb3d13b8c21a66677e1e3e9e76f13202792ee2a7e |
24 |
DIST sssd-1.16.3.tar.gz 6217114 BLAKE2B eefaf8de466d0d76e9a4b60aefef6eb63c17a55b9a1f2e07e973a61d71cbe5432e92357656a1eb353d45bbc2fa92290cef45898d0b315d4a4c4074652ff25a23 SHA512 6165923f652f624bbe3ddc625ae682c4867eb7a20652d0cf74bbb8dda2307c917d3189ede26fd21a4fb5fd5926149271a65fa09f3affe928029ed99e6422b728 |
25 |
|
26 |
diff --git a/sys-auth/sssd/metadata.xml b/sys-auth/sssd/metadata.xml |
27 |
index 45e95a76f6c..4a4874f3d84 100644 |
28 |
--- a/sys-auth/sssd/metadata.xml |
29 |
+++ b/sys-auth/sssd/metadata.xml |
30 |
@@ -7,7 +7,6 @@ |
31 |
</maintainer> |
32 |
<use> |
33 |
<flag name="acl"> Build and use the cifsidmap plugin</flag> |
34 |
- <flag name="augeas">Build internal configuration library</flag> |
35 |
<flag name="locator">Install sssd's Kerberos plugin</flag> |
36 |
<flag name="netlink">Add support for netlink protocol via <pkg>dev-libs/libnl</pkg></flag> |
37 |
<flag name="nfsv4">Add support for the nfsv4 idmapd plugin provided by <pkg>net-libs/libnfsidmap</pkg></flag> |
38 |
|
39 |
diff --git a/sys-auth/sssd/sssd-1.12.1.ebuild b/sys-auth/sssd/sssd-1.12.1.ebuild |
40 |
deleted file mode 100644 |
41 |
index 7bb9af28726..00000000000 |
42 |
--- a/sys-auth/sssd/sssd-1.12.1.ebuild |
43 |
+++ /dev/null |
44 |
@@ -1,134 +0,0 @@ |
45 |
-# Copyright 1999-2017 Gentoo Foundation |
46 |
-# Distributed under the terms of the GNU General Public License v2 |
47 |
- |
48 |
-EAPI=5 |
49 |
- |
50 |
-PYTHON_COMPAT=( python2_7 ) |
51 |
- |
52 |
-WANT_AUTOMAKE="1.13" |
53 |
- |
54 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
55 |
-AUTOTOOLS_AUTORECONF=1 |
56 |
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all |
57 |
- |
58 |
-inherit python-single-r1 multilib pam linux-info autotools-utils systemd |
59 |
- |
60 |
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication" |
61 |
-HOMEPAGE="https://pagure.io/sssd/sssd" |
62 |
-SRC_URI="https://releases.pagure.org/SSSD/${PN}/${P}.tar.gz" |
63 |
- |
64 |
-LICENSE="GPL-3" |
65 |
-SLOT="0" |
66 |
-KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86" |
67 |
-IUSE="acl augeas autofs +locator netlink nfsv4 nls +manpages python selinux sudo ssh test" |
68 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
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.17-r1:= |
79 |
- >=net-nds/openldap-2.4.30[sasl] |
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 |
- python? ( ${PYTHON_DEPS} ) |
86 |
- selinux? ( |
87 |
- >=sys-libs/libselinux-2.1.9 |
88 |
- >=sys-libs/libsemanage-2.1 |
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 |
- acl? ( net-fs/cifs-utils[acl] ) |
94 |
- augeas? ( app-admin/augeas ) |
95 |
- nfsv4? ( net-libs/libnfsidmap ) |
96 |
- nls? ( >=sys-devel/gettext-0.18 ) |
97 |
- virtual/libintl |
98 |
- netlink? ( dev-libs/libnl:3 ) |
99 |
- " |
100 |
- |
101 |
-RDEPEND="${COMMON_DEP} |
102 |
- >=sys-libs/glibc-2.17[nscd] |
103 |
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 ) |
104 |
- " |
105 |
-DEPEND="${COMMON_DEP} |
106 |
- test? ( dev-libs/check ) |
107 |
- manpages? ( |
108 |
- >=dev-libs/libxslt-1.1.26 |
109 |
- app-text/docbook-xml-dtd:4.4 |
110 |
- )" |
111 |
- |
112 |
-CONFIG_CHECK="~KEYS" |
113 |
- |
114 |
-pkg_setup(){ |
115 |
- use python && python-single-r1_pkg_setup |
116 |
- linux-info_pkg_setup |
117 |
-} |
118 |
- |
119 |
-src_prepare() { |
120 |
- autotools-utils_src_prepare |
121 |
-} |
122 |
- |
123 |
-src_configure(){ |
124 |
- # no samba4 per 447022 |
125 |
- # set initscript to sysv because the systemd option needs systemd to |
126 |
- # be installed. We provide our own systemd file anyway. |
127 |
- local myeconfargs=( |
128 |
- --localstatedir="${EPREFIX}"/var |
129 |
- --enable-nsslibdir="${EPREFIX}"/$(get_libdir) |
130 |
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd |
131 |
- --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir) |
132 |
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb |
133 |
- --without-nscd |
134 |
- --with-unicode-lib="glib2" |
135 |
- --disable-rpath |
136 |
- --disable-silent-rules |
137 |
- --sbindir=/usr/sbin |
138 |
- --without-samba |
139 |
- $(use_enable acl cifs-idmap-plugin) |
140 |
- $(use_enable augeas config-lib) |
141 |
- $(use_with selinux) |
142 |
- $(use_with selinux semanage) |
143 |
- $(use_with python python-bindings) |
144 |
- $(use_enable locator krb5-locator-plugin) |
145 |
- $(use_with nfsv4 nfsv4-idmapd-plugin) |
146 |
- $(use_enable nls ) |
147 |
- $(use_with netlink libnl) |
148 |
- $(use_with manpages) |
149 |
- $(use_with sudo) |
150 |
- $(use_with autofs) |
151 |
- $(use_with ssh) |
152 |
- --with-crypto="libcrypto" |
153 |
- --with-initscript="sysv" |
154 |
- ) |
155 |
- |
156 |
- autotools-utils_src_configure |
157 |
-} |
158 |
- |
159 |
-src_install(){ |
160 |
- autotools-utils_src_install |
161 |
- use python && python_optimize |
162 |
- |
163 |
- insinto /etc/sssd |
164 |
- insopts -m600 |
165 |
- doins "${S}"/src/examples/sssd-example.conf |
166 |
- |
167 |
- insinto /etc/logrotate.d |
168 |
- insopts -m644 |
169 |
- newins "${S}"/src/examples/logrotate sssd |
170 |
- |
171 |
- newconfd "${FILESDIR}"/sssd.conf sssd |
172 |
- |
173 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
174 |
-} |
175 |
- |
176 |
-src_test() { |
177 |
- autotools-utils_src_test |
178 |
-} |