notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
non port: ports-mgmt/portscout/files/

Number of commits found: 2

Thursday, 4 Feb 2016
08:48 koobs search for other commits by this committer
ports-mgmt/portscout: Loop through all PyPI files

While processing Issue 206746 [1] for a security update to
security/py-rsa (For versions < 3.3), it was noticed that Portscout
had not identified the the newer version, released on 2016-01-13.

Investigation revealed that the PyPI SiteHandler in Portscout only
processed the first url/filename returned by PyPI, which in many cases
is not a tar.gz, the default EXTRACT_SUFFIX for source distribution
(sdist) files:

[py-rsa] VersionCheck()
[py-rsa] Checking site:
Does site handler exist ... Yes
(Portscout::SiteHandler::PyPI) GET
(Portscout::SiteHandler::PyPI) GET success: 200 Filename:
FindNewest: Checking rsa-3.3-py2.py3-none-any.whl ... against port DISTFILES.
FindNewest: Checking DISTFILE ... rsa-3.1.4.tar.gz (ver: 3.1.4, sufx: .tar.gz)
[py-rsa] Done

This change backports a commit [1] made to Portroach which adds a loop to
enumerate all URLs/filenames in the PyPI JSON response, not just the


PR:		206746 [1]
Obtained from:
Original commitRevision:408017 
Sunday, 8 Nov 2015
07:37 koobs search for other commits by this committer
ports-mgmt/portscout: Add GitHub and PyPI site handlers & MORE!

Over the past several months appears to have been
more frequently NOT finding updates, particularly for ports that use

Portscout has also never worked for ports using GitHub for distribution
files due to the following:

  a) Portscout, prior to 'guessing', requests a randomly named file
     from the Site and expects a 4xx (404) in response. If it doesn't
     receive a 4xx response, it increments a 'lie counter' and does not
     check the site again in the next run.
  b) The GitHUB handlers (SUBDIR/MASTER_SITES) in
     construct a URL that ends in a a dummy query paramater (for the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Original commitRevision:401037 

Number of commits found: 2