1 |
# $Id: e-smith-hosts.spec,v 1.3 2013/11/30 11:17:55 vip-ire Exp $ |
# $Id: e-smith-hosts.spec,v 1.12 2015/02/06 21:37:09 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.4.0 |
%define version 2.4.0 |
6 |
%define release 4 |
%define release 12 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
11 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
12 |
Patch0: e-smith-hosts-2.4.0-remove_interface_swap.patch |
Patch0: e-smith-hosts-2.4.0-remove_interface_swap.patch |
13 |
Patch1: e-smith-hosts-2.4.0.comment_hostname_validator.patch |
Patch1: e-smith-hosts-2.4.0.comment_hostname_validator.patch |
14 |
|
Patch2: e-smith-hosts-2.4.0-allow_empty_comment.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: e-smith-base |
Requires: e-smith-base |
17 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
28 |
used to build the DNS and DHCP configuration. |
used to build the DNS and DHCP configuration. |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
32 |
|
- Allow empty comment when creating/modifying a hostname [SME: 9177] |
33 |
|
|
34 |
|
* Fri Feb 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
35 |
|
- Add a migrate fragment to sanitize the host comment [SME: 8723] |
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.4.0-4.sme |
* Sun Jan 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme |
40 |
- Add a validator for the comment and the hostname field [SME: 8723] |
- Add a validator for the comment and the hostname field [SME: 8723] |
41 |
|
|
1054 |
%setup |
%setup |
1055 |
%patch0 -p1 |
%patch0 -p1 |
1056 |
%patch1 -p1 |
%patch1 -p1 |
1057 |
|
%patch2 -p1 |
1058 |
|
|
1059 |
%build |
%build |
1060 |
perl createlinks |
perl createlinks |
1061 |
|
|