ports/172294: [NEW PORT] irc/bitchx-devel

Chris Petrik c.petrik.sosa at gmail.com
Wed Oct 3 03:40:06 UTC 2012


>Number:         172294
>Category:       ports
>Synopsis:       [NEW PORT] irc/bitchx-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 03 03:40:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
none
>Environment:
>Description:
I have been asked many times by the bitchx dev that it would be better to create a -devel and leave the port as is

I have done my attempt to revert back to bitchx 1. and create a bitchx-devel
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./files
#	./files/patch-source-Makefile.in
#	./files/patch-amd64_fix
#	./files/patch-aq
#	./distinfo
#	./pkg-descr
#	./pkg-plist
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-source-Makefile.in
sed 's/^X//' >./files/patch-source-Makefile.in << '738b59445194b9e69bf04ab324d287de'
X--- source/Makefile.in.orig	Fri Apr 11 03:09:07 2003
X+++ source/Makefile.in	Tue Mar 30 14:44:20 2004
X@@ -37,7 +37,7 @@
X IRCLIB = @IRCLIB@
X 
X CC = @CC@
X-DEFS = @INCLUDES@
X+DEFS = @INCLUDES@ @CPPFLAGS@
X LIBS = @LIBS@
X 
X # Tcl library.
X@@ -51,6 +51,7 @@
X # Set this to -g if you want to be able to debug the client, otherwise
X # use -O to have the compiler do some optimization instead.
X CFLAGS = @CFLAGS@
X+CPPFLAGS= @CPPFLAGS@
X 
X # Set this to -s if you want the binary to be stripped.
X LDFLAGS = @LDFLAGS@
738b59445194b9e69bf04ab324d287de
echo x - ./files/patch-amd64_fix
sed 's/^X//' >./files/patch-amd64_fix << '462c9e82746b064e695c06c077139a2d'
X
X
XPatch attached with submission follows:
X
Xdiff -ur BitchX.orig/include/module.h BitchX/include/module.h
X--- BitchX.orig/include/module.h	Fri Apr 11 03:09:07 2003
X+++ include/module.h	Sun Jan  8 17:18:15 2006
X@@ -15,7 +15,7 @@
X 
X #include "struct.h"
X 
X-typedef int (*Function_ptr)();
X+typedef long (*Function_ptr)();
X 
X #ifdef WANT_DLL
X #ifdef HPUX
Xdiff -ur BitchX.orig/source/screen.c BitchX/source/screen.c
X--- BitchX.orig/source/screen.c	Thu Jul 31 09:01:08 2003
X+++ source/screen.c	Sun Jan  8 17:18:18 2006
X@@ -1377,8 +1377,8 @@
X {
X 	if (!w)
X 		w = current_window;
X-	if (w->screen)
X-		w->screen->cursor_window = w;
X+/*	if (w->screen)
X+		w->screen->cursor_window = w;*/
X }
X 
X /*
X
X
462c9e82746b064e695c06c077139a2d
echo x - ./files/patch-aq
sed 's/^X//' >./files/patch-aq << '724c2a8a2c0c291444220586c232d4f2'
X--- include/config.h.old	Wed Mar 14 11:20:48 2001
X+++ include/config.h	Wed Mar 14 11:23:51 2001
X@@ -225,7 +225,7 @@
X  * in the client. defining this variable to 1 allows that happen. It also
X  * adds a HEBREW_TOGGLE variable which can turn this feature on/off
X  */
X-#undef WANT_HEBREW
X+#define WANT_HEBREW
X 
X /* if you use cidentd the filename is called .authlie instead of .noident.
X  * as well some modifications to the format of the file were made. So we 
X@@ -480,9 +480,9 @@
X #define DEFAULT_AINV 0
X #define DEFAULT_ANNOY_KICK OFF
X #define DEFAULT_AOP_VAR OFF
X-#define DEFAULT_AUTO_AWAY ON
X-#define DEFAULT_KICK_OPS ON
X-#define DEFAULT_AUTO_REJOIN ON
X+#define DEFAULT_AUTO_AWAY OFF
X+#define DEFAULT_KICK_OPS OFF
X+#define DEFAULT_AUTO_REJOIN OFF
X #define DEFAULT_DEOPFLOOD ON
X #if defined(__EMXPM__) || defined(WIN32)
X #define DEFAULT_CODEPAGE 437
X@@ -684,7 +684,7 @@
X #endif
X 
X #undef PARANOID		/* #define this if your paranoid about dcc hijacking */
X-#undef WANT_CHAN_NICK_SERV	/* do we want to include some chan/nick/oper server commands */
X+#define WANT_CHAN_NICK_SERV	/* do we want to include some chan/nick/oper server commands */
X 
X /* new epic stuff */
X #define OLD_STATUS_S_EXPANDO_BEHAVIOR
724c2a8a2c0c291444220586c232d4f2
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XSHA256 (BitchX-BitchX1.2-a22b86f.tar.gz) = 78868bf79960fdb3cb716f38a90a084aaf9dfd76498e0c7df252ef1e43ca9a08
XSIZE (BitchX-BitchX1.2-a22b86f.tar.gz) = 2555622
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XBitchX is an IRC (Internet Relay Chat) client by Colten Edwards aka
Xpanasync at EFnet, it is based on its predecessors ircII and Epic.
X
XBitchX was originally started as a script by Trench and HappyCrappy for
Xthe popular Unix IRC client ircII.  Around Christmas of 1994 the script
Xwas patched directly into the client by Colten Edwards.
X
XBitchX includes features which make it an eggdrop, a bouncer, and a
Xfriendly IRC client at the same time.
X
XBitchX is one the most popular IRC clients among Unix systems.  It is
Xhighly customizable and capable of running scripts, so it can be used
Xas an IRC bot too.
X
XWWW: http://www.bitchx.org/
0e313719ff012ceaf97a028d51caa8f5
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
X at unexec if [ -f %D/share/bx/script/bxglobal.old ]; then rm -f %D/share/bx/script/bxglobal.old; fi
X%%NOGNOME%%bin/BitchX
X%%NOGNOME%%bin/BitchX-1.2c01-svn
X%%GNOME%%bin/gtkBitchX
X%%GNOME%%bin/gtkBitchX-1.2c01-svn
X%%NOGNOME%%bin/scr-bx
Xshare/bx/BitchX.help
Xshare/bx/BitchX.ircnames
Xshare/bx/BitchX.quit
Xshare/bx/BitchX.kick
X%%PLUGINS%%share/bx/plugins/BitchX.hints
X%%PLUGINS%%share/bx/plugins/acro.so
X%%PLUGINS%%share/bx/plugins/autobot.so
X%%PLUGINS%%share/bx/plugins/blowfish.so
X%%PLUGINS%%share/bx/plugins/encrypt.so
X%%PLUGINS%%share/bx/plugins/fserv.so
X%%PLUGINS%%share/bx/plugins/hint.so
X%%PLUGINS%%share/bx/plugins/pkga.so
X%%PLUGINS%%share/bx/plugins/possum.so
X%%PLUGINS%%share/bx/plugins/qmail.so
X%%PLUGINS%%share/bx/plugins/wavplay.so
X%%PLUGINS%%share/bx/plugins/qbx.so
X%%PLUGINS%%share/bx/plugins/arcfour.so
X%%PLUGINS%%share/bx/plugins/autocycle.so
X%%PLUGINS%%share/bx/plugins/aim.so
X%%PLUGINS%%share/bx/plugins/cavlink.so
X%%PLUGINS%%share/bx/plugins/cdrom.so
X%%PLUGINS%%share/bx/plugins/nap.so
X%%PLUGINS%%share/bx/plugins/nicklist.so
X%%XMMS%%share/bx/plugins/xmms.so
Xshare/bx/script/SCRIPTS
Xshare/bx/script/actplug.gmz
Xshare/bx/script/bxglobal
Xshare/bx/script/bxtcl.tcl
Xshare/bx/script/cyp1.0k.tar.gz
Xshare/bx/script/dcc_fserve-0.50.tgz
Xshare/bx/script/example-.bitchxrc
Xshare/bx/script/file.tcl
Xshare/bx/script/fserve+vfs.tar.gz
Xshare/bx/script/logger.bx
Xshare/bx/script/menu.bx
Xshare/bx/script/operchallenge-1.3.tar
Xshare/bx/script/query.bx
Xshare/bx/script/auto_resume
Xshare/bx/script/fserve.irc
Xshare/bx/script/query
Xshare/bx/translation/ASCII
Xshare/bx/translation/CP437
Xshare/bx/translation/CP850
Xshare/bx/translation/DANISH
Xshare/bx/translation/DEC_MCS
Xshare/bx/translation/DG_MCS
Xshare/bx/translation/DUTCH
Xshare/bx/translation/FINNISH
Xshare/bx/translation/FRENCH
Xshare/bx/translation/FRENCH_CANADIAN
Xshare/bx/translation/GERMAN
Xshare/bx/translation/HP_MCS
Xshare/bx/translation/IRV
Xshare/bx/translation/ITALIAN
Xshare/bx/translation/JIS
Xshare/bx/translation/MACINTOSH
Xshare/bx/translation/NEXT
Xshare/bx/translation/NORWEGIAN_1
Xshare/bx/translation/NORWEGIAN_2
Xshare/bx/translation/POLISH
Xshare/bx/translation/POLISH_NOPL
Xshare/bx/translation/PORTUGUESE
Xshare/bx/translation/PORTUGUESE_COM
Xshare/bx/translation/RUSSIAN
Xshare/bx/translation/RUSSIAN_ALT
Xshare/bx/translation/RUSSIAN_WIN
Xshare/bx/translation/SPANISH
Xshare/bx/translation/SWEDISH
Xshare/bx/translation/SWEDISH_NAMES
Xshare/bx/translation/SWEDISH_NAMES_COM
Xshare/bx/translation/SWISS
Xshare/bx/translation/UNITED_KINGDOM
Xshare/bx/translation/UNITED_KINGDOM_COM
X%%NOGNOME%%share/bx/wserv
X at dirrm share/bx/translation
X at dirrm share/bx/script
X at dirrm share/bx/plugins
X at comment "@dirrm share/bx" must be appended after PORTDOCS stuff, see Makefile
ef3e7f63841ae908ba397c2bef1fbad6
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# Created by: Jimbo Bahooli <griffin at blackhole.iceworld.org>
X# $FreeBSD: head/irc/bitchx/Makefile 304693 2012-09-22 16:09:00Z danfe $
X
XPORTNAME=	BitchX
XPORTVERSION=	1.2
XCATEGORIES+=	irc
XDISTNAME=	${PORTNAME}-${PORTNAME}${PORTVERSION}-${GH_COMMIT}
X
XMAINTAINER?=	c.petrik.sosa at gmail.com
XCOMMENT?=	Feature-rich scriptable IRC client
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	${PORTNAME}
XGH_PROJECT=	${PORTNAME}1.2
XGH_TAGNAME=	master
XGH_COMMIT=	a22b86f
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
XCONFIGURE_ARGS=	--libdir="${PREFIX}/share"
XUSE_GMAKE=	yes
XUSE_PERL5=	yes
XWANT_GNOME=	yes
XDOCSDIR=	${PREFIX}/share/bx/help
XPORTDOCS=	*
X
XMAN1=		${PORTNAME}.1
X
XOPTIONS_DEFINE=	ESOUND GNOME IPV6 LATIN PLUGINS SSL XMMS
X
XGNOME_DESC=	Legacy GTK/GNOME frontend
XLATIN_DESC=	Recommended for ISO-8859-1 display
XPLUGINS_DESC=	Build a handful of BitchX plugins
XXMMS_DESC=	Build XMMS plugin
X
XOPTIONS_DEFAULT=	IPV6 PLUGINS SSL
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
XCFLAGS+=	-fPIC
X.endif
X
X.if ${PORT_OPTIONS:MIPV6}
XCONFIGURE_ARGS+=	--enable-ipv6
X.endif
X
X.if ${PORT_OPTIONS:MSSL}
XCONFIGURE_ARGS+=	--with-ssl
X.endif
X
X.if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MESOUND}
XUSE_GNOME=	gnomelibs
XCONFIGURE_ARGS+=	--with-gtk
X. if ${PORT_OPTIONS:MESOUND}
XUSE_GNOME+=	esound
XCONFIGURE_ARGS+=	--enable-sound
X. endif
XCFLAGS+=	-I${LOCALBASE}/include/gnome-1.0
XPLIST_SUB+=	NOGNOME="@comment " GNOME=""
X.else
XCONFIGURE_ARGS+=	--without-gtk
XPLIST_SUB+=	GNOME="@comment " NOGNOME=""
X.endif
X
X.if ${PORT_OPTIONS:MPLUGINS}
XPLUGINS=	abot acro aim arcfour autocycle blowfish cavlink cdrom \
X		encrypt europa fserv hint nap nicklist pkga possum qbx \
X		qmail wavplay
XPLIST_SUB+=	PLUGINS=""
X.else
XPLIST_SUB+=	PLUGINS="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MXMMS}
XLIB_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
XPLUGINS+=	xmms
XPLIST_SUB+=	XMMS=""
X.else
XPLIST_SUB+=	XMMS="@comment "
X.endif
X
X.if !empty(PLUGINS)
XCONFIGURE_ARGS+=	--with-plugins="${PLUGINS:C/\$$/,/g}"
X.else
XCONFIGURE_ARGS+=	--without-plugins
X.endif
X
Xpost-patch:
X.if ${PORT_OPTIONS:MLATIN}
X	${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|' \
X		${WRKSRC}/include/config.h
X.endif
X	${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in
X
Xpost-install:
X.if ${PORT_OPTIONS:MGNOME}
X	${STRIP_CMD} ${PREFIX}/bin/gtkBitchX
X.else
X	${STRIP_CMD} ${PREFIX}/bin/BitchX
X	${STRIP_CMD} ${PREFIX}/bin/scr-bx
X.endif
X.if ${PORT_OPTIONS:MDOCS}
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${DOCSDIR}
X.endif
X
X# Ensure that `@dirrm share/bx' will be appended last (after PORTDOCS stuff)
Xadd-plist-post:
X	@${ECHO_CMD} "@dirrm share/bx" >> ${TMPPLIST}
X.if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && ${PREFIX} != "/usr")
X	@${ECHO_CMD} "@unexec rmdir %D 2> /dev/null || true" >> ${TMPPLIST}
X.else
X	@${DO_NADA}
X.endif
X
X.include <bsd.port.post.mk>
464ef7c6571951809b23e262cbe26e19
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list