Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lenovo-lico:lico-dep:5.1:el7
slapd-ssl-config
slapd-ssl-config.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slapd-ssl-config.spec of Package slapd-ssl-config
Name: slapd-ssl-config Version: 1.0.0 Release: 2%{?dist} Summary: Easy tool to configure slapd License: MIT BuildArch: noarch Source0: slapd.rhel.conf Source1: slapd.suse.conf Source2: slapd-gencert Source3: DB_CONFIG Source4: base.ldif %if 0%{?rhel} Requires: openldap-servers >= 2.4 Requires(post): openldap-servers >= 2.4 %endif %if 0%{?suse_version} Requires: openldap2 >= 2.4 Requires(post): openldap2 >= 2.4 %endif Requires: python2-cryptography >= 2.0 Requires(post): python2-cryptography >= 2.0 Obsoletes: %{name} < %{version}-%{release} %description Easy tool to configure slapd, include cert tool and mini configure file. %prep %build %install %if 0%{?suse_version} %{__install} -Dp -m 600 %{SOURCE1} %{buildroot}%{_sysconfdir}/openldap/slapd.conf.lico %endif %if 0%{?rhel} %{__install} -Dp -m 600 %{SOURCE3} %{buildroot}%{_localstatedir}/lib/ldap/DB_CONFIG %{__install} -Dp -m 600 %{SOURCE0} %{buildroot}%{_sysconfdir}/openldap/slapd.conf %endif %{__install} -d %{buildroot}%{_sysconfdir}/openldap/cacerts %{__install} -Dp -m 500 %{SOURCE2} %{buildroot}%{_bindir}/slapd-gencert %{__install} -Dp -m 600 %{SOURCE4} %{buildroot}%{_datadir}/openldap-servers/lico.ldif %post %{_bindir}/slapd-gencert %files %defattr(-,root,root,-) %dir %{_datadir}/openldap-servers %{_datadir}/openldap-servers/lico.ldif %dir %{_sysconfdir}/openldap %attr(-,ldap,ldap) %dir %{_sysconfdir}/openldap/cacerts %attr(-,ldap,ldap) %{_bindir}/slapd-gencert %if 0%{?suse_version} %attr(-,ldap,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.conf.lico %endif %if 0%{?rhel} %attr(-,ldap,ldap) %{_localstatedir}/lib/ldap/DB_CONFIG %config(noreplace) %attr(-,ldap,ldap) %{_sysconfdir}/openldap/slapd.conf %endif %changelog * Thu Apr 17 2018 Yunfei Shi <shiyf2@lenovo.com> - 1.0.0-2 - Fix file permission. * Thu Dec 7 2017 Yunfei Shi <shiyf2@lenovo.com> - 1.0.0-1 - Initial RPM release.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor