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