NetBSD Problem Report #36461

From martin@duskware.de  Fri Jun  8 22:53:14 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id F1E7363B8FF
	for <gnats-bugs@gnats.netbsd.org>; Fri,  8 Jun 2007 22:53:13 +0000 (UTC)
Message-Id: <20070608213754.7BD0363B8FF@narn.NetBSD.org>
Date: Fri,  8 Jun 2007 21:37:54 +0000 (UTC)
From: adam.hoka@gmail.com
Reply-To: adam.hoka@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: weechat gnutls support
X-Send-Pr-Version: www-1.0

>Number:         36461
>Category:       pkg
>Synopsis:       weechat gnutls support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tonio
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 22:55:00 +0000 2007
>Closed-Date:    Sun Jun 10 22:23:25 +0000 2007
>Last-Modified:  Sun Jun 10 22:23:25 +0000 2007
>Originator:     Adam Hoka
>Release:        NetBSD 4.0
>Organization:
>Environment:
>Description:
Weechat doesn`t have a gnutls option to use ssl connections.
I have made a few changes to the makefiles to accept gnutls as make-option to enable ssl support if needed.
>How-To-Repeat:

>Fix:
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/chat/weechat/options.mk,v
retrieving revision 1.2
diff -u -r1.2 options.mk
--- options.mk	15 Jan 2007 20:25:01 -0000	1.2
+++ options.mk	31 May 2007 13:13:25 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.2 2007/01/15 20:25:01 tonio Exp $

 PKG_OPTIONS_VAR=	PKG_OPTIONS.weechat
-PKG_SUPPORTED_OPTIONS=	charset python lua
+PKG_SUPPORTED_OPTIONS=	charset gnutls python lua
 PKG_SUGGESTED_OPTIONS=	charset

 .include "../../mk/bsd.options.mk"
@@ -32,6 +32,10 @@
 PLIST_SUBST+= WITHLUA="@comment "
 .endif

+.if !empty(PKG_OPTIONS:Mgnutls)
+.include "../../security/gnutls/buildlink3.mk"
+.endif
+
 .if !empty(PKG_OPTIONS:Mpython) || !empty(PKG_OPTIONS:Mlua) \
     || !empty(PKG_OPTIONS:Mcharset)
 PLIST_SUBST+= WITHPLUGIN=""

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tonio
Responsible-Changed-By: tonio@netbsd.org
Responsible-Changed-When: Fri, 08 Jun 2007 23:09:11 +0000
Responsible-Changed-Why:
Over to maintainer


From: Antoine Reilles <tonio@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36461 CVS commit: pkgsrc/chat/weechat
Date: Sun, 10 Jun 2007 22:20:10 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tonio
 Date:		Sun Jun 10 22:20:10 UTC 2007

 Modified Files:
 	pkgsrc/chat/weechat: Makefile distinfo options.mk

 Log Message:
 Update chat/weechat to 0.2.5

 Add gnutls option, to enable ssl support, fix PR 36461
 Thanks Adam Hoka for providing a patch

 Version 0.2.5 (2007-06-07):
    * fixed QUOTE command: now allowed when socket is ok (even if IRC
      connection to server is not ok) (bug #20113)
    * added missing IRC commands (327, 378, 379) (bug #20091)
    * fixed hotlist when exiting search mode: current buffer is removed from
      hotlist
    * added "%M" for completion with nicks of current server (nicks on open
      channels) (task #6931)
    * improved key bindings: now possible to bind a key on many commands,
      separated by semicolon (task #5444)
    * improved IRC long message split: use word boundary (task #6685)
    * removed ":" for unknown IRC commands before arguments (bug #19929)
    * fixed "%C" completion: now completes with all channels of all servers
    * fixed bug with "/buffer query_name", added server and channel completion
      for /buffer command (bug #19928)
    * added cmake for weechat compile (patch #5943)
    * fixed IRC mode parsing when receiving modes with arguments (bug #19902)
    * fixed crash with IRC JOIN malformed message (bug #19891)
    * fixed bug with nick prefixes on some IRC servers (bug #19854)
    * improved setup file save: now writes temporary file, then rename it
      (task #6847)
    * fixed bug with $nick/$channel/$server variables in commands
    * forget current nick when user manually disconnects from server
    * fixed nick display in input window
    * fixed bug with erroneous nickname when connecting to server (bug #19812)
    * fixed display bugs in IRC error messages
    * added protocol priority for gnutls (patch #5915)
    * added channel admin mode '!' for some IRC servers
    * fixed bug with iso2022jp locale (bug #18719)
    * fixed string format bug when displaying string thru plugin script API
    * added /reconnect command (task #5448)
    * added "-all" option for /connect and /disconnect commands (task #6232)
    * improved nick completion: completion with last speakers first and self
      nick at the end; added option look_nick_completion_smart, enabled by
      default (task #5896)
    * fixed nick completion in command arguments (bug #19590)
    * fixed possible crash with nick completion when a nick leaves channel
      (bug #19589)
    * added color for input text not found in buffer history
    * fixed USER message when connecting to IRC server (patch #5835)


 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.15 pkgsrc/chat/weechat/Makefile
 cvs rdiff -r1.10 -r1.11 pkgsrc/chat/weechat/distinfo
 cvs rdiff -r1.2 -r1.3 pkgsrc/chat/weechat/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tonio@netbsd.org
State-Changed-When: Sun, 10 Jun 2007 22:23:25 +0000
State-Changed-Why:
Patch applied, thanks for the PR !


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.