From wxs@atarininja.org  Sun Nov 25 16:12:49 2007
Return-Path: <wxs@atarininja.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CC7F016A41A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Nov 2007 16:12:49 +0000 (UTC)
	(envelope-from wxs@atarininja.org)
Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158])
	by mx1.freebsd.org (Postfix) with ESMTP id 9036A13C46B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Nov 2007 16:12:49 +0000 (UTC)
	(envelope-from wxs@atarininja.org)
Received: by syn.atarininja.org (Postfix, from userid 1001)
	id E67A85C2E; Sun, 25 Nov 2007 11:15:09 -0500 (EST)
Message-Id: <20071125161509.E67A85C2E@syn.atarininja.org>
Date: Sun, 25 Nov 2007 11:15:09 -0500 (EST)
From: Wesley Shields <wxs@atarininja.org>
Reply-To: Wesley Shields <wxs@atarininja.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER]: Update net/silc-client
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         118244
>Category:       ports
>Synopsis:       [MAINTAINER]: Update net/silc-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 25 16:20:00 UTC 2007
>Closed-Date:    Sat Dec 15 18:18:23 UTC 2007
>Last-Modified:  Sat Dec 15 18:20:06 UTC 2007
>Originator:     Wesley Shields
>Release:        FreeBSD 6.2-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD syn.csh.rit.edu 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #8: Mon Oct 8 13:38:09 EDT 2007 root@syn.csh.rit.edu:/usr/obj/usr/src/sys/SMP amd64

>Description:
net/silc-client has a new version out.  The attached patch updates the
port.  It also removes PORTREVISION from net/silc-irssi-plugin (the
patch is relative to $PORTSDIR/net).

The patch also converts silc-client to use OPTIONS.

>How-To-Repeat:
N/A

>Fix:

Index: silc-client/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/silc-client/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- silc-client/Makefile	17 Sep 2007 15:21:25 -0000	1.49
+++ silc-client/Makefile	24 Nov 2007 03:16:52 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	silc
-PORTVERSION=	1.1.2
+PORTVERSION=	1.1.3
 CATEGORIES=	net ipv6 security
 MASTER_SITES=	http://www.silcnet.org/download/%SUBDIR%/ \
 		http://ftp.silcnet.org/%SUBDIR%/ \
@@ -36,11 +36,9 @@
 		--with-perl=no \
 		--without-libtoolfix
 
-.ifndef(WITH_PTHREADS)
-CONFIGURE_ARGS+=	--without-pthreads
-.else
-CONFIGURE_ENV+=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
-.endif
+OPTIONS=	PTHREADS "Enable pthreads support" off \
+		IPV6 "Enable IPv6 support" on \
+		OPTIMIZED_ASM "Use assembler optimizations (i386 only)" on
 
 .ifdef(IRSSI_PLUGIN)
 CONFIGURE_ARGS+=	--with-silc-plugin=${PREFIX}/lib/irssi \
@@ -53,17 +51,6 @@
 MAN1=		silc.1
 .endif
 
-pre-everything::
-.ifndef(WITHOUT_IPV6)
-	@${ECHO_MSG} '===> Define WITHOUT_IPV6 to disable IPv6 support'
-.endif
-.ifndef(WITHOUT_OPTIMIZED_ASM)
-	@${ECHO_MSG} '===> Define WITHOUT_OPTIMIZED_ASM to disable assembler optimizations'
-.endif
-.ifndef(WITH_PTHREADS)
-	@${ECHO_MSG} '===> Define WITH_PTHREADS to enable pthreads support'
-.endif
-
 post-patch:
 # install neither documentation nor silc server, we have ports for those
 	@${REINPLACE_CMD} -e 's/-D_THREAD_SAFE//' ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -89,12 +76,18 @@
 WITHOUT_OPTIMIZED_ASM=	yes
 .endif
 
-.ifndef(WITHOUT_IPV6)
-CONFIGURE_ARGS+=	--enable-ipv6
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=	--disable-ipv6
 .endif
 
-.ifdef(WITHOUT_OPTIMIZED_ASM)
+.if defined(WITHOUT_OPTIMIZED_ASM)
 CONFIGURE_ARGS+=	--disable-asm
 .endif
 
+.if defined(WITH_PTHREADS)
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
+.else
+CONFIGURE_ARGS+=	--without-pthreads
+.endif
+
 .include <bsd.port.post.mk>
Index: silc-client/distinfo
===================================================================
RCS file: /home/ncvs/ports/net/silc-client/distinfo,v
retrieving revision 1.24
diff -u -r1.24 distinfo
--- silc-client/distinfo	17 Sep 2007 15:21:25 -0000	1.24
+++ silc-client/distinfo	24 Nov 2007 03:16:52 -0000
@@ -1,3 +1,3 @@
-MD5 (silc-client-1.1.2.tar.bz2) = 6e440bbfd9a746cf33c020c31ab95a30
-SHA256 (silc-client-1.1.2.tar.bz2) = 6c03bf28c87eef31c2058acfa132542cc088ae819f2233d520b042eb916d89f4
-SIZE (silc-client-1.1.2.tar.bz2) = 1622496
+MD5 (silc-client-1.1.3.tar.bz2) = e34d0af3c795ba0167d465904b9ba120
+SHA256 (silc-client-1.1.3.tar.bz2) = efc9ae70250f8e06c88e5b0416a9c38dca9476dc8955ee917c7a9366e2390ea8
+SIZE (silc-client-1.1.3.tar.bz2) = 1626208
Index: silc-irssi-plugin/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/silc-irssi-plugin/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- silc-irssi-plugin/Makefile	11 Nov 2007 22:34:54 -0000	1.2
+++ silc-irssi-plugin/Makefile	24 Nov 2007 03:16:52 -0000
@@ -5,7 +5,6 @@
 # $FreeBSD: ports/net/silc-irssi-plugin/Makefile,v 1.2 2007/11/11 22:34:54 vanilla Exp $
 #
 
-PORTREVISION=	1
 CATEGORIES=	net irc
 
 COMMENT=	SILC plugin for IRSSI
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Nov 25 19:51:13 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118244 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Dec 15 18:18:22 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118244 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118244: commit references a PR
Date: Sat, 15 Dec 2007 18:18:48 +0000 (UTC)

 miwi        2007-12-15 18:18:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/silc-client      Makefile distinfo 
     net/silc-irssi-plugin Makefile 
   Log:
   - Update to 1.1.3
   
   PR:             118244
   Submitted by:   Wesley Shields <wxs@atarininja.org> (maintainer)
   
   Revision  Changes    Path
   1.50      +13 -20    ports/net/silc-client/Makefile
   1.25      +3 -3      ports/net/silc-client/distinfo
   1.3       +0 -1      ports/net/silc-irssi-plugin/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
