1 |
# $Id: e-smith-hosts.spec,v 1.10 2010/07/29 14:27:43 filippocarletti Exp $ |
# $Id: e-smith-hosts.spec,v 1.12 2010/09/26 19:04:49 slords 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 4 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
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 |
Patch2: e-smith-hosts-2.2.0-host_ip_validator.patch |
14 |
|
Patch3: e-smith-hosts-2.2.0-trap_croak.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 |
27 |
used to build the DNS and DHCP configuration. |
used to build the DNS and DHCP configuration. |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
31 |
|
- Trap croak inside Net::IPv4Addr::ipv4_in_network [SME: 6288] |
32 |
|
|
33 |
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
34 |
- Add validator back for ip or cname entry [SME: 3132] |
- Add validator back for ip or cname entry [SME: 3132] |
35 |
|
|
1020 |
%setup |
%setup |
1021 |
%patch1 -p1 |
%patch1 -p1 |
1022 |
%patch2 -p1 |
%patch2 -p1 |
1023 |
|
%patch3 -p1 |
1024 |
|
|
1025 |
%build |
%build |
1026 |
perl createlinks |
perl createlinks |