1 |
# $Id: e-smith-hosts.spec,v 1.9 2008/10/07 18:27:57 slords Exp $ |
# $Id: e-smith-hosts.spec,v 1.20 2015/01/18 13:06:53 stephdl Exp $ |
2 |
|
|
3 |
Summary: e-smith module for managing hosts entries |
Summary: e-smith module for managing hosts entries |
4 |
Name: e-smith-hosts |
Name: e-smith-hosts |
5 |
%define version 2.2.0 |
%define version 2.2.0 |
6 |
%define release 2 |
%define release 10 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
10 |
Group: Networking/Daemons |
Group: Networking/Daemons |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
Patch1: e-smith-hosts-2.2.0_allow_cname.patch |
Patch1: e-smith-hosts-2.2.0_allow_cname.patch |
13 |
|
Patch2: e-smith-hosts-2.2.0-host_ip_validator.patch |
14 |
|
Patch3: e-smith-hosts-2.2.0-trap_croak.patch |
15 |
|
Patch4: e-smith-hosts-2.2.0-ip-fqdn.patch |
16 |
|
Patch5: e-smith-hosts-2.2.0-ip-fqdn2.patch |
17 |
|
Patch6: e-smith-hosts-2.2.0-fix-comment.patch |
18 |
|
Patch7: e-smith-hosts-2.2.0.comment_hostname_validator.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
Requires: e-smith-base |
Requires: e-smith-base |
21 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
31 |
used to build the DNS and DHCP configuration. |
used to build the DNS and DHCP configuration. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Wed Jan 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-10.sme |
35 |
|
- Add a migrate fragment to sanitize the host comment [SME: 8806] |
36 |
|
|
37 |
|
* Sun Jan 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-9.sme |
38 |
|
- Add a validator for the comment and the hostname field [SME: 8806] |
39 |
|
|
40 |
|
* Mon Nov 29 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
41 |
|
- Sanitize comment field in tables and edit form [SME: 6408] |
42 |
|
|
43 |
|
* Mon Nov 29 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
44 |
|
- Fix double speechmarks in comment field in hostname panel [SME: 6408] |
45 |
|
|
46 |
|
* Wed Oct 20 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
47 |
|
- Update some more occurrences to also reflect the option of a FQDN [SME: 6296] |
48 |
|
|
49 |
|
* Tue Oct 19 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
50 |
|
- Update textbox description to also reflect the option of a FQDN [SME: 6296] |
51 |
|
|
52 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
53 |
|
- Trap croak inside Net::IPv4Addr::ipv4_in_network [SME: 6288] |
54 |
|
|
55 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
56 |
|
- Add validator back for ip or cname entry [SME: 3132] |
57 |
|
|
58 |
* Thu Jul 29 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme |
* Thu Jul 29 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme |
59 |
- Allow use of CNAME in remote hosts [SME: 3132] |
- Allow use of CNAME in remote hosts [SME: 3132] |
60 |
|
|
1041 |
%prep |
%prep |
1042 |
%setup |
%setup |
1043 |
%patch1 -p1 |
%patch1 -p1 |
1044 |
|
%patch2 -p1 |
1045 |
|
%patch3 -p1 |
1046 |
|
%patch4 -p1 |
1047 |
|
%patch5 -p1 |
1048 |
|
%patch6 -p1 |
1049 |
|
%patch7 -p1 |
1050 |
|
|
1051 |
%build |
%build |
1052 |
perl createlinks |
perl createlinks |