--- rpms/e-smith-hosts/sme8/e-smith-hosts.spec 2007/06/12 18:49:45 1.1 +++ rpms/e-smith-hosts/sme8/e-smith-hosts.spec 2015/02/06 21:43:11 1.25 @@ -1,21 +1,27 @@ +# $Id: e-smith-hosts.spec,v 1.24 2015/01/29 12:35:43 stephdl Exp $ + Summary: e-smith module for managing hosts entries Name: e-smith-hosts -%define version 1.14.0 -%define release 7 +%define version 2.2.0 +%define release 13 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch0: e-smith-hosts-1.14.0-hostentriesformatting.patch -Patch1: e-smith-hosts-1.14.0-hostentriesformatting.patch2 -Patch2: e-smith-hosts-1.14.0-comment.patch -Patch3: e-smith-hosts-1.14.0-success.patch -Patch4: e-smith-hosts-1.14.0-thenumbers.patch +Patch1: e-smith-hosts-2.2.0_allow_cname.patch +Patch2: e-smith-hosts-2.2.0-host_ip_validator.patch +Patch3: e-smith-hosts-2.2.0-trap_croak.patch +Patch4: e-smith-hosts-2.2.0-ip-fqdn.patch +Patch5: e-smith-hosts-2.2.0-ip-fqdn2.patch +Patch6: e-smith-hosts-2.2.0-fix-comment.patch +Patch7: e-smith-hosts-2.2.0.comment_hostname_validator.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: e-smith-base Requires: e-smith-lib >= 1.15.1-19 Requires: e-smith-test >= 0.1.14 +Requires: e-smith-formmagick >= 1.4.0-12 +Requires: e-smith-tinydns >= 2.2.0-2 BuildRequires: e-smith-devtools BuildArchitectures: noarch AutoReqProv: no @@ -25,6 +31,59 @@ e-smith module to allow the configuratio used to build the DNS and DHCP configuration. %changelog +* Fri Feb 6 2015 stephane de Labrusse 2.2.0-13.sme +- Add a migrate fragment to sanitize the host comment [SME: 8806] +- Code done by Charlie Brady +- and Huib + +* Sun Jan 18 2014 stephane de Labrusse 2.2.0-9.sme +- Add a validator for the comment and the hostname field [SME: 8806] + +* Mon Nov 29 2010 Shad L. Lords 2.2.0-8.sme +- Sanitize comment field in tables and edit form [SME: 6408] + +* Mon Nov 29 2010 Jonathan Martens 2.2.0-7.sme +- Fix double speechmarks in comment field in hostname panel [SME: 6408] + +* Wed Oct 20 2010 Jonathan Martens 2.2.0-6.sme +- Update some more occurrences to also reflect the option of a FQDN [SME: 6296] + +* Tue Oct 19 2010 Jonathan Martens 2.2.0-5.sme +- Update textbox description to also reflect the option of a FQDN [SME: 6296] + +* Sun Sep 25 2010 Shad L. Lords 2.2.0-4.sme +- Trap croak inside Net::IPv4Addr::ipv4_in_network [SME: 6288] + +* Sun Sep 25 2010 Shad L. Lords 2.2.0-3.sme +- Add validator back for ip or cname entry [SME: 3132] + +* Thu Jul 29 2010 Filippo Carletti 2.2.0-2.sme +- Allow use of CNAME in remote hosts [SME: 3132] + +* Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Tue Jul 8 2008 Jonathan Martens 1.14.0-14 +- Move single occurence HOSTTYPE back to e-smith-hosts + +* Sun Apr 27 2008 Jonathan Martens 1.14.0-13 +- Add common tags to e-smith-formmagick's general [SME: 4280] + +* Sun Feb 10 2008 Stephen Noble 1.14.0-12 +- Remove duplicate entries [SME: 3895] + +* Sat Feb 09 2008 Stephen Noble 1.14.0-11 +- Remove empty lexicon entry [SME: 3880] + +* Thu Jul 12 2007 Charlie Brady 1.14.0-10 +- Remove implicit use of GLOBAL_IP lexicon entries. [SME: 3135] + +* Fri Jul 06 2007 Charlie Brady 1.14.0-9 +- Remove more remnant lexicon entries. [SME: 3135] + +* Fri Jul 06 2007 Charlie Brady 1.14.0-8 +- Remove remnant DNS publication code and lexicon entries. [SME: 3135] + * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague @@ -983,11 +1042,13 @@ used to build the DNS and DHCP configura %prep %setup -%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 %build perl createlinks