inspircd: Change default option from openssl to gnutls. inspircd is GPLv2 and does not have an exception to allow linking against OpenSSL. The inspircd documentation also describes the gnutls module as performing better and being preferred in most cases.diff -r1.61 -r1.62 pkgsrc/chat/inspircd/Makefile
(nia)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.61 2019/01/31 14:28:37 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.62 2019/03/02 11:12:38 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= inspircd-2.0.27 | 3 | DISTNAME= inspircd-2.0.27 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= chat | 5 | CATEGORIES= chat | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=inspircd/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=inspircd/} | |
6 | GITHUB_TAG= v${PKGVERSION_NOREV} | 7 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
7 | 8 | |||
8 | MAINTAINER= nia@NetBSD.org | 9 | MAINTAINER= nia@NetBSD.org | |
9 | HOMEPAGE= https://www.inspircd.org/ | 10 | HOMEPAGE= https://www.inspircd.org/ | |
10 | COMMENT= Modular Internet Relay Chat (IRC) server | 11 | COMMENT= Modular Internet Relay Chat (IRC) server | |
11 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
12 | 13 | |||
13 | EXTRACT_USING= bsdtar | 14 | EXTRACT_USING= bsdtar | |
14 | USE_TOOLS+= perl pkg-config | 15 | USE_TOOLS+= perl pkg-config | |
15 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
16 | HAS_CONFIGURE= yes | 17 | HAS_CONFIGURE= yes |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: options.mk,v 1.5 2019/01/30 10:16:47 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.6 2019/03/02 11:12:38 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.inspircd | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.inspircd | |
4 | PKG_SUPPORTED_OPTIONS= geoip gnutls openssl mysql ldap pcre pgsql sqlite3 | 4 | PKG_SUPPORTED_OPTIONS= geoip gnutls openssl mysql ldap pcre pgsql sqlite3 | |
5 | PKG_SUGGESTED_OPTIONS= openssl | 5 | PKG_SUGGESTED_OPTIONS= gnutls | |
6 | PLIST_VARS+= geoip gnutls openssl mysql ldap pcre pgsql sqlite3 | 6 | PLIST_VARS+= geoip gnutls openssl mysql ldap pcre pgsql sqlite3 | |
7 | 7 | |||
8 | .include "../../mk/bsd.options.mk" | 8 | .include "../../mk/bsd.options.mk" | |
9 | 9 | |||
10 | .if !empty(PKG_OPTIONS:Mgeoip) | 10 | .if !empty(PKG_OPTIONS:Mgeoip) | |
11 | PLIST.geoip= yes | 11 | PLIST.geoip= yes | |
12 | INSPIRCD_EXTRAS+= m_geoip.cpp | 12 | INSPIRCD_EXTRAS+= m_geoip.cpp | |
13 | .include "../../net/GeoIP/buildlink3.mk" | 13 | .include "../../net/GeoIP/buildlink3.mk" | |
14 | .endif | 14 | .endif | |
15 | 15 | |||
16 | .if !empty(PKG_OPTIONS:Mgnutls) | 16 | .if !empty(PKG_OPTIONS:Mgnutls) | |
17 | PLIST.gnutls= yes | 17 | PLIST.gnutls= yes | |
18 | CONFIGURE_ARGS+= --enable-gnutls | 18 | CONFIGURE_ARGS+= --enable-gnutls |