|
@@ -94,6 +94,11 @@ chmod 644 %{buildroot}%{_datadir}/logwatch/scripts/services/zz-fortune
|
|
|
chmod 644 %{buildroot}%{_datadir}/logwatch/scripts/services/courier
|
|
|
chmod 644 %{buildroot}%{_datadir}/logwatch/scripts/services/dpkg
|
|
|
|
|
|
+sed -i \
|
|
|
+ -e 's/\^$dovecottag /^($dovecottag )?/' \
|
|
|
+ -e '/} elsif ( ($Fatal)/i } elsif ( ($Error) = ($ThisLine =~ /^(?:$dovecottag )?.* Error: stat.* failed: Not a directory/) ) {' \
|
|
|
+ %{buildroot}%{_datadir}/logwatch/scripts/services/dovecot
|
|
|
+
|
|
|
# install cron script
|
|
|
install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily
|
|
|
cat > %{buildroot}/%{_sysconfdir}/cron.daily/0logwatch <<EOF
|
|
@@ -116,10 +121,6 @@ echo "# Local configuration options go here (defaults are in %{_datadir}/logwatc
|
|
|
echo "# Configuration overrides for specific logfiles/services may be placed here." > %{buildroot}%{_sysconfdir}/logwatch/conf/override.conf
|
|
|
|
|
|
|
|
|
-%clean
|
|
|
-rm -rf %{buildroot}
|
|
|
-
|
|
|
-
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%license LICENSE
|
|
@@ -161,6 +162,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Aug 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.11-2
|
|
|
+- new upstream release.
|
|
|
+- modified scripts for dovecot with journald.
|
|
|
+
|
|
|
* Sat Jul 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.11-1
|
|
|
- new upstream release.
|
|
|
- modified scripts for openssh >= 9.8.
|