NetBSD Problem Report #44143

From www@NetBSD.org  Wed Nov 24 02:21:27 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0A44863BAE5
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Nov 2010 02:21:27 +0000 (UTC)
Message-Id: <20101124022126.AF87263B95F@www.NetBSD.org>
Date: Wed, 24 Nov 2010 02:21:26 +0000 (UTC)
From: suntsu@suntsu.org
Reply-To: suntsu@suntsu.org
To: gnats-bugs@NetBSD.org
Subject: [patch] Add otr and libpurple to bitlbee-3.0
X-Send-Pr-Version: www-1.0

>Number:         44143
>Category:       pkg
>Synopsis:       [patch] Add otr and libpurple to bitlbee-3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tonio
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 24 02:25:00 +0000 2010
>Last-Modified:  Sun Jun 12 00:45:01 +0000 2016
>Originator:     Sascha Schneider
>Release:        5.1_RC3
>Organization:
>Environment:
NetBSD machine.name 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Sat Jun 12 20:26:01 UTC 2010  builds@b8.netbsd.org:/home/builds/ab/netbsd-5-1-RC3/amd64/201006130031Z-obj/home/builds/ab/netbsd-5-1-RC3/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
bitlbee-3.0 as is does not make use of libotr and libpurple, which are new to the mainstream bitlbee. I created a small patch to make bitlbee configure and build with them and it seems to work OK.
>How-To-Repeat:

>Fix:
*** Makefile    Wed Nov 24 03:16:50 2010
--- Makefile.bitlbee3   Wed Nov 24 03:14:38 2010
***************
*** 60,66 ****
  .endfor

  PKG_OPTIONS_VAR=      PKG_OPTIONS.bitlbee
! PKG_SUPPORTED_OPTIONS=        inet6
  .include "../../mk/bsd.options.mk"

  .if !empty(PKG_OPTIONS:Minet6)
--- 60,66 ----
  .endfor

  PKG_OPTIONS_VAR=      PKG_OPTIONS.bitlbee
! PKG_SUPPORTED_OPTIONS=        inet6 libpurple otr
  .include "../../mk/bsd.options.mk"

  .if !empty(PKG_OPTIONS:Minet6)
***************
*** 69,74 ****
--- 69,88 ----
  CONFIGURE_ARGS+=      --ipv6=0
  .endif

+ .if !empty(PKG_OPTIONS:Mlibpurple)
+ CONFIGURE_ARGS+=      --purple=1
+ .include "../../chat/libpurple/buildlink3.mk"
+ .else
+ CONFIGURE_ARGS+=        --purple=0
+ .endif
+ 
+ .if !empty(PKG_OPTIONS:Motr)
+ CONFIGURE_ARGS+=      --otr=1
+ .include "../../chat/libotr/buildlink3.mk"
+ .else
+ CONFIGURE_ARGS+=        --otr=0
+ .endif
+ 
  RCD_SCRIPTS=          bitlbee
  RCD_SCRIPT_SRC.estd=  ${FILESDIR}/bitlbee.sh


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tonio
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 24 Nov 2010 09:52:17 +0000
Responsible-Changed-Why:
Over to maintainer.


From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44143: [patch] Add otr and libpurple to bitlbee-3.0
Date: Mon, 2 May 2016 15:37:00 +0000

 Thanks for the patch.

 I've added it to wip/bitlbee and updated it to 3.4.2.
 It seems to build fine, but I'm not sure how to test otr etc.

 additionally, bitlbee should probably run as bitlbee user, not root...
 is there a way to write this in the rc script?

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44143: [patch] Add otr and libpurple to bitlbee-3.0
Date: Sat, 11 Jun 2016 21:15:57 +0000

 On Mon, May 02, 2016 at 03:40:00PM +0000, coypu@SDF.ORG wrote:
  >  Thanks for the patch.
  >  
  >  I've added it to wip/bitlbee and updated it to 3.4.2.
  >  It seems to build fine, but I'm not sure how to test otr etc.
  >  
  >  additionally, bitlbee should probably run as bitlbee user, not root...
  >  is there a way to write this in the rc script?

 See e.g. postgresql93-server for an example.

 -- 
 David A. Holland
 dholland@netbsd.org

From: youri <youri.mout@gmail.com>
To: gnats-bugs@NetBSD.org, tonio@NetBSD.org, gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org, suntsu@suntsu.org
Cc: 
Subject: Re: pkg/44143: [patch] Add otr and libpurple to bitlbee-3.0
Date: Sat, 11 Jun 2016 23:22:46 +0200

 On 11/06/16 23:20, David Holland wrote:
 > The following reply was made to PR pkg/44143; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/44143: [patch] Add otr and libpurple to bitlbee-3.0
 > Date: Sat, 11 Jun 2016 21:15:57 +0000
 > 
 >  On Mon, May 02, 2016 at 03:40:00PM +0000, coypu@SDF.ORG wrote:
 >   >  Thanks for the patch.
 >   >  
 >   >  I've added it to wip/bitlbee and updated it to 3.4.2.
 >   >  It seems to build fine, but I'm not sure how to test otr etc.
 >   >  
 >   >  additionally, bitlbee should probably run as bitlbee user, not root...
 >   >  is there a way to write this in the rc script?
 >  
 >  See e.g. postgresql93-server for an example.
 >  

 Please use a simpler example such as sysutils/dbus.

 >  -- 
 >  David A. Holland
 >  dholland@netbsd.org
 >  
 > 

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44143: [patch] Add otr and libpurple to bitlbee-3.0
Date: Sun, 12 Jun 2016 00:40:15 +0000

 On Sat, Jun 11, 2016 at 09:25:00PM +0000, youri wrote:
  >>>  additionally, bitlbee should probably run as bitlbee user, not root...
  >>>  is there a way to write this in the rc script?
  >>  
  >>  See e.g. postgresql93-server for an example.
  >>  
  >  
  >  Please use a simpler example such as sysutils/dbus.

 ...dbus runs as root...

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.