]>
Commit | Line | Data |
---|---|---|
43155a4d ER |
1 | Summary: Collection of tools to make administering DNS easier |
2 | Name: dnsutl | |
3 | Version: 1.8 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: Applications | |
7 | Source0: http://dl.sourceforge.net/dnsutl/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 10f47572221b7376a07449ac0ff62fdc | |
9 | URL: http://dnsutl.sourceforge.net/ | |
10 | BuildRequires: bison | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
395c0674 ER |
13 | %define _bindir %{_prefix}/sbin |
14 | ||
43155a4d ER |
15 | %description |
16 | The dnsutl package is a collection tools to make administering DNS | |
17 | easier. | |
18 | ||
19 | These include: | |
20 | - dns-rev: Take the forward DNS mapping and generate the reverse | |
21 | mapping. This is useful for producing a self-consistent DNS | |
22 | configuration. | |
23 | - dns-ethers: By using a bogus record type, you can keep the MAC | |
24 | address with the IP address, and generate the /etc/ethers file. | |
25 | - dns-hosts: Take the forward DNS mapping and generate the /etc/hosts | |
26 | file. | |
27 | - dns-bootp: Using the MAC and IP information, you can generate the | |
28 | /etc/bootptab file. | |
29 | - dns-ng: Take the forward DNS mapping and generate the /etc/netgroup | |
30 | file. | |
31 | - dns-bootparams: Using the MAC and IP information, you can generate | |
32 | the Sun /etc/bootparams file. | |
33 | - dns-boot-check: Check your named(8) configuration for self- | |
34 | consistency. | |
35 | - dns-hosts-import: Turn your /etc/hosts file into a DNS forward map, | |
36 | as a first step to configuring your DNS server. | |
37 | - dns-dhcp: Using the MAC and IP information, you can generate the | |
38 | /etc/dhcp.conf file. | |
39 | ||
40 | All of these programs are both faster than shell scripts, and more | |
41 | robust when faced with all the peculiar semantics of DNS resource | |
42 | files. They even understand the $include directive. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %configure | |
49 | %{__make} -j1 | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
54 | %{__make} install -j1 \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc README | |
63 | %attr(755,root,root) %{_bindir}/dns-boot-check | |
64 | %attr(755,root,root) %{_bindir}/dns-bootp | |
65 | %attr(755,root,root) %{_bindir}/dns-bootparams | |
66 | %attr(755,root,root) %{_bindir}/dns-dhcp | |
67 | %attr(755,root,root) %{_bindir}/dns-ethers | |
68 | %attr(755,root,root) %{_bindir}/dns-ethers-import | |
69 | %attr(755,root,root) %{_bindir}/dns-filter | |
70 | %attr(755,root,root) %{_bindir}/dns-hosts | |
71 | %attr(755,root,root) %{_bindir}/dns-hosts-import | |
72 | %attr(755,root,root) %{_bindir}/dns-ng | |
73 | %attr(755,root,root) %{_bindir}/dns-rev | |
74 | %{_mandir}/man1/dns-boot-check.1* | |
75 | %{_mandir}/man1/dns-bootp.1* | |
76 | %{_mandir}/man1/dns-bootparams.1* | |
77 | %{_mandir}/man1/dns-dhcp.1* | |
78 | %{_mandir}/man1/dns-ethers-import.1* | |
79 | %{_mandir}/man1/dns-ethers.1* | |
80 | %{_mandir}/man1/dns-filter.1* | |
81 | %{_mandir}/man1/dns-hosts-import.1* | |
82 | %{_mandir}/man1/dns-hosts.1* | |
83 | %{_mandir}/man1/dns-license.1* | |
84 | %{_mandir}/man1/dns-ng.1* | |
85 | %{_mandir}/man1/dns-rev.1* |