# $Id: e-smith-domains.spec,v 1.6 2023/08/07 13:29:29 brianr Exp $ Summary: smeserver server and gateway - domains module %define name smeserver-domains Name: %{name} %define version 11.0.0 %define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: smeserver-base >= 4.13.15-76 Requires: perl(HTML::Tabulate) >= 0.23 Requires: smeserver-formmagick >= 1.4.0-12 BuildRequires: perl(Test::Inline) >= 0.12 BuildRequires: perl BuildRequires: smeserver-devtools >= 1.11.0-03 AutoReqProv: no Provides: e-smith-domains %description smeserver server and gateway software - domains module. %changelog * Thu Apr 04 2024 Brian Read 11.0.0-3.sme - Set license file to GPL2.0 [SME: 12577] * Sat Mar 23 2024 Brian Read 11.0.0-2.sme - Change Requires: e-smith- to Requires:smeserver- * Sat Mar 23 2024 Brian Read 11.0.0-1.sme - Update Release and Version to base version and 1st release for SME11 [SME: 12518] * Mon Mar 11 2024 rename-e-smith-pkg.sh by Trevor Batley 2.6.0-8.sme - Rename to smeserver-domains [SME: 12359] * Thu Oct 26 2023 cvs2git.sh aka Brian Read 2.6.0-7.sme - Roll up patches and move to git repo [SME: 12338] * Thu Oct 26 2023 BogusDateBot - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, by assuming the date is correct and changing the weekday. * Mon Aug 07 2023 Brian Read 2.6.0-6.sme -Fix borders around table of domains [SME: 12392] * Wed Apr 07 2021 Jean-Philippe Pialasse 2.6.0-5.sme - setup dns services on domain creation and other events [SME: 10115] * Fri Feb 26 2021 Jean-Philipe Pialasse 2.6.0-4.sme - avoid encoding of utf strings in domain table [SME: 11391] this will mess with some languages * Thu Dec 10 2020 Michel Begue 2.6.0-3.sme - Create e-smith-domains-update event [SME: 11128] * Thu May 12 2016 Daniel Berteaud 2.6.0-2.sme - Rebuild for [SME: 9393] * Fri Feb 5 2016 Daniel Berteaud 2.6.0-1.sme - Roll new stream for sme10 * Mon Jul 6 2015 stephane de Labrusse 2.4.0-3.sme - display variable name in the server-manager - $domainName, $domainDesc $domain [SME: 8842] * Thu Apr 24 2014 stephane de Labrusse 2.4.0-2.sme - Display a warning with the domain name before to remove it [SME: 8333] * Thu Jan 31 2013 Shad L. Lords 2.4.0-1.sme - Roll new stream for sme9 * Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme - Roll new stream to separate sme7/sme8 trees [SME: 4633] * Sun Apr 27 2008 Jonathan Martens 1.4.0-11 - Add common tags to e-smith-formmagick's general [SME: 4287] * Wed Mar 12 2008 Shad L. Lords 1.4.0-10 - Cleanup CREATE/ADD tag mixup [SME: 4045] * Wed Feb 13 2008 Stephen Noble 1.4.0-9 - Remove tags now in general [SME: 3926] * Fri Oct 26 2007 Charlie Brady 1.4.0-8 - Fix removal of Corporate DNS setting (take III). [SME: 3415] * Sat Oct 20 2007 Charlie Brady 1.4.0-7 - Add missing braces in last patch. [SME: 3415] * Tue Oct 16 2007 Charlie Brady 1.4.0-6 - Allow Corporate DNS settings to be removed via panel. [SME: 3415] * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Sat Jan 13 2007 Shad L. Lords 1.4.0-5 - Remove references to virtual from panels [SME: 1517] * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Thu Nov 09 2006 Gavin Weight 1.4.0-03 - Missing period at the end of the description. [SME: 1852] * Sat Aug 19 2006 Gavin Weight 1.4.0-02 - Added Text explaination for Corporate DNS Settings. [SME: 1852] * Wed Mar 15 2006 Charlie Brady 1.4.0-01 - Roll stable stream version. [SME: 1016] * Sat Feb 18 2006 Gavin Weight 1.3.3-6 - Table and columns headers not translated. [SME: 809] * Mon Jan 23 2006 Gordon Rowell 1.3.3-05 - Remove empty pre and post scriptlets. In some cases they cause package upgrade failures. [SME: 544] * Wed Nov 30 2005 Gordon Rowell 1.3.3-04 - Bump release number only * Sun Nov 27 2005 Charlie Brady - [1.3.3-03] - Regenerate tinydns data file during domain-{create,delete,modify}. [SF: 1366653] * Tue Nov 15 2005 Gordon Rowell - [1.3.3-02] - Use a single validator for domain names and complain if the validation fails. Previously hyphens passed the panel validator but failed on add (or delete). - TODO: Strengthen the regexp [SF: 1352880] * Fri Oct 14 2005 Gordon Rowell - [1.3.3-01] - Remove L10Ns from base packages [SF: 1309520] * Fri Oct 14 2005 Gordon Rowell - [1.3.2-01] - New dev stream before relocating L10Ns * Fri Sep 30 2005 Gordon Rowell - [1.3.1-05] - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] * Mon Sep 26 2005 Gordon Rowell - [1.3.1-04] - French L10N fixups (and reformat) - Thanks Didier Rambeau [SF: 1293787] * Mon Sep 26 2005 Gordon Rowell - [1.3.1-03] - Added German L10N - Thanks Dietmar Berteld [SF: 1293325] * Thu Aug 25 2005 Gordon Rowell - [1.3.1-02] - Rewrite with CGI::FormMagick and HTML::Tabulate - Added corporate DNS settings with page to change them - Update to HTML::Tabulate 0.23 so that the remove link goes away when we don't want it - Thanks to Gavin Carr for the immediate patch turnaround. - Only add "Corporate DNS Servers" to picklist if configured - Migrate all domains in domains db, defaulting system domain to 'localhost', and others to 'internet' - Remove table border, and change stripe colour to match other buttons - Add calls to signal-event for create/modify/delete - TODO: Insert name of domain to be deleted on remove page - Signal the dns-update event when DNS configuration is changed - Migrate the Nameserver property to the Nameservers * Thu Aug 25 2005 Charlie Brady - [1.3.1-01] - Roll new development stream prior to adding support for delegation to Corporate Nameservers. * Wed Jul 27 2005 Charlie Brady - [1.3.0-07] - Remove dangling tinydns-conf symlinks.[SF: 1240099] * Sat Mar 19 2005 Charlie Brady - [1.3.0-06] - Replace obsolete conf-mod_ssl symlink with fodder for generic_expand_template. * Tue Dec 28 2004 Charlie Brady - [1.3.0-05] - Set non-empty path so domain panel can restart apache. [charlieb MN00050181] * Tue Sep 28 2004 Michael Soulier - [1.3.0-04] - Updated requires with new perl dependencies. [msoulier MN00040240] * Tue Jul 13 2004 Michael Soulier - [1.3.0-03] - Added big, red reboot warning. [msoulier MN00041156] * Tue Jul 13 2004 Michael Soulier - [1.3.0-02] - Whitespace fix. * Wed Feb 4 2004 Michael Soulier - [1.3.0-01] - rolling to dev - 1.3.0 * Wed Feb 4 2004 Michael Soulier - [1.2.0-01] - rolling to stable - 1.2.0 * Mon Oct 20 2003 Michael Soulier - [1.1.0-03] - Fixed the red success message. [msoulier 9265] * Tue Sep 23 2003 Mark Knox - [1.1.0-02] - Removed reserved 'secure.domain' name as it is no longer a special case [markk 8989] * Tue Sep 23 2003 Mark Knox - [1.1.0-01] - Rolling to development stream - 1.1.0 * Sun Sep 14 2003 Charlie Brady - [1.0.0-08] - Remove xinetd-reload from domain-{create,delete,modify} events. [charlieb 9804] * Mon Aug 25 2003 Charlie Brady - [1.0.0-07] - Reconfig tinydns when adding/removing a domain. [charlieb 9642] * Tue Jun 24 2003 Gordon Rowell - [1.0.0-06] - Spanish nav bar [gordonr 9153] * Tue Jun 17 2003 Gordon Rowell - [1.0.0-05] - c&p error in change 1.0.0-02 [gordonr 8954] * Thu Jun 12 2003 Gordon Rowell - [1.0.0-04] - Added order tags to migrate fragments [gordonr 9015] * Tue Jun 10 2003 Charlie Brady - [1.0.0-03] - Fix wrong DB name in warning message. [charlieb 8954] * Tue Jun 10 2003 Charlie Brady - [1.0.0-02] - Force domain names to lower case - DNS is case insensitive. [charlieb 8954] * Thu May 8 2003 Mark Knox - [1.0.0-01] - Initial release. This module used to be part of e-smith-base. [markk 8610] %prep %setup %build LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ -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)