| @@ -1,74 +1,76 @@ | | | @@ -1,74 +1,76 @@ |
1 | # $NetBSD: Makefile,v 1.7 2019/11/18 18:34:10 ng0 Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2019/12/14 12:35:20 ng0 Exp $ |
2 | | | 2 | |
3 | DISTNAME= gnurl-7.67.0 | | 3 | DISTNAME= gnurl-7.67.0 |
4 | CATEGORIES= www | | 4 | CATEGORIES= www |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=gnunet/} | | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=gnunet/} |
6 | EXTRACT_SUFX= .tar.Z | | 6 | EXTRACT_SUFX= .tar.Z |
7 | | | 7 | |
8 | MAINTAINER= ng0@NetBSD.org | | 8 | MAINTAINER= ng0@NetBSD.org |
9 | HOMEPAGE= https://gnunet.org/en/gnurl.html | | 9 | HOMEPAGE= https://gnunet.org/en/gnurl.html |
10 | COMMENT= Client that groks URLs (micro fork of curl) | | 10 | COMMENT= Client that groks URLs (micro fork of curl) |
11 | # not completely, the curl license is inspired by mit | | 11 | # not completely, the curl license is inspired by mit |
12 | LICENSE= mit | | 12 | LICENSE= mit |
13 | | | 13 | |
14 | BUILD_DEFS+= IPV6_READY | | 14 | BUILD_DEFS+= IPV6_READY |
15 | | | 15 | |
16 | USE_TOOLS+= perl pkg-config | | 16 | USE_TOOLS+= pkg-config |
17 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
18 | GNU_CONFIGURE= yes # make install depends on it | | 18 | GNU_CONFIGURE= yes # make install depends on it |
19 | PKGCONFIG_OVERRIDE= libgnurl.pc.in | | 19 | PKGCONFIG_OVERRIDE= libgnurl.pc.in |
20 | INSTALLATION_DIRS= share/doc/gnurl | | 20 | INSTALLATION_DIRS= share/doc/gnurl |
21 | | | 21 | |
22 | .include "../../mk/bsd.prefs.mk" | | 22 | .include "../../mk/bsd.prefs.mk" |
23 | | | 23 | |
24 | # or "check"? | | 24 | # or "check"? |
25 | TEST_TARGET= -C tests test | | 25 | TEST_TARGET= -C tests test |
26 | | | 26 | |
27 | CONFIGURE_ARGS+= --without-libssh2 | | 27 | CONFIGURE_ARGS+= --without-libssh2 |
28 | CONFIGURE_ARGS+= --without-libmetalink | | 28 | CONFIGURE_ARGS+= --without-libmetalink |
29 | CONFIGURE_ARGS+= --without-winidn | | 29 | CONFIGURE_ARGS+= --without-winidn |
30 | CONFIGURE_ARGS+= --without-librtmp | | 30 | CONFIGURE_ARGS+= --without-librtmp |
31 | CONFIGURE_ARGS+= --without-nghttp2 | | 31 | CONFIGURE_ARGS+= --without-nghttp2 |
32 | CONFIGURE_ARGS+= --without-nss | | 32 | CONFIGURE_ARGS+= --without-nss |
| | | 33 | # \todo: is cyassl deprecated? |
33 | CONFIGURE_ARGS+= --without-cyassl | | 34 | CONFIGURE_ARGS+= --without-cyassl |
34 | CONFIGURE_ARGS+= --without-ssl | | 35 | CONFIGURE_ARGS+= --without-ssl |
35 | CONFIGURE_ARGS+= --without-winssl | | 36 | CONFIGURE_ARGS+= --without-winssl |
36 | CONFIGURE_ARGS+= --without-darwinssl | | 37 | CONFIGURE_ARGS+= --without-darwinssl |
37 | CONFIGURE_ARGS+= --disable-sspi | | 38 | CONFIGURE_ARGS+= --disable-sspi |
38 | CONFIGURE_ARGS+= --disable-ldap | | 39 | CONFIGURE_ARGS+= --disable-ldap |
39 | CONFIGURE_ARGS+= --without-libpsl | | 40 | CONFIGURE_ARGS+= --without-libpsl |
40 | CONFIGURE_ARGS+= --disable-rtsp | | 41 | CONFIGURE_ARGS+= --disable-rtsp |
41 | CONFIGURE_ARGS+= --disable-dict | | 42 | CONFIGURE_ARGS+= --disable-dict |
42 | CONFIGURE_ARGS+= --disable-telnet | | 43 | CONFIGURE_ARGS+= --disable-telnet |
43 | CONFIGURE_ARGS+= --disable-tftp | | 44 | CONFIGURE_ARGS+= --disable-tftp |
44 | CONFIGURE_ARGS+= --disable-pop3 | | 45 | CONFIGURE_ARGS+= --disable-pop3 |
45 | CONFIGURE_ARGS+= --disable-imap | | 46 | CONFIGURE_ARGS+= --disable-imap |
46 | CONFIGURE_ARGS+= --disable-smtp | | 47 | CONFIGURE_ARGS+= --disable-smtp |
47 | CONFIGURE_ARGS+= --disable-gopher | | 48 | CONFIGURE_ARGS+= --disable-gopher |
48 | CONFIGURE_ARGS+= --disable-file | | 49 | CONFIGURE_ARGS+= --disable-file |
49 | CONFIGURE_ARGS+= --disable-ftp | | 50 | CONFIGURE_ARGS+= --disable-ftp |
50 | CONFIGURE_ARGS+= --disable-smb | | 51 | CONFIGURE_ARGS+= --disable-smb |
51 | CONFIGURE_ARGS+= --disable-ntlm-wb | | 52 | CONFIGURE_ARGS+= --disable-ntlm-wb |
52 | CONFIGURE_ARGS+= --with-gnutls | | 53 | CONFIGURE_ARGS+= --with-gnutls |
53 | CONFIGURE_ARGS+= --with-libidn2 | | 54 | CONFIGURE_ARGS+= --with-libidn2 |
| | | 55 | # \todo: is with libz deprecated? |
54 | CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib} | | 56 | CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib} |
55 | # Fallback to gnutls preferred CA certificates | | 57 | # Fallback to gnutls preferred CA certificates |
56 | CONFIGURE_ARGS+= --without-ca-bundle | | 58 | CONFIGURE_ARGS+= --without-ca-bundle |
57 | CONFIGURE_ARGS+= --without-ca-path | | 59 | CONFIGURE_ARGS+= --without-ca-path |
58 | CONFIGURE_ARGS+= --with-ca-fallback | | 60 | CONFIGURE_ARGS+= --with-ca-fallback |
59 | # Do not pick up GSS, should be fixed in upstream. | | 61 | # Do not pick up GSS. |
60 | # https://bugs.gnunet.org/view.php?id=5610 | | 62 | # https://bugs.gnunet.org/view.php?id=5610 |
61 | CONFIGURE_ARGS+= --without-gssapi | | 63 | # CONFIGURE_ARGS+= --without-gssapi |
62 | CONFIGURE_ARGS+= --disable-valgrind | | 64 | CONFIGURE_ARGS+= --disable-valgrind |
63 | # We do not want HTTP3 support yet, see release announcement | | 65 | # We do not want HTTP3 support yet, see release announcement |
64 | CONFIGURE_ARGS+= --without-ngtcp2 | | 66 | CONFIGURE_ARGS+= --without-ngtcp2 |
65 | CONFIGURE_ARGS+= --without-nghttp2 | | 67 | CONFIGURE_ARGS+= --without-nghttp2 |
66 | CONFIGURE_ARGS+= --without-nghttp3 | | 68 | CONFIGURE_ARGS+= --without-nghttp3 |
67 | CONFIGURE_ARGS+= --without-quiche | | 69 | CONFIGURE_ARGS+= --without-quiche |
68 | | | 70 | |
69 | .include "options.mk" | | 71 | .include "options.mk" |
70 | | | 72 | |
71 | post-install: | | 73 | post-install: |
72 | .for f in TheArtOfHttpScripting FAQ | | 74 | .for f in TheArtOfHttpScripting FAQ |
73 | ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DESTDIR}${PREFIX}/share/doc/gnurl/ | | 75 | ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DESTDIR}${PREFIX}/share/doc/gnurl/ |
74 | .endfor | | 76 | .endfor |