1 |
# $Id: e-smith-ldap.spec,v 1.9 2020/05/03 02:51:32 jpp Exp $ |
# $Id: e-smith-ldap.spec,v 1.11 2020/12/12 03:39:48 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LDAP module |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
%define name e-smith-ldap |
1031 |
%patch3 -p1 |
%patch3 -p1 |
1032 |
%patch4 -p1 |
%patch4 -p1 |
1033 |
|
|
1034 |
mkdir -p root/etc/e-smith/templates/etc/openldap/ssl |
mkdir -p root/etc/openldap/ssl |
1035 |
rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise |
rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise |
1036 |
|
|
1037 |
%build |
%build |
1044 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
1045 |
--file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \ |
--file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \ |
1046 |
--file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \ |
--file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \ |
1047 |
|
--file /sbin/e-smith/systemd/ldap-finish 'attr(0554,root,root)' \ |
1048 |
--file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \ |
--file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \ |
1049 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
1050 |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
1051 |
--dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \ |
--dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \ |
1052 |
--dir /var/log/ldap 'attr(0750,smelog,smelog)' \ |
--dir /var/log/ldap 'attr(0750,smelog,smelog)' \ |
1053 |
|
--dir /etc/openldap/ssl 'attr(0750,root,ldap)' \ |
1054 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
1055 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
1056 |
|
|