From 77e3bc6d610605a194b064df26fd0adfa97ba94a Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 15 Mar 2025 09:26:54 +0100 Subject: [PATCH 1/3] Update README --- README.md | 63 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 1bf9b2c..6df2c77 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,47 @@ which I've built and maintain for myself. Use it at your own discretion but I make no promises toward any functionality, stability or non-explody-system-ness. -## ROADMAP +Currently, files in the repository are _only_ built for x86_64. +I would like to extend it to other arches at some point but it is not a priority for me, +and I do not know enough about the xbps build system to make it easily possible. -### Current +## ROADMAP - [x] Create new builds for all contained packages - [x] Detect changed packages from previous builds - [x] build only for those packages +- [x] serve from custom repository - [ ] detect upstream changes and update templates - [ ] build for multiple (appropriate) arches -### Ideas +## Package wishlist + +- [x] bemoji +- [x] ripgrep-all +- [x] filtile (/src instead of bin) +- [x] dotter (/src instead of bin) +- [x] git-bug (/src) +- [ ] bugwarrior - only in pypi for now +- [ ] viddy / hwatch +- [ ] netbird / protonvpn / piactl + - +- [ ] taskopen +- [ ] dstask +- [ ] tasklite +- [ ] tu +- [ ] +- [ ] tgpt + +- [ ] impala (iwd TUI) +- [ ] localsend: + + - [ ] localsend + - [x] localsend-cli (localsend-go) + +- gitleaks? +- syncall - in pypi for now + +## Auto updating Goal: auto-update templates on remote updates (checked e.g. every 24h) @@ -43,30 +73,3 @@ Goal: auto-update templates on remote updates (checked e.g. every 24h) - [ ] pull all existing packages in repo into dir - [ ] put new version of the package into repo - [ ] repush repo to page with new file - -## Package wishlist - -Packages I didn't find in repos: - -- [ ] bemoji -- [ ] bugwarrior -- [ ] viddy -- [ ] netbird / protonvpn / piactl -- [ ] ripgrep-all - -packages built xbps-src style: - -- [x] filtile (/src instead of bin) -- [x] dotter (/src instead of bin) -- [x] git-bug (/src) -- [~] git-delta -- [ ] bugwarrior -- [ ] viddy -- [ ] netbird -- [ ] piactl/daemon - - - - -- packages to investigate: - - [ ] impala (iwd TUI) - - [ ] localsend From a4f3f6881a5598118a7fafa334affb2570ae8d85 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 16 Mar 2025 13:39:13 +0100 Subject: [PATCH 2/3] Add localsend-go template --- srcpkgs/localsend-go/template | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/localsend-go/template diff --git a/srcpkgs/localsend-go/template b/srcpkgs/localsend-go/template new file mode 100644 index 0000000..f15180d --- /dev/null +++ b/srcpkgs/localsend-go/template @@ -0,0 +1,35 @@ +# Template file for 'localsend-go' +pkgname=localsend-go +version=1.2.5 +revision=1 +build_style=go +go_import_path="localsend_cli" +go_package="./cmd" +depends="libcap-progs" +short_desc="CLI for localsend implemented in Go" +maintainer="Marty Oehme " +license="MIT" +homepage="https://github.com/meowrain/localsend-go" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=48d6b94b7cbcf6b07400c7293401a0d329e15c6ab1f3493e31363a5525e73b00 + +do_install() { + vbin ${GOPATH}/bin/cmd localsend_cli +} + +# have to turn it off currently since +# tui_test.go is trying to open a TTY which is not possible. +# When it _does_ succeed it would just hang there anyway. +do_check() { + : +} + +post_install() { + vlicense LICENSE + + vdoc doc/README_en.md + vdoc doc/README_jp.md + vdoc doc/README_zh.md + + setcap cap_net_raw=+ep /usr/bin/localsend-go +} From 2dbfd8208ebd5fafe2e12b57d295c79e0e19d079 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 16 Mar 2025 15:36:13 +0100 Subject: [PATCH 3/3] Fix cap_net capabilities for localsend-go --- srcpkgs/localsend-go/INSTALL | 5 +++++ srcpkgs/localsend-go/template | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/localsend-go/INSTALL diff --git a/srcpkgs/localsend-go/INSTALL b/srcpkgs/localsend-go/INSTALL new file mode 100644 index 0000000..ca1fd89 --- /dev/null +++ b/srcpkgs/localsend-go/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap cap_net_raw+ep /usr/bin/localsend_cli + ;; +esac diff --git a/srcpkgs/localsend-go/template b/srcpkgs/localsend-go/template index f15180d..03a15f3 100644 --- a/srcpkgs/localsend-go/template +++ b/srcpkgs/localsend-go/template @@ -1,7 +1,7 @@ # Template file for 'localsend-go' pkgname=localsend-go version=1.2.5 -revision=1 +revision=2 build_style=go go_import_path="localsend_cli" go_package="./cmd" @@ -30,6 +30,4 @@ post_install() { vdoc doc/README_en.md vdoc doc/README_jp.md vdoc doc/README_zh.md - - setcap cap_net_raw=+ep /usr/bin/localsend-go }