{"id":17861147,"url":"https://github.com/jonathanstowe/raku-sys-utmp","last_synced_at":"2025-04-02T20:47:16.730Z","repository":{"id":31609993,"uuid":"35174963","full_name":"jonathanstowe/Raku-Sys-Utmp","owner":"jonathanstowe","description":"Raku access to Utmp entries on Unix-like systems","archived":false,"fork":false,"pushed_at":"2023-07-02T06:33:51.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-02T07:28:07.249Z","etag":null,"topics":["raku","unix","utmp"],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanstowe.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2015-05-06T18:09:28.000Z","updated_at":"2023-07-02T07:28:07.249Z","dependencies_parsed_at":"2024-10-28T09:05:47.437Z","dependency_job_id":"ba16bb48-23f2-4faf-a3d0-132e2a5a466e","html_url":"https://github.com/jonathanstowe/Raku-Sys-Utmp","commit_stats":null,"previous_names":[],"tags_count":14,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FRaku-Sys-Utmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FRaku-Sys-Utmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FRaku-Sys-Utmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FRaku-Sys-Utmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanstowe","download_url":"https://codeload.github.com/jonathanstowe/Raku-Sys-Utmp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892796,"owners_count":20850846,"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","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":["raku","unix","utmp"],"created_at":"2024-10-28T08:43:03.973Z","updated_at":"2025-04-02T20:47:16.475Z","avatar_url":"https://github.com/jonathanstowe.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sys::Utmp\n\nRaku access to Utmp entries on Unix-like systems.\n\n![Build Status](https://github.com/jonathanstowe/Raku-Sys-Utmp/workflows/CI/badge.svg)\n\n## Description\n\nSys::Utmp provides access to the Unix user accounting data that may be\ndescribed in the utmp(5) manpage.  Briefly it records each logged in\nuser (and some other data regarding the OS lifetime.)\n\nIt will prefer to use the getutent() function from the system C library\nif it is available but will attempt to provide its own if the OS doesn't\nhave that. Because the implementation of getutent() differs between\nvarious OS and the C part of this module needs to provide a consistent\ninterface to Raku it may not represent all the data that is available on\na particular system, similarly there may be documented attributes that\nare not captured on some OS.\n\n## Installation\n\nBecause the various Unix-like systems have varying implementations of the\nutmp facility this uses a small shared library written in C to provide a\nconsistent interface to the Raku library, this means that you will require\na working C compiler environment to be able to install this module.\n\nIt is entirely possible that the assumptions that I have made in the C\npart aren't correct for your system and that this will not install or\nwork properly, if this is the case please see the \"Support\" section below.\n\nAssuming you have a working Rakudo installation you should be able to\ninstall this with *zef* :\n\n    # From the source directory\n   \n    zef install .\n\n    # Remote installation\n\n    zef install Sys::Utmp\n\n## Support\n\nSuggestions/patches are welcomed via github at:\n\nhttps://github.com/jonathanstowe/Raku-Sys-Utmp/issues\n\nI'm not able to test on a wide variety of platforms so any help there would be \nappreciated. Also the assumptions in the C library are based on those used\nin the XS part of the similarly named Perl 5 module which was written when\nI had access to different systems, but time moves on and operating systems\nchange and some of this could be completely incorrect for some systems where\nit previously worked.  So if you find that this doesn't compile or work\nproperly on your system and you can work out why the patches will be most\nwelcome.\n\n## Licence\n\nThis is free software.\n\nPlease see the [LICENCE](LICENCE) file in the distribution\n\n© Jonathan Stowe 2015 - 2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Fraku-sys-utmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanstowe%2Fraku-sys-utmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Fraku-sys-utmp/lists"}