From cj@214.norrgarden.se  Thu Jan 25 13:24:53 2001
Return-Path: <cj@214.norrgarden.se>
Received: from 214.norrgarden.se (214.norrgarden.se [195.100.133.214])
	by hub.freebsd.org (Postfix) with ESMTP id 1756337B69B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Jan 2001 13:24:52 -0800 (PST)
Received: (from root@localhost)
	by 214.norrgarden.se (8.11.1/8.11.1) id f0PLOn609123;
	Thu, 25 Jan 2001 22:24:49 +0100 (CET)
	(envelope-from cj)
Message-Id: <200101252124.f0PLOn609123@214.norrgarden.se>
Date: Thu, 25 Jan 2001 22:24:49 +0100 (CET)
From: cj@vallcom.net
Reply-To: cj@vallcom.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: update port: irc/bitchx
X-Send-Pr-Version: 3.2

>Number:         24644
>Category:       ports
>Synopsis:       update port: irc/bitchx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 25 13:30:00 PST 2001
>Closed-Date:    Sun Jan 28 14:23:39 PST 2001
>Last-Modified:  Sun Jan 28 14:24:52 PST 2001
>Originator:     Carl Johan Madestrand
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:
>Description:
add IPV6 support, patch by Henk Wevers <wevers@cg.hu>
also fix typo.
No update to 1.0c18 yet as I consider that version to be full of bugs.
>How-To-Repeat:
>Fix:


diff -urN /usr/ports/irc/bitchx/Makefile bitchx/Makefile
--- /usr/ports/irc/bitchx/Makefile	Sun Dec 24 13:52:45 2000
+++ bitchx/Makefile	Thu Jan 25 22:18:07 2001
@@ -41,7 +41,10 @@
 USE_ESOUND=	yes
 CONFIGURE_ARGS+=--enable-sound
 .endif
-
+.if defined(HAVE_IPV6)
+USE_IPV6=	yes
+CONFIGURE_ARGS+=--enable-ipv6
+.endif	
 .if defined(WITH_TCL)
 BUILD_DEPENDS+=	${LOCALBASE}/include/tcl8.3/tcl.h:${PORTSDIR}/lang/tcl83
 CONFIGURE_ARGS+=--with-tcl \
@@ -53,7 +56,7 @@
 .endif
 
 .if defined(WITH_SOCKS5)
