aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portscout
Commit message (Collapse)AuthorAgeFilesLines
* */*: Take maintainershipMuhammad Moinur Rahman2022-03-081-1/+1
|
* all: return koobs' ports to the pool after safekeeping his commit bit.Rene Ladan2022-03-071-1/+1
|
* ports-mgmt/portscout: Update to 0.8.1.5Michael Gmelin2022-02-043-16/+4
| | | | Approved by: maintainer
* ports-mgmt/portscout: Bugfix with empty MASTER_SITES, bump PORTREVISIONRyan Steinmetz2022-01-312-0/+12
|
* ports-mgmt/portscout: Update WWWPo-Chuan Hsieh2021-07-211-1/+1
| | | | Approved by: portmgr (blanket)
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Update to 0.8.1.4Michael Gmelin2019-12-222-5/+4
| | | | | | | | PR: 242774 Approved by: koobs (maintainer) Notes: svn path=/head/; revision=520611
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-0/+1
| | | | | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330 Notes: svn path=/head/; revision=507372
* - Update to 0.8.1.3Ryan Steinmetz2019-03-132-4/+4
| | | | Notes: svn path=/head/; revision=495666
* - Update to 0.8.1.2Ryan Steinmetz2019-03-1311-730/+8
| | | | | | | Approved by: koobs@ (maintainer) Notes: svn path=/head/; revision=495575
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-12-121-1/+1
| | | | | | | | | | | | | | | | | | defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590 Notes: svn path=/head/; revision=487272
* - Add patch to support http/https for sourceforgeRyan Steinmetz2017-10-312-1/+12
| | | | | | | - Bump PORTREVISION Notes: svn path=/head/; revision=453234
* - Add missing dependency for rss.cgi (CGI.pm was removed in perl 5.22)Ryan Steinmetz2017-07-171-1/+2
| | | | | | | - Bump PORTREVISION Notes: svn path=/head/; revision=446122
* Remove Perl core modulesSunpoet Po-Chuan Hsieh2017-06-301-8/+7
| | | | | | | | | | | | - While I'm here: - Add NO_ARCH - Convert to options target helper - Bump PORTREVISION for dependency change With hat: perl Notes: svn path=/head/; revision=444801
* Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.Mathieu Arnold2016-04-011-11/+11
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412348
* ports-mgmt/portscout: Loop through all PyPI filesKubilay Kocak2016-02-043-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: https://pypi.python.org/packages/source/r/rsa/ Does site handler exist ... Yes (Portscout::SiteHandler::PyPI) GET https://pypi.python.org/pypi/rsa/json (Portscout::SiteHandler::PyPI) GET success: 200 Filename: rsa-3.3-py2.py3-none-any.whl 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 first. [1] https://github.com/jasperla/portroach/commit/e93b8331f6e5f850bbb5faca866efcbf73de756c PR: 206746 [1] Obtained from: https://github.com/jasperla/portroach Notes: svn path=/head/; revision=408017
* ports-mgmt/portscout: Fix broken !SiteHandler logicKubilay Kocak2016-01-102-21/+30
| | | | | | | | | | | | | | | | | | | Fix a logic bug introduced in r401037, which caused ports without a SiteHandler (GitHub, SourceForge, PyPI) not to be processed through the fallback FTP or HTTP(S) cases. I didn't pick this up in testing because only my ports were tested, most of which use PyPI/GitHub, using the `restrict maintainer` setting in portscout.conf. [1] https://svnweb.freebsd.org/changeset/ports/401037 Pointyhat: koobs Reported by: kwm (for mate, libdrm) MFH: 2016Q1 Notes: svn path=/head/; revision=405732
* ports-mgmt/portscout: Make GitHub ports work, fix bugsKubilay Kocak2016-01-043-4/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A number of people reported no updates being detected for ports using USE_GITHUB=yes, even after originally adding the GitHub site handler in r401037 [1]. Investigation revealed that the FindNewestFile subroutine and the vercompare() method assumed (or are designed so) that responses returned from site handlers will be in a normalised version format. For site handlers that return 'versions', this works well. For the github handler, in the fallback use of the API for fetching repository tags, it does not. Additionally it turns out, portscout currently only uses/stores a normalized version ('ver') in its database, in its general design attempt to be a generic version comparison tool In particular, portscout does not reference or store PORTVERSION or DISTVERSION{FULL}, so we have nothing 'canonical' to compare the responses from Github (tags) against. This change special-cases Github in the FindNewestFile subroutine, which was obtained via Portroach [2] (OpenBSD's portscout fork). Extending this, we also now only match version-esque looking strings from the tag, in an attempt to normalise, because they come in many forms, including {foo-}X.Y.Z{-bar}, foo_X_Y_Z, among others. While I'm here, * Fix copypasta of $github_client_id, when $github_client_secret was intended * Add code to use authenticated requests for Github project tags in the fallback (to /releases) case. * Add and update some more debug messages to help diagnosis of future issues Special thank you's to: * matthew, allanjude, mandree, des, Brendan Molloy for your regex, perl help and moral support. [1] http://svnweb.freebsd.org/changeset/ports/401037 [2] https://github.com/jasperla/portroach Differential Revision: D4780 Notes: svn path=/head/; revision=405250
* ports-mgmt/portscout: Add GitHub and PyPI site handlers & MORE!Kubilay Kocak2015-11-0810-34/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over the past several months portscout.freebsd.org appears to have been more frequently NOT finding updates, particularly for ports that use CHEESESHOP (PyPI) as their MASTER_SITES. 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 bsd.sites.mk construct a URL that ends in a a dummy query paramater (for the filename), so that fetch saves the correct filename to DISTDIR. This means for any DISTFILE name provided, a 200 OK response is returned These two factors unfortunately leave us in a position where there is no good way to workaround this in the ports framework, including overriding DISTFILES, DISTNAME, FETCH_ARGS, or the SUBDIR URL itself for various reasons (not matching distinfo, file conflicts in DISTDIR, etc) Fortunately, the portroach project (OpenBSD's fork of portscout) contains a site handler for GitHub and PyPI (among others) already [1]. These site handlers use API endpoints at GitHub and PyPI that respond JSON respectively, providing a faster and more accurate way to determine the latest version of a package, without having to go through the 'guessing' process. This commit: - Adds GitHub and PyPI site handlers, and modifies or extends them to accept/match our MASTER_SITES URL's. - Adds authenticated API request support and two settings for the GitHub site handler - Add p5-JSON to RUN_DEPENDS (needed by new site handlers) - Add HTTPS option for supporting https:// MASTER_SITES. Currently portscout does not check (fails) https:// MASTER_SITES [2] - Take MAINTAINER'ship - Adds badly needed logging/debugging messages to key parts of the process retaining the conditional logic that ties the verbosity to "quiet" or "debug" portscout.conf settings. - Renables the SQLITE3 option (previously commented out) and renames it to SQLITE (the standard, as per bsd.options.desk.mk) - Creates a DATABASE option group allowing either/or SQLITE or POSTGRESQL to be selected - Switches option conditionals where possible to options helpers - Backport a fix for maintainer matching/mapping [3] - Adds LICENSE (BSD2CLAUSE) - Updates and sorts pkg-plist This change was tested again ports maintained by me, and resulted in 'new versions' being found and reported for 42 of my ports (of 123). [1] https://github.com/jasperla/portroach/tree/master/Portroach/SiteHandler [2] Reported by: truckman [3] https://github.com/jasperla/portroach/commit/2f6ee134ddc178f74688b37b986b66ecb0481782 PR: 203996 Approved by: maintainer (timeout, 15 days) Differential Revision: https://reviews.freebsd.org/D3996 Notes: svn path=/head/; revision=401037
* Change the way Perl modules are installed, update the default Perl to 5.18.Mathieu Arnold2014-11-261-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr Notes: svn path=/head/; revision=373448
* Finally retire USE_PGSQLChris Rees2014-11-221-1/+1
| | | | Notes: svn path=/head/; revision=373100
* Cleanup plistAntoine Brodin2014-11-121-7/+0
| | | | Notes: svn path=/head/; revision=372504
* Remove things no longer necessary now it is fixedAntoine Brodin2014-08-101-9/+0
| | | | Notes: svn path=/head/; revision=364563
* UnbreakAntoine Brodin2014-08-102-14/+5
| | | | Notes: svn path=/head/; revision=364562
* Remove indefinite articles and trailing periods from COMMENT, plusJimmy Olgeni2014-07-171-1/+1
| | | | | | | | | | | | minor COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Categories P-S. CR: D422 Approved by: portmgr (bapt) Notes: svn path=/head/; revision=362126
* Add staging support.Shaun Amott2014-07-041-29/+40
| | | | Notes: svn path=/head/; revision=360637
* Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 thatTijl Coosemans2014-07-041-0/+1
| | | | | | | | | | have not been bumped yet after the latest libsqlite3.so library version change. Approved by: portmgr (implicit) Notes: svn path=/head/; revision=360588
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | ports-mgmt) Notes: svn path=/head/; revision=327762
* - convert to the new perl5 frameworkAndrej Zverev2013-09-161-1/+1
| | | | | | | | | - convert USE_GMAKE to Uses Approved by: portmgr (bapt@, blanket) Notes: svn path=/head/; revision=327365
* Convert to new options framework ports in p* catoriesBaptiste Daroussin2013-03-221-11/+8
| | | | Notes: svn path=/head/; revision=314921
* - Remove SITE_PERL from *_DEPENDSAndrej Zverev2012-06-301-9/+9
| | | | | | | Approved by: portmgr@ (bapt@) Notes: svn path=/head/; revision=300277
* Update to 0.8.1.Shaun Amott2011-05-154-5/+7
| | | | Notes: svn path=/head/; revision=274151
* - Get Rid MD5 supportMartin Wilke2011-03-181-1/+0
| | | | | | | With hat: portmgr (myself) Notes: svn path=/head/; revision=271274
* Add missing bsd.port.options.mk include.Shaun Amott2010-09-061-0/+2
| | | | | | | | PR: ports/149265 [1] Submitted by: Anonymous <swell.k@gmail.com> [1], ale Notes: svn path=/head/; revision=260646
* Upgrade to version 0.8.Shaun Amott2010-05-244-45/+71
| | | | | | | | | | | | | This represents a milestone release over the previous version, and includes significant improvements to the version detection and comparison algorithms, support for the new SourceForge mirror layout (and an easy way to add future workarounds), theoretical support for NetBSD's pkgsrc and OpenBSD ports, support for providing a list of software in an XML file in place of ports, and support for SQLite. Of course, there are also many optimisations and general bug fixes. Notes: svn path=/head/; revision=254986
* Bump portrevision due to upgrade of devel/gettext.Edwin Groothuis2008-06-061-1/+1
| | | | | | | | | | | | | The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav) Notes: svn path=/head/; revision=214430
* Add patch to fix SQL schema typo.Shaun Amott2008-05-252-0/+7
| | | | Notes: svn path=/head/; revision=213658
* Upgrade to 0.7.4.Shaun Amott2008-01-243-4/+6
| | | | Notes: svn path=/head/; revision=206106
* Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.Mark Linimon2007-09-081-7/+1
| | | | | | | | | | | Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr Notes: svn path=/head/; revision=199069
* - Update to 0.7.3, which fixes several minor bugs.Shaun Amott2007-06-152-6/+15
| | | | | | | | - Add some preliminary switches for other databases. - Add a MASTER_SITES mirror. Notes: svn path=/head/; revision=193605
* Populate a new ports-mgmt category. List of moved ports:Pav Lucistnik2007-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devel/portcheckout -> ports-mgmt/portcheckout devel/portlint -> ports-mgmt/portlint devel/portmk -> ports-mgmt/portmk devel/porttools -> ports-mgmt/porttools misc/instant-tinderbox -> ports-mgmt/instant-tinderbox misc/porteasy -> ports-mgmt/porteasy misc/portell -> ports-mgmt/portell misc/portless -> ports-mgmt/portless misc/tinderbox -> ports-mgmt/tinderbox security/jailaudit -> ports-mgmt/jailaudit security/portaudit -> ports-mgmt/portaudit security/portaudit-db -> ports-mgmt/portaudit-db security/vulnerability-test-port -> ports-mgmt/vulnerability-test-port sysutils/barry -> ports-mgmt/barry sysutils/bpm -> ports-mgmt/bpm sysutils/kports -> ports-mgmt/kports sysutils/managepkg -> ports-mgmt/managepkg sysutils/newportsversioncheck -> ports-mgmt/newportsversioncheck sysutils/pib -> ports-mgmt/pib sysutils/pkgfe -> ports-mgmt/pkgfe sysutils/pkg-orphan -> ports-mgmt/pkg-orphan sysutils/pkg_cutleaves -> ports-mgmt/pkg_cutleaves sysutils/pkg_install -> ports-mgmt/pkg_install sysutils/pkg_install-devel -> ports-mgmt/pkg_install-devel sysutils/pkg_remove -> ports-mgmt/pkg_remove sysutils/pkg_rmleaves -> ports-mgmt/pkg_rmleaves sysutils/pkg_trackinst -> ports-mgmt/pkg_trackinst sysutils/pkg_tree -> ports-mgmt/pkg_tree sysutils/portbrowser -> ports-mgmt/portbrowser sysutils/portconf -> ports-mgmt/portconf sysutils/portdowngrade -> ports-mgmt/portdowngrade sysutils/portcheck -> ports-mgmt/portcheck sysutils/portmanager -> ports-mgmt/portmanager sysutils/portmaster -> ports-mgmt/portmaster sysutils/portscout -> ports-mgmt/portscout sysutils/portsearch -> ports-mgmt/portsearch sysutils/portsman -> ports-mgmt/portsman sysutils/portsnap -> ports-mgmt/portsnap sysutils/portsopt -> ports-mgmt/portsopt sysutils/portupgrade -> ports-mgmt/portupgrade sysutils/portupgrade-devel -> ports-mgmt/portupgrade-devel sysutils/port-authoring-tools -> ports-mgmt/port-authoring-tools sysutils/port-maintenance-tools -> ports-mgmt/port-maintenance-tools sysutils/psearch -> ports-mgmt/psearch sysutils/p5-FreeBSD-Portindex -> ports-mgmt/p5-FreeBSD-Portindex sysutils/qtpkg -> ports-mgmt/qtpkg textproc/p5-FreeBSD-Ports -> ports-mgmt/p5-FreeBSD-Ports Repocopies by: marcus Notes: svn path=/head/; revision=184211
* - Update to 0.7.2.Shaun Amott2007-02-023-4/+11
| | | | | | | | | - Ensure modules are installed. [1] Noticed by: rafan [1] Notes: svn path=/head/; revision=183993
* Ensure the sample config. removal line in pkg-plist succeeds ifShaun Amott2007-01-241-1/+1
| | | | | | | | | | portscout.conf has been modified. PR: ports/108290 Submitted by: Alexander Logvinov <ports@logvinov.com> Notes: svn path=/head/; revision=183170
* - Update to 0.7.1, which fixes a few minor bugs.Shaun Amott2007-01-232-13/+4
| | | | Notes: svn path=/head/; revision=183113
* Fix another last-minute bug in the restrict_* checking code.Shaun Amott2007-01-222-1/+7
| | | | Notes: svn path=/head/; revision=183018
* - Fix a typo in the SQL init script.Shaun Amott2007-01-221-0/+3
| | | | | | | Noticed by: miwi Notes: svn path=/head/; revision=182982
* portscout is a tool which looks for new versions of software in theShaun Amott2007-01-214-0/+124
FreeBSD ports tree, and potentially other software repositories. Various factors make this task a bit more difficult than it might initially seem. In particular, the array of weird and wonderful versioning schemes software vendors manage to come up with. portscout spawns several child processes and does its version checking in parallel, while attempting to best-guess strange-looking version numbers, navigate around unhelpful sites and web servers, and contend with the CPU-heavy rapidly-expanding FreeBSD ports system. In addition to all this, it is possible to generate nice HTML reports and send reminder mails to interested parties. This should probably be considered beta until v1.0 is released. Notes: svn path=/head/; revision=182924