1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved. |
|
22 # |
|
23 include ../../make-rules/shared-macros.mk |
|
24 |
|
25 COMPONENT_NAME= bind |
|
26 COMPONENT_VERSION= 9.7.0-P2 |
|
27 IPS_PKG_NAME = network/dns/bind |
|
28 COMPONENT_CLASSIFICATION="Applications/Internet" |
|
29 COMPONENT_DESCRIPTION= "Berkeley Internet Name Domain server and utilities" |
|
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
31 COMPONENT_PROJECT_URL = http://www.isc.org/software/bind |
|
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
33 COMPONENT_ARCHIVE_HASH= sha1:4b805d4a66075a88c93c5b852b928da96467aa2d |
|
34 COMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/bind9/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
|
35 |
|
36 include ../../make-rules/prep.mk |
|
37 include ../../make-rules/configure.mk |
|
38 include ../../make-rules/ips.mk |
|
39 |
|
40 CONFIGURE_OPTIONS += --with-libtool |
|
41 CONFIGURE_OPTIONS += --sysconfdir=/etc |
|
42 CONFIGURE_OPTIONS += --localstatedir=/var |
|
43 CONFIGURE_OPTIONS += --with-openssl |
|
44 CONFIGURE_OPTIONS += --enable-threads=yes |
|
45 CONFIGURE_OPTIONS += --enable-devpoll=yes |
|
46 CONFIGURE_OPTIONS += --disable-openssl-version-check |
|
47 CONFIGURE_OPTIONS += --enable-fixed-rrset |
|
48 CONFIGURE_OPTIONS += --disable-getifaddrs |
|
49 |
|
50 # because IPS doesn't deal with -P2 in the version string |
|
51 IPS_COMPONENT_VERSION= 9.7.0 |
|
52 |
|
53 PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/archive-libraries-drop |
|
54 PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/libtool-drop |
|
55 PKGMOGRIFY_TRANSFORMS += manifest-drop |
|
56 |
|
57 PKG_HARDLINKS += usr/sbin/named |
|
58 PKG_HARDLINKS += usr/share/man/man3/lwres_addr_parse.3 |
|
59 PKG_HARDLINKS += usr/share/man/man3/lwres_buffer.3 |
|
60 PKG_HARDLINKS += usr/share/man/man3/lwres_conf_clear.3 |
|
61 PKG_HARDLINKS += usr/share/man/man3/lwres_context.3 |
|
62 PKG_HARDLINKS += usr/share/man/man3/lwres_endhostent.3 |
|
63 PKG_HARDLINKS += usr/share/man/man3/lwres_freeaddrinfo.3 |
|
64 PKG_HARDLINKS += usr/share/man/man3/lwres_freehostent.3 |
|
65 PKG_HARDLINKS += usr/share/man/man3/lwres_gabn.3 |
|
66 PKG_HARDLINKS += usr/share/man/man3/lwres_gnba.3 |
|
67 PKG_HARDLINKS += usr/share/man/man3/lwres_herror.3 |
|
68 PKG_HARDLINKS += usr/share/man/man3/lwres_inetntop.3 |
|
69 PKG_HARDLINKS += usr/share/man/man3/lwres_lwpacket_parseheader.3 |
|
70 PKG_HARDLINKS += usr/share/man/man3/lwres_noop.3 |
|
71 |
|
72 # common targets |
|
73 build: $(BUILD_32_and_64) |
|
74 |
|
75 install: $(INSTALL_32_and_64) |
|
76 |
|
77 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
78 |
|
79 REQUIRED_TOOL += /sbin/uname |
|
80 REQUIRED_TOOL += /usr/bin/ar |
|
81 REQUIRED_TOOL += /usr/bin/arch |
|
82 REQUIRED_TOOL += /usr/bin/basename |
|
83 REQUIRED_TOOL += /usr/bin/bash |
|
84 REQUIRED_TOOL += /usr/bin/chmod |
|
85 REQUIRED_TOOL += /usr/bin/cp |
|
86 REQUIRED_TOOL += /usr/bin/diff |
|
87 REQUIRED_TOOL += /usr/bin/dirname |
|
88 REQUIRED_TOOL += /usr/bin/echo |
|
89 REQUIRED_TOOL += /usr/bin/env |
|
90 REQUIRED_TOOL += /usr/bin/expr |
|
91 REQUIRED_TOOL += /usr/bin/find |
|
92 REQUIRED_TOOL += /usr/bin/getconf |
|
93 REQUIRED_TOOL += /usr/bin/ggrep |
|
94 REQUIRED_TOOL += /usr/bin/gmake |
|
95 REQUIRED_TOOL += /usr/bin/grep |
|
96 REQUIRED_TOOL += /usr/bin/gsed |
|
97 REQUIRED_TOOL += /usr/bin/gtar |
|
98 REQUIRED_TOOL += /usr/bin/gzip |
|
99 REQUIRED_TOOL += /usr/bin/hostname |
|
100 REQUIRED_TOOL += /usr/bin/ksh93 |
|
101 REQUIRED_TOOL += /usr/bin/ld |
|
102 REQUIRED_TOOL += /usr/bin/ln |
|
103 REQUIRED_TOOL += /usr/bin/ls |
|
104 REQUIRED_TOOL += /usr/bin/make |
|
105 REQUIRED_TOOL += /usr/bin/mkdir |
|
106 REQUIRED_TOOL += /usr/bin/mv |
|
107 REQUIRED_TOOL += /usr/bin/nm |
|
108 REQUIRED_TOOL += /usr/bin/ranlib |
|
109 REQUIRED_TOOL += /usr/bin/rm |
|
110 REQUIRED_TOOL += /usr/bin/rmdir |
|
111 REQUIRED_TOOL += /usr/bin/sed |
|
112 REQUIRED_TOOL += /usr/bin/sort |
|
113 REQUIRED_TOOL += /usr/bin/strip |
|
114 REQUIRED_TOOL += /usr/bin/touch |
|
115 REQUIRED_TOOL += /usr/bin/tr |
|
116 REQUIRED_TOOL += /usr/bin/xml2-config |
|
117 REQUIRED_TOOL += /usr/gnu/bin/as |
|
118 REQUIRED_TOOL += /usr/gnu/bin/echo |
|
119 REQUIRED_TOOL += /usr/gnu/bin/etags |
|
120 REQUIRED_TOOL += $(SPRO_VROOT)/bin/cc |
|
121 REQUIRED_TOOL += $(SPRO_VROOT)/bin/CC |
|
122 |
|
123 REQUIRED_FILE += /lib/$(MACH64)/libc.so |
|
124 REQUIRED_FILE += /lib/$(MACH64)/libcrypto.so |
|
125 REQUIRED_FILE += /lib/$(MACH64)/libm.so |
|
126 REQUIRED_FILE += /lib/$(MACH64)/libnsl.so |
|
127 REQUIRED_FILE += /lib/$(MACH64)/libpthread.so |
|
128 REQUIRED_FILE += /lib/$(MACH64)/libscf.so |
|
129 REQUIRED_FILE += /lib/$(MACH64)/libsocket.so |
|
130 REQUIRED_FILE += /lib/$(MACH64)/libthread.so |
|
131 REQUIRED_FILE += /lib/$(MACH64)/libxml2.so |
|
132 REQUIRED_FILE += /lib/$(MACH64)/libz.so |
|
133 REQUIRED_FILE += /lib/libc.so |
|
134 REQUIRED_FILE += /lib/libcrypto.so |
|
135 REQUIRED_FILE += /lib/libm.so |
|
136 REQUIRED_FILE += /lib/libnsl.so |
|
137 REQUIRED_FILE += /lib/libpthread.so |
|
138 REQUIRED_FILE += /lib/libscf.so |
|
139 REQUIRED_FILE += /lib/libsocket.so |
|
140 REQUIRED_FILE += /lib/libthread.so |
|
141 REQUIRED_FILE += /lib/libxml2.so |
|
142 REQUIRED_FILE += /lib/libz.so |
|
143 REQUIRED_FILE += /usr/include/arpa/inet.h |
|
144 REQUIRED_FILE += /usr/include/assert.h |
|
145 REQUIRED_FILE += /usr/include/ctype.h |
|
146 REQUIRED_FILE += /usr/include/dirent.h |
|
147 REQUIRED_FILE += /usr/include/dlfcn.h |
|
148 REQUIRED_FILE += /usr/include/errno.h |
|
149 REQUIRED_FILE += /usr/include/execinfo.h |
|
150 REQUIRED_FILE += /usr/include/fcntl.h |
|
151 REQUIRED_FILE += /usr/include/float.h |
|
152 REQUIRED_FILE += /usr/include/grp.h |
|
153 REQUIRED_FILE += /usr/include/iconv.h |
|
154 REQUIRED_FILE += /usr/include/inttypes.h |
|
155 REQUIRED_FILE += /usr/include/libgen.h |
|
156 REQUIRED_FILE += /usr/include/libintl.h |
|
157 REQUIRED_FILE += /usr/include/libscf.h |
|
158 REQUIRED_FILE += /usr/include/libxml2/libxml/encoding.h |
|
159 REQUIRED_FILE += /usr/include/libxml2/libxml/xmlwriter.h |
|
160 REQUIRED_FILE += /usr/include/limits.h |
|
161 REQUIRED_FILE += /usr/include/locale.h |
|
162 REQUIRED_FILE += /usr/include/memory.h |
|
163 REQUIRED_FILE += /usr/include/net/if_dl.h |
|
164 REQUIRED_FILE += /usr/include/net/if.h |
|
165 REQUIRED_FILE += /usr/include/netdb.h |
|
166 REQUIRED_FILE += /usr/include/netinet/in.h |
|
167 REQUIRED_FILE += /usr/include/nl_types.h |
|
168 REQUIRED_FILE += /usr/include/openssl/bn.h |
|
169 REQUIRED_FILE += /usr/include/openssl/conf.h |
|
170 REQUIRED_FILE += /usr/include/openssl/crypto.h |
|
171 REQUIRED_FILE += /usr/include/openssl/dh.h |
|
172 REQUIRED_FILE += /usr/include/openssl/dsa.h |
|
173 REQUIRED_FILE += /usr/include/openssl/e_os2.h |
|
174 REQUIRED_FILE += /usr/include/openssl/engine.h |
|
175 REQUIRED_FILE += /usr/include/openssl/err.h |
|
176 REQUIRED_FILE += /usr/include/openssl/evp.h |
|
177 REQUIRED_FILE += /usr/include/openssl/objects.h |
|
178 REQUIRED_FILE += /usr/include/openssl/opensslv.h |
|
179 REQUIRED_FILE += /usr/include/openssl/rand.h |
|
180 REQUIRED_FILE += /usr/include/openssl/rsa.h |
|
181 REQUIRED_FILE += /usr/include/openssl/x509.h |
|
182 REQUIRED_FILE += /usr/include/pthread.h |
|
183 REQUIRED_FILE += /usr/include/pwd.h |
|
184 REQUIRED_FILE += /usr/include/regex.h |
|
185 REQUIRED_FILE += /usr/include/signal.h |
|
186 REQUIRED_FILE += /usr/include/stdarg.h |
|
187 REQUIRED_FILE += /usr/include/stddef.h |
|
188 REQUIRED_FILE += /usr/include/stdint.h |
|
189 REQUIRED_FILE += /usr/include/stdio.h |
|
190 REQUIRED_FILE += /usr/include/stdlib.h |
|
191 REQUIRED_FILE += /usr/include/string.h |
|
192 REQUIRED_FILE += /usr/include/strings.h |
|
193 REQUIRED_FILE += /usr/include/sys/ioctl.h |
|
194 REQUIRED_FILE += /usr/include/sys/param.h |
|
195 REQUIRED_FILE += /usr/include/sys/resource.h |
|
196 REQUIRED_FILE += /usr/include/sys/select.h |
|
197 REQUIRED_FILE += /usr/include/sys/socket.h |
|
198 REQUIRED_FILE += /usr/include/sys/sockio.h |
|
199 REQUIRED_FILE += /usr/include/sys/stat.h |
|
200 REQUIRED_FILE += /usr/include/sys/time.h |
|
201 REQUIRED_FILE += /usr/include/sys/types.h |
|
202 REQUIRED_FILE += /usr/include/sys/uio.h |
|
203 REQUIRED_FILE += /usr/include/sys/un.h |
|
204 REQUIRED_FILE += /usr/include/sys/wait.h |
|
205 REQUIRED_FILE += /usr/include/syslog.h |
|
206 REQUIRED_FILE += /usr/include/termios.h |
|
207 REQUIRED_FILE += /usr/include/time.h |
|
208 REQUIRED_FILE += /usr/include/unistd.h |
|
209 |
|
210 include ../../make-rules/depend.mk |
|