1 |
|
# $Id: e-smith-hosts.spec,v 1.24 2015/01/29 12:35:43 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 1.14.0 |
%define version 2.2.0 |
6 |
%define release 7 |
%define release 13 |
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 |
Patch0: e-smith-hosts-1.14.0-hostentriesformatting.patch |
Patch1: e-smith-hosts-2.2.0_allow_cname.patch |
13 |
Patch1: e-smith-hosts-1.14.0-hostentriesformatting.patch2 |
Patch2: e-smith-hosts-2.2.0-host_ip_validator.patch |
14 |
Patch2: e-smith-hosts-1.14.0-comment.patch |
Patch3: e-smith-hosts-2.2.0-trap_croak.patch |
15 |
Patch3: e-smith-hosts-1.14.0-success.patch |
Patch4: e-smith-hosts-2.2.0-ip-fqdn.patch |
16 |
Patch4: e-smith-hosts-1.14.0-thenumbers.patch |
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 |
22 |
Requires: e-smith-test >= 0.1.14 |
Requires: e-smith-test >= 0.1.14 |
23 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
24 |
|
Requires: e-smith-tinydns >= 2.2.0-2 |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
AutoReqProv: no |
AutoReqProv: no |
31 |
used to build the DNS and DHCP configuration. |
used to build the DNS and DHCP configuration. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Fri Feb 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-13.sme |
35 |
|
- Add a migrate fragment to sanitize the host comment [SME: 8806] |
36 |
|
- Code done by Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au> |
37 |
|
- and Huib <sme@artixdesign.com> |
38 |
|
|
39 |
|
* Sun Jan 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-9.sme |
40 |
|
- Add a validator for the comment and the hostname field [SME: 8806] |
41 |
|
|
42 |
|
* Mon Nov 29 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
43 |
|
- Sanitize comment field in tables and edit form [SME: 6408] |
44 |
|
|
45 |
|
* Mon Nov 29 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
46 |
|
- Fix double speechmarks in comment field in hostname panel [SME: 6408] |
47 |
|
|
48 |
|
* Wed Oct 20 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
49 |
|
- Update some more occurrences to also reflect the option of a FQDN [SME: 6296] |
50 |
|
|
51 |
|
* Tue Oct 19 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
52 |
|
- Update textbox description to also reflect the option of a FQDN [SME: 6296] |
53 |
|
|
54 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
55 |
|
- Trap croak inside Net::IPv4Addr::ipv4_in_network [SME: 6288] |
56 |
|
|
57 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
58 |
|
- Add validator back for ip or cname entry [SME: 3132] |
59 |
|
|
60 |
|
* Thu Jul 29 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme |
61 |
|
- Allow use of CNAME in remote hosts [SME: 3132] |
62 |
|
|
63 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
64 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
65 |
|
|
66 |
|
* Tue Jul 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-14 |
67 |
|
- Move single occurence HOSTTYPE back to e-smith-hosts |
68 |
|
|
69 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-13 |
70 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4280] |
71 |
|
|
72 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.14.0-12 |
73 |
|
- Remove duplicate <base> entries [SME: 3895] |
74 |
|
|
75 |
|
* Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.14.0-11 |
76 |
|
- Remove empty lexicon entry [SME: 3880] |
77 |
|
|
78 |
|
* Thu Jul 12 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-10 |
79 |
|
- Remove implicit use of GLOBAL_IP lexicon entries. [SME: 3135] |
80 |
|
|
81 |
|
* Fri Jul 06 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-9 |
82 |
|
- Remove more remnant lexicon entries. [SME: 3135] |
83 |
|
|
84 |
|
* Fri Jul 06 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-8 |
85 |
|
- Remove remnant DNS publication code and lexicon entries. [SME: 3135] |
86 |
|
|
87 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
88 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
89 |
|
|
1042 |
|
|
1043 |
%prep |
%prep |
1044 |
%setup |
%setup |
|
%patch0 -p1 |
|
1045 |
%patch1 -p1 |
%patch1 -p1 |
1046 |
%patch2 -p1 |
%patch2 -p1 |
1047 |
%patch3 -p1 |
%patch3 -p1 |
1048 |
%patch4 -p1 |
%patch4 -p1 |
1049 |
|
%patch5 -p1 |
1050 |
|
%patch6 -p1 |
1051 |
|
%patch7 -p1 |
1052 |
|
|
1053 |
%build |
%build |
1054 |
perl createlinks |
perl createlinks |