From owner-freebsd-ports@freebsd.org Thu Nov 19 16:30:00 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 191A946F5F1 for ; Thu, 19 Nov 2020 16:30:00 +0000 (UTC) (envelope-from dan@langille.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CcQBb2Svjz4rKM for ; Thu, 19 Nov 2020 16:29:59 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 260445C00A3; Thu, 19 Nov 2020 11:29:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 19 Nov 2020 11:29:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= from:message-id:content-type:mime-version:subject:date :in-reply-to:cc:to:references; s=fm2; bh=wZzLUekVX087FwGKUVeMl2g 1/L7bwX8iVujho1KCRiw=; b=VfTBMWtkII/Xle5eX8bqCfSJSSFdcyWyepobdux KjNN6HuyUyfzpavP7dl69guIZnd8FDe38npVo8yoJkVjmi7nNyy3pUJ0ziL+oaUe BsJ2HRdS+QZ8lGQhZdDMlshMw4sm1qEZ3fxubstrJGwrcVItVp5BE5XjIFzl+tiJ mwydiPe63e1rkVqfZzHZosJaQh71kGSHH6+TdJlE3cRlmsMIa9yxvObNYZibdGLg U1hm7y/JVw1D9/gYH1A8sRvRstwZjOFk8Fh/vN6iZYZhn3Bl/1l9hVVM7CeY4Dmm erQbdenY/XYlD15S3V+6pIigZnj+KH2a1x+vEpxV89nOfMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=wZzLUe kVX087FwGKUVeMl2g1/L7bwX8iVujho1KCRiw=; b=eCbe0vRTX1/7SSciGEGpTQ GXtHxcuOc5US18rlqnx+yzPPWXHbyRcYxYw7FenReqsp2p/B8Sjqc4bF7ppqq/LH xLffvh7TBQrsB6WBz/vhRvbboattIyZHk/AOzVah+8QmhIpRwDTNGgRzMgSQdHKf K5aY10JUcLd17Z3JP4PjONlFnv7ai+FbJRYWZGNnjGnr7nzN6AOc8FgIELnq3fE0 8+ApEyu1bUtvEj7/bTx2zMD++MeODz6aPfI5BH78EOyt1eG3w5UvAl83xOi3BNeD 70vyvojZbUNK2PNjzWLnv529O6ZJmqzDy/jm6O5MRd0ShOyAWHqhCuLUkrbniLPg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefjedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffktgggufffjgfvfhfosegrtdhmrehhtdejnecuhfhrohhmpeffrghnucfn rghnghhilhhlvgcuoegurghnsehlrghnghhilhhlvgdrohhrgheqnecuggftrfgrthhtvg hrnhepgeduudeiieejudevueehheefffelkefgfeevfeehveegkeejfefhtefgkeeivedu necuffhomhgrihhnpehfrhgvvggsshgurdhorhhgpdhfrhgvshhhphhorhhtshdrohhrgh dplhgrnhhgihhllhgvrdhorhhgnecukfhppedutdekrdehvddrvdefjedrudeffeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrg hnghhilhhlvgdrohhrgh X-ME-Proxy: Received: from pro02.wifi.int.unixathome.org (pool-108-52-237-133.phlapa.fios.verizon.net [108.52.237.133]) by mail.messagingengine.com (Postfix) with ESMTPA id CD144328005D; Thu, 19 Nov 2020 11:29:56 -0500 (EST) From: Dan Langille Message-Id: <89AF86E1-0FBD-4ED1-ABEC-20254453E519@langille.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Understanding different port counts Date: Thu, 19 Nov 2020 11:29:56 -0500 In-Reply-To: <20201112212614.hmouzbtkq4uftcfb@t470.schmi.tt> Cc: freebsd-ports@freebsd.org To: Moritz Schmitt References: <20201112212614.hmouzbtkq4uftcfb@t470.schmi.tt> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4CcQBb2Svjz4rKM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=VfTBMWtk; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=eCbe0vRT; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.25:from]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[108.52.237.133:received]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.25:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[66.111.4.25:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2020 16:30:00 -0000 > On Nov 12, 2020, at 4:26 PM, Moritz Schmitt wrote: >=20 > Hi, >=20 > I noticed a big difference between the number of ports on > freebsd.org/ports/ and on freshports.org. Currently, it's 33348 vs. > 41346. >=20 > The freebsd.org's number equals roughly the number of lines of a = current > INDEX, but how does FreshPorts count? Hello, I'm glad you asked, because both sites are wrong. I'm going to fix = FreshPorts because it is including commits to ports on branches in that = total. That's not right. When ignoring branches, the FreshPorts count is 28,759 The FreeBSD total might be based on INDEX-12. In that count, each flavor = counts as a port. Here is some data from that file: * py27-atspi-2.38.0|/usr/ports/accessibility/py-atspi * py37-atspi-2.38.0|/usr/ports/accessibility/py-atspi FreshPorts treats that as one port, accessibility/py-atspi If you remove the 'duplicates' from INDEX-12, the count is 28,759 which = is much closer to what FreshPorts believes the count it. It is also close to this count: [dan@pkg01:~/ports/head] $ grep -h SUBDIR */Makefile | wc -l 28756 I put more information than you wished to read in this blog post: https://news.freshports.org/2020/11/18/how-many-ports-are-there/ Hope that helps. =E2=80=94=20 Dan Langille http://langille .org/