SPECS: eventum.spec - add helper script for postfix based mail rou...

glen glen at pld-linux.org
Sat Feb 11 06:48:37 CET 2006


Author: glen                         Date: Sat Feb 11 05:48:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add helper script for postfix based mail routing
- make route scripts executables
- add memory limits patch for routing scripts

---- Files affected:
SPECS:
   eventum.spec (1.149 -> 1.150) 

---- Diffs:

================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.149 SPECS/eventum.spec:1.150
--- SPECS/eventum.spec:1.149	Sat Feb 11 05:30:51 2006
+++ SPECS/eventum.spec	Sat Feb 11 06:48:29 2006
@@ -17,7 +17,7 @@
 # release candidate
 #define _rc		2
 
-%define	_rel	0.2
+%define	_rel	0.4
 
 %if 0%{?_rc:1}
 %define	_source http://eventum.mysql.org/eventum-1.7.0.tar.gz
@@ -52,6 +52,7 @@
 Source11:	%{name}-router-qmail.sh
 Source12:	%{name}-config-setup.php
 Source13:	%{name}-upgrade.sh
+Source14:	%{name}-router-postfix.sh
 Patch0:		%{name}-paths.patch
 Patch1:		%{name}-cvs-config.patch
 Patch2:		%{name}-irc-config.patch
@@ -72,6 +73,7 @@
 Patch19:	eventum-double-decode.patch
 Patch20:	http://glen.alkohol.ee/pld/eventum-keep-submitbutton.patch
 Patch21:	http://glen.alkohol.ee/pld/eventum-tt-unhide.patch
+Patch22:	%{name}-route-mem.patch
 URL:		http://dev.mysql.com/downloads/other/eventum/
 %{?with_pear:BuildRequires:	rpm-php-pearprov >= 4.0.2-98}
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -282,7 +284,6 @@
 Summary(pl):	Przekazywanie szkiców dla Eventum
 Group:		Applications/WWW
 Requires:	%{name} = %{version}-%{release}
-Requires:	/usr/bin/php
 Requires:	eventum(router)
 
 %description route-drafts
@@ -306,7 +307,6 @@
 Summary(pl):	Przekazywanie poczty dla Eventum
 Group:		Applications/WWW
 Requires:	%{name} = %{version}-%{release}
-Requires:	/usr/bin/php
 Requires:	eventum(router)
 
 %description route-emails
@@ -332,7 +332,6 @@
 Summary(pl):	Przekazywanie notatek dla Eventum
 Group:		Applications/WWW
 Requires:	%{name} = %{version}-%{release}
-Requires:	/usr/bin/php
 Requires:	eventum(router)
 
 %description route-notes
@@ -512,11 +511,13 @@
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 sed -e '1s,#!.*/bin/php -q,#!%{_bindir}/php,' misc/cli/eventum > %{name}-cli
 sed -e '1i#!%{_bindir}/php' misc/scm/process_cvs_commits.php > %{name}-scm
 sed -e '1i#!%{_bindir}/php' misc/irc/bot.php > %{name}-bot
 mv misc/cli/eventumrc_example eventumrc
+sed -i -e '1i#!%{_bindir}/php' misc/route_*.php
 
 sed -e '
 s,$private_key\s*=\s*".*";,$private_key = "DEFAULTPRIVATEKEYPLEASERUNSETUP!";,
@@ -617,6 +618,8 @@
 echo '| %{_libdir}/router-qmail notes' > $d/.qmail-note-default
 install %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/router-qmail
 %endif
+# postfix router
+install %{SOURCE14} $RPM_BUILD_ROOT%{_libdir}/router-postfix
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -936,15 +939,15 @@
 
 %files route-drafts
 %defattr(644,root,root,755)
-%{_appdir}/route_drafts.php
+%attr(755,root,root) %{_appdir}/route_drafts.php
 
 %files route-emails
 %defattr(644,root,root,755)
-%{_appdir}/route_emails.php
+%attr(755,root,root) %{_appdir}/route_emails.php
 
 %files route-notes
 %defattr(644,root,root,755)
-%{_appdir}/route_notes.php
+%attr(755,root,root) %{_appdir}/route_notes.php
 
 %if %{with qmail}
 %files router-qmail
@@ -955,6 +958,7 @@
 
 %files router-postfix
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/router-postfix
 
 %files irc
 %defattr(644,root,root,755)
@@ -981,6 +985,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.150  2006/02/11 05:48:29  glen
+- add helper script for postfix based mail routing
+- make route scripts executables
+- add memory limits patch for routing scripts
+
 Revision 1.149  2006/02/11 04:30:51  glen
 - add wiki link of postfix configuration
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/eventum.spec?r1=1.149&r2=1.150&f=u



More information about the pld-cvs-commit mailing list