summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-01-23 13:08:11 +0000
committernia <nia@pkgsrc.org>2021-01-23 13:08:11 +0000
commit18e5f0a80dccafa827b9fbe39c86d9ac7446eae5 (patch)
treefcc34ae1dfe5443a46248b394f53e4ef14963752 /chat
parentbee030e5e8c04e610c549f91ef73a9ee27dc83ff (diff)
downloadpkgsrc-18e5f0a80dccafa827b9fbe39c86d9ac7446eae5.tar.gz
profanity: Use OpenSSL certificates directory
Requested by leot
Diffstat (limited to 'chat')
-rw-r--r--chat/profanity/Makefile10
-rw-r--r--chat/profanity/distinfo4
-rw-r--r--chat/profanity/patches/patch-src_config_preferences.c6
3 files changed, 9 insertions, 11 deletions
diff --git a/chat/profanity/Makefile b/chat/profanity/Makefile
index 68e9fa96212..cfdb8eda142 100644
--- a/chat/profanity/Makefile
+++ b/chat/profanity/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2021/01/23 11:43:40 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/01/23 13:08:11 nia Exp $
DISTNAME= profanity-0.9.5
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= chat
MASTER_SITES= https://profanity-im.github.io/
@@ -10,8 +10,6 @@ HOMEPAGE= https://profanity-im.github.io/
COMMENT= Console based XMPP client inspired by irssi
LICENSE= gnu-gpl-v3
-DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
-
USE_TOOLS+= autoconf pkg-config
AUTOCONF_REQD= 2.69
@@ -30,9 +28,9 @@ SUBST_SED.python= -e 's,python-config,python${PYVERSSUFFIX}-config,g'
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
-SUBST_MESSAGE.paths= Fixing absolute paths.
+SUBST_MESSAGE.paths= Setting path to OpenSSL certificates.
SUBST_FILES.paths= src/config/preferences.c
-SUBST_VARS.paths= PREFIX
+SUBST_VARS.paths= SSLCERTS
CONFIGURE_ARGS+= --enable-plugins
CONFIGURE_ARGS+= --enable-c-plugins
diff --git a/chat/profanity/distinfo b/chat/profanity/distinfo
index 46720ca0afc..0d5c056a701 100644
--- a/chat/profanity/distinfo
+++ b/chat/profanity/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.4 2021/01/23 11:43:40 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/01/23 13:08:11 nia Exp $
SHA1 (profanity-0.9.5.tar.gz) = 88f3bcb483f25710cb35ab3e3f227f11b5d1225a
RMD160 (profanity-0.9.5.tar.gz) = 39c0a1b7f50e5000bfc649a0461d7f2d45230b16
SHA512 (profanity-0.9.5.tar.gz) = 79305ee488d3a9b87bb422d6525bfaae62c4969d466b968c86941ed5bf0c0080e349758f2e1ead144693513b5d19a635372e73aa1fe9e362836b9245e1d2b898
Size (profanity-0.9.5.tar.gz) = 830966 bytes
SHA1 (patch-configure.ac) = d7d07f7c62755bc46e318df216932d7273a0c34c
-SHA1 (patch-src_config_preferences.c) = e6e43149d37fbc6fa1483d68b079f3d138bf128e
+SHA1 (patch-src_config_preferences.c) = 165ef4c3c9ba6ae1a46f45ffb23ab91b7e8697a0
SHA1 (patch-src_ui_inputwin.c) = ccdfc1b1fe932ba09eafaf54ed10af453b1a6c80
SHA1 (patch-src_ui_rosterwin.c) = 1e31cbd7dc0bdaebe9e3fcddbecceeb60b70faf2
SHA1 (patch-src_ui_window.c) = 5844f276517260beb2ea767523f44c46d6b562d2
diff --git a/chat/profanity/patches/patch-src_config_preferences.c b/chat/profanity/patches/patch-src_config_preferences.c
index 1b3e437d2bb..f130f15953e 100644
--- a/chat/profanity/patches/patch-src_config_preferences.c
+++ b/chat/profanity/patches/patch-src_config_preferences.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_config_preferences.c,v 1.1 2021/01/23 11:43:40 nia Exp $
+$NetBSD: patch-src_config_preferences.c,v 1.2 2021/01/23 13:08:11 nia Exp $
Set paths for security/mozilla-rootcerts.
@@ -22,8 +22,8 @@ Set paths for security/mozilla-rootcerts.
- }
- if (g_file_test("/system/etc/security/cacerts", G_FILE_TEST_IS_DIR)) {
- return strdup("/system/etc/security/cacerts");
-+ if (g_file_test("@PREFIX@/share/mozilla-rootcerts", G_FILE_TEST_IS_DIR)) {
-+ return strdup("@PREFIX@/share/mozilla-rootcerts");
++ if (g_file_test("@SSLCERTS@", G_FILE_TEST_IS_DIR)) {
++ return strdup("@SSLCERTS@");
}
return NULL;