bind 9.10.3-P4
[git/cygwin-packages/bind.git] / bind.cygport
CommitLineData
122b034b 1NAME="bind"
3f8dd00b 2VERSION=9.10.3
44f5801e 3RELEASE=3.P4
745c8dd1 4CATEGORY="Net"
0724586a 5SUMMARY="DNS server and utilities suite"
745c8dd1
YS
6DESCRIPTION="BIND is an implementation of the Domain Name System (DNS)
7protocols. The DNS protocols are part of the core Internet standards.
8They specify the process by which one computer can find another computer
9on the basis of its name. The BIND software distribution contains all of
10the software needed both to ask name service questions and to answer
11such questions."
ab42df8b 12HOMEPAGE="http://www.isc.org/software/bind/"
c96bc481
YS
13#tar_v=${VERSION}
14tar_v="${VERSION}-${RELEASE##*\.}"
c56af962
YS
15SRC_URI="http://ftp.isc.org/isc/bind9/${tar_v}/bind-${tar_v}.tar.gz
16 http://ftp.isc.org/isc/bind9/${tar_v}/bind-${tar_v}.tar.gz.asc
745c8dd1 17 named-config"
c56af962 18SRC_DIR="bind-${tar_v}"
ab42df8b 19
20PATCH_URI="
562f3338 21 http://pkgs.fedoraproject.org/cgit/bind.git/plain/bind-99-libidn.patch
14e2c014
YS
22 9.9.6-configure.patch
23 9.9.6-lwconfig-win32.patch
70f1c153 24 9.5.0-parallel-build.patch
92060fa6 25 9.9.3-python-install.patch
5d8c6e0d 26 9.9.6-cygwin-threads.patch
44f5801e 27 9.10.3-cygwin-ftm.patch
ab42df8b 28"
fe5c5ab8
YS
29# Only needed for shared libraries:
30# 9.9.0-libtool.patch
ab42df8b 31
0724586a
YS
32PKG_NAMES="bind bind-utils"
33bind_SUMMARY="DNS server"
34bind_REQUIRES="bind-utils"
35bind_CONTENTS="etc/ usr/sbin/ usr/share/man/man1/arpaname* usr/share/man/man[58]/"
36bind_utils_CONTENTS="DNS utilities"
14e2c014 37bind_utils_CONTENTS="--exclude=arpaname* --exclude=isc-config.sh* --exclude=bind9-config*
0724586a 38 usr/bin/ usr/share/doc/ usr/share/man/man1/"
a32e27fd 39libbind9_devel_CONTENTS="usr/bin/bind9-config usr/bin/isc-config.sh usr/include/ usr/lib/
14e2c014
YS
40 usr/share/man/man1/bind9-config* usr/share/man/man1/isc-config.sh*
41 usr/share/man/man3/"
13c666d1 42PKG_IGNORE=${libbind9_devel_CONTENTS}
ab42df8b 43
92060fa6 44DISTCLEANFILES="aclocal.m4"
ab42df8b 45
21266ca2
YS
46src_compile() {
47 cd ${S}
48 cygautoreconf
49
50 cd ${B}
51
52 # we want GetNetworkParams but not if_nametoindex
53 cat > iphlpapi.def <<_EOF
54LIBRARY "IPHLPAPI.DLL"
55EXPORTS
56GetNetworkParams${ARCH_i686+@8}
57_EOF
58 ${DLLTOOL} -k -d iphlpapi.def -l libiphlpapi.a
5d8c6e0d 59 LIBS+=" -lcatgets -Wl,${B}/libiphlpapi.a"
21266ca2
YS
60
61 # see config.h.win32
62 CPPFLAGS+=" -DFD_SETSIZE=16384"
63
64 cygconf \
5d8c6e0d
YS
65 --enable-threads --enable-ipv6 \
66 --enable-filter-aaaa --enable-rrl --enable-fixed-rrset \
67 --disable-openssl-version-check \
21266ca2
YS
68 --disable-backtrace --disable-linux-caps --without-dlopen \
69 --with-dlz-bdb=/usr \
70 --with-dlz-filesystem \
71 --with-dlz-ldap=/usr \
72 --with-dlz-mysql=/usr \
73 --with-dlz-odbc=/usr \
74 --with-dlz-postgres=/usr \
75 --with-dlz-stub \
76 --with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets \
562f3338 77 --with-geiop \
5d8c6e0d 78 --with-gssapi --disable-isc-spnego \
21266ca2
YS
79 --with-libxml2=/usr \
80 --with-openssl=/usr
81
82 cygmake
83}
3eba9dbc
YS
84
85src_install() {
86 cd ${B}
745c8dd1 87 dosbin ${S}/named-config
3eba9dbc 88 cyginstall
21266ca2 89 dodoc ${S}/RELEASE-NOTES-BIND-${VERSION%-*}.txt
3eba9dbc 90}
This page took 0.029448 seconds and 5 git commands to generate.