[521] | 1 | Summary: The configuration files for setting up a caching name server. |
---|
| 2 | Summary(ja): キャッシュネームサーバ用の設定ファイル |
---|
| 3 | Name: caching-nameserver |
---|
| 4 | Version: 7.1 |
---|
[3516] | 5 | Release: 11%{_dist_release} |
---|
[521] | 6 | License: Public Domain |
---|
| 7 | Group: System Environment/Daemons |
---|
| 8 | Source0: ftp://ftp.internic.com/domain/named.root |
---|
| 9 | Source2: named.local |
---|
| 10 | Source3: named.conf |
---|
| 11 | Source4: Copyright.caching-nameserver |
---|
| 12 | Source5: localhost.zone |
---|
| 13 | Requires: bind |
---|
| 14 | Prereq: bind textutils grep |
---|
| 15 | BuildRoot: %{_tmppath}/caching-nameserver-root |
---|
| 16 | BuildArch: noarch |
---|
| 17 | |
---|
[3507] | 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | |
---|
[521] | 21 | %description |
---|
| 22 | The caching-nameserver package includes the configuration files which |
---|
| 23 | will make BIND, the DNS name server, act as a simple caching nameserver. |
---|
| 24 | Many users on dialup connections use this package along with BIND for |
---|
| 25 | such a purpose. |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | caching-nameserver パッケージは BIND (DNS ネームサーバ) をシンプルな |
---|
| 29 | キャッシュサーバとして動作させるための設定ファイルを含んでいます。 |
---|
| 30 | ダイアルアップで接続している多くのユーザーは、上記のような目的でこの |
---|
| 31 | パッケージを BIND と一緒に使用しています。 |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -c -T |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | mkdir -p $RPM_BUILD_ROOT/{etc,var/named} |
---|
| 39 | |
---|
| 40 | install -m 644 %{SOURCE0} $RPM_BUILD_ROOT/var/named/named.ca |
---|
| 41 | install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/named/named.local |
---|
| 42 | install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/var/named/localhost.zone |
---|
| 43 | install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/named.conf |
---|
| 44 | install -m 644 %{SOURCE4} ./Copyright |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %post |
---|
| 50 | if ! grep ^nameserver /etc/resolv.conf >/dev/null 2>&1 ; then |
---|
| 51 | echo "nameserver 127.0.0.1" >> /etc/resolv.conf |
---|
| 52 | fi |
---|
| 53 | if ! grep -q "^key" /etc/named.conf; then |
---|
| 54 | if [ -f /etc/rndc.conf ]; then |
---|
| 55 | KEY=`cat /etc/rndc.conf |grep secret |head -n1` |
---|
| 56 | if [ -n "$KEY" ]; then |
---|
| 57 | cat >>/etc/named.conf <<EOF |
---|
| 58 | key "key" { |
---|
| 59 | algorithm hmac-md5; |
---|
| 60 | $KEY |
---|
| 61 | }; |
---|
| 62 | EOF |
---|
| 63 | fi |
---|
| 64 | fi |
---|
| 65 | fi |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %defattr(-,root,root) |
---|
| 69 | %config(noreplace) /etc/named.conf |
---|
| 70 | %defattr(-,named,named) |
---|
| 71 | %config /var/named/named.ca |
---|
| 72 | %config /var/named/named.local |
---|
| 73 | %config /var/named/localhost.zone |
---|
| 74 | %defattr(-,root,root) |
---|
| 75 | %doc Copyright |
---|
| 76 | |
---|
| 77 | %changelog |
---|
[3516] | 78 | * Sun Apr 17 2011 IWAI, Masaharu <iwai@alib.jp> 7.1-11 |
---|
| 79 | - update named.root (Source0): add IPv6 address |
---|
| 80 | - update description |
---|
| 81 | |
---|
[3507] | 82 | * Sun Aug 2 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 7.1-10 |
---|
| 83 | - fix typo named.conf |
---|
| 84 | - add Vendor/Distribution tag |
---|
[521] | 85 | |
---|
[3507] | 86 | * Sat Aug 1 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 7.1-9 |
---|
| 87 | - update Source3 (named.conf) to secure default setting |
---|
| 88 | - new versioning policy |
---|
| 89 | |
---|
| 90 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 7.1-4vl5 |
---|
| 91 | - applied new versioning policy, spec in utf-8 |
---|
| 92 | |
---|
[521] | 93 | * Mon Nov 26 2007 IWAI, Masaharu <iwai@alib.jp> 7.1-3vl8 |
---|
| 94 | - update named.root (Source0) for changing the L.ROOTSERVERS.NET's IP Address. |
---|
| 95 | |
---|
| 96 | * Mon Jul 16 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 7.1-3vl7 |
---|
| 97 | - rebuild with new toolchains and environment. |
---|
| 98 | - s/Copyright/License/ |
---|
| 99 | - add japanese description and summary. |
---|
| 100 | |
---|
| 101 | * Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-3vl6 |
---|
| 102 | - rebuilt |
---|
| 103 | |
---|
| 104 | * Fri Feb 13 2004 Kunio Murasawa <murasawa@fa2.so-net.ne.jp> 7.1-3vl5 |
---|
| 105 | - update named.root (zone serial # 2004012900) |
---|
| 106 | |
---|
| 107 | * Thu Nov 14 2002 Kunio Murasawa <murasawa@fa2.so-net.ne.jp> 7.1-3vl4 |
---|
| 108 | - update named.root (zone serial # 2002110501) from internic |
---|
| 109 | |
---|
| 110 | * Thu Nov 14 2002 IWAI Masaharu <iwai@alib.jp> 7.1-3vl3 |
---|
| 111 | - update named.root (Source0) for changing the J.ROOTSERVERS.NET's IP Address. |
---|
| 112 | |
---|
| 113 | * Wed Jun 6 2001 Jun Nishii <jun@vinelinux.org> |
---|
| 114 | - 7.1-3vl2 |
---|
| 115 | - check the existence of rndc.conf in %post script |
---|
| 116 | |
---|
| 117 | * Thu May 31 2001 Jun Nishii <jun@vinelinux.org> |
---|
| 118 | - 7.1-3vl1 |
---|
| 119 | - build for VineSeed |
---|
| 120 | |
---|
| 121 | * Tue Mar 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 122 | - Remove extra ";" (#31382) |
---|
| 123 | |
---|
| 124 | * Thu Mar 1 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 125 | - Don't add key { } stuff if it's already there |
---|
| 126 | (e.g. update from beta to final) |
---|
| 127 | |
---|
| 128 | * Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 129 | - Add key { } stuff to named.conf so rndc works out of the box |
---|
| 130 | |
---|
| 131 | * Mon Feb 12 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 132 | - change to noreplace configs in /etc #21651 |
---|
| 133 | |
---|
| 134 | * Tue Aug 8 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 135 | - docu owned by root now |
---|
| 136 | |
---|
| 137 | * Mon Aug 7 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 138 | - add default TTL to shut up warning message |
---|
| 139 | - add "localhost" zone |
---|
| 140 | |
---|
| 141 | * Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 142 | - changing /var/named/* to root was silly - reverted |
---|
| 143 | |
---|
| 144 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 145 | - automatic rebuild |
---|
| 146 | |
---|
| 147 | * Mon Jul 3 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 148 | - change ownerships back to root:root. normally nobody should |
---|
| 149 | need to change these files and they never have to be updated |
---|
| 150 | by the named server himself. |
---|
| 151 | |
---|
| 152 | * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 153 | - rebuild in new environment |
---|
| 154 | |
---|
| 155 | * Tue Apr 18 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 156 | - change ownerships to named.named |
---|
| 157 | |
---|
| 158 | * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 159 | - if there are no nameserver lines in /etc/resolv.conf, add one |
---|
| 160 | - add a Copyright file |
---|
| 161 | |
---|
| 162 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 163 | - auto rebuild in the new build environment (release 2) |
---|
| 164 | |
---|
| 165 | * Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 166 | - rebuilt for the 6.0 |
---|
| 167 | |
---|
| 168 | * Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 169 | - install bind-8.1.2 named.conf |
---|
| 170 | |
---|
| 171 | * Mon May 04 1998 Donnie Barnes <djb@redhat.com> |
---|
| 172 | - upgraded from 1.1 to 5.1 to make caching-nameserver version the same |
---|
| 173 | as the version of Red Hat that it runs on. |
---|
| 174 | - updated named.root |
---|
| 175 | |
---|
| 176 | * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com> |
---|
| 177 | - updated named.root to latest |
---|
| 178 | - updated copyright |
---|
| 179 | |
---|
| 180 | * Tue Sep 23 1997 Erik Troan <ewt@redhat.com> |
---|
| 181 | - made a noarch package |
---|