fix config changes
(cherry picked from commit dccf80e348f2a92278deedf18fee5d81cfb48420)
This commit is contained in:
parent
5c8173b5eb
commit
6167e8fee7
@ -1,6 +1,6 @@
|
|||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.17.2
|
Version: 8.17.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A classic mail transfer agent from the Unix world
|
Summary: A classic mail transfer agent from the Unix world
|
||||||
License: Sendmail
|
License: Sendmail
|
||||||
URL: http://www.sendmail.org/
|
URL: http://www.sendmail.org/
|
||||||
@ -218,9 +218,10 @@ install -p -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/mail/mailertable
|
|||||||
install -p -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_sysconfdir}/mail/trusted-users
|
install -p -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_sysconfdir}/mail/trusted-users
|
||||||
|
|
||||||
sed -i -e 's|@@PATH@@|%{_datadir}/sendmail-cf|' $RPM_BUILD_ROOT%{_sysconfdir}/mail/sendmail.mc
|
sed -i -e 's|@@PATH@@|%{_datadir}/sendmail-cf|' $RPM_BUILD_ROOT%{_sysconfdir}/mail/sendmail.mc
|
||||||
sed -i -e 's|@@PATH@@|cf|' %{SOURCE9}
|
cp $RPM_BUILD_ROOT%{_sysconfdir}/mail/sendmail.mc cf/cf/sendmail_tmp.mc
|
||||||
m4 %{SOURCE9} > $RPM_BUILD_ROOT%{_sysconfdir}/mail/sendmail.cf
|
sed -i -e 's|%{_datadir}\/sendmail-cf|cf|' cf/cf/sendmail_tmp.mc
|
||||||
chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/mail/sendmail.cf
|
m4 cf/cf/sendmail_tmp.mc > cf/cf/sendmail.cf
|
||||||
|
install -m 644 cf/cf/sendmail.cf $RPM_BUILD_ROOT%{_sysconfdir}/mail/sendmail.cf
|
||||||
|
|
||||||
for map in virtusertable access domaintable mailertable ; do
|
for map in virtusertable access domaintable mailertable ; do
|
||||||
touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/${map}.db
|
touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/${map}.db
|
||||||
@ -468,6 +469,12 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 22 2024 xinghe <xinghe2@h-partners.com> - 8.17.2-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix config changes
|
||||||
|
|
||||||
* Wed Jul 26 2023 xinghe <xinghe2@h-partners.com> - 8.17.2-1
|
* Wed Jul 26 2023 xinghe <xinghe2@h-partners.com> - 8.17.2-1
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user