{"id":19832310,"url":"https://github.com/link2twenty/wpkg-tools","last_synced_at":"2026-05-14T04:35:29.779Z","repository":{"id":208717940,"uuid":"133526184","full_name":"Link2Twenty/wpkg-tools","owner":"Link2Twenty","description":"CLI to interact with WPKG clients in Debian (written in Perl)","archived":false,"fork":false,"pushed_at":"2018-08-30T08:58:11.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T21:30:47.601Z","etag":null,"topics":["automation","cli","wpkg"],"latest_commit_sha":null,"homepage":"https://wpkg.org/Main_Page","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Link2Twenty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-15T14:12:20.000Z","updated_at":"2025-02-23T20:04:41.000Z","dependencies_parsed_at":"2023-11-22T23:43:28.608Z","dependency_job_id":null,"html_url":"https://github.com/Link2Twenty/wpkg-tools","commit_stats":null,"previous_names":["link2twenty/wpkg-tools"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Link2Twenty/wpkg-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fwpkg-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fwpkg-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fwpkg-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fwpkg-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Link2Twenty","download_url":"https://codeload.github.com/Link2Twenty/wpkg-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fwpkg-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33010667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["automation","cli","wpkg"],"created_at":"2024-11-12T11:37:22.017Z","updated_at":"2026-05-14T04:35:29.765Z","avatar_url":"https://github.com/Link2Twenty.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wpkg-tools\n\n**wpkg-tools** is command line tool to interact with [WPKG](https://wpkg.org/Main_Page) clients from debian, it is written in perl.\n\n## Getting Started\n\nIn order to get this running you will need to download wpkg-tools and wpkg-variables.pl and place them in /usr/local/sbin/ with the permissions 700.\n\nYou will need to edit wpkg-variables.pl to be correct for your own site.\n\n### Prerequisites\n\nwpkg-tools presumes several things:\n * You are using a debian based operating system\n * You have your WPKG reports stored somewhere accessible\n * You have [wpkgreports.awk](https://github.com/stringydave/wpkgreports) added\n * You have [samba-common](https://packages.ubuntu.com/search?keywords=samba-common) installed\n * You have [perl](https://wiki.debian.org/Perl) installed\n\nThere are also several perl components used:\n * [libswitch-perl](https://packages.debian.org/sid/libswitch-perl)\n * [libnet-ping-external-perl](https://packages.debian.org/wheezy/libnet-ping-external-perl)\n * [libterm-readkey-perl](https://packages.debian.org/sid/libterm-readkey-perl)\n\n ### Installing\n\n **Downloading scripts:**\n\nIt's best to run these commands with sudo or as root\n\n ```\nwget https://raw.githubusercontent.com/Link2Twenty/wpkg-tools/master/wpkg-tools -P /usr/local/sbin/\nwget https://raw.githubusercontent.com/Link2Twenty/wpkg-tools/master/wpkg-variables.pl -P /usr/local/sbin/\n\nchmod 700 /usr/local/sbin/wpkg-tools\nchmod 700 /usr/local/sbin/wpkg-variables.pl\n ```\n\n You will have to edit the two variables in /usr/local/sbin/wpkg-variables.pl, using your prefered editor\n\n```\nour $user = \"username%password\";\nour $wpkg_reports = \"/location/of/wpkgreports\";\n```\n\n **Installing prerequisites:**\n\n ```\napt install samba-common\napt install perl perl-doc\n\napt install libterm-readkey-perl\napt install libnet-ping-external-perl\napt install libswitch-perl\n ```\n\n **Updating**\n\n This should be as simple as running the update script\n\n ```\nserver:~# wpkg-tools --update\nwpkg-tools is already on the latest version (v0.1.2)\nserver:~# wpkg-tools --version\nv0.1.2\n ```\n\n ```\nserver:~# wpkg-tools --update\nwpkg-tools will be updated to version v0.1.3\nserver:~# wpkg-tools --version\nv0.1.3\n ```\n\n## Usage\n\n```\nUsage: wpkg-tools [OPTION...]\n-u, --username       Set a non-default username (password required)\n-p, --password       Set a non-default password (string)\n-P, --prompt         Set a non-default password (prompt)\n-m, --machine        Only run command for one specific computer\n-r, --report         Display latest wpkg report\n-s, --status         Display current status of WPKG service\n-v, --version        Display version of wpkg-tools\n--update             Update to latest release of wpkg-tools\n-h, -?, --help       Display help screen\n```\n\n## Authors\n\n* **Andrew Bone** - [Link2Twenty](https://github.com/Link2Twenty/)\n* **Dave Evans** - [stringydave](https://github.com/stringydave/)\n\n## Some links\n\n* Main the WPKG website - https://wpkg.org/\n* WPKG documentation page - https://wpkg.org/Documentation\n* Article on Wikipedia - https://en.wikipedia.org/wiki/WPKG_(software)\n\n## Acknowledgments\n * [wpkgreports.awk](https://github.com/stringydave/wpkgreports) by [Dave Evans](https://github.com/stringydave/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink2twenty%2Fwpkg-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink2twenty%2Fwpkg-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink2twenty%2Fwpkg-tools/lists"}