{"id":42587210,"url":"https://github.com/depressed-pho/pkgchkxx","last_synced_at":"2026-01-28T23:04:43.075Z","repository":{"id":155725620,"uuid":"632714304","full_name":"depressed-pho/pkgchkxx","owner":"depressed-pho","description":"Complete rewrite of pkg_chk and pkg_rolling-replace from pkgsrc","archived":false,"fork":false,"pushed_at":"2025-10-02T02:57:30.000Z","size":547,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-02T04:24:38.409Z","etag":null,"topics":["pkgsrc"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/depressed-pho.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-26T01:31:14.000Z","updated_at":"2025-10-02T03:45:39.000Z","dependencies_parsed_at":"2025-01-15T09:01:10.928Z","dependency_job_id":"1ee45b61-666a-4950-8fdb-9f10853dbd5b","html_url":"https://github.com/depressed-pho/pkgchkxx","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/depressed-pho/pkgchkxx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depressed-pho%2Fpkgchkxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depressed-pho%2Fpkgchkxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depressed-pho%2Fpkgchkxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depressed-pho%2Fpkgchkxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depressed-pho","download_url":"https://codeload.github.com/depressed-pho/pkgchkxx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depressed-pho%2Fpkgchkxx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28854472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pkgsrc"],"created_at":"2026-01-28T23:04:42.404Z","updated_at":"2026-01-28T23:04:43.070Z","avatar_url":"https://github.com/depressed-pho.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What's this\n\n**pkgchkxx** and **pkgrrxx** are complete rewrites of\n[pkgsrc](https://www.pkgsrc.org/)\n[pkg_chk](https://pkgsrc.se/pkgtools/pkg_chk) and\n[pkg_rolling-replace](https://pkgsrc.se/pkgtools/pkg_rolling-replace)\nrespectively. These are functionally compatible but run faster:\n\n* `pkgrrxx -u` runs roughly N times faster than `pkg_rolling-replace -u`\n  where N is the number of CPUs you have.\n* `pkgrrxx -sn` runs 14.8x faster than `pkg_rolling-replace -sn`.\n* `pkgchkxx -aur -b` runs 11x faster than `pkg_chk -aur -b` when\n  [pkg_summary(5)](https://man.netbsd.org/pkg_summary.5) file is available.\n* `pkgchkxx -aur -s` runs 3x faster than `pkg_chk -aur -s`.\n* `pkgchkxx -l` runs 185x faster than `pkg_chk -l` when\n  `pkg_summary(5)` file is available, and runs 24.8x faster when it's\n  unavailable (and needs to scan archives).\n* `pkgchkxx -p` runs 1.3x faster than `pkg_chk -p`.\n* `pkgchkxx -g` runs 1.6x faster than `pkg_chk -g`.\n* `pkgchkxx -N` runs 22x faster than `pkg_chk -N`.\n\nThis implementation achieves better performance by using a faster language,\nbetter algorithms, and making use of more than a single CPU whenever\npossible. The last one is the primary reason why a complete rewrite was\nneeded: doing it in POSIX shell was simply not feasible.\n\n\n## External dependencies\n\n* A C++17 compiler. For GCC it has to be GCC 8 or later.\n* [GNU Make](https://www.gnu.org/software/make/make.html), only needed for\n  building the programs.\n* [pkg_install](https://pkgsrc.se/pkgtools/pkg_install), obviously.\n* [pkg-config](https://pkgconfig.freedesktop.org/) for determining what\n  **pkg_chk** tags to predefine. *This is a run-time dependency.*\n* [bzip2](https://sourceware.org/bzip2/) for reading bzip2-compressed\n  `pkg_summary(5)` files.\n* [zlib](https://www.zlib.net/) for reading gzip-compressed\n  `pkg_summary(5)` files.\n* [libfetch](https://pkgsrc.se/net/libfetch) for fetching\n  `pkg_summary(5)` files from a remote host.\n\n\n## Release notes\n\nSee [NEWS](./NEWS.md).\n\n\n## Building and installation\n\n```\n% ./configure\n% gmake\n% sudo gmake install\n```\n\nYou may need to give `./configure` the path to your compiler if the\nsystem compiler doesn't support C++17:\n\n```\n% ./configure CXX=/path/to/cxx\n```\n\n\n## Hacking\n\nSee [HACKING](./HACKING.md).\n\n\n## License\n\n`BSD-2-Clause` AND `BSD-3-Clause`. See [COPYING](./COPYING).\n\n\n## Author\n\n[The NetBSD Foundation](http://www.netbsd.org/foundation/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepressed-pho%2Fpkgchkxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepressed-pho%2Fpkgchkxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepressed-pho%2Fpkgchkxx/lists"}