# $Id: smeserver-ezmlm-web.spec,v 1.2 2008/04/23 19:18:55 slords Exp $ # Authority: gordonr # Name: Gordon Rowell Summary: SME Server support for ezmlm-web %define name smeserver-ezmlm-web Name: %{name} %define version 1.1.2 %define release 11 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Source1: unknown.gif Patch0: smeserver-ezmlm-web-1.1.2-accountsdb.patch Patch1: smeserver-ezmlm-web-1.1.2-api.patch Patch2: smeserver-ezmlm-web-1.1.2-api.patch2 Patch3: smeserver-ezmlm-web-1.1.2-make.patch Patch4: smeserver-ezmlm-web-1.1.2-api.patch3 Patch5: smeserver-ezmlm-web-1.1.2-templatesevents.patch Patch6: smeserver-ezmlm-web-1.1.2-httpd.patch Patch7: smeserver-ezmlm-web-1.1.2-banner.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: ezmlm-idx-std Requires: e-smith-release >= 7.0 Requires: e-smith-email >= 4.4.0 Requires: ezmlm-web Requires: perl(Mail::Ezmlm) >= 0.07 Obsoletes: e-smith-ezmlm-web Provides: e-smith-ezmlm-web BuildRequires: e-smith-devtools Conflicts: e-smith-ezmlm-idx AutoReqProv: no %changelog * Wed Mar 8 2006 Gordon Rowell 1.1.2-11 - Move ezmlm-web fragment to admin web server * Wed Mar 8 2006 Gordon Rowell 1.1.2-10 - Bump e-smith-release requirement to 7.0 since we are now using the templates2expand and services2adjust * Wed Mar 8 2006 Gordon Rowell 1.1.2-09 - Fix up banner to say SME Server - TODO: Fix background colour bar * Wed Mar 8 2006 Gordon Rowell 1.1.2-08 - Fix up panel so link to ezmlm-web works - Add httpd.conf template for ezmlm-web - Reserve ezmlm-web url * Wed Mar 8 2006 Gordon Rowell 1.1.2-07 - Fix up event links, expand goodrcptto - TODO: Fix up list deletion - TODO: Store lists in accounts db as FQDN and migrate old ones * Wed Mar 8 2006 Gordon Rowell 1.1.2-06 - Add a dependency on Mail::Ezmlm * Wed Mar 8 2006 Gordon Rowell 1.1.2-05 - The newer Mail::Ezmlm breaks when passing the -5 parameter to set the owner. Do it as a separate step after list creation. - Fix up to API update - TODO: Need to expand goodrcptto in list create/delete * Fri Feb 17 2006 Charlie Brady 1.1.2-04 - Fix new_record call in previous change. * Fri Feb 17 2006 Charlie Brady 1.1.2-03 - Rewrite templates and actions to new API and templates2events * Tue Oct 25 2005 Gordon Rowell 1.1.2-02 - Fix up references to accounts db - TODO: Rewrite templates and actions to new API and templates2events * Tue Oct 25 2005 Gordon Rowell 1.1.2-01 - Package renamed to smeserver-ezmlm-web, including patches to 1.1.1-05 - TODO: Fix up accounts db references - TODO: Store mailing lists with FQDN of list * Fri Oct 4 2002 Gordon Rowell - [1.1.1-05] - post-upgrade/init-accounts does chown root:root /home/e-smith/files/* and ezmlm needs to be able to write to its home directory The permissions should be in the e-smith-base RPM spec file. Added a workaround in ezmlm-update to ensure we have the right permissions until e-smith-base is updated. * Mon Dec 31 2001 Mark Knox - [1.1.1-04] - Incorporated cosmetic changes from Daniel van Raay * Wed Oct 24 2001 Gordon Rowell - [1.1.1-03] - Added support for list owner to ezmlm-update - Removed now redundant listOptions - Adjusted Copyright notices * Wed Oct 24 2001 Gordon Rowell - [1.1.1-02] - Added link for ezmlm-web CGI script - Added action to expand /etc/ezmlm/ezmlmwebrc on email-update * Wed Oct 24 2001 Gordon Rowell - [1.1.1-01] - Rolled version number to 1.1.1-01. Includes patches upto 1.1.0-02. - Renamed to e-smith-ezmlm-web, and added Conflicts: e-smith-ezmlm-idx * Wed Oct 24 2001 Gordon Rowell - [1.1.0-02] - Major rewrite, using ezmlm-web * Wed Oct 24 2001 Gordon Rowell - [1.1.0-01] - Rolled version number to 1.1.0-01. Includes patches upto 0.1.3-19. * Fri Oct 19 2001 Gordon Rowell - [0.1.3-19] - The new "Description" field was not modified during performListModify * Thu Oct 18 2001 Gordon Rowell - [0.1.3-18] - Put back Charlie's comments describing the options * Thu Oct 18 2001 Daniel van Raay - [0.1.3-17] - Added description field for each list - Added support for adding and removing subscribers - Moving moderator list to a textbox - Fixed bug when removing a lists .qmail files * Mon Sep 03 2001 Gordon Rowell - [0.1.3-16] - Actually create a list of existingDomains for the "Create List" domain pull-down * Thu Aug 30 2001 Gordon Rowell - [0.1.3-15] - Fixed up typo in call to ezmlm-make * Thu Aug 30 2001 Gordon Rowell - [0.1.3-14] - You can now add and remove moderators - Added some text to explain the options until they become menus * Sat Aug 25 2001 Gordon Rowell - [0.1.3-13] - Added initial moderator support - You can add moderators, but not remove them, yet :-) * Sat May 26 2001 Gordon Rowell - [0.1.3-12] - Allow hyphens in list names * Wed Apr 25 2001 Gordon Rowell - [0.1.3-11] - Added domain to users/assign entries * Mon Apr 23 2001 Gordon Rowell - [0.1.3-09] - Made use of /var/qmail/users/assign. - Removed ezmlmdomain type - just use DomainName and %domains * Tue Mar 06 2001 Gordon Rowell - [0.1.3-08] - Use upper-case directory name to ease transition from manual installs * Tue Mar 06 2001 Gordon Rowell - [0.1.3-07] - Comment to smtpd_check_rules, typo in virtualdomains * Tue Mar 06 2001 Gordon Rowell - [0.1.3-06] - Added ezmlmdomain type to domains db and reworked fragments to use this * Tue Mar 06 2001 Gordon Rowell - [0.1.3-05] - Allow hypens in domain names - Fix output permissions for virtualdomains file * Mon Mar 05 2001 Gordon Rowell - [0.1.3-04] - Fixed uid swap code - Moved most system() calls to list form * Mon Mar 05 2001 Gordon Rowell - [0.1.3-03] - And create home directory too :-) * Mon Mar 05 2001 Gordon Rowell - [0.1.3-02] - Create ezmlm user if it doesn't already exist * Mon Mar 05 2001 Gordon Rowell - [0.1.3-01] - Added web panel, changed links, rebuilt tarball to remove filelist * Mon Mar 05 2001 Gordon Rowell - [0.1.2-01] - Fixed event links in tarball * Mon Mar 05 2001 Gordon Rowell - [0.1.1-01] - Initial version %description Configuration and initialisation of ezmlm-web from e-smith %prep %setup %patch0 -p1 mkdir -p root/etc/e-smith/web/common cp -f $RPM_SOURCE_DIR/unknown.gif root/etc/e-smith/web/common %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %build mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin mkdir -p root/etc/e-smith/web/panels/manager/common ln -s /home/httpd/html/ezmlm-web/index.cgi root/etc/e-smith/web/panels/manager/common/ezmlm-web perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %pre %preun %post %postun %files -f %{name}-%{version}-filelist %defattr(-,root,root)