-BUILD_DEPENDS+=		${LOCALBASE}/lib/libsocks5.a${PORTSDIR}/net/socks5
+BUILD_DEPENDS+=		${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
 CONFIGURE_ARGS+=--with-socks5=${LOCALBASE}
 CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include"
 .endif
@@ -78,7 +81,7 @@
 	@${ECHO} "WITH_LATIN - Recommended if you are using an ISO-8859-1 display"
 	@${ECHO} "WITH_TCL - Build BitchX with TCL scripting"
 	@${ECHO} "WITH_SOCKS5 - Build BitchX with SOCKS5 support"
-
+	@${ECHO} "WITH_IPV6 - Build BitchX with IPV6 support"
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/bx/help

>Release-Note:
>Audit-Trail:

From: Clive Lin <clive@CirX.ORG>
To: cj@vallcom.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/24644: update port: irc/bitchx
Date: Sun, 28 Jan 2001 08:05:09 +0800

 Hi,
 
 On Thu, Jan 25, 2001 at 10:24:49PM +0100, cj@vallcom.net wrote:
 > 
 > >Number:         24644
 > >Category:       ports
 > >Synopsis:       update port: irc/bitchx
 
 I applied your diff and added other stuffs.. I don't know if you like
 them. They are: 
 
 For some reasons, I jumped into BX's source several days ago.
 I found that 
 
     1) BX only supports esound if it's built with gnome.
 
 And, how about
 
     2) Don't display BX's WITH_(.*) switch which one is already defined ?
 
 Finally,
 
     3) Some cosmetics (whitespacechanges, actually) to satisfy
        portlint -abctN.
 
 Below is the regenerated huge diff:
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/irc/bitchx/Makefile,v
 retrieving revision 1.27
 diff -u -r1.27 Makefile
 --- Makefile	2000/12/20 13:44:27	1.27
 +++ Makefile	2001/01/27 23:58:13
 @@ -37,11 +37,14 @@
  .else
  CONFIGURE_ARGS+=--without-gtk
  .endif
 -.if defined(HAVE_ESOUND)
 +.if (defined(HAVE_ESOUND) && defined(HAVE_GNOME))
  USE_ESOUND=	yes
  CONFIGURE_ARGS+=--enable-sound
  .endif
 -
 +.if defined(HAVE_IPV6)
 +USE_IPV6=	yes
 +CONFIGURE_ARGS+=--enable-ipv6
 +.endif
  .if defined(WITH_TCL)
  BUILD_DEPENDS+=	${LOCALBASE}/include/tcl8.3/tcl.h:${PORTSDIR}/lang/tcl83
  CONFIGURE_ARGS+=--with-tcl \
 @@ -53,8 +56,8 @@
  .endif
  
  .if defined(WITH_SOCKS5)
 -BUILD_DEPENDS+=		${LOCALBASE}/lib/libsocks5.a${PORTSDIR}/net/socks5
 -CONFIGURE_ARGS+=--with-socks5=${LOCALBASE}
 +BUILD_DEPENDS+=		${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
 +CONFIGURE_ARGS+=	--with-socks5=${LOCALBASE}
  CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include"
  .endif
  
 @@ -74,10 +77,21 @@
  pre-extract:
  	@${ECHO} "Available switches:"
  	@${ECHO} "-------------------"
 +.if !defined(WITH_PLUGINS)
  	@${ECHO} "WITH_PLUGINS - Build the plugins"
 +.endif
 +.if !defined(WITH_LATIN)
  	@${ECHO} "WITH_LATIN - Recommended if you are using an ISO-8859-1 display"
 +.endif
 +.if !defined(WITH_TCL)
  	@${ECHO} "WITH_TCL - Build BitchX with TCL scripting"
 +.endif
 +.if !defined(WITH_SOCKS5)
  	@${ECHO} "WITH_SOCKS5 - Build BitchX with SOCKS5 support"
 +.endif
 +.if !defined(WITH_IPV6)
 +	@${ECHO} "WITH_IPV6 - Build BitchX with IPV6 support"
 +.endif
  
  post-install:
  .if !defined(NOPORTDOCS)
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/irc/bitchx/pkg-plist,v
 retrieving revision 1.7
 diff -u -r1.7 pkg-plist
 --- pkg-plist	2000/10/05 07:22:40	1.7
 +++ pkg-plist	2001/01/27 23:46:11
 @@ -916,20 +916,20 @@
  share/bx/help/functions
  share/bx/help/out
  %%PLUGINS:%%share/bx/plugins/BitchX.hints
 -%%PLUGINS:%%share/bx/plugins/acro.so 
 -%%PLUGINS:%%share/bx/plugins/amp.so 
 -%%PLUGINS:%%share/bx/plugins/autobot.so 
 -%%PLUGINS:%%share/bx/plugins/blowfish.so 
 -%%PLUGINS:%%share/bx/plugins/encrypt.so 
 -%%PLUGINS:%%share/bx/plugins/fserv.so 
 -%%PLUGINS:%%share/bx/plugins/hint.so 
 -%%PLUGINS:%%share/bx/plugins/nap.so 
 -%%PLUGINS:%%share/bx/plugins/pkga.so 
 -%%PLUGINS:%%share/bx/plugins/possum.so 
 -%%PLUGINS:%%share/bx/plugins/qmail.so 
 -%%PLUGINS:%%share/bx/plugins/scan.so 
 -%%PLUGINS:%%share/bx/plugins/wavplay.so 
 -%%PLUGINS:%%share/bx/plugins/qbx.so 
 +%%PLUGINS:%%share/bx/plugins/acro.so
 +%%PLUGINS:%%share/bx/plugins/amp.so
 +%%PLUGINS:%%share/bx/plugins/autobot.so
 +%%PLUGINS:%%share/bx/plugins/blowfish.so
 +%%PLUGINS:%%share/bx/plugins/encrypt.so
 +%%PLUGINS:%%share/bx/plugins/fserv.so
 +%%PLUGINS:%%share/bx/plugins/hint.so
 +%%PLUGINS:%%share/bx/plugins/nap.so
 +%%PLUGINS:%%share/bx/plugins/pkga.so
 +%%PLUGINS:%%share/bx/plugins/possum.so
 +%%PLUGINS:%%share/bx/plugins/qmail.so
 +%%PLUGINS:%%share/bx/plugins/scan.so
 +%%PLUGINS:%%share/bx/plugins/wavplay.so
 +%%PLUGINS:%%share/bx/plugins/qbx.so
  share/bx/script/actplug.gmz
  share/bx/script/bxglobal
  share/bx/script/bxtcl.tcl
 @@ -976,7 +976,7 @@
  @dirrm share/doc/bitchx
  @dirrm share/bx/translation
  @dirrm share/bx/script
 -%%PLUGINS:%%@dirrm share/bx/plugins 
 +%%PLUGINS:%%@dirrm share/bx/plugins
  @dirrm share/bx/help/8_Scripts
  @dirrm share/bx/help/7_Docs
  @dirrm share/bx/help/6_Functions
 -- 
 CirX - This site doesnt' exist.
 9c  k9o h9 s1bg s1f=, 7v  .y xqx a  sj m8r ffg1 vg5 a6 asox tmul h38 =. 
 ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. 
 

From: Clive Lin <clive@CirX.ORG>
To: cj@vallcom.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/24644: update port: irc/bitchx
Date: Sun, 28 Jan 2001 18:27:14 +0800

 FYI, BX recreated their tar ball..
 
 diff -u -r1.8 distinfo
 --- distinfo    2000/09/01 02:51:00     1.8
 +++ distinfo    2001/01/28 10:16:16
 @@ -1 +1 @@
 -MD5 (BitchX-1.0c17.tar.gz) = 4ab094ae58f0bacb14c3e480404215fd
 +MD5 (BitchX-1.0c17.tar.gz) = 9cbf6a87d2f3941a57ad10dd5c9cc8ad
 
 I checked its difference. They added something like stale socket
 detection.
 
 If you would like to see what's going on, take a look at
 http://www.cirx.org/~clive/dist/bx.diff ...
 
 On Thu, Jan 25, 2001 at 10:24:49PM +0100, cj@vallcom.net wrote:
 > 
 > >Number:         24644
 > >Category:       ports
 > >Synopsis:       update port: irc/bitchx
 
 -- 
 CirX - This site doesnt' exist.
 9c  k9o h9 s1bg s1f=, 7v  .y xqx a  sj m8r ffg1 vg5 a6 asox tmul h38 =. 
 ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. 
 
State-Changed-From-To: open->closed 
State-Changed-By: clive 
State-Changed-When: Sun Jan 28 14:23:39 PST 2001 
State-Changed-Why:  
Committed with other patches you approved, thank you. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24644 
>Unformatted:
