]> git.pld-linux.org Git - packages/eventum.git/commitdiff
Drop router-postfix package
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Mar 2021 22:16:28 +0000 (01:16 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Mar 2021 22:17:16 +0000 (01:17 +0300)
The used script router-postfix.sh is broken for many versions

The recommended routing mechanism is to use download mails script

eventum-router-postfix.sh [deleted file]
eventum.spec

diff --git a/eventum-router-postfix.sh b/eventum-router-postfix.sh
deleted file mode 100755 (executable)
index 183e75d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-case "$1" in
-emails|emails\ *)
-       TYPE="emails"
-       ARG="${1#* }"
-       ;;
-drafts|notes)
-       TYPE="$1"
-;;
-*)
-       echo >&2 "Invalid type: $1"
-       exit 78
-esac
-
-
-exec /usr/share/eventum/bin/route_$TYPE.php "$ARG"
index 753d5aa24e31a5cc6d5b3194b8b05752368ab222..87a1c7e426b525a21c849307136dbb7492b3bb92 100644 (file)
@@ -22,7 +22,6 @@ Source3:      %{name}-mail-download.cron
 Source4:       %{name}-reminder.cron
 Source5:       %{name}-monitor.cron
 Source10:      sphinx.crontab
-Source13:      %{name}-router-postfix.sh
 Source14:      %{name}.logrotate
 Source15:      %{name}-lighttpd.conf
 Source16:      http://www.isocra.com/images/updown2.gif
@@ -232,27 +231,6 @@ testów uprawnień i plików w Monitor::checkConfiguration().
 
 Ten pakiet zawiera zadanie dla crona.
 
-%package router-postfix
-Summary:       Eventum Mail Routing - Postfix
-Summary(pl.UTF-8):     Przekazywanie poczty Eventum - Postfix
-Group:         Applications/Mail
-Requires:      %{name} = %{version}-%{release}
-Requires:      postfix
-
-%description router-postfix
-This package provides way of routing notes and emails back to Eventum
-via Postfix.
-
-The Postfix configuration instructions you can find from
-<https://github.com/eventum/eventum/blob/v%{version}/docs/wiki/System-Admin/Setting-up-email-routing-with-postfix.md>
-
-%description router-postfix -l pl.UTF-8
-Ten pakiet udostępnia metodę przekazywania notatek i listów do Eventum
-przez Postfiksa.
-
-Opis konfiguracji Postfiksa można znaleźć pod adresem
-<https://github.com/eventum/eventum/blob/v%{version}/docs/wiki/System-Admin/Setting-up-email-routing-with-postfix.md>
-
 %package sphinx
 Summary:       Eventum Sphinx Search
 Group:         Applications/WWW
@@ -363,9 +341,6 @@ cp -p %{SOURCE10} $RPM_BUILD_ROOT/etc/cron.d/%{name}-sphinx
 
 cp -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
-# postfix router
-install -p %{SOURCE13} $RPM_BUILD_ROOT%{_libdir}/router-postfix
-
 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
 %find_lang %{name}
@@ -545,10 +520,6 @@ fi
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-monitor
 
-%files router-postfix
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/router-postfix
-
 %files sphinx
 %defattr(644,root,root,755)
 %{_webappdir}/sphinx.conf.php
This page took 0.102648 seconds and 4 git commands to generate.