bind 9.11.0-P5
[git/cygwin-packages/bind.git] / bind.cygport
index ba2a8f8b3c413cd110d94dcd6b9529f3f3e1fece..a0e70ee0b0cee5c3134af52ac1f2b6560a0e6800 100644 (file)
@@ -1,6 +1,8 @@
+inherit python
+
 NAME="bind"
-VERSION=9.10.3
-RELEASE=2.P3
+VERSION=9.11.0
+RELEASE=3.P5
 CATEGORY="Net"
 SUMMARY="DNS server and utilities suite"
 DESCRIPTION="BIND is an implementation of the Domain Name System (DNS)
@@ -16,30 +18,87 @@ SRC_URI="http://ftp.isc.org/isc/bind9/${tar_v}/bind-${tar_v}.tar.gz
          http://ftp.isc.org/isc/bind9/${tar_v}/bind-${tar_v}.tar.gz.asc
          named-config"
 SRC_DIR="bind-${tar_v}"
-
 PATCH_URI="
        http://pkgs.fedoraproject.org/cgit/bind.git/plain/bind-99-libidn.patch
+       http://pkgs.fedoraproject.org/cgit/rpms/bind.git/plain/bind-9.11-rh1236087.patch
        9.9.6-configure.patch
        9.9.6-lwconfig-win32.patch
        9.5.0-parallel-build.patch
-       9.9.3-python-install.patch
        9.9.6-cygwin-threads.patch
+       9.10.3-cygwin-ftm.patch
+       9.10.4-libtool.patch
+       9.11.0-tests-libtool.patch
 "
-# Only needed for shared libraries:
-#      9.9.0-libtool.patch
 
-PKG_NAMES="bind bind-utils"
+PKG_NAMES="bind bind-utils bind-doc
+          libbind9_160 libdns166 libirs160 libisc160 libisccc160
+          libisccfg160 liblwres160 libbind9-devel python-isc"
 bind_SUMMARY="DNS server"
 bind_REQUIRES="bind-utils"
-bind_CONTENTS="etc/ usr/sbin/ usr/share/man/man1/arpaname* usr/share/man/man[58]/"
+bind_CONTENTS="
+       etc/
+       usr/bin/arpaname.exe
+       usr/sbin/*
+       usr/share/man/man1/arpaname*
+       usr/share/man/man[58]/
+"
 bind_utils_CONTENTS="DNS utilities"
-bind_utils_CONTENTS="--exclude=arpaname* --exclude=isc-config.sh* --exclude=bind9-config*
-                     usr/bin/ usr/share/doc/ usr/share/man/man1/"
-libbind9_devel_CONTENTS="usr/bin/bind9-config usr/bin/isc-config.sh usr/include/ usr/lib/
-                         usr/share/man/man1/bind9-config* usr/share/man/man1/isc-config.sh*
-                         usr/share/man/man3/"
-PKG_IGNORE=${libbind9_devel_CONTENTS}
+bind_utils_CONTENTS="
+       --exclude=arpaname*
+       --exclude=isc-config.sh*
+       --exclude=bind9-config*
+       --exclude=arm
+       usr/bin/*.exe
+       usr/share/doc/
+       usr/share/man/man1/
+"
+bind_doc_CATEGORY="Doc"
+bind_doc_SUMMARY="BIND Administrator Reference Manual"
+bind_doc_CONTENTS="usr/share/doc/bind/arm/"
+libbind9_160_CATEGORY="Libs"
+libbind9_160_SUMMARY="BIND library"
+libbind9_160_CONTENTS="usr/bin/cygbind9-160.dll"
+libdns166_CATEGORY="Libs"
+libdns166_SUMMARY="BIND DNS library"
+libdns166_CONTENTS="usr/bin/cygdns-166.dll"
+libirs160_CATEGORY="Libs"
+libirs160_SUMMARY="BIND resolv.conf parser library"
+libirs160_CONTENTS="usr/bin/cygirs-160.dll"
+libisc160_CATEGORY="Libs"
+libisc160_SUMMARY="BIND ISC core library"
+libisc160_CONTENTS="usr/bin/cygisc-160.dll"
+libisccc160_CATEGORY="Libs"
+libisccc160_SUMMARY="BIND Control Channel library"
+libisccc160_CONTENTS="usr/bin/cygisccc-160.dll"
+libisccfg160_CATEGORY="Libs"
+libisccfg160_SUMMARY="BIND named.conf parser library"
+libisccfg160_CONTENTS="usr/bin/cygisccfg-160.dll"
+liblwres160_CATEGORY="Libs"
+liblwres160_SUMMARY="BIND Lightweight Resolver library"
+liblwres160_CONTENTS="usr/bin/cyglwres-160.dll"
+libbind9_devel_CATEGORY="Libs"
+libbind9_devel_REQUIRES="libcatgets-devel libGeoIP-devel libjson-c-devel libkrb5-devel libxml2-devel openssl-devel"
+libbind9_devel_SUMMARY="BIND libraries (development)"
+libbind9_devel_CONTENTS="
+       usr/bin/bind9-config
+       usr/bin/isc-config.sh
+       usr/include/bind9/
+       usr/include/dns/
+       usr/include/dst/
+       usr/include/irs/
+       usr/include/isc*/
+       usr/include/lwres/
+       usr/include/pk*11/
+       usr/lib/lib*.dll.a
+       usr/share/man/man1/bind9-config*
+       usr/share/man/man1/isc-config.sh*
+       usr/share/man/man3/
+"
+python_isc_CATEGORY="Python"
+python_isc_SUMMARY="Python module for sending commands to rndc"
+python_isc_CONTENTS="${PYTHON_SITELIB#/}/isc*"
 
+DIFF_EXCLUDES="*.1 *.html *.pdf"
 DISTCLEANFILES="aclocal.m4"
 
 src_compile() {
@@ -62,7 +121,9 @@ _EOF
 
        cygconf \
                --enable-threads --enable-ipv6 \
-               --enable-filter-aaaa --enable-rrl --enable-fixed-rrset \
+               --enable-filter-aaaa --enable-fixed-rrset \
+               --enable-full-report \
+               --enable-openssl-hash \
                --disable-openssl-version-check \
                --disable-backtrace --disable-linux-caps --without-dlopen \
                --with-dlz-bdb=/usr \
@@ -73,17 +134,26 @@ _EOF
                --with-dlz-postgres=/usr \
                --with-dlz-stub \
                --with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets \
-               --with-geiop \
+               --with-geoip \
                --with-gssapi --disable-isc-spnego \
+               --with-libtool \
                --with-libxml2=/usr \
                --with-openssl=/usr
 
        cygmake
+
+#      lndirs
+#      cygmake -j1 doc
 }
 
 src_install() {
        cd ${B}
        dosbin ${S}/named-config
        cyginstall
+
+       sed -i -e "s|-Wl,${B}[^ ]*||" ${D}/usr/bin/isc-config.sh
+
        dodoc ${S}/RELEASE-NOTES-BIND-${VERSION%-*}.txt
+       docinto arm
+       dodoc ${S}/doc/arm/[^i]*.{html,pdf}
 }
This page took 0.022126 seconds and 5 git commands to generate.