-
Notifications
You must be signed in to change notification settings - Fork 0
/
local-policy.spec
74 lines (55 loc) · 1.91 KB
/
local-policy.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
%define _unpackaged_files_terminate_build 1
Name: local-policy
Version: 0.1.0
Release: alt2
Summary: ALT Local policies
License: GPLv2+
Group: Other
Url: http://git.altlinux.org
BuildArch: noarch
Requires: control
Source0: %name-%version.tar
%description
Local policies for ALT solutions based on Sisyphus
includes additional control facilities and default policies
templates in PReg format converted to XML.
%prep
%setup -q
%install
for i in sshd-gssapi-auth \
sshd-allow-groups-list \
ssh-gssapi-auth \
ldap-reverse-dns-lookup \
ldap-tls-cert-check
do
install -pD -m755 "controls/$i" \
"%buildroot%_sysconfdir/control.d/facilities/$i"
done
install -pD -m644 "default/local.xml" \
"%buildroot%_datadir/%name/default/local.xml"
%pre
%_sbindir/groupadd -r -f remote 2> /dev/null ||:
%files
%_sysconfdir/control.d/facilities/*
%_datadir/%name/default/local.xml
%changelog
* Fri Feb 07 2020 Ivan Savin <iv17@altlinux.org> 0.1.0-alt2
- Add gpupdate to local.xml
* Thu Nov 28 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.1.0-alt1
- Add default policies templates in PReg format converted to XML
- Change license to GPLv2+
* Fri Nov 08 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.0.5-alt1
- sshd-allow-groups-list added
- sshd-gssapi-auth: remove kill -HUP from control
- create group "remote" for sshd allow groups list policy
* Mon Oct 14 2019 Igor Chudov <nir@altlinux.org> 0.0.4-alt1
- ssh-gssapi-auth added
- Package made architecture-independent
- sshd-allow-gssapi renamed to sshd-gssapi-auth
* Thu Oct 10 2019 Igor Chudov <nir@altlinux.org> 0.0.3-alt1
- ldap-tls-cert-check control for 'tls_reqcert' option
- Build fixes
* Wed Oct 09 2019 Igor Chudov <nir@altlinux.org> 0.0.2-alt1
- ldap-reverse-dns-lookup control for 'sasl_nocanon' option of OpenLDAP
* Tue Sep 17 2019 Igor Chudov <nir@altlinux.org> 0.0.1-alt1
- Initial release with `sshd-allow-gssapi` script