diff options
author | nikita <nikita@pkgsrc.org> | 2020-05-14 14:30:02 +0000 |
---|---|---|
committer | nikita <nikita@pkgsrc.org> | 2020-05-14 14:30:02 +0000 |
commit | 9ae6e683a5fc10e1c81c538381efe4607e6c6525 (patch) | |
tree | 02f03df9081f008d1d8b5caf3aadfe306ec71301 /security | |
parent | 6d3bdd575bebd67bc1bf5adf93c3c314f3df21e6 (diff) | |
download | pkgsrc-9ae6e683a5fc10e1c81c538381efe4607e6c6525.tar.gz |
security/gnutls: revbump, add support for building guile bindings
Diffstat (limited to 'security')
-rw-r--r-- | security/gnutls/Makefile | 4 | ||||
-rw-r--r-- | security/gnutls/PLIST.guile | 10 | ||||
-rw-r--r-- | security/gnutls/buildlink3.mk | 8 | ||||
-rw-r--r-- | security/gnutls/options.mk | 12 |
4 files changed, 29 insertions, 5 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 59ce365083b..fde59699f29 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.210 2020/04/01 08:24:07 adam Exp $ +# $NetBSD: Makefile,v 1.211 2020/05/14 14:30:02 nikita Exp $ DISTNAME= gnutls-3.6.13 +PKGREVISION= 1 CATEGORIES= security devel MASTER_SITES= https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/ EXTRACT_SUFX= .tar.xz @@ -21,7 +22,6 @@ USE_TOOLS+= msgfmt msgmerge xgettext GNU_CONFIGURE= yes # this library duplicates (and conflicts with) openssl CONFIGURE_ARGS+= --disable-openssl-compatibility -CONFIGURE_ARGS+= --disable-guile CONFIGURE_ARGS+= --disable-libdane CONFIGURE_ARGS+= --without-idn CONFIGURE_ARGS+= --without-tpm diff --git a/security/gnutls/PLIST.guile b/security/gnutls/PLIST.guile new file mode 100644 index 00000000000..dd3c4cbb59c --- /dev/null +++ b/security/gnutls/PLIST.guile @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST.guile,v 1.1 2020/05/14 14:30:02 nikita Exp $ +guile/2.2/lib/guile/2.2/extensions/guile-gnutls-v-2.a +guile/2.2/lib/guile/2.2/extensions/guile-gnutls-v-2.la +guile/2.2/lib/guile/2.2/extensions/guile-gnutls-v-2.so +guile/2.2/lib/guile/2.2/extensions/guile-gnutls-v-2.so.0 +guile/2.2/lib/guile/2.2/extensions/guile-gnutls-v-2.so.0.0.0 +guile/2.2/lib/guile/2.2/site-ccache/gnutls.go +guile/2.2/lib/guile/2.2/site-ccache/gnutls/extra.go +guile/2.2/share/guile/site/2.2/gnutls.scm +guile/2.2/share/guile/site/2.2/gnutls/extra.scm diff --git a/security/gnutls/buildlink3.mk b/security/gnutls/buildlink3.mk index 3000b804c08..01cc28bd5b1 100644 --- a/security/gnutls/buildlink3.mk +++ b/security/gnutls/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.36 2020/03/08 16:48:06 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.37 2020/05/14 14:30:02 nikita Exp $ BUILDLINK_TREE+= gnutls @@ -18,6 +18,12 @@ BUILDLINK_API_DEPENDS.nettle+= nettle>=3.4.1 .include "../../security/nettle/buildlink3.mk" .include "../../security/p11-kit/buildlink3.mk" .include "../../textproc/libunistring/buildlink3.mk" +.if !empty(PKG_BUILD_OPTIONS.gnutls:Mdane) +.include "../../net/unbound/buildlink3.mk" +.endif +.if !empty(PKG_BUILD_OPTIONS.gnutls:Mguile) +.include "../../lang/guile22/buildlink3.mk" +.endif .endif # GNUTLS_BUILDLINK3_MK BUILDLINK_TREE+= -gnutls diff --git a/security/gnutls/options.mk b/security/gnutls/options.mk index 3499a07c4b3..41bf3c07b62 100644 --- a/security/gnutls/options.mk +++ b/security/gnutls/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.2 2019/10/04 17:25:53 nia Exp $ +# $NetBSD: options.mk,v 1.3 2020/05/14 14:30:02 nikita Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gnutls -PKG_SUPPORTED_OPTIONS= dane +PKG_SUPPORTED_OPTIONS= dane guile .include "../../mk/bsd.options.mk" @@ -12,3 +12,11 @@ PLIST_SRC+= PLIST.dane .else CONFIGURE_ARGS+= --disable-libdane .endif + +.if !empty(PKG_OPTIONS:Mguile) +.include "../../lang/guile22/buildlink3.mk" +CONFIGURE_ARGS+= --enable-guile +PLIST_SRC+= PLIST.guile +.else +CONFIGURE_ARGS+= --disable-guile +.endif |