# $Id: e-smith-ibays.spec,v 1.9 2008/10/07 18:29:00 slords Exp $ Summary: e-smith server and gateway - ibays module %define name e-smith-ibays Name: %{name} %define version 2.0.0 %define release 2 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Patch1: e-smith-ibays-2.0.0-maxLength.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base >= 4.13.15-76 Requires: perl(CGI::FormMagick) Requires: e-smith-formmagick >= 1.4.0-12 Conflicts: e-smith-apache < 0.1.1 BuildRequires: perl, perl(Test::Inline) BuildRequires: e-smith-devtools >= 1.11.0-03 AutoReqProv: no %description e-smith server and gateway software - ibays module. %changelog * Mon Oct 13 2008 Shad L. Lords 2.0.0-2.sme - Fix maxIbayNameLength logic [SME: 4457] * Tue Oct 7 2008 Shad L. Lords 2.0.0-1.sme - Roll new stream to separate sme7/sme8 trees [SME: 4633] * Sun Jul 27 2008 Jonathan Martens 1.2.0-12 - Fix password verify entry text box description [SME: 4460] * Thu Jul 24 2008 Shad L. Lords 1.2.0-11 - Really fix faulty patch for maxIbayNameLength [SME: 4457] * Fri May 9 2008 Jonathan Martens 1.2.0-10 - Fixed faulty patch for maxIbayNameLength [SME: 424] * Sun Apr 27 2008 Jonathan Martens 1.2.0-9 - Add common tags to e-smith-formmagick's general [SME: 4283] * Fri Apr 17 2008 Jonathan Martens 1.2.0-8 - Move maxIbayNameLength from ibays.pm to config DB [SME: 424] * Mon Apr 7 2008 Charlie Brady 1.2.0-7 - Include index.shtml in DirectoryIndex list.[SME: 4180] * Wed Feb 13 2008 Stephen Noble 1.2.0-6 - Remove tags now in general [SME: 3924] * Thu Aug 30 2007 Charlie Brady - Fix warnings generated by panel. [SME: 1309] * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Fri Dec 08 2006 Shad L. Lords 1.2.0-4 - Make non-dynamic indexes not look for dynamic content. [SME: 1908] * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Wed Apr 5 2006 Gordon Rowell 1.2.0-02 - Fix typo in ibays http.conf template [SME: 1173] * Wed Mar 15 2006 Charlie Brady 1.2.0-01 - Roll stable stream version. [SME: 1016] * Thu Feb 23 2006 Charlie Brady 1.1.3-06 - Fix php register_globals directive. [SME: 820] * Thu Jan 19 2006 Charlie Brady 1.1.3-05 - Remove bogus IbayPlugin symlink. [SME: 519] * Wed Nov 30 2005 Gordon Rowell 1.1.3-04 - Bump release number only * Sun Oct 16 2005 Gordon Rowell - [1.1.3-03] - Allow per-ibay override for PHP register_globals setting. To enable: /sbin/e-smith/db accounts setprop PHPRegisterGlobals enabled Thanks John Bennett [SF: 1328236] * Fri Oct 14 2005 Charlie Brady - [1.1.3-02] - Fix missing 'use esmith::util' in ibay-modify action. [SF: 1327138] * Fri Oct 14 2005 Gordon Rowell - [1.1.3-01] - Remove L10Ns from base packages [SF: 1309520] * Fri Oct 14 2005 Gordon Rowell - [1.1.2-01] - New dev stream before relocating L10Ns * Thu Oct 6 2005 Charlie Brady - [1.1.1-18] - Strip out plugin stuff, for now at least. [SF: 1304496] * Fri Sep 30 2005 Gordon Rowell - [1.1.1-17] - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] * Mon Sep 26 2005 Gordon Rowell - [1.1.1-16] - Added German L10N - Thanks Dietmar Berteld [SF: 1293325] * Wed Sep 14 2005 Tony Clayton - [1.1.1-15] - Don't version 'none' plugin [SF: 1292084] * Mon Sep 5 2005 Tony Clayton - [1.1.1-14] - Add dependency on e-smith-formmagick >= 1.3.0-10 - Fix default plugin display [SF: 1271745,1263740] - Clean up, add POD to IbayPlugin modules [SF: 1263740] - Support versioning of plugins, do version checks in ibay panel * Wed Aug 24 2005 Charlie Brady - [1.1.1-13] - Default plugin to none in esFM::ibay::create_ibay(). [SF: 1267897] * Mon Aug 22 2005 Charlie Brady - [1.1.1-12] - Fix missing "use esmith::util" in ibay plugin lib. [SF: 1265684] - Don't display ibay Plugin choice if "none" is the only choice. [SF: 1263740] * Fri Aug 19 2005 Gordon Rowell - [1.1.1-11] - Need to check $ibay->prop('type') not $ibay->type [SF: 1260237] * Tue Aug 9 2005 Shad Lords - [1.1.1-10] - Remove 90e-smithAccess10common (belongs in e-smith-apache) - Move some ibay options to database * Thu Aug 4 2005 Gordon Rowell - [1.1.1-09] - Syntactic fix to perl code from 1.1.1-08 change * Thu Jul 28 2005 Charlie Brady - [1.1.1-08] - Update all uses of deprecated esmith::config and db_ APIs. - Rewrite ibay-delete action in shell. * Wed Jan 19 2005 Charlie Brady - [1.1.1-07] - Fix untaint RE. [charlieb MN00050161] - Fix "will not stay shared" warnings in IbayPlugin/none.pm * Thu Nov 11 2004 Charlie Brady - [1.1.1-06] - Untaint name before using in system(). [charlieb MN00050161] * Fri Sep 3 2004 Charlie Brady - [1.1.1-05] - Updated requires with new perl dependencies. [msoulier MN00040240] - Clean BuildRequires. [charlieb MN00043055] * Fri Feb 6 2004 Michael Soulier - [1.1.1-04] - Fixed two issues with previous change. [msoulier 7475] * Fri Feb 6 2004 Michael Soulier - [1.1.1-03] - Updating default repair method to set CGIs as executable if enabled. [msoulier 7475] * Wed Nov 19 2003 Tony Clayton - [1.1.1-02] - Fix processTemplate call in IbayPlugin::none [tonyc 9924] - Merge ibay-conf-plugin into ibay-modify action [tonyc 9924] * Wed Nov 19 2003 Michael Soulier - [1.1.1-01] - Collecting patches. * Wed Nov 19 2003 Michael Soulier - [1.1.0-02] - Adding 6.0 styling to ibay panel. [msoulier 10415] - Converted createlinks to new api. - Add IbayPlugin stuff [tonyc 9924] - Add dependency on perl-CGI-FormMagick >= 0.91-04 [tonyc 9924] * Fri Sep 5 2003 Tony Clayton - [1.1.0-01] - Changing version to development stream number - 1.1.0 - Rolling to development stream [tonyc 9924] * Wed Aug 13 2003 Michael Soulier - [1.0.3-05] - Fixed the content ibay showing up in the ibay list of the primary domain's virtual host block. [msoulier 9649] * Wed Aug 13 2003 Michael Soulier - [1.0.3-04] - Correcting the previous revision, and limiting ibay access as sub-urls to the primary domain only. [msoulier 9649] * Wed Aug 6 2003 Michael Soulier - [1.0.3-03] - Unify ibay handling, since 15PrimaryContent is now obsolete, and changing the primary domain's content was breaking access to ibays. [msoulier 9649] * Wed Jul 2 2003 Charlie Brady - [1.0.3-02] - Fix path of created starter website index file (don't rely on symlink which "should" point to correct place). [charlieb 9241] * Thu Jun 12 2003 Gordon Rowell - [1.0.3-01] - Added order to migrate fragments [gordonr 9015] * Wed Jun 11 2003 Gordon Rowell - [1.0.2-04] - Fixed Conflicts header - should be <, not <= [gordonr 8903] * Wed Jun 11 2003 Gordon Rowell - [1.0.2-03] - Missing 'use esmith::util' [gordonr 8973] * Tue Jun 10 2003 Charlie Brady - [1.0.2-02] - Fix broken symlinks in post-{install,upgrade}. [charlieb 8973] * Fri Jun 6 2003 Gordon Rowell - [1.0.2-01] - Shuffled some httpd.conf fragments from e-smith-apache [gordonr 8903] * Tue May 27 2003 Charlie Brady - [1.0.1-01] - Fix typo in createlinks script. Rolling version of package to correct build problem. [charlieb 8841] * Tue May 27 2003 Charlie Brady - [1.0.0-02] - Add some code from init-accounts action which depends on /home/e-smith/files/ibays directory, which isn't included in base. New action is init-ibays. [charlieb 8841] * Thu May 8 2003 Mark Knox - [1.0.0-01] - Initial release. Split out from e-smith-base. [markk 8610] %prep %setup %patch1 -p1 %pre %post %build # Force creation of potentially empty directories mkdir -p root/etc/e-smith/skel/ibay/{cgi-bin,files,html,.AppleDesktop} mkdir -p root/etc/e-smith/skel/e-smith/files/ibays mkdir -p root/etc/e-smith/web/{common,functions} mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} mkdir -p root/home/e-smith/files/ibays LEXICONS=$(find root/etc/e-smith/web/functions \ -type f | grep -v CVS | grep -v pleasewait) for lexicon in $LEXICONS do /sbin/e-smith/validate-lexicon $lexicon done /sbin/e-smith/generate-lexicons 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}-%{release}-filelist echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-%{release}-filelist %defattr(-,root,root)