@@ -16,6 +16,8 @@
|
||||
<Archive sha1sum="9204940f8cd80910a1d0e80c9bc1b946eb6e730d" type="targz">https://fedorahosted.org/releases/n/e/newt/newt-0.52.17.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency versionFrom="8.6.0">tcl-devel</Dependency>
|
||||
<Dependency>slang-devel</Dependency>
|
||||
<Dependency>popt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -23,6 +25,8 @@
|
||||
<Name>newt</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency versionFrom="8.6.0">tcl</Dependency>
|
||||
<Dependency>slang</Dependency>
|
||||
<Dependency>popt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0/ModemManager-1.0.gir</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d/</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d/</Path>
|
||||
<Path fileType="data">/etc/dbus-1/system.d/</Path>
|
||||
<Path fileType="library">/usr/lib/ModemManager</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/ModemManager-1.0.typelib</Path>
|
||||
@@ -72,7 +72,6 @@
|
||||
<Name>libmm-glib-devel</Name>
|
||||
<Summary>Development files for libmm-glib</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>ModemManager-devel</Dependency>
|
||||
<Dependency release="current">libmm-glib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
<Dependency>libuuid-devel</Dependency>
|
||||
<Dependency>libgudev1-devel</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
<Dependency versionFrom="0.9.2">ConsoleKit-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
<Archive sha1sum="1a0b02788d522f2137d0b66c749ffe6c96cceb94" type="targz">http://www.netservers.net.uk/gpl/ppp-dhcpc.tgz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libpcap-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">gentoo/02_all_make-vars.patch</Patch>
|
||||
@@ -50,6 +52,8 @@
|
||||
<Name>ppp</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libpcap</Dependency>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency>libnl-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">ubuntu/01_use_pkg-config_for_pcsc-lite_module.patch</Patch>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure()
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmbim</Name>
|
||||
<Homepage>http://www.freedesktop.org/wiki/Software/libmbim/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>MBIM modem protocol helper library.</Summary>
|
||||
<Description>libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.</Description>
|
||||
<Archive sha1sum="6d9c9eb292f5b5284cba1a11fd9747e8e1de145e" type="tarxz">http://www.freedesktop.org/software/libmbim/libmbim-1.6.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmbim</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin/</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc/</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libmbim</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmbim-devel</Name>
|
||||
<Summary>libmbim için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmbim</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include/libmbim-glib/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2014-01-20</Date>
|
||||
<Version>1.6.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmbim</Name>
|
||||
<Summary xml:lang="en">MBIM modem protocol helper library.</Summary>
|
||||
<Description xml:lang="en">libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmbim-devel</Name>
|
||||
<Summary xml:lang="tr">libmbim için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--prefix=/usr \
|
||||
--disable-static \
|
||||
--with-tests \
|
||||
--libexecdir=/usr/lib/libqmi")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libqmi</Name>
|
||||
<Homepage>http://www.freedesktop.org/wiki/Software/libqmi/</Homepage>
|
||||
<Packager>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>QMI modem protocol helper library</Summary>
|
||||
<Description>libqmi is a glib-based library for talking to WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.</Description>
|
||||
<Archive sha1sum="55d051e2bb0996218ee7e419ca255476a55e9c9b" type="tarxz">http://www.freedesktop.org/software/libqmi/libqmi-1.8.0.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libqmi</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libqmi/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libqmi-devel</Name>
|
||||
<Summary>Development files for libqmi</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libqmi</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig/qmi-glib.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2014-01-19</Date>
|
||||
<Version>1.8.0</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libqmi</Name>
|
||||
<Summary xml:lang="en">QMI modem protocol helper library</Summary>
|
||||
<Description xml:lang="en">libqmi is a glib-based library for talking to WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libqmi-devel</Name>
|
||||
<Summary xml:lang="en">Development files for libqmi</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR='%s'" % get.installDIR())
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libnfnetlink</Name>
|
||||
<Homepage>http://www.netfilter.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Low level library for netfilter related kernel/userspace communication</Summary>
|
||||
<Description>libnfnetlink provides a generic messaging infrastructure for in-kernel netfilter subsystems.</Description>
|
||||
<Archive sha1sum="27ae2dfbd976e28cb7a417f9e946c901f512dd9a" type="tarbz2">http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-1.0.1.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libnfnetlink</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libnfnetlink-devel</Name>
|
||||
<Summary>Development files for libnfnetlink</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libnfnetlink</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig/libnfnetlink.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-03-13</Date>
|
||||
<Version>1.0.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-04</Date>
|
||||
<Version>1.0.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libnfnetlink</Name>
|
||||
<Summary xml:lang="tr">Ağ filtreleme işlemleri ile ilgili çekirdek/uygulama iletişimi için alt seviye bir kitaplık</Summary>
|
||||
<Summary xml:lang="pl">Niskopoziomowa biblioteka do netfilter</Summary>
|
||||
<Description xml:lang="tr">libnfnetlink, çekirdek içi ağ filtreleme alt sistemleri için jenerik bir mesajlaşma altyapısı sunar.</Description>
|
||||
<Description xml:lang="pl">libnfnetlink to niskopoziomowa biblioteka do związanej z netfiltrem komunikacji między jądrem a przestrzenią użytkownika. Udostępnia ogólną infrastrukturę komunikatów dla podsystemów netfiltra w jądrze oraz ich użytkowników i/lub narzędzi zarządzających w przestrzeni użytkownika.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libnfnetlink-devel</Name>
|
||||
<Summary xml:lang="tr">libnfnetlink için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe do bibliioteki libnfnetlink</Summary>
|
||||
</Package>
|
||||
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-shared \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README.md", "TODO")
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>geoip</Name>
|
||||
<Homepage>http://www.maxmind.com/geoip/api/c.shtml</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>C library for country/city/organization to IP address or hostname mapping</Summary>
|
||||
<Description>GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from.</Description>
|
||||
<Archive sha1sum="0b8ed5f098a6e079cccd59a57d02cf4dad41cf65" type="targz">https://github.com/maxmind/geoip-api-c/releases/download/v1.6.2/GeoIP-1.6.2.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>geoip</Name>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/GeoIP</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>geoip-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">geoip</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-07-14</Date>
|
||||
<Version>1.6.2</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-06-12</Date>
|
||||
<Version>1.5.1</Version>
|
||||
<Comment>rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-23</Date>
|
||||
<Version>1.5.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-05-30</Date>
|
||||
<Version>1.4.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>geoip</Name>
|
||||
<Summary xml:lang="tr">Ülke/şehir/organizasyon adı ile IP adresi veya makine adı eşleştirmesi için C kitaplığı</Summary>
|
||||
<Description xml:lang="tr">GeoIP, herhangi bir IP adresinin veya makine adının hangi ülkeye ait olduğunu bulmak için kullanılan bir C kitaplığıdır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>geoip-devel</Name>
|
||||
<Summary xml:lang="tr">Geoip için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "NEWS", "README")
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libIDL</Name>
|
||||
<Homepage>http://www.gnome.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>CORBA tree builder</Summary>
|
||||
<Description>libIDL provides parsing .idl files and generate errors and warning messages in gcc-like format.</Description>
|
||||
<Archive sha1sum="abedf091bef0c7e65162111baf068dcb739ffcd3" type="tarbz2">mirrors://gnome/libIDL/0.8/libIDL-0.8.14.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libIDL</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libIDL-devel</Name>
|
||||
<Summary>Development files for libIDL</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libIDL</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/libIDL-config-2</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>0.8.14</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>0.8.14</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.8.14</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libIDL</Name>
|
||||
<Summary xml:lang="tr">CORBA ağacı inşa aracı</Summary>
|
||||
<Summary xml:lang="fr">Constructeur d'arbre CORBA</Summary>
|
||||
<Description xml:lang="tr">libIDL .idl dosyalarını ayrıştırmayı sağlar ve gcc biçimine benzer hata ve uyarı mesajları üretir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,78 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
#~ WorkDir="%s-%s" % (get.srcNAME(), get.srcVERSION().replace("_", "-").upper())
|
||||
|
||||
BINDDIR="/var/named"
|
||||
CHROOT="%s/chroot" % BINDDIR
|
||||
|
||||
shelltools.export("CPPFLAGS", "%s -DDIG_SIGCHASE" % get.CXXFLAGS())
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("m4")
|
||||
# Fix PATHs in manpages
|
||||
pisitools.dosed("bin/named/named.8", "/etc/named.conf", "/etc/bind/named.conf")
|
||||
pisitools.dosed("bin/check/named-checkconf.8", "/etc/named.conf", "/etc/bind/named.conf")
|
||||
pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.conf", "/etc/bind/rndc.conf")
|
||||
pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.key", "/etc/bind/rndc.key")
|
||||
|
||||
# Adjust version
|
||||
pisitools.dosed("version", "^RELEASEVER=.*$", "RELEASEVER=Pisi Linux-1.0")
|
||||
|
||||
libtools.libtoolize("-cf")
|
||||
autotools.aclocal("-I m4")
|
||||
autotools.autoreconf("-vfi")
|
||||
|
||||
autotools.configure("--localstatedir=/var \
|
||||
--sysconfdir=/etc/bind \
|
||||
--with-openssl \
|
||||
--with-libtool \
|
||||
--with-pic \
|
||||
--with-randomdev=/dev/urandom \
|
||||
--enable-linux-caps \
|
||||
--enable-threads \
|
||||
--includedir=/usr/include/bind9 \
|
||||
--enable-ipv6 \
|
||||
--enable-largefile \
|
||||
--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make("-j1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# Prepare chroot jail
|
||||
for d in ("dev", "etc/bind", "etc/pki/dnssec-keys", "lib/bind", "var/tmp", "var/log", "var/run/named", "var/named"):
|
||||
pisitools.dodir("%s/%s" % (CHROOT, d))
|
||||
|
||||
# At least drop a file in it
|
||||
shelltools.echo("%s%s/README" % (get.installDIR(), CHROOT), "Chroot jail for named")
|
||||
|
||||
# Create directories
|
||||
pisitools.dodir("/var/run/named")
|
||||
for d in ("pri", "sec", "slaves", "data", "dynamic"):
|
||||
pisitools.dodir("%s/%s" % (BINDDIR, d))
|
||||
|
||||
# Create symlinks
|
||||
for src, dest in [("named.ca", "%s/root.cache" % BINDDIR),
|
||||
("%s/pri" % BINDDIR, "/etc/bind/pri"),
|
||||
("%s/sec" % BINDDIR, "/etc/bind/sec")]:
|
||||
pisitools.dosym(src, dest)
|
||||
|
||||
# Documentation
|
||||
pisitools.dodoc("CHANGES", "COPYRIGHT", "FAQ", "README")
|
||||
pisitools.dodoc("doc/misc/*", "contrib/scripts/named-bootconf.sh", "contrib/scripts/nanny.pl")
|
||||
pisitools.dohtml("doc/arm/*")
|
||||
pisitools.remove("/usr/share/doc/%s/Makefile*" % get.srcNAME())
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
UID = "named"
|
||||
GID = "named"
|
||||
|
||||
directories = ("/var/named", \
|
||||
"/var/named/data", \
|
||||
"/var/named/dynamic", \
|
||||
"/var/named/pri", \
|
||||
"/var/named/sec", \
|
||||
"/var/named/slaves", \
|
||||
"/var/named/named.ca", \
|
||||
"/var/run/named")
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
if not os.path.exists("/etc/bind/rndc.key"):
|
||||
os.system("/usr/sbin/rndc-confgen -r /dev/urandom -a -u named")
|
||||
|
||||
# Ownerships
|
||||
for d in directories:
|
||||
os.system("chown %s:%s %s" % (UID, GID, d))
|
||||
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import stat
|
||||
import shutil
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
CHROOT = "/var/named/chroot"
|
||||
NODES = {
|
||||
"/dev/random" : [stat.S_IFCHR | 0666, 1, 8],
|
||||
"/dev/zero" : [stat.S_IFCHR | 0666, 1, 5],
|
||||
"/dev/null" : [stat.S_IFCHR | 0666, 1, 3],
|
||||
"/dev/urandom" : [stat.S_IFCHR | 0666, 1, 9],
|
||||
"/dev/log" : [stat.S_IFSOCK | 0666, 1, 1],
|
||||
}
|
||||
|
||||
# Create device NODES in chroot
|
||||
for node, values in NODES.items():
|
||||
if not os.path.exists("%s%s" % (CHROOT, node)):
|
||||
os.mknod("%s%s" % (CHROOT, node), values[0], os.makedev(values[1], values[2]))
|
||||
|
||||
try:
|
||||
os.unlink("%s/etc/localtime" % CHROOT)
|
||||
except:
|
||||
pass
|
||||
|
||||
# Copy config files to run under chroot
|
||||
shutil.copy("/etc/localtime", "%s/etc/localtime" % CHROOT)
|
||||
|
||||
for files in ["/etc/bind/bind.keys", "/etc/bind/named.conf", "/etc/bind/rndc.key", "/var/named/named.ca"]:
|
||||
shutil.copy("%s" % files, "%s%s" % (CHROOT, files))
|
||||
|
||||
try:
|
||||
shutil.copytree("/var/named/pri", "%s/var/named/pri" % CHROOT)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
try:
|
||||
shutil.copytree("/var/named/sec", "%s/var/named/sec" % CHROOT)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
os.system("ln -s ../../var/named/pri /var/named/chroot/etc/bind/")
|
||||
os.system("ln -s ../../var/named/sec /var/named/chroot/etc/bind/")
|
||||
|
||||
# Fix permissions
|
||||
os.system("chmod 0700 %s" % CHROOT)
|
||||
os.system("chown named:named %s" % CHROOT)
|
||||
os.system("chown -R named:named %s/var/named" % CHROOT)
|
||||
os.system("chown -R named:named %s/etc/bind" % CHROOT)
|
||||
os.system("chown -R named:named %s/var/run/named" % CHROOT)
|
||||
os.system("chown -R named:named %s/var/log" % CHROOT)
|
||||
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
from comar.service import *
|
||||
|
||||
serviceType = "server"
|
||||
serviceDesc = _({"en": "BIND Daemon (chroot)",
|
||||
"tr": "BIND Servisi (chroot)"})
|
||||
serviceConf = "named"
|
||||
|
||||
chrootDir = "/var/named/chroot"
|
||||
PIDFILE = "%s/var/run/named/named.pid" % chrootDir
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command="/usr/sbin/named",
|
||||
args="-u named -n %s %s -t %s" % (config.get("CPU", "1"),
|
||||
config.get("OPTIONS", ""),
|
||||
chrootDir),
|
||||
makepid=True,
|
||||
pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
def status():
|
||||
return isServiceRunning(PIDFILE)
|
||||
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
from comar.service import *
|
||||
|
||||
serviceType = "server"
|
||||
serviceDesc = _({"en": "BIND Daemon",
|
||||
"tr": "BIND Servisi"})
|
||||
serviceConf = "named"
|
||||
|
||||
PIDFILE = "/run/named/named.pid"
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command="/usr/sbin/named",
|
||||
args="-u named -n %s %s" % (config.get("CPU", "1"), config.get("OPTIONS", "")),
|
||||
pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
def status():
|
||||
return isServiceRunning(PIDFILE)
|
||||
@@ -0,0 +1 @@
|
||||
$AddUnixListenSocket /var/named/chroot/dev/log
|
||||
@@ -0,0 +1,27 @@
|
||||
--- bind-9.5.0b2/bin/named/Makefile.in.pie 2008-02-11 17:21:47.000000000 +0100
|
||||
+++ bind-9.5.0b2/bin/named/Makefile.in 2008-02-11 17:22:10.000000000 +0100
|
||||
@@ -100,8 +100,12 @@ HTMLPAGES = named.html lwresd.html named
|
||||
|
||||
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
||||
|
||||
+EXT_CFLAGS = -fpie
|
||||
+
|
||||
@BIND9_MAKE_RULES@
|
||||
|
||||
+LDFLAGS += -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack
|
||||
+
|
||||
main.@O@: main.c
|
||||
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
||||
-DVERSION=\"${VERSION}\" \
|
||||
diff -up bind-9.5.0b2/bin/named/unix/Makefile.in.pie bind-9.5.0b2/bin/named/unix/Makefile.in
|
||||
--- bind-9.5.0b2/bin/named/unix/Makefile.in.pie 2008-02-11 17:22:21.000000000 +0100
|
||||
+++ bind-9.5.0b2/bin/named/unix/Makefile.in 2008-02-11 17:23:00.000000000 +0100
|
||||
@@ -19,6 +19,8 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
+EXT_CFLAGS = -fpie
|
||||
+
|
||||
@BIND9_MAKE_INCLUDES@
|
||||
|
||||
CINCLUDES = -I${srcdir}/include -I${srcdir}/../include \
|
||||
@@ -0,0 +1,14 @@
|
||||
diff -up bind-9.5.0b1/lib/dns/Makefile.in.parallel bind-9.5.0b1/lib/dns/Makefile.in
|
||||
--- bind-9.5.0b1/lib/dns/Makefile.in.parallel 2008-01-17 18:27:38.000000000 +0100
|
||||
+++ bind-9.5.0b1/lib/dns/Makefile.in 2008-01-17 18:27:45.000000000 +0100
|
||||
@@ -19,10 +19,6 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-# Attempt to disable parallel processing.
|
||||
-.NOTPARALLEL:
|
||||
-.NO_PARALLEL:
|
||||
-
|
||||
@BIND9_VERSION@
|
||||
|
||||
@LIBDNS_API@
|
||||
@@ -0,0 +1,40 @@
|
||||
diff -up bind-9.5.0-P2/bin/dig/dighost.c.rh452060 bind-9.5.0-P2/bin/dig/dighost.c
|
||||
--- bind-9.5.0-P2/bin/dig/dighost.c.rh452060 2008-12-01 22:30:01.000000000 +0100
|
||||
+++ bind-9.5.0-P2/bin/dig/dighost.c 2008-12-01 22:30:07.000000000 +0100
|
||||
@@ -1280,6 +1280,12 @@ clear_query(dig_query_t *query) {
|
||||
|
||||
debug("clear_query(%p)", query);
|
||||
|
||||
+ if (query->waiting_senddone) {
|
||||
+ debug("send_done not yet called");
|
||||
+ query->pending_free = ISC_TRUE;
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
lookup = query->lookup;
|
||||
|
||||
if (lookup->current_query == query)
|
||||
@@ -1301,10 +1307,7 @@ clear_query(dig_query_t *query) {
|
||||
isc_mempool_put(commctx, query->recvspace);
|
||||
isc_buffer_invalidate(&query->recvbuf);
|
||||
isc_buffer_invalidate(&query->lengthbuf);
|
||||
- if (query->waiting_senddone)
|
||||
- query->pending_free = ISC_TRUE;
|
||||
- else
|
||||
- isc_mem_free(mctx, query);
|
||||
+ isc_mem_free(mctx, query);
|
||||
}
|
||||
|
||||
/*%
|
||||
@@ -2175,9 +2178,9 @@ send_done(isc_task_t *_task, isc_event_t
|
||||
isc_event_free(&event);
|
||||
|
||||
if (query->pending_free)
|
||||
- isc_mem_free(mctx, query);
|
||||
+ clear_query(query);
|
||||
|
||||
- check_if_done();
|
||||
+ check_next_lookup(l);
|
||||
UNLOCK_LOOKUP;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff -up bind-9.6.0b1/configure.in.libtool2 bind-9.6.0b1/configure.in
|
||||
--- bind-9.6.0b1/configure.in.libtool2 2008-11-24 13:05:37.000000000 +0100
|
||||
+++ bind-9.6.0b1/configure.in 2008-11-24 13:05:56.000000000 +0100
|
||||
@@ -27,6 +27,8 @@ AC_CONFIG_SUBDIRS(lib/bind)
|
||||
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
+
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AC_PROG_MAKE_SET
|
||||
diff -up bind-9.6.0b1/Makefile.in.libtool2 bind-9.6.0b1/Makefile.in
|
||||
@@ -0,0 +1,72 @@
|
||||
diff -up bind-9.7.0rc2/lib/bind9/Makefile.in.nonexec bind-9.7.0rc2/lib/bind9/Makefile.in
|
||||
--- bind-9.7.0rc2/lib/bind9/Makefile.in.nonexec 2009-12-06 00:31:40.000000000 +0100
|
||||
+++ bind-9.7.0rc2/lib/bind9/Makefile.in 2010-01-28 12:13:33.406696161 +0100
|
||||
@@ -78,7 +78,7 @@ installdirs:
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||
|
||||
install:: timestamp installdirs
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libbind9.@A@ ${DESTDIR}${libdir}
|
||||
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} libbind9.@A@ ${DESTDIR}${libdir}
|
||||
|
||||
clean distclean::
|
||||
rm -f libbind9.@A@ timestamp
|
||||
diff -up bind-9.7.0rc2/lib/dns/Makefile.in.nonexec bind-9.7.0rc2/lib/dns/Makefile.in
|
||||
--- bind-9.7.0rc2/lib/dns/Makefile.in.nonexec 2009-12-06 00:31:40.000000000 +0100
|
||||
+++ bind-9.7.0rc2/lib/dns/Makefile.in 2010-01-28 12:13:33.406696161 +0100
|
||||
@@ -131,7 +131,7 @@ installdirs:
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||
|
||||
install:: timestamp installdirs
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
|
||||
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} libdns.@A@ ${DESTDIR}${libdir}
|
||||
|
||||
clean distclean::
|
||||
rm -f libdns.@A@ timestamp
|
||||
diff -up bind-9.7.0rc2/lib/isccc/Makefile.in.nonexec bind-9.7.0rc2/lib/isccc/Makefile.in
|
||||
--- bind-9.7.0rc2/lib/isccc/Makefile.in.nonexec 2009-12-06 00:31:41.000000000 +0100
|
||||
+++ bind-9.7.0rc2/lib/isccc/Makefile.in 2010-01-28 12:13:33.406696161 +0100
|
||||
@@ -80,7 +80,7 @@ installdirs:
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||
|
||||
install:: timestamp installdirs
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccc.@A@ ${DESTDIR}${libdir}
|
||||
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} libisccc.@A@ ${DESTDIR}${libdir}
|
||||
|
||||
clean distclean::
|
||||
rm -f libisccc.@A@ timestamp
|
||||
diff -up bind-9.7.0rc2/lib/isccfg/Makefile.in.nonexec bind-9.7.0rc2/lib/isccfg/Makefile.in
|
||||
--- bind-9.7.0rc2/lib/isccfg/Makefile.in.nonexec 2009-12-06 00:31:41.000000000 +0100
|
||||
+++ bind-9.7.0rc2/lib/isccfg/Makefile.in 2010-01-28 12:13:33.406696161 +0100
|
||||
@@ -77,7 +77,7 @@ installdirs:
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||
|
||||
install:: timestamp installdirs
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ ${DESTDIR}${libdir}
|
||||
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} libisccfg.@A@ ${DESTDIR}${libdir}
|
||||
|
||||
clean distclean::
|
||||
rm -f libisccfg.@A@ timestamp
|
||||
diff -up bind-9.7.0rc2/lib/isc/Makefile.in.nonexec bind-9.7.0rc2/lib/isc/Makefile.in
|
||||
--- bind-9.7.0rc2/lib/isc/Makefile.in.nonexec 2009-12-18 05:09:55.000000000 +0100
|
||||
+++ bind-9.7.0rc2/lib/isc/Makefile.in 2010-01-28 12:13:53.566696766 +0100
|
||||
@@ -121,7 +121,7 @@ installdirs:
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||
|
||||
install:: timestamp installdirs
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisc.@A@ ${DESTDIR}${libdir}
|
||||
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} libisc.@A@ ${DESTDIR}${libdir}
|
||||
|
||||
clean distclean::
|
||||
rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
|
||||
diff -up bind-9.7.0rc2/lib/lwres/Makefile.in.nonexec bind-9.7.0rc2/lib/lwres/Makefile.in
|
||||
--- bind-9.7.0rc2/lib/lwres/Makefile.in.nonexec 2007-06-20 01:47:22.000000000 +0200
|
||||
+++ bind-9.7.0rc2/lib/lwres/Makefile.in 2010-01-28 12:13:33.406696161 +0100
|
||||
@@ -78,7 +78,7 @@ installdirs:
|
||||
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||
|
||||
install:: timestamp installdirs
|
||||
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} liblwres.@A@ ${DESTDIR}${libdir}
|
||||
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} liblwres.@A@ ${DESTDIR}${libdir}
|
||||
|
||||
clean distclean::
|
||||
rm -f liblwres.@A@ liblwres.la timestamp
|
||||
@@ -0,0 +1,95 @@
|
||||
? patch
|
||||
? lib/isc/lex.c.rh490837
|
||||
Index: lib/isc/lex.c
|
||||
===================================================================
|
||||
RCS file: /var/snap/bind9/lib/isc/lex.c,v
|
||||
retrieving revision 1.86
|
||||
diff -p -u -r1.86 lex.c
|
||||
--- lib/isc/lex.c 17 Sep 2007 09:56:29 -0000 1.86
|
||||
+++ lib/isc/lex.c 6 Apr 2009 13:24:15 -0000
|
||||
@@ -425,17 +425,14 @@ isc_lex_gettoken(isc_lex_t *lex, unsigne
|
||||
if (source->is_file) {
|
||||
stream = source->input;
|
||||
|
||||
-#if defined(HAVE_FLOCKFILE) && defined(HAVE_GETCUNLOCKED)
|
||||
- c = getc_unlocked(stream);
|
||||
-#else
|
||||
- c = getc(stream);
|
||||
-#endif
|
||||
- if (c == EOF) {
|
||||
- if (ferror(stream)) {
|
||||
- source->result = ISC_R_IOERROR;
|
||||
- result = source->result;
|
||||
+ result = isc_stdio_fgetc(stream, &c);
|
||||
+
|
||||
+ if (result != ISC_R_SUCCESS) {
|
||||
+ if (result != ISC_R_EOF) {
|
||||
+ source->result = result;
|
||||
goto done;
|
||||
}
|
||||
+
|
||||
source->at_eof = ISC_TRUE;
|
||||
}
|
||||
} else {
|
||||
Index: lib/isc/include/isc/stdio.h
|
||||
===================================================================
|
||||
RCS file: /var/snap/bind9/lib/isc/include/isc/stdio.h,v
|
||||
retrieving revision 1.13
|
||||
diff -p -u -r1.13 stdio.h
|
||||
--- lib/isc/include/isc/stdio.h 19 Jun 2007 23:47:18 -0000 1.13
|
||||
+++ lib/isc/include/isc/stdio.h 6 Apr 2009 13:24:15 -0000
|
||||
@@ -72,6 +72,9 @@ isc_stdio_sync(FILE *f);
|
||||
* direct counterpart in the stdio library.
|
||||
*/
|
||||
|
||||
+isc_result_t
|
||||
+isc_stdio_fgetc(FILE *f, int *ret);
|
||||
+
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_STDIO_H */
|
||||
Index: lib/isc/unix/errno2result.c
|
||||
===================================================================
|
||||
RCS file: /var/snap/bind9/lib/isc/unix/errno2result.c,v
|
||||
retrieving revision 1.17
|
||||
diff -p -u -r1.17 errno2result.c
|
||||
--- lib/isc/unix/errno2result.c 19 Jun 2007 23:47:18 -0000 1.17
|
||||
+++ lib/isc/unix/errno2result.c 6 Apr 2009 13:24:15 -0000
|
||||
@@ -43,6 +43,7 @@ isc__errno2result(int posixerrno) {
|
||||
case EINVAL: /* XXX sometimes this is not for files */
|
||||
case ENAMETOOLONG:
|
||||
case EBADF:
|
||||
+ case EISDIR:
|
||||
return (ISC_R_INVALIDFILE);
|
||||
case ENOENT:
|
||||
return (ISC_R_FILENOTFOUND);
|
||||
Index: lib/isc/unix/stdio.c
|
||||
===================================================================
|
||||
RCS file: /var/snap/bind9/lib/isc/unix/stdio.c,v
|
||||
retrieving revision 1.8
|
||||
diff -p -u -r1.8 stdio.c
|
||||
--- lib/isc/unix/stdio.c 19 Jun 2007 23:47:18 -0000 1.8
|
||||
+++ lib/isc/unix/stdio.c 6 Apr 2009 13:24:15 -0000
|
||||
@@ -115,3 +115,22 @@ isc_stdio_sync(FILE *f) {
|
||||
return (isc__errno2result(errno));
|
||||
}
|
||||
|
||||
+isc_result_t
|
||||
+isc_stdio_fgetc(FILE *f, int *ret) {
|
||||
+ int r;
|
||||
+ isc_result_t result = ISC_R_SUCCESS;
|
||||
+
|
||||
+#if defined(HAVE_FLOCKFILE) && defined(HAVE_GETCUNLOCKED)
|
||||
+ r = fgetc_unlocked(f);
|
||||
+#else
|
||||
+ r = fgets(f);
|
||||
+#endif
|
||||
+
|
||||
+ if (r == EOF)
|
||||
+ result = ferror(f) ? isc__errno2result(errno) : ISC_R_EOF;
|
||||
+
|
||||
+ *ret = r;
|
||||
+
|
||||
+ return result;
|
||||
+}
|
||||
+
|
||||
@@ -0,0 +1,30 @@
|
||||
diff -up bind-9.7.0/configure.in.rh478718 bind-9.7.0/configure.in
|
||||
--- bind-9.7.0/configure.in.rh478718 2010-03-01 14:50:02.331207076 +0100
|
||||
+++ bind-9.7.0/configure.in 2010-03-01 14:50:21.501207488 +0100
|
||||
@@ -2540,6 +2540,10 @@ main() {
|
||||
AC_MSG_RESULT($arch)
|
||||
fi
|
||||
|
||||
+if test ! "$arch" = "x86_64" -a "$have_xaddq" = "yes"; then
|
||||
+ AC_MSG_ERROR([XADDQ present but disabled by Fedora patch!])
|
||||
+fi
|
||||
+
|
||||
if test "$have_atomic" = "yes"; then
|
||||
AC_MSG_CHECKING([compiler support for inline assembly code])
|
||||
|
||||
diff -up bind-9.7.0/lib/isc/include/isc/platform.h.in.rh478718 bind-9.7.0/lib/isc/include/isc/platform.h.in
|
||||
--- bind-9.7.0/lib/isc/include/isc/platform.h.in.rh478718 2010-03-01 14:50:31.421207522 +0100
|
||||
+++ bind-9.7.0/lib/isc/include/isc/platform.h.in 2010-03-01 14:50:40.313707286 +0100
|
||||
@@ -255,7 +255,11 @@
|
||||
* If the "xaddq" operation (64bit xadd) is available on this architecture,
|
||||
* ISC_PLATFORM_HAVEXADDQ will be defined.
|
||||
*/
|
||||
-@ISC_PLATFORM_HAVEXADDQ@
|
||||
+#ifdef __x86_64__
|
||||
+#define ISC_PLATFORM_HAVEXADDQ 1
|
||||
+#else
|
||||
+#undef ISC_PLATFORM_HAVEXADDQ
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* If the "atomic swap" operation is available on this architecture,
|
||||
@@ -0,0 +1,30 @@
|
||||
diff -up bind-9.7.2-P2/lib/dns/resolver.c.rh645544 bind-9.7.2-P2/lib/dns/resolver.c
|
||||
--- bind-9.7.2-P2/lib/dns/resolver.c.rh645544 2010-11-08 14:32:12.254896255 +0100
|
||||
+++ bind-9.7.2-P2/lib/dns/resolver.c 2010-11-08 14:33:18.674869633 +0100
|
||||
@@ -1097,7 +1097,7 @@ log_edns(fetchctx_t *fctx) {
|
||||
|
||||
dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
|
||||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_EDNS_DISABLED,
|
||||
- DNS_LOGMODULE_RESOLVER, ISC_LOG_INFO,
|
||||
+ DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
|
||||
"success resolving '%s' (in '%s'?) after %s",
|
||||
fctx->info, domainbuf, fctx->reason);
|
||||
|
||||
@@ -3795,7 +3795,7 @@ log_lame(fetchctx_t *fctx, dns_adbaddrin
|
||||
dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
|
||||
isc_sockaddr_format(&addrinfo->sockaddr, addrbuf, sizeof(addrbuf));
|
||||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_LAME_SERVERS,
|
||||
- DNS_LOGMODULE_RESOLVER, ISC_LOG_INFO,
|
||||
+ DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
|
||||
"lame server resolving '%s' (in '%s'?): %s",
|
||||
namebuf, domainbuf, addrbuf);
|
||||
}
|
||||
@@ -3822,7 +3822,7 @@ log_formerr(fetchctx_t *fctx, const char
|
||||
}
|
||||
|
||||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_RESOLVER,
|
||||
- DNS_LOGMODULE_RESOLVER, ISC_LOG_NOTICE,
|
||||
+ DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
|
||||
"DNS format error from %s resolving %s%s%s: %s",
|
||||
nsbuf, fctx->info, clmsg, clbuf, msgbuf);
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
|
||||
<head>
|
||||
<title>bind.git - bind</title>
|
||||
<meta name='generator' content='cgit v0.9.2'/>
|
||||
<meta name='robots' content='index, nofollow'/>
|
||||
<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
|
||||
<link rel='alternate' title='Atom feed' href='http://pkgs.fedoraproject.org/cgit/bind.git/atom/bind97-rh693982.patch?h=master' type='application/atom+xml'/>
|
||||
</head>
|
||||
<body>
|
||||
<div id='cgit'><table id='header'>
|
||||
<tr>
|
||||
<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
|
||||
<td class='main'><a href='/cgit/'>index</a> : <a title='bind.git' href='/cgit/bind.git/'>bind.git</a></td><td class='form'><form method='get' action=''>
|
||||
<select name='h' onchange='this.form.submit();'>
|
||||
<option value='f10'>f10</option>
|
||||
<option value='f11'>f11</option>
|
||||
<option value='f12'>f12</option>
|
||||
<option value='f13'>f13</option>
|
||||
<option value='f14'>f14</option>
|
||||
<option value='f15'>f15</option>
|
||||
<option value='f16'>f16</option>
|
||||
<option value='f17'>f17</option>
|
||||
<option value='f18'>f18</option>
|
||||
<option value='f19'>f19</option>
|
||||
<option value='f20'>f20</option>
|
||||
<option value='f7'>f7</option>
|
||||
<option value='f8'>f8</option>
|
||||
<option value='f9'>f9</option>
|
||||
<option value='master' selected='selected'>master</option>
|
||||
<option value='private-fleite-IT101669-branch'>private-fleite-IT101669-branch</option>
|
||||
</select> <input type='submit' name='' value='switch'/></form></td></tr>
|
||||
<tr><td class='sub'>bind</td><td class='sub right'>Jesse Keating</td></tr></table>
|
||||
<table class='tabs'><tr><td>
|
||||
<a href='/cgit/bind.git/'>summary</a><a href='/cgit/bind.git/refs/'>refs</a><a href='/cgit/bind.git/log/bind97-rh693982.patch'>log</a><a class='active' href='/cgit/bind.git/tree/bind97-rh693982.patch'>tree</a><a href='/cgit/bind.git/commit/bind97-rh693982.patch'>commit</a><a href='/cgit/bind.git/diff/bind97-rh693982.patch'>diff</a><a href='/cgit/bind.git/stats/bind97-rh693982.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/bind.git/log/bind97-rh693982.patch'>
|
||||
<select name='qt'>
|
||||
<option value='grep'>log msg</option>
|
||||
<option value='author'>author</option>
|
||||
<option value='committer'>committer</option>
|
||||
<option value='range'>range</option>
|
||||
</select>
|
||||
<input class='txt' type='text' size='10' name='q' value=''/>
|
||||
<input type='submit' value='search'/>
|
||||
</form>
|
||||
</td></tr></table>
|
||||
<div class='path'>path: <a href='/cgit/bind.git/tree/'>root</a>/<a href='/cgit/bind.git/tree/bind97-rh693982.patch'>bind97-rh693982.patch</a></div><div class='content'>blob: 57bf8122b0d96d08e6899bdf4cdd06f946a60b09 (<a href='/cgit/bind.git/plain/bind97-rh693982.patch'>plain</a>)
|
||||
<table summary='blob content' class='blob'>
|
||||
<tr><td class='linenumbers'><pre><a class='no' id='n1' name='n1' href='#n1'>1</a>
|
||||
<a class='no' id='n2' name='n2' href='#n2'>2</a>
|
||||
<a class='no' id='n3' name='n3' href='#n3'>3</a>
|
||||
<a class='no' id='n4' name='n4' href='#n4'>4</a>
|
||||
<a class='no' id='n5' name='n5' href='#n5'>5</a>
|
||||
<a class='no' id='n6' name='n6' href='#n6'>6</a>
|
||||
<a class='no' id='n7' name='n7' href='#n7'>7</a>
|
||||
<a class='no' id='n8' name='n8' href='#n8'>8</a>
|
||||
<a class='no' id='n9' name='n9' href='#n9'>9</a>
|
||||
<a class='no' id='n10' name='n10' href='#n10'>10</a>
|
||||
<a class='no' id='n11' name='n11' href='#n11'>11</a>
|
||||
<a class='no' id='n12' name='n12' href='#n12'>12</a>
|
||||
<a class='no' id='n13' name='n13' href='#n13'>13</a>
|
||||
<a class='no' id='n14' name='n14' href='#n14'>14</a>
|
||||
<a class='no' id='n15' name='n15' href='#n15'>15</a>
|
||||
<a class='no' id='n16' name='n16' href='#n16'>16</a>
|
||||
<a class='no' id='n17' name='n17' href='#n17'>17</a>
|
||||
<a class='no' id='n18' name='n18' href='#n18'>18</a>
|
||||
<a class='no' id='n19' name='n19' href='#n19'>19</a>
|
||||
<a class='no' id='n20' name='n20' href='#n20'>20</a>
|
||||
<a class='no' id='n21' name='n21' href='#n21'>21</a>
|
||||
<a class='no' id='n22' name='n22' href='#n22'>22</a>
|
||||
<a class='no' id='n23' name='n23' href='#n23'>23</a>
|
||||
<a class='no' id='n24' name='n24' href='#n24'>24</a>
|
||||
<a class='no' id='n25' name='n25' href='#n25'>25</a>
|
||||
<a class='no' id='n26' name='n26' href='#n26'>26</a>
|
||||
<a class='no' id='n27' name='n27' href='#n27'>27</a>
|
||||
<a class='no' id='n28' name='n28' href='#n28'>28</a>
|
||||
<a class='no' id='n29' name='n29' href='#n29'>29</a>
|
||||
<a class='no' id='n30' name='n30' href='#n30'>30</a>
|
||||
<a class='no' id='n31' name='n31' href='#n31'>31</a>
|
||||
<a class='no' id='n32' name='n32' href='#n32'>32</a>
|
||||
<a class='no' id='n33' name='n33' href='#n33'>33</a>
|
||||
<a class='no' id='n34' name='n34' href='#n34'>34</a>
|
||||
<a class='no' id='n35' name='n35' href='#n35'>35</a>
|
||||
</pre></td>
|
||||
<td class='lines'><pre><code>diff -up bind-9.7.3-P3/bin/named/server.c.rh693982 bind-9.7.3-P3/bin/named/server.c
|
||||
--- bind-9.7.3-P3/bin/named/server.c.rh693982 2011-08-12 17:18:55.611978110 +0200
|
||||
+++ bind-9.7.3-P3/bin/named/server.c 2011-08-12 17:19:36.009975303 +0200
|
||||
@@ -4444,15 +4444,6 @@ load_configuration(const char *filename,
|
||||
ns_os_changeuser();
|
||||
|
||||
/*
|
||||
- * Check that the working directory is writable.
|
||||
- */
|
||||
- if (access(".", W_OK) != 0) {
|
||||
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
||||
- NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
|
||||
- "the working directory is not writable");
|
||||
- }
|
||||
-
|
||||
- /*
|
||||
* Configure the logging system.
|
||||
*
|
||||
* Do this after changing UID to make sure that any log
|
||||
@@ -4498,6 +4489,15 @@ load_configuration(const char *filename,
|
||||
}
|
||||
|
||||
/*
|
||||
+ * Check that the working directory is writable.
|
||||
+ */
|
||||
+ if (access(".", W_OK) != 0) {
|
||||
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
||||
+ NS_LOGMODULE_SERVER, ISC_LOG_DEBUG(1),
|
||||
+ "the working directory is not writable");
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
* Set the default value of the query logging flag depending
|
||||
* whether a "queries" category has been defined. This is
|
||||
* a disgusting hack, but we need to do this for BIND 8
|
||||
</code></pre></td></tr></table>
|
||||
</div> <!-- class=content -->
|
||||
<div class='footer'>generated by cgit v0.9.2 at 2013-11-16 11:15:04 (GMT)</div>
|
||||
</div> <!-- id=cgit -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,232 @@
|
||||
/*
|
||||
Sample named.conf BIND DNS server 'named' configuration file
|
||||
for the Red Hat BIND distribution.
|
||||
|
||||
See the BIND Administrator's Reference Manual (ARM) for details, in:
|
||||
file:///usr/share/doc/bind-{version}/arm/Bv9ARM.html
|
||||
Also see the BIND Configuration GUI : /usr/bin/system-config-bind and
|
||||
its manual.
|
||||
*/
|
||||
|
||||
options
|
||||
{
|
||||
// Put files that named is allowed to write in the data/ directory:
|
||||
directory "/var/named"; // "Working" directory
|
||||
dump-file "data/cache_dump.db";
|
||||
statistics-file "data/named_stats.txt";
|
||||
memstatistics-file "data/named_mem_stats.txt";
|
||||
|
||||
|
||||
/*
|
||||
Specify listenning interfaces. You can use list of addresses (';' is
|
||||
delimiter) or keywords "any"/"none"
|
||||
*/
|
||||
//listen-on port 53 { any; };
|
||||
listen-on port 53 { 127.0.0.1; };
|
||||
|
||||
//listen-on-v6 port 53 { any; };
|
||||
listen-on-v6 port 53 { ::1; };
|
||||
|
||||
/*
|
||||
Access restrictions
|
||||
|
||||
There are two important options:
|
||||
allow-query { argument; };
|
||||
- allow queries for authoritative data
|
||||
|
||||
allow-query-cache { argument; };
|
||||
- allow queries for non-authoritative data (mostly cached data)
|
||||
|
||||
You can use address, network address or keywords "any"/"localhost"/"none" as argument
|
||||
Examples:
|
||||
allow-query { localhost; 10.0.0.1; 192.168.1.0/8; };
|
||||
allow-query-cache { ::1; fe80::5c63:a8ff:fe2f:4526; 10.0.0.1; };
|
||||
*/
|
||||
|
||||
allow-query { localhost; };
|
||||
allow-query-cache { localhost; };
|
||||
|
||||
// Enable/disable recursion - recursion yes/no;
|
||||
recursion yes;
|
||||
|
||||
/* DNSSEC related options. See information about keys ("Trusted keys", bellow) */
|
||||
|
||||
/* Enable serving of DNSSEC related data - enable on both authoritative
|
||||
and recursive servers DNSSEC aware servers */
|
||||
dnssec-enable yes;
|
||||
|
||||
/* Enable DNSSEC validation on recursive servers */
|
||||
dnssec-validation yes;
|
||||
|
||||
/* Enable DLV by default, use built-in ISC DLV key. */
|
||||
dnssec-lookaside auto;
|
||||
};
|
||||
|
||||
logging
|
||||
{
|
||||
/* If you want to enable debugging, eg. using the 'rndc trace' command,
|
||||
* named will try to write the 'named.run' file in the $directory (/var/named).
|
||||
* By default, SELinux policy does not allow named to modify the /var/named directory,
|
||||
* so put the default debug log file in data/ :
|
||||
*/
|
||||
channel default_debug {
|
||||
file "data/named.run";
|
||||
severity dynamic;
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
Views let a name server answer a DNS query differently depending on who is asking.
|
||||
|
||||
By default, if named.conf contains no "view" clauses, all zones are in the
|
||||
"default" view, which matches all clients.
|
||||
|
||||
Views are processed sequentially. The first match is used so the last view should
|
||||
match "any" - it's fallback and the most restricted view.
|
||||
|
||||
If named.conf contains any "view" clause, then all zones MUST be in a view.
|
||||
*/
|
||||
|
||||
view "localhost_resolver"
|
||||
{
|
||||
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
|
||||
* If all you want is a caching-only nameserver, then you need only define this view:
|
||||
*/
|
||||
match-clients { localhost; };
|
||||
recursion yes;
|
||||
|
||||
# all views must contain the root hints zone:
|
||||
zone "." IN {
|
||||
type hint;
|
||||
file "/var/named/named.ca";
|
||||
};
|
||||
|
||||
/* these are zones that contain definitions for all the localhost
|
||||
* names and addresses, as recommended in RFC1912 - these names should
|
||||
* not leak to the other nameservers:
|
||||
*/
|
||||
include "/etc/named.rfc1912.zones";
|
||||
};
|
||||
view "internal"
|
||||
{
|
||||
/* This view will contain zones you want to serve only to "internal" clients
|
||||
that connect via your directly attached LAN interfaces - "localnets" .
|
||||
*/
|
||||
match-clients { localnets; };
|
||||
recursion yes;
|
||||
|
||||
zone "." IN {
|
||||
type hint;
|
||||
file "/var/named/named.ca";
|
||||
};
|
||||
|
||||
/* these are zones that contain definitions for all the localhost
|
||||
* names and addresses, as recommended in RFC1912 - these names should
|
||||
* not leak to the other nameservers:
|
||||
*/
|
||||
include "/etc/named.rfc1912.zones";
|
||||
|
||||
// These are your "authoritative" internal zones, and would probably
|
||||
// also be included in the "localhost_resolver" view above :
|
||||
|
||||
/*
|
||||
NOTE for dynamic DNS zones and secondary zones:
|
||||
|
||||
DO NOT USE SAME FILES IN MULTIPLE VIEWS!
|
||||
|
||||
If you are using views and DDNS/secondary zones it is strongly
|
||||
recommended to read FAQ on ISC site (www.isc.org), section
|
||||
"Configuration and Setup Questions", questions
|
||||
"How do I share a dynamic zone between multiple views?" and
|
||||
"How can I make a server a slave for both an internal and an external
|
||||
view at the same time?"
|
||||
*/
|
||||
|
||||
zone "my.internal.zone" {
|
||||
type master;
|
||||
file "my.internal.zone.db";
|
||||
};
|
||||
zone "my.slave.internal.zone" {
|
||||
type slave;
|
||||
file "slaves/my.slave.internal.zone.db";
|
||||
masters { /* put master nameserver IPs here */ 127.0.0.1; } ;
|
||||
// put slave zones in the slaves/ directory so named can update them
|
||||
};
|
||||
zone "my.ddns.internal.zone" {
|
||||
type master;
|
||||
allow-update { key ddns_key; };
|
||||
file "dynamic/my.ddns.internal.zone.db";
|
||||
// put dynamically updateable zones in the slaves/ directory so named can update them
|
||||
};
|
||||
};
|
||||
|
||||
key ddns_key
|
||||
{
|
||||
algorithm hmac-md5;
|
||||
secret "use /usr/sbin/dnssec-keygen to generate TSIG keys";
|
||||
};
|
||||
|
||||
view "external"
|
||||
{
|
||||
/* This view will contain zones you want to serve only to "external" clients
|
||||
* that have addresses that are not match any above view:
|
||||
*/
|
||||
match-clients { any; };
|
||||
|
||||
zone "." IN {
|
||||
type hint;
|
||||
file "/var/named/named.ca";
|
||||
};
|
||||
|
||||
recursion no;
|
||||
// you'd probably want to deny recursion to external clients, so you don't
|
||||
// end up providing free DNS service to all takers
|
||||
|
||||
// These are your "authoritative" external zones, and would probably
|
||||
// contain entries for just your web and mail servers:
|
||||
|
||||
zone "my.external.zone" {
|
||||
type master;
|
||||
file "my.external.zone.db";
|
||||
};
|
||||
};
|
||||
|
||||
/* Trusted keys
|
||||
|
||||
This statement contains DNSSEC keys. If you want DNSSEC aware resolver you
|
||||
have to configure at least one trusted key.
|
||||
|
||||
Note that no key written below is valid. Especially root key because root zone
|
||||
is not signed yet.
|
||||
*/
|
||||
/*
|
||||
trusted-keys {
|
||||
// Root Key
|
||||
"." 257 3 3 "BNY4wrWM1nCfJ+CXd0rVXyYmobt7sEEfK3clRbGaTwSJxrGkxJWoZu6I7PzJu/
|
||||
E9gx4UC1zGAHlXKdE4zYIpRhaBKnvcC2U9mZhkdUpd1Vso/HAdjNe8LmMlnzY3
|
||||
zy2Xy4klWOADTPzSv9eamj8V18PHGjBLaVtYvk/ln5ZApjYghf+6fElrmLkdaz
|
||||
MQ2OCnACR817DF4BBa7UR/beDHyp5iWTXWSi6XmoJLbG9Scqc7l70KDqlvXR3M
|
||||
/lUUVRbkeg1IPJSidmK3ZyCllh4XSKbje/45SKucHgnwU5jefMtq66gKodQj+M
|
||||
iA21AfUVe7u99WzTLzY3qlxDhxYQQ20FQ97S+LKUTpQcq27R7AT3/V5hRQxScI
|
||||
Nqwcz4jYqZD2fQdgxbcDTClU0CRBdiieyLMNzXG3";
|
||||
|
||||
// Key for forward zone
|
||||
example.com. 257 3 5 "AwEAAaxPMcR2x0HbQV4WeZB6oEDX+r0QM65KbhTjrW1ZaARmPhEZZe
|
||||
3Y9ifgEuq7vZ/zGZUdEGNWy+JZzus0lUptwgjGwhUS1558Hb4JKUbb
|
||||
OTcM8pwXlj0EiX3oDFVmjHO444gLkBO UKUf/mC7HvfwYH/Be22GnC
|
||||
lrinKJp1Og4ywzO9WglMk7jbfW33gUKvirTHr25GL7STQUzBb5Usxt
|
||||
8lgnyTUHs1t3JwCY5hKZ6CqFxmAVZP20igTixin/1LcrgX/KMEGd/b
|
||||
iuvF4qJCyduieHukuY3H4XMAcR+xia2 nIUPvm/oyWR8BW/hWdzOvn
|
||||
SCThlHf3xiYleDbt/o1OTQ09A0=";
|
||||
|
||||
// Key for reverse zone.
|
||||
2.0.192.IN-ADDRPA.NET. 257 3 5 "AQOnS4xn/IgOUpBPJ3bogzwcxOdNax071L18QqZnQQQA
|
||||
VVr+iLhGTnNGp3HoWQLUIzKrJVZ3zggy3WwNT6kZo6c0
|
||||
tszYqbtvchmgQC8CzKojM/W16i6MG/ea fGU3siaOdS0
|
||||
yOI6BgPsw+YZdzlYMaIJGf4M4dyoKIhzdZyQ2bYQrjyQ
|
||||
4LB0lC7aOnsMyYKHHYeRv PxjIQXmdqgOJGq+vsevG06
|
||||
zW+1xgYJh9rCIfnm1GX/KMgxLPG2vXTD/RnLX+D3T3UL
|
||||
7HJYHJhAZD5L59VvjSPsZJHeDCUyWYrvPZesZDIRvhDD
|
||||
52SKvbheeTJUm6EhkzytNN2SN96QRk8j/iI8ib";
|
||||
};
|
||||
*/
|
||||
@@ -0,0 +1,7 @@
|
||||
/var/named/data/named.run {
|
||||
missingok
|
||||
create 0644 named named
|
||||
postrotate
|
||||
/bin/service bind reload 2> /dev/null > /dev/null || true
|
||||
endscript
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$ORIGIN 127.in-addr.arpa.
|
||||
$TTL 1W
|
||||
@ 1D IN SOA localhost. root.localhost. (
|
||||
2002081601 ; serial
|
||||
3H ; refresh
|
||||
15M ; retry
|
||||
1W ; expiry
|
||||
1D ) ; minimum
|
||||
|
||||
1D IN NS localhost.
|
||||
* 1D IN PTR localhost.
|
||||
@@ -0,0 +1,9 @@
|
||||
$TTL 1W
|
||||
@ IN SOA ns.localhost. root.localhost. (
|
||||
2002081601 ; Serial
|
||||
28800 ; Refresh
|
||||
14400 ; Retry
|
||||
604800 ; Expire - 1 week
|
||||
86400 ) ; Minimum
|
||||
IN NS 127.0.0.1
|
||||
localhost. IN A 127.0.0.1
|
||||
@@ -0,0 +1,86 @@
|
||||
; This file holds the information on root name servers needed to
|
||||
; initialize cache of Internet domain name servers
|
||||
; (e.g. reference this file in the "cache . <file>"
|
||||
; configuration file of BIND domain name servers).
|
||||
;
|
||||
; This file is made available by InterNIC
|
||||
; under anonymous FTP as
|
||||
; file /domain/named.root
|
||||
; on server FTP.INTERNIC.NET
|
||||
; -OR- RS.INTERNIC.NET
|
||||
;
|
||||
; last update: Dec 12, 2008
|
||||
; related version of root zone: 2008121200
|
||||
;
|
||||
; formerly NS.INTERNIC.NET
|
||||
;
|
||||
. 3600000 IN NS A.ROOT-SERVERS.NET.
|
||||
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
|
||||
A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:BA3E::2:30
|
||||
;
|
||||
; FORMERLY NS1.ISI.EDU
|
||||
;
|
||||
. 3600000 NS B.ROOT-SERVERS.NET.
|
||||
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
|
||||
;
|
||||
; FORMERLY C.PSI.NET
|
||||
;
|
||||
. 3600000 NS C.ROOT-SERVERS.NET.
|
||||
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
|
||||
;
|
||||
; FORMERLY TERP.UMD.EDU
|
||||
;
|
||||
. 3600000 NS D.ROOT-SERVERS.NET.
|
||||
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
|
||||
;
|
||||
; FORMERLY NS.NASA.GOV
|
||||
;
|
||||
. 3600000 NS E.ROOT-SERVERS.NET.
|
||||
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
|
||||
;
|
||||
; FORMERLY NS.ISC.ORG
|
||||
;
|
||||
. 3600000 NS F.ROOT-SERVERS.NET.
|
||||
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
|
||||
F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2F::F
|
||||
;
|
||||
; FORMERLY NS.NIC.DDN.MIL
|
||||
;
|
||||
. 3600000 NS G.ROOT-SERVERS.NET.
|
||||
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
|
||||
;
|
||||
; FORMERLY AOS.ARL.ARMY.MIL
|
||||
;
|
||||
. 3600000 NS H.ROOT-SERVERS.NET.
|
||||
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
|
||||
H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::803F:235
|
||||
;
|
||||
; FORMERLY NIC.NORDU.NET
|
||||
;
|
||||
. 3600000 NS I.ROOT-SERVERS.NET.
|
||||
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
|
||||
;
|
||||
; OPERATED BY VERISIGN, INC.
|
||||
;
|
||||
. 3600000 NS J.ROOT-SERVERS.NET.
|
||||
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
|
||||
J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:C27::2:30
|
||||
;
|
||||
; OPERATED BY RIPE NCC
|
||||
;
|
||||
. 3600000 NS K.ROOT-SERVERS.NET.
|
||||
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
|
||||
K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7FD::1
|
||||
;
|
||||
; OPERATED BY ICANN
|
||||
;
|
||||
. 3600000 NS L.ROOT-SERVERS.NET.
|
||||
L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
|
||||
L.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:3::42
|
||||
;
|
||||
; OPERATED BY WIDE
|
||||
;
|
||||
. 3600000 NS M.ROOT-SERVERS.NET.
|
||||
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
|
||||
M.ROOT-SERVERS.NET. 3600000 AAAA 2001:DC3::35
|
||||
; End of File
|
||||
@@ -0,0 +1,58 @@
|
||||
options {
|
||||
directory "/var/named";
|
||||
|
||||
// uncomment the following lines to turn on DNS forwarding,
|
||||
// and change the forwarding ip address(es) :
|
||||
//forward first;
|
||||
//forwarders {
|
||||
// 123.123.123.123;
|
||||
// 123.123.123.123;
|
||||
//};
|
||||
|
||||
listen-on-v6 { none; };
|
||||
listen-on { 127.0.0.1; };
|
||||
|
||||
// to allow only specific hosts to use the DNS server:
|
||||
//allow-query {
|
||||
// 127.0.0.1;
|
||||
//};
|
||||
|
||||
// if you have problems and are behind a firewall:
|
||||
//query-source address * port 53;
|
||||
pid-file "/run/named/named.pid";
|
||||
|
||||
// Enable recursion , this is a potential security problem, see http://www.us-cert.gov/reading_room/DNS-recursion033006.pdf
|
||||
// recursion yes;
|
||||
// allow-recursion { localnets; localhost; };
|
||||
// allow-query-cache { localnets; localhost; };
|
||||
};
|
||||
|
||||
// Briefly, a zone which has been declared delegation-only will be effectively
|
||||
// limited to containing NS RRs for subdomains, but no actual data beyond its
|
||||
// own apex (for example, its SOA RR and apex NS RRset). This can be used to
|
||||
// filter out "wildcard" or "synthesized" data from NAT boxes or from
|
||||
// authoritative name servers whose undelegated (in-zone) data is of no
|
||||
// interest.
|
||||
// See http://www.isc.org/products/BIND/delegation-only.html for more info
|
||||
|
||||
//zone "COM" { type delegation-only; };
|
||||
//zone "NET" { type delegation-only; };
|
||||
|
||||
zone "." IN {
|
||||
type hint;
|
||||
file "named.ca";
|
||||
};
|
||||
|
||||
zone "localhost" IN {
|
||||
type master;
|
||||
file "pri/localhost.zone";
|
||||
allow-update { none; };
|
||||
notify no;
|
||||
};
|
||||
|
||||
zone "127.in-addr.arpa" IN {
|
||||
type master;
|
||||
file "pri/127.zone";
|
||||
allow-update { none; };
|
||||
notify no;
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
# Set various named options here.
|
||||
#
|
||||
OPTIONS=""
|
||||
|
||||
# Set this to the number of processors you have.
|
||||
#
|
||||
CPU="1"
|
||||
@@ -0,0 +1,538 @@
|
||||
diff -ur bind-9.2.3-orig//bin/dig/nslookup.8 bind-9.2.3/bin/dig/nslookup.8
|
||||
--- bind-9.2.3-orig/bin/dig/nslookup.8 2005-09-30 23:11:23.000000000 +0300
|
||||
+++ bind-9.2.3/bin/dig/nslookup.8 2005-09-30 23:10:36.000000000 +0300
|
||||
@@ -0,0 +1,534 @@
|
||||
+.\"
|
||||
+.\" ++Copyright++ 1985, 1989
|
||||
+.\" -
|
||||
+.\" Copyright (c) 1985, 1989
|
||||
+.\" The Regents of the University of California. All rights reserved.
|
||||
+.\"
|
||||
+.\" Redistribution and use in source and binary forms, with or without
|
||||
+.\" modification, are permitted provided that the following conditions
|
||||
+.\" are met:
|
||||
+.\" 1. Redistributions of source code must retain the above copyright
|
||||
+.\" notice, this list of conditions and the following disclaimer.
|
||||
+.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
+.\" notice, this list of conditions and the following disclaimer in the
|
||||
+.\" documentation and/or other materials provided with the distribution.
|
||||
+.\" 3. All advertising materials mentioning features or use of this software
|
||||
+.\" must display the following acknowledgement:
|
||||
+.\" This product includes software developed by the University of
|
||||
+.\" California, Berkeley and its contributors.
|
||||
+.\" 4. Neither the name of the University nor the names of its contributors
|
||||
+.\" may be used to endorse or promote products derived from this software
|
||||
+.\" without specific prior written permission.
|
||||
+.\"
|
||||
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
+.\" SUCH DAMAGE.
|
||||
+.\" -
|
||||
+.\" Portions Copyright (c) 1993 by Digital Equipment Corporation.
|
||||
+.\"
|
||||
+.\" Permission to use, copy, modify, and distribute this software for any
|
||||
+.\" purpose with or without fee is hereby granted, provided that the above
|
||||
+.\" copyright notice and this permission notice appear in all copies, and that
|
||||
+.\" the name of Digital Equipment Corporation not be used in advertising or
|
||||
+.\" publicity pertaining to distribution of the document or software without
|
||||
+.\" specific, written prior permission.
|
||||
+.\"
|
||||
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
|
||||
+.\" WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
|
||||
+.\" OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
|
||||
+.\" CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
+.\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
+.\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
||||
+.\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
+.\" SOFTWARE.
|
||||
+.\" -
|
||||
+.\" --Copyright--
|
||||
+.\"
|
||||
+.\" @(#)nslookup.8 5.3 (Berkeley) 6/24/90
|
||||
+.\"
|
||||
+.Dd June 24, 1990
|
||||
+.Dt NSLOOKUP 8
|
||||
+.Os BSD 4
|
||||
+.Sh NAME
|
||||
+.Nm nslookup
|
||||
+.Nd query Internet name servers interactively
|
||||
+.Sh SYNOPSIS
|
||||
+.Nm nslookup
|
||||
+.Op Fl option Ar ...
|
||||
+.Op Ar host-to-find | Fl Op Ar server
|
||||
+.Sh DESCRIPTION
|
||||
+.Ic Nslookup
|
||||
+is a program to query Internet domain name servers.
|
||||
+.Ic Nslookup
|
||||
+has two modes: interactive and non-interactive.
|
||||
+Interactive mode allows the user to query name servers for
|
||||
+information about various hosts and domains or to print a list of hosts
|
||||
+in a domain.
|
||||
+Non-interactive mode is used to print just the name and requested information
|
||||
+for a host or domain.
|
||||
+.Sh ARGUMENTS
|
||||
+Interactive mode is entered in the following cases:
|
||||
+.Bl -tag -width "a) "
|
||||
+.It a)
|
||||
+when no arguments are given (the default name server will be used),
|
||||
+.It b)
|
||||
+when the first argument is a hyphen (-) and the second argument
|
||||
+is the host name or Internet address of a name server.
|
||||
+.El
|
||||
+.Pp
|
||||
+Non-interactive mode is used when the name or Internet address
|
||||
+of the host to be looked up
|
||||
+is given as the first argument. The optional second argument specifies
|
||||
+the host name or address of a name server.
|
||||
+.Pp
|
||||
+The options listed under the
|
||||
+.Dq Li set
|
||||
+command below can be specified in
|
||||
+the
|
||||
+.Pa .nslookuprc
|
||||
+file in the user's home directory if they are listed
|
||||
+one per line. Options can also be specified
|
||||
+on the command line if they precede the arguments and are prefixed with
|
||||
+a hyphen. For example, to change the default query type to host information,
|
||||
+and the initial timeout to 10 seconds, type:
|
||||
+.Bd -literal -offset indent
|
||||
+ nslookup -query=hinfo -timeout=10
|
||||
+.Ed
|
||||
+.Sh INTERACTIVE COMMANDS
|
||||
+Commands may be interrupted at any time by typing a control-C.
|
||||
+To exit, type a control-D
|
||||
+.Pq Dv EOF
|
||||
+or type
|
||||
+.Li exit .
|
||||
+The command line length must be less than 256 characters.
|
||||
+To treat a built-in command as a host name,
|
||||
+precede it with an escape character
|
||||
+.Pq .&\\ .
|
||||
+.Sy N.B.: An unrecognized command will be interpreted as a host name.
|
||||
+.Bl -tag -width "lserver"
|
||||
+.It Ar host Op Ar server
|
||||
+Look up information for
|
||||
+.Ar host
|
||||
+using the current default server or using
|
||||
+.Ar server ,
|
||||
+if specified.
|
||||
+If
|
||||
+.Ar host
|
||||
+is an Internet address and the query type is
|
||||
+.Dv A
|
||||
+or
|
||||
+.Dv PTR ,
|
||||
+the name of the host is returned.
|
||||
+If
|
||||
+.Ar host
|
||||
+is a name and does not have a trailing period, the default
|
||||
+domain name is appended to the name. (This behavior depends on the state of the
|
||||
+.Ic set
|
||||
+options
|
||||
+.Ic domain , srchlist , defname ,
|
||||
+and
|
||||
+.Ic search . )
|
||||
+.Pp
|
||||
+To look up a host not in the current domain, append a period to
|
||||
+the name.
|
||||
+.It Ic server Ar domain
|
||||
+.It Ic lserver Ar domain
|
||||
+Change the default server to
|
||||
+.Ar domain ;
|
||||
+.Ic lserver
|
||||
+uses the initial server to look up information about
|
||||
+.Ar domain ,
|
||||
+while
|
||||
+.Ic server
|
||||
+uses the current default server.
|
||||
+If an authoritative answer can't be found, the names of servers
|
||||
+that might have the answer are returned.
|
||||
+.It Ic root
|
||||
+Changes the default server to the server for the root of the domain name space.
|
||||
+Currently, the host
|
||||
+.Li ns.internic.net
|
||||
+is used.
|
||||
+(This command is a synonym for
|
||||
+.Dq Ic lserver ns.internic.net . )
|
||||
+The name of the root server can be changed with the
|
||||
+.Dq Ic set root
|
||||
+command.
|
||||
+.It Xo Ic finger Op Ar name
|
||||
+.Op Ic > Ar filename
|
||||
+.Xc
|
||||
+.It Xo Ic finger Op Ar name
|
||||
+.Op Ic >> Ar filename
|
||||
+.Xc
|
||||
+Connects with the finger server on the current host.
|
||||
+The current host is defined when a previous lookup for a host
|
||||
+was successful and returned address information (see the
|
||||
+.Dq Ic set querytype=A
|
||||
+command).
|
||||
+The
|
||||
+.Ar name
|
||||
+is optional.
|
||||
+.Ic >
|
||||
+and
|
||||
+.Ic >>
|
||||
+can be used to redirect output in the usual manner.
|
||||
+.It Xo Ic ls Op Ar option
|
||||
+.Ar domain Op Ic > Ar filename
|
||||
+.Xc
|
||||
+.It Xo Ic ls Op Ar option
|
||||
+.Ar domain Op Ic >> Ar filename
|
||||
+.Xc
|
||||
+List the information available for
|
||||
+.Ar domain ,
|
||||
+optionally creating or appending to
|
||||
+.Ar filename .
|
||||
+The default output contains host names and their Internet addresses.
|
||||
+.Ar Option
|
||||
+can be one of the following:
|
||||
+.Bl -tag -width "-a "
|
||||
+.It Fl t Ar querytype
|
||||
+lists all records of the specified type (see
|
||||
+.Ar querytype
|
||||
+below).
|
||||
+.It Fl a
|
||||
+lists aliases of hosts in the domain;
|
||||
+synonym for
|
||||
+.Dq Fl t Dv CNAME .
|
||||
+.It Fl d
|
||||
+lists all records for the domain;
|
||||
+synonym for
|
||||
+.Dq Fl t Dv ANY .
|
||||
+.It Fl h
|
||||
+lists CPU and operating system information for the domain;
|
||||
+synonym for
|
||||
+.Dq Fl t Dv HINFO .
|
||||
+.It Fl s
|
||||
+lists well-known services of hosts in the domain;
|
||||
+synonym for
|
||||
+.Dq Fl t Dv WKS .
|
||||
+.El
|
||||
+.Pp
|
||||
+When output is directed to a file, hash marks are printed for every
|
||||
+50 records received from the server.
|
||||
+.It Ic view Ar filename
|
||||
+Sorts and lists the output of previous
|
||||
+.Ic ls
|
||||
+command(s) with
|
||||
+.Xr more 1 .
|
||||
+.It Ic help
|
||||
+.It Ic ?
|
||||
+Prints a brief summary of commands.
|
||||
+.It Ic exit
|
||||
+Exits the program.
|
||||
+.It Xo Ic set Ar keyword
|
||||
+.Ns Op = Ns Ar value
|
||||
+.Xc
|
||||
+This command is used to change state information that affects the lookups.
|
||||
+Valid keywords are:
|
||||
+.Bl -tag -width "class=v"
|
||||
+.It Ic all
|
||||
+Prints the current values of the frequently-used options to
|
||||
+.Ic set .
|
||||
+Information about the current default server and host is also printed.
|
||||
+.It Ic class= Ns Ar value
|
||||
+Change the query class to one of:
|
||||
+.Bl -tag -width "HESIOD "
|
||||
+.It Dv IN
|
||||
+the Internet class
|
||||
+.It Dv CHAOS
|
||||
+the Chaos class
|
||||
+.It Dv HESIOD
|
||||
+the MIT Athena Hesiod class
|
||||
+.It Dv ANY
|
||||
+wildcard (any of the above)
|
||||
+.El
|
||||
+.Pp
|
||||
+The class specifies the protocol group of the information.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Dv IN ;
|
||||
+abbreviation =
|
||||
+.Ic cl )
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic debug
|
||||
+.Xc
|
||||
+Turn debugging mode on. A lot more information is printed about the
|
||||
+packet sent to the server and the resulting answer.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic nodebug ;
|
||||
+abbreviation =
|
||||
+.Xo Op Ic no
|
||||
+.Ns Ic deb )
|
||||
+.Xc
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic d2
|
||||
+.Xc
|
||||
+Turn exhaustive debugging mode on.
|
||||
+Essentially all fields of every packet are printed.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic nod2 )
|
||||
+.It Ic domain= Ns Ar name
|
||||
+Change the default domain name to
|
||||
+.Ar name .
|
||||
+The default domain name is appended to a lookup request depending on the
|
||||
+state of the
|
||||
+.Ic defname
|
||||
+and
|
||||
+.Ic search
|
||||
+options.
|
||||
+The domain search list contains the parents of the default domain if it has
|
||||
+at least two components in its name.
|
||||
+For example, if the default domain
|
||||
+is CC.Berkeley.EDU, the search list is CC.Berkeley.EDU and Berkeley.EDU.
|
||||
+Use the
|
||||
+.Dq Ic set srchlist
|
||||
+command to specify a different list.
|
||||
+Use the
|
||||
+.Dq Ic set all
|
||||
+command to display the list.
|
||||
+.Pp
|
||||
+(Default = value from
|
||||
+.Xr hostname 1 ,
|
||||
+.Pa /etc/resolv.conf ,
|
||||
+or
|
||||
+.Ev LOCALDOMAIN;
|
||||
+abbreviation =
|
||||
+.Ic do )
|
||||
+.It Ic srchlist= Ns Ar name1/name2/...
|
||||
+Change the default domain name to
|
||||
+.Ar name1
|
||||
+and the domain search list
|
||||
+to
|
||||
+.Ar name1 , name2 ,
|
||||
+etc. A maximum of 6 names separated by slashes (/)
|
||||
+can be specified.
|
||||
+For example,
|
||||
+.Bd -literal -offset indent
|
||||
+set srchlist=lcs.MIT.EDU/ai.MIT.EDU/MIT.EDU
|
||||
+.Ed
|
||||
+.Pp
|
||||
+sets the domain to lcs.MIT.EDU and the search list to the three names.
|
||||
+This command overrides the
|
||||
+default domain name and search list of the
|
||||
+.Dq Ic set domain
|
||||
+command.
|
||||
+Use the
|
||||
+.Dq Ic set all
|
||||
+command to display the list.
|
||||
+.Pp
|
||||
+(Default = value based on
|
||||
+.Xr hostname 1 ,
|
||||
+.Pa /etc/resolv.conf ,
|
||||
+or
|
||||
+.Ev LOCALDOMAIN;
|
||||
+abbreviation =
|
||||
+.Ic srchl )
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic defname
|
||||
+.Xc
|
||||
+If set, append the default domain name to a single-component lookup request
|
||||
+(i.e., one that does not contain a period).
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic defname ;
|
||||
+abbreviation =
|
||||
+.Xo Op Ic no
|
||||
+.Ns Ic defname )
|
||||
+.Xc
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic search
|
||||
+.Xc
|
||||
+If the lookup request contains at least one period but
|
||||
+.Em doesn't
|
||||
+end with a trailing period, append the domain names in the domain search list
|
||||
+to the request until an answer is received.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic search ;
|
||||
+abbreviation =
|
||||
+.Xo Op Ic no
|
||||
+.Ns Ic sea )
|
||||
+.Xc
|
||||
+.It Ic port= Ns Ar value
|
||||
+Change the default TCP/UDP name server port to
|
||||
+.Ar value .
|
||||
+.Pp
|
||||
+(Default = 53;
|
||||
+abbreviation =
|
||||
+.Ic \&po )
|
||||
+.It Ic querytype= Ns Ar value
|
||||
+.It Ic type= Ns Ar value
|
||||
+Change the type of information query to one of:
|
||||
+.Bl -tag -width "HINFO "
|
||||
+.It Dv A
|
||||
+the host's Internet address.
|
||||
+.It Dv CNAME
|
||||
+the canonical name for an alias.
|
||||
+.It Dv HINFO
|
||||
+the host CPU and operating system type.
|
||||
+.It Dv MINFO
|
||||
+the mailbox or mail list information.
|
||||
+.It Dv MX
|
||||
+the mail exchanger.
|
||||
+.It Dv NS
|
||||
+the name server for the named zone.
|
||||
+.It Dv PTR
|
||||
+the host name if the query is an Internet address;
|
||||
+otherwise, the pointer to other information.
|
||||
+.It Dv SOA
|
||||
+the domain's
|
||||
+.Dq start-of-authority
|
||||
+information.
|
||||
+.It Dv TXT
|
||||
+the text information.
|
||||
+.It Dv UINFO
|
||||
+the user information.
|
||||
+.It Dv WKS
|
||||
+the supported well-known services.
|
||||
+.El
|
||||
+.Pp
|
||||
+Other types
|
||||
+.Pq Dv ANY, AXFR, MB, MD, MF, NULL
|
||||
+are described in the RFC-1035 document.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Dv A ;
|
||||
+abbreviations =
|
||||
+.Ic q , ty )
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic recurse
|
||||
+.Xc
|
||||
+Tell the name server to query other servers if it does not have the
|
||||
+information.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic recurse ;
|
||||
+abbreviation =
|
||||
+.Xo Op Ic no
|
||||
+.Ns Ic rec )
|
||||
+.Xc
|
||||
+.It Ic retry= Ns Ar number
|
||||
+Set the number of retries to
|
||||
+.Ar number .
|
||||
+When a reply to a request is not received within a certain
|
||||
+amount of time (changed with
|
||||
+.Dq Ic set timeout ) ,
|
||||
+the timeout period is doubled and the request is resent.
|
||||
+The retry value controls how many times a request is resent before giving up.
|
||||
+.Pp
|
||||
+(Default = 4, abbreviation =
|
||||
+.Ic ret )
|
||||
+.It Ic root= Ns Ar host
|
||||
+Change the name of the root server to
|
||||
+.Ar host .
|
||||
+This affects the
|
||||
+.Dq Ic root
|
||||
+command.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic ns.internic.net. ;
|
||||
+abbreviation =
|
||||
+.Ic ro )
|
||||
+.It Ic timeout= Ns Ar number
|
||||
+Change the initial timeout interval for waiting for a reply to
|
||||
+.Ar number
|
||||
+seconds. Each retry doubles the timeout period.
|
||||
+.Pp
|
||||
+(Default = 5 seconds; abbreviation =
|
||||
+.Ic ti )
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic vc
|
||||
+.Xc
|
||||
+Always use a virtual circuit when sending requests to the server.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic novc ;
|
||||
+abbreviation =
|
||||
+.Xo Op Ic no
|
||||
+.Ns Ic v )
|
||||
+.Xc
|
||||
+.It Xo Op Ic no
|
||||
+.Ns Ic ignoretc
|
||||
+.Xc
|
||||
+Ignore packet truncation errors.
|
||||
+.Pp
|
||||
+(Default =
|
||||
+.Ic noignoretc ;
|
||||
+abbreviation =
|
||||
+.Xo Op Ic no
|
||||
+.Ns Ic ig )
|
||||
+.Xc
|
||||
+.El
|
||||
+.El
|
||||
+.Sh DIAGNOSTICS
|
||||
+If the lookup request was not successful, an error message is printed.
|
||||
+Possible errors are:
|
||||
+.Bl -tag -width "Timed"
|
||||
+.It Li Timed out
|
||||
+The server did not respond to a request after a certain amount of
|
||||
+time (changed with
|
||||
+.Dq Ic set timeout= Ns Ar value )
|
||||
+and a certain number of retries (changed with
|
||||
+.Dq Ic set retry= Ns Ar value ) .
|
||||
+.It Li \&No response from server
|
||||
+No name server is running on the server machine.
|
||||
+.It Li \&No records
|
||||
+The server does not have resource records of the current query type for the
|
||||
+host, although the host name is valid.
|
||||
+The query type is specified with the
|
||||
+.Dq Ic set querytype
|
||||
+command.
|
||||
+.It Li Non-existent domain
|
||||
+The host or domain name does not exist.
|
||||
+.It Li Connection refused
|
||||
+.It Li Network is unreachable
|
||||
+The connection to the name or finger server could not be made
|
||||
+at the current time.
|
||||
+This error commonly occurs with
|
||||
+.Ic ls
|
||||
+and
|
||||
+.Ic finger
|
||||
+requests.
|
||||
+.It Li Server failure
|
||||
+The name server found an internal inconsistency in its database
|
||||
+and could not return a valid answer.
|
||||
+.It Li Refused
|
||||
+The name server refused to service the request.
|
||||
+.It Li Format error
|
||||
+The name server found that the request packet was not in the proper format.
|
||||
+It may indicate an error in
|
||||
+.Nm nslookup .
|
||||
+.El
|
||||
+.Sh FILES
|
||||
+.Bl -tag -width "/usr/share/misc/nslookup.helpXXX" -compact
|
||||
+.It Pa /etc/resolv.conf
|
||||
+initial domain name and name server addresses
|
||||
+.It Pa $HOME/.nslookuprc
|
||||
+user's initial options
|
||||
+.It Pa /usr/share/misc/nslookup.help
|
||||
+summary of commands
|
||||
+.Sh ENVIRONMENT
|
||||
+.Bl -tag -width "HOSTALIASESXXXX" -compact
|
||||
+.It Ev HOSTALIASES
|
||||
+file containing host aliases
|
||||
+.It Ev LOCALDOMAIN
|
||||
+overrides default domain
|
||||
+.Sh SEE ALSO
|
||||
+.Xr named 8 ,
|
||||
+.Xr resolver 3 ,
|
||||
+.Xr resolver 5 ;
|
||||
+RFC-1034,
|
||||
+.Dq Domain Names - Concepts and Facilities ;
|
||||
+RFC-1035,
|
||||
+.Dq Domain Names - Implementation and Specification .
|
||||
+.Sh AUTHOR
|
||||
+Andrew Cherenson
|
||||
@@ -0,0 +1,180 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>bind</Name>
|
||||
<Homepage>http://www.isc.org/products/BIND/bind9.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>service</IsA>
|
||||
<Summary>The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server</Summary>
|
||||
<Description>bind is an implementation of the DNS protocols, bind includes a DNS server (named), a resolver library and tools for verifying that the DNS server is operating properly.</Description>
|
||||
<Archive sha1sum="4ddb2670976c06af7e86352616383958d82c51ce" type="targz">ftp://ftp.isc.org/isc/bind9/9.10.2/bind-9.10.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>libcap-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>e2fsprogs-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
<Dependency>geoip-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">nslookup-pisilinux.patch</Patch>
|
||||
<Patch level="1">fedora/bind-9.5-PIE.patch</Patch>
|
||||
<Patch level="1">fedora/bind-9.5-parallel-build.patch</Patch>
|
||||
<Patch level="1">fedora/bind-96-libtool2.patch</Patch>
|
||||
<Patch level="1">fedora/bind-95-rh452060.patch</Patch>
|
||||
<Patch level="0">fedora/bind93-rh490837.patch</Patch>
|
||||
<Patch level="1">fedora/bind97-rh478718.patch</Patch>
|
||||
<Patch level="1">fedora/bind97-rh645544.patch</Patch>
|
||||
<Patch level="1">fedora/bind97-rh693982.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>bind-libs</Name>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>server.library</PartOf>
|
||||
<Summary>bind-libs contains the libraries used by both the bind server package and the tools package</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind-devel</Name>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>server.library</PartOf>
|
||||
<Summary>bind header and development files</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">bind-libs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="executable">/usr/bin/isc-config.sh</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/isc-config*</Path>
|
||||
<Path fileType="man">/usr/share/man/man3/lwres*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind-tools</Name>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>network.analyzer</PartOf>
|
||||
<Summary>Utilities for querying DNS name servers</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">bind-libs</Dependency>
|
||||
<Dependency>readline</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man/man1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind-chroot</Name>
|
||||
<IsA>service</IsA>
|
||||
<Summary>A chroot runtime environment for the ISC BIND DNS server 'named'</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">bind</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/rsyslog.d/bind_chroot.conf</Path>
|
||||
<Path fileType="config">/var/named/chroot/etc</Path>
|
||||
<Path fileType="data">/var/named/chroot</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/etc/rsyslog.d/bind_chroot.conf" owner="root" group="root" permission="0644">chroot.rsyslog</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="chroot_package.py">System.Package</COMAR>
|
||||
<COMAR script="chroot_service.py">System.Service</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind</Name>
|
||||
<IsA>service</IsA>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">bind-libs</Dependency>
|
||||
<Dependency>libcap</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="data">/var</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
<Path fileType="man">/usr/share/man/man5</Path>
|
||||
<Path fileType="man">/usr/share/man/man8</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/bind/named.conf">named.conf</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/named">named.confd</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/var/named/named.ca">gentoo/named.ca</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/var/named/pri/127.zone">gentoo/127.zone</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/var/named/pri/localhost.zone">gentoo/localhost.zone</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/logrotate.d/named">fedora/named.logrotate</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
<COMAR script="bind_package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>20145-05-08</Date>
|
||||
<Version>9.10.2</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>9.10.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Aydın Demirel</Name>
|
||||
<Email>aydin.demirel@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-01-24</Date>
|
||||
<Version>9.9.4</Version>
|
||||
<Comment>Rebuild for unused link</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-16</Date>
|
||||
<Version>9.9.4</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Aydın Demirel</Name>
|
||||
<Email>aydin.demirel@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-23</Date>
|
||||
<Version>9.9.2</Version>
|
||||
<Comment>Dep fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-14</Date>
|
||||
<Version>9.9.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>bind</Name>
|
||||
<Summary xml:lang="tr">Berkeley İnternet İsim Alanı (BIND) DNS (Alan Adı Sistemi) sunucusu</Summary>
|
||||
<Description xml:lang="tr">bind, DNS protokollerinin gerçeklenimidir. DNS sunucu (named) ve bu sunucunun düzgün çalışması ve doğrulamasını yapılması için gerekli çözümleyici kitaplık ve araçları içerir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>bind-tools</Name>
|
||||
<Summary xml:lang="tr">DNS isim çözümleme araçları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind-chroot</Name>
|
||||
<Summary xml:lang="tr">bind sunucusunu chroot içinde çalıştırmak için gerekli dizin ve dosyalar</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind-libs</Name>
|
||||
<Summary xml:lang="tr">bind kitaplık dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>bind-devel</Name>
|
||||
<Summary xml:lang="tr">bind geliştirme başlıkları ve araçları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user