Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 15:36:56 +0800 (CST)
From:      Jyun-Yan You <jyyou@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jlaffaye@FreeBSD.org
Subject:   ports/165126: [PATCH] irc/libircclient: update to 1.6
Message-ID:  <201202140736.q1E7ausN042785@csduty.cs.nctu.edu.tw>
Resent-Message-ID: <201202140740.q1E7e889066540@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165126
>Category:       ports
>Synopsis:       [PATCH] irc/libircclient: update to 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 07:40:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jyun-Yan You
>Release:        FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD csduty.cs.nctu.edu.tw 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
>Description:
- Update to 1.6

Port maintainer (jlaffaye@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- libircclient-1.6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/irc/libircclient/Makefile /amd/gcs/98/9855518/src/ports/irc/libircclient/Makefile
--- /usr/ports/irc/libircclient/Makefile	2011-06-09 00:52:30.000000000 +0800
+++ /amd/gcs/98/9855518/src/ports/irc/libircclient/Makefile	2012-02-14 15:18:15.206792000 +0800
@@ -6,14 +6,33 @@
 #
 
 PORTNAME=	libircclient
-PORTVERSION=	1.3
+PORTVERSION=	1.6
 CATEGORIES=	irc devel
 MASTER_SITES=	SF
 
 MAINTAINER=	jlaffaye@FreeBSD.org
 COMMENT=	An IRC library to create IRC clients
 
+OPTIONS=	SSL	"Build with SSL Support" on \
+		IPV6	"Build with IPv6 Support" on
+
+USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--enable-shared
+
+.if !defined(WITHOUT_SSL)
+CONFIGURE_ARGS+=	--enable-openssl
+.endif
+
+.if !defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=	--enable-ipv6
+.endif
+
+post-patch:
+	${REINPLACE_CMD} \
+	    -e 's/CFLAGS -fpic/CFLAGS -fPIC/' \
+	    -e 's/TARGET="shared"/TARGET="shared static"/' \
+	    ${WRKSRC}/configure
 
 do-build:
 	@${MAKE} -C ${WRKSRC}/src/
@@ -25,6 +44,7 @@
 	@${INSTALL_DATA} ${WRKSRC}/include/libirc_options.h ${PREFIX}/include
 	@${INSTALL_DATA} ${WRKSRC}/include/libirc_rfcnumeric.h ${PREFIX}/include
 	@${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${PREFIX}/lib
+	@${INSTALL_LIB} ${WRKSRC}/src/libircclient.so ${PREFIX}/lib
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/irc/libircclient/distinfo /amd/gcs/98/9855518/src/ports/irc/libircclient/distinfo
--- /usr/ports/irc/libircclient/distinfo	2011-03-19 20:30:27.000000000 +0800
+++ /amd/gcs/98/9855518/src/ports/irc/libircclient/distinfo	2012-02-14 15:15:19.593683000 +0800
@@ -1,2 +1,2 @@
-SHA256 (libircclient-1.3.tar.gz) = 8c97284dd9352d3180851c334371e878580917b5b58916b96a13fab4b5c3f822
-SIZE (libircclient-1.3.tar.gz) = 284248
+SHA256 (libircclient-1.6.tar.gz) = 6c511923023398bcd7627cf3305054befacf6874203cb0de36bdbe658779e953
+SIZE (libircclient-1.6.tar.gz) = 392788
diff -ruN --exclude=CVS /usr/ports/irc/libircclient/pkg-plist /amd/gcs/98/9855518/src/ports/irc/libircclient/pkg-plist
--- /usr/ports/irc/libircclient/pkg-plist	2009-01-11 03:46:20.000000000 +0800
+++ /amd/gcs/98/9855518/src/ports/irc/libircclient/pkg-plist	2012-02-14 15:15:19.603679000 +0800
@@ -4,6 +4,7 @@
 include/libirc_options.h
 include/libirc_rfcnumeric.h
 lib/libircclient.a
+lib/libircclient.so
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/censor.cpp
@@ -11,18 +12,20 @@
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ircftp.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/irctest.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spammer.c
-%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/ircmud
-%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 %%PORTDOCS%%%%DOCSDIR%%/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/classes.html
 %%PORTDOCS%%%%DOCSDIR%%/doxygen.css
 %%PORTDOCS%%%%DOCSDIR%%/doxygen.png
 %%PORTDOCS%%%%DOCSDIR%%/files.html
 %%PORTDOCS%%%%DOCSDIR%%/functions.html
 %%PORTDOCS%%%%DOCSDIR%%/functions_vars.html
 %%PORTDOCS%%%%DOCSDIR%%/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/globals_0x6c.html
 %%PORTDOCS%%%%DOCSDIR%%/globals_defs.html
 %%PORTDOCS%%%%DOCSDIR%%/globals_func.html
 %%PORTDOCS%%%%DOCSDIR%%/globals_type.html
+%%PORTDOCS%%%%DOCSDIR%%/group__colors.html
 %%PORTDOCS%%%%DOCSDIR%%/group__common.html
 %%PORTDOCS%%%%DOCSDIR%%/group__conndisc.html
 %%PORTDOCS%%%%DOCSDIR%%/group__contexts.html
@@ -47,9 +50,13 @@
 %%PORTDOCS%%%%DOCSDIR%%/libirc__events_8h.html
 %%PORTDOCS%%%%DOCSDIR%%/libirc__options_8h.html
 %%PORTDOCS%%%%DOCSDIR%%/libirc__rfcnumeric_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/pages.html
 %%PORTDOCS%%%%DOCSDIR%%/libircclient_8h.html
 %%PORTDOCS%%%%DOCSDIR%%/modules.html
 %%PORTDOCS%%%%DOCSDIR%%/pagefaq.html
+%%PORTDOCS%%%%DOCSDIR%%/pages.html
 %%PORTDOCS%%%%DOCSDIR%%/structirc__callbacks__t.html
-%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/tab_b.gif
+%%PORTDOCS%%%%DOCSDIR%%/tab_l.gif
+%%PORTDOCS%%%%DOCSDIR%%/tab_r.gif
+%%PORTDOCS%%%%DOCSDIR%%/tabs.css
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- libircclient-1.6.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202140736.q1E7ausN042785>