[packages/eventum] Drop router-postfix package

glen glen at pld-linux.org
Mon Mar 29 10:31:23 CEST 2021


commit 57d8a75fb77359dbd05a74edf4929814e218f1bb
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Mar 29 01:16:28 2021 +0300

    Drop router-postfix package
    
    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 | 17 -----------------
 eventum.spec              | 29 -----------------------------
 2 files changed, 46 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index 753d5aa..87a1c7e 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -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
diff --git a/eventum-router-postfix.sh b/eventum-router-postfix.sh
deleted file mode 100755
index 183e75d..0000000
--- a/eventum-router-postfix.sh
+++ /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"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/57d8a75fb77359dbd05a74edf4929814e218f1bb



More information about the pld-cvs-commit mailing list