{"id":15148745,"url":"https://github.com/semarie/sysclean","last_synced_at":"2025-07-28T05:04:42.027Z","repository":{"id":3602595,"uuid":"50275224","full_name":"semarie/sysclean","owner":"semarie","description":"list obsolete files between OpenBSD upgrades - mirror of codeberg.org/semarie/sysclean","archived":false,"fork":false,"pushed_at":"2024-06-05T12:58:53.000Z","size":168,"stargazers_count":45,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T22:51:22.173Z","etag":null,"topics":["openbsd","upgrade"],"latest_commit_sha":null,"homepage":"https://codeberg.org/semarie/sysclean","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/semarie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-01-24T06:23:18.000Z","updated_at":"2024-11-25T13:41:44.000Z","dependencies_parsed_at":"2023-01-11T16:32:51.314Z","dependency_job_id":"b97b7969-937b-49ba-bf93-8449912a5234","html_url":"https://github.com/semarie/sysclean","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/semarie/sysclean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semarie%2Fsysclean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semarie%2Fsysclean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semarie%2Fsysclean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semarie%2Fsysclean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semarie","download_url":"https://codeload.github.com/semarie/sysclean/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semarie%2Fsysclean/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464522,"owners_count":24091505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["openbsd","upgrade"],"created_at":"2024-09-26T13:22:29.256Z","updated_at":"2025-07-28T05:04:41.986Z","avatar_url":"https://github.com/semarie.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"SYSCLEAN(8) - System Manager's Manual\n\n# NAME\n\n**sysclean** - list obsolete elements between OpenBSD upgrades\n\n# SYNOPSIS\n\n**sysclean**\n[**-a** | **-p**]\n[**-i**]\n\n# DESCRIPTION\n\n**sysclean**\nis a\nperl(1)\nscript designed to help remove obsolete files, users and groups, between\nOpenBSD\nupgrades.\n\n**sysclean**\ncompares a reference installation against the currently installed elements,\ntaking files from both the base system and packages into account.\n\n**sysclean**\nis a read-only tool.\nIt does not remove anything on the system.\n\nBy default,\n**sysclean**\nlists obsolete filenames, users and groups on the system.\nIt excludes any used dynamic libraries.\nIt will report base libraries with versions newer than what's expected.\n\nThe options are as follows:\n\n**-a**\n\n\u003e All files mode.\n\u003e **sysclean**\n\u003e will not exclude filenames used by installed packages from output.\n\n**-i**\n\n\u003e With ignored.\n\u003e **sysclean**\n\u003e will include filenames that are ignored by default, using\n\u003e */etc/sysclean.ignore*.\n\n**-p**\n\n\u003e Package mode.\n\u003e **sysclean**\n\u003e will output package names that are using obsolete files.\n\n# ENVIRONMENT\n\n`PKG_DBDIR`\n\n\u003e The standard package database directory,\n\u003e */var/db/pkg*,\n\u003e can be overridden by specifying an alternative directory in the\n\u003e `PKG_DBDIR`\n\u003e environment variable.\n\n# FILES\n\n*/etc/sysclean.ignore*\n\n\u003e Files to ignore, one per line, with absolute pathnames.\n\n\u003e A line starting with\n\u003e '@user'\n\u003e or\n\u003e '@group'\n\u003e will be interpreted as user or group to ignore.\n\n\u003e Shell globbing is supported in pathnames; see\n\u003e File::Glob(3p).\n\u003e If the pattern matches a directory,\n\u003e **sysclean**\n\u003e will not inspect it or any files contained within.\n\u003e For compatibility with the\n\u003e changelist(5)\n\u003e file format, the character\n\u003e '+'\n\u003e is skipped at the beginning of a line.\n\n\u003e */etc/changelist*\n\u003e is implictly included.\n\n# EXAMPLES\n\nObtain a list of outdated files (without libraries used by packages):\n\n\t# sysclean\n\t/usr/lib/libc.so.83.0\n\nObtain a list of old libraries and the package using them:\n\n\t# sysclean -p\n\t/usr/lib/libc.so.84.1   git-2.7.0\n\t/usr/lib/libc.so.84.1   gmake-4.1p0\n\nObtain a list of all outdated files (including used libraries):\n\n\t# sysclean -a\n\t/usr/lib/libc.so.83.0\n\t/usr/lib/libc.so.84.1\n\n# SEE ALSO\n\npkg\\_info(1),\nsysmerge(8)\n\n# HISTORY\n\nThe first version of\n**sysclean**\nwas written as\nksh(1)\nscript in 2015, and rewritten using\nperl(1)\nin 2016.\n\n# AUTHORS\n\n**sysclean**\nwas written by\nSebastien Marie \u003c[semarie@kapouay.eu.org](mailto:semarie@kapouay.eu.org)\u003e.\n\nOpenBSD 7.5 - March 10, 2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemarie%2Fsysclean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemarie%2Fsysclean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemarie%2Fsysclean/lists"}