From owner-freebsd-tcltk@FreeBSD.ORG Wed Nov 6 20:49:14 2013 Return-Path: Delivered-To: tcltk@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 29776DB7 for ; Wed, 6 Nov 2013 20:49:14 +0000 (UTC) (envelope-from smkelly@flightaware.com) Received: from hub021-ca-8.exch021.serverdata.net (hub021-ca-8.exch021.serverdata.net [64.78.56.73]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 133DC2CF1 for ; Wed, 6 Nov 2013 20:49:13 +0000 (UTC) Received: from MBX021-W3-CA-6.exch021.domain.local ([10.254.4.82]) by HUB021-CA-8.exch021.domain.local ([10.254.4.112]) with mapi id 14.03.0158.001; Wed, 6 Nov 2013 12:41:06 -0800 From: Sean Kelly To: "tcltk@freebsd.org" Subject: FD_SETSIZE Thread-Topic: FD_SETSIZE Thread-Index: AQHO2zCDjfxmThM0ukaXLSKrlnQfeg== Date: Wed, 6 Nov 2013 20:41:05 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.8.130913 x-originating-ip: [38.100.147.146] MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 20:49:14 -0000 At FlightAware, we are extensive users of both Tcl and FreeBSD. However, we= are currently applying a local patch to the lang/tcl85 port to increase FD= _SETSIZE from the default 1024 to 4096 so that select() can handle larger s= ocket collections. Would it be possible to get this patch added to the port? Alternatively, ca= n we add a configure option to the port that enables this? I=92d be happy t= o provide a patch or send-pr, I just want to see if there is interest/objec= tions to this. Thanks! -- Sean Kelly Director of IT Operations FlightAware From owner-freebsd-tcltk@FreeBSD.ORG Thu Nov 7 15:23:37 2013 Return-Path: Delivered-To: tcltk@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0684D2DA for ; Thu, 7 Nov 2013 15:23:37 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel09.rubas.ch (cpanel09.rubas.ch [195.182.222.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B2879278B for ; Thu, 7 Nov 2013 15:23:36 +0000 (UTC) Received: from 98-41.199-178.cust.bluewin.ch ([178.199.41.98]:58229 helo=gahrfit.gahr.ch) by cpanel09.rubas.ch with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VeR7B-001Nxz-Di; Thu, 07 Nov 2013 16:03:22 +0100 Date: Thu, 7 Nov 2013 16:03:18 +0100 From: Pietro Cerutti To: Sean Kelly Subject: Re: FD_SETSIZE Message-ID: <20131107150318.GA88680@gahrfit.gahr.ch> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kVXhAStRUZ/+rrGn" Content-Disposition: inline In-Reply-To: X-PGP-Key: fp="DA6D E106 A5B8 54B8 5DD8 6D49 ADD0 D38E A192 089E"; id="0xA192089E"; get=; get=; User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel09.rubas.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Get-Message-Sender-Via: cpanel09.rubas.ch: authenticated_id: gahr@gahr.ch Cc: "tcltk@freebsd.org" X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 15:23:37 -0000 --kVXhAStRUZ/+rrGn Content-Type: multipart/mixed; boundary="s2ZSL+KKDSLx8OML" Content-Disposition: inline --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-Nov-06, 20:41, Sean Kelly wrote: > At FlightAware, we are extensive users of both Tcl and FreeBSD. However, = we are currently applying a local patch to the lang/tcl85 port to increase = FD_SETSIZE from the default 1024 to 4096 so that select() can handle larger= socket collections. Hello Sean, I see that FD_SETSIZE is defined to 1024 in sys/select.h. Tcl 85 just gets it from there. Because of this, I don't know whether it really makes sense to patch Tcl. At least by default. An OPTION (maybe off by default) to increase this by specifying -DFD_SETSIZE=3D4096 in CFLAGS. > Would it be possible to get this patch added to the port? Alternatively, = can we add a configure option to the port that enables this? I=E2=80=99d be= happy to provide a patch or send-pr, I just want to see if there is intere= st/objections to this. Would the attached patch be ok to you? Thanks, --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --s2ZSL+KKDSLx8OML Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="tcl85-large-fdset.diff" Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 333105) +++ Makefile (working copy) @@ -16,11 +16,12 @@ =20 LICENSE=3D BSD =20 -OPTIONS_DEFINE=3D TCLMAN TZDATA MODULES THREADS +OPTIONS_DEFINE=3D TCLMAN TZDATA MODULES THREADS LARGE_FDSET OPTIONS_DEFAULT=3DMODULES THREADS TCLMAN_DESC=3D Install Tcl function manpages TZDATA_DESC=3D Install Tcl timezone data MODULES_DESC=3D Install Tcl common modules +LARGE_FDSET_DESC=3D Set FD_SETSIZE to 4096 =20 NO_STAGE=3D yes WRKSRC=3D ${WRKDIR}/${DISTNAME:S/-src//}/unix @@ -74,6 +75,10 @@ CONFIGURE_ARGS+=3D--without-tzdata .endif =20 +.if ${PORT_OPTIONS:MLARGE_FDSET} +CFLAGS+=3D -DFD_SETSIZE=3D4096 +.endif + post-patch: ${REINPLACE_CMD} -e \ 's|@TCL_BUILD_LIB_SPEC@|@TCL_LIB_SPEC@|; \ --s2ZSL+KKDSLx8OML-- --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJSe6uyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQTZERTEwNkE1Qjg1NEI4NUREODZENDlB REQwRDM4RUExOTIwODlFAAoJEK3Q046hkgieS84P/Rb3rdyeMGZbuJ7Tq7G7uDJx 7WdLTtk6WOQPux4Izs3VEcEhGKROYJ1D2hluba4xqgdnBgCtRD5HLNo1kb7KvVde C5mrRb9/wJYI8vgC4Q+8B3L+vwUmLDGWthrvLFtlIQTBU8dLnRT49PsXWOtch0Q/ BT1/tr1qZkD1NFUdqTvOzvBFQXc45UySQQLedZyhWFTUDyvMqRtUna7eFs+2TUdS 9GkvOmKCurHPWgKa0YB/UlxyWTJXZVQBCWrEhw54tZPF3gjRBxf3r7ij0yAl4RaR jFD6uZebyxKFxSEZY66oRu5pKMdlZ0UczXGauFeQGE2+yWhGYbsAAQjJmNmyE+Zz RCdTG8p3sd/DXIagpfAtXIFx6T4nrgRyu3oofAX5OMeDtJH6q3MJ69s0IYTpBDOg nKoczYZxF5NrOoMwIrb1jyzCFYexs/5dGbZPK8y+2LVbym0cKFfs3ROuw+d7Tujx ZKYMwFCf0eXwdUxFI/M3Sdsp9UyNN55kqBVLVyYlRjT6o98Jk8GwptTr789QKdSZ Z5d07SaEpftVtwDrucbYoSL3s1Y83t/f4ff5XJpC5ZIDPo0bwYkrIIbfkh6FWhOc 7SOPQCBEqjQcotB9ZoQBNbJrVkzs4DM28kaAL1Wenmp6ZDDxpHdORBq2r5EDsExo 7lce8dpqozxF0yX570pE =d7xS -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn-- From owner-freebsd-tcltk@FreeBSD.ORG Fri Nov 8 18:40:09 2013 Return-Path: Delivered-To: tcltk@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 868E6C05; Fri, 8 Nov 2013 18:40:09 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D6E92A55; Fri, 8 Nov 2013 18:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8Ie9e5039261; Fri, 8 Nov 2013 18:40:09 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA8Ie9ur039260; Fri, 8 Nov 2013 18:40:09 GMT (envelope-from edwin) Date: Fri, 8 Nov 2013 18:40:09 GMT Message-Id: <201311081840.rA8Ie9ur039260@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, tcltk@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/183796: Update devel/yajl-tcl to 1.4 X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 18:40:09 -0000 Synopsis: Update devel/yajl-tcl to 1.4 Responsible-Changed-From-To: freebsd-ports-bugs->tcltk Responsible-Changed-By: edwin Responsible-Changed-When: Fri Nov 8 18:40:09 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=183796 From owner-freebsd-tcltk@FreeBSD.ORG Fri Nov 8 23:28:14 2013 Return-Path: Delivered-To: tcltk@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5EFEC27F; Fri, 8 Nov 2013 23:28:14 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 32F73278F; Fri, 8 Nov 2013 23:28:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8NSEDV001144; Fri, 8 Nov 2013 23:28:14 GMT (envelope-from gahr@freefall.freebsd.org) Received: (from gahr@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA8NSDCa001143; Fri, 8 Nov 2013 23:28:13 GMT (envelope-from gahr) Date: Fri, 8 Nov 2013 23:28:13 GMT Message-Id: <201311082328.rA8NSDCa001143@freefall.freebsd.org> To: jeff.lawson@flightaware.com, gahr@FreeBSD.org, tcltk@FreeBSD.org From: gahr@FreeBSD.org Subject: Re: ports/183796: Update devel/yajl-tcl to 1.4 X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 23:28:14 -0000 Synopsis: Update devel/yajl-tcl to 1.4 State-Changed-From-To: open->closed State-Changed-By: gahr State-Changed-When: Fri Nov 8 23:28:13 UTC 2013 State-Changed-Why: Committed, with minor changes. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=183796 From owner-freebsd-tcltk@FreeBSD.ORG Fri Nov 8 23:30:01 2013 Return-Path: Delivered-To: tcltk@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8ECB1297 for ; Fri, 8 Nov 2013 23:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CFEB279B for ; Fri, 8 Nov 2013 23:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8NU1Ze001328 for ; Fri, 8 Nov 2013 23:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA8NU1GC001327; Fri, 8 Nov 2013 23:30:01 GMT (envelope-from gnats) Date: Fri, 8 Nov 2013 23:30:01 GMT Message-Id: <201311082330.rA8NU1GC001327@freefall.freebsd.org> To: tcltk@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/183796: commit references a PR X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 23:30:01 -0000 The following reply was made to PR ports/183796; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/183796: commit references a PR Date: Fri, 8 Nov 2013 23:26:49 +0000 (UTC) Author: gahr Date: Fri Nov 8 23:26:41 2013 New Revision: 333269 URL: http://svnweb.freebsd.org/changeset/ports/333269 Log: - Update to 1.4 * Fixed memory leaks * Fixed a warning due to an imprecise function signature PR: 183796 Submitted by: Jeff Lawson Modified: head/devel/yajl-tcl/Makefile head/devel/yajl-tcl/distinfo Modified: head/devel/yajl-tcl/Makefile ============================================================================== --- head/devel/yajl-tcl/Makefile Fri Nov 8 23:08:10 2013 (r333268) +++ head/devel/yajl-tcl/Makefile Fri Nov 8 23:26:41 2013 (r333269) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= yajl-tcl -PORTVERSION= 1.3 +PORTVERSION= 1.4 CATEGORIES= devel MAINTAINER= tcltk@FreeBSD.org @@ -15,7 +15,7 @@ LIB_DEPENDS= libyajl.so:${PORTSDIR}/deve USE_GITHUB= yes GH_ACCOUNT= flightaware GH_TAGNAME= v${PORTVERSION} -GH_COMMIT= eab11f1 +GH_COMMIT= 06b7c59 USES+= tcl:85+ USE_AUTOTOOLS= autoconf Modified: head/devel/yajl-tcl/distinfo ============================================================================== --- head/devel/yajl-tcl/distinfo Fri Nov 8 23:08:10 2013 (r333268) +++ head/devel/yajl-tcl/distinfo Fri Nov 8 23:26:41 2013 (r333269) @@ -1,2 +1,2 @@ -SHA256 (yajl-tcl-1.3.tar.gz) = 14eb3068158ad1853dc95190156d3fa78b0b67826803086ad955112c2a93ded1 -SIZE (yajl-tcl-1.3.tar.gz) = 483253 +SHA256 (yajl-tcl-1.4.tar.gz) = d146449cf7ffe648098c970b639338e45346a820a7de4d3266fdc7af61b0b610 +SIZE (yajl-tcl-1.4.tar.gz) = 483671 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"