From fcdbf827885021e41c64080d693d8387f9c70498 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Mon, 5 Sep 2022 10:21:01 -0500 Subject: [PATCH] Reshaping repo The repo is designed for use with an existing builds.sr.ht service. Besides lacking that, I am more interested in a containerized workflow powered by a Makefile. Package source code will live in `pkgsrc/`, packages will be built into `pkg/`, and packaging keys will be generated into `keys/`. Alos trimmed the packages down to what I will build. --- README.md | 28 -- build-edge.yml | 30 -- build.yml | 29 -- pkgkit | 336 ------------------ {sr.ht => pkgsrc}/builds.sr.ht/APKBUILD | 0 .../builds.sr.ht/builds.sr.ht-api.confd | 0 .../builds.sr.ht/builds.sr.ht-api.initd | 0 .../builds.sr.ht/builds.sr.ht-worker.confd | 0 .../builds.sr.ht/builds.sr.ht-worker.initd | 0 .../builds.sr.ht/builds.sr.ht.confd | 0 .../builds.sr.ht.gunicorn.conf.py | 0 .../builds.sr.ht/builds.sr.ht.initd | 0 .../builds.sr.ht/builds.sr.ht.post-upgrade | 0 .../builds.sr.ht/builds.sr.ht.pre-install | 0 {sr.ht => pkgsrc}/git.sr.ht/APKBUILD | 0 .../git.sr.ht/git.sr.ht-api.confd | 0 .../git.sr.ht/git.sr.ht-api.initd | 0 .../git.sr.ht/git.sr.ht-webhooks.confd | 0 .../git.sr.ht/git.sr.ht-webhooks.initd | 0 {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.confd | 0 .../git.sr.ht/git.sr.ht.gunicorn.conf.py | 0 {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.initd | 0 .../git.sr.ht/git.sr.ht.post-install | 0 .../git.sr.ht/git.sr.ht.post-upgrade | 0 {sr.ht => pkgsrc}/lists.sr.ht/APKBUILD | 0 .../lists.sr.ht/lists.sr.ht-api.confd | 0 .../lists.sr.ht/lists.sr.ht-api.initd | 0 .../lists.sr.ht/lists.sr.ht-lmtp.confd | 0 .../lists.sr.ht/lists.sr.ht-lmtp.initd | 0 .../lists.sr.ht/lists.sr.ht-process.confd | 0 .../lists.sr.ht/lists.sr.ht-process.initd | 0 .../lists.sr.ht/lists.sr.ht-webhooks.confd | 0 .../lists.sr.ht/lists.sr.ht-webhooks.initd | 0 .../lists.sr.ht/lists.sr.ht.confd | 0 .../lists.sr.ht/lists.sr.ht.gunicorn.conf.py | 0 .../lists.sr.ht/lists.sr.ht.initd | 0 .../lists.sr.ht/lists.sr.ht.post-install | 0 .../lists.sr.ht/lists.sr.ht.post-upgrade | 0 {sr.ht => pkgsrc}/meta.sr.ht/APKBUILD | 0 .../meta.sr.ht/meta.sr.ht-api.confd | 0 .../meta.sr.ht/meta.sr.ht-api.initd | 0 .../meta.sr.ht/meta.sr.ht-webhooks.confd | 0 .../meta.sr.ht/meta.sr.ht-webhooks.initd | 0 {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.confd | 0 .../meta.sr.ht/meta.sr.ht.gunicorn.conf.py | 0 {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.initd | 0 .../meta.sr.ht/meta.sr.ht.post-install | 0 .../meta.sr.ht/meta.sr.ht.post-upgrade | 0 {sr.ht => pkgsrc}/py3-amqp/APKBUILD | 0 {sr.ht => pkgsrc}/py3-ansi2html/APKBUILD | 0 {sr.ht => pkgsrc}/py3-anyjson/APKBUILD | 0 {sr.ht => pkgsrc}/py3-asyncpg/APKBUILD | 0 {sr.ht => pkgsrc}/py3-billiard/APKBUILD | 0 {sr.ht => pkgsrc}/py3-case/APKBUILD | 0 {sr.ht => pkgsrc}/py3-celery/7446.patch | 0 {sr.ht => pkgsrc}/py3-celery/APKBUILD | 0 .../py3-click-didyoumean/APKBUILD | 0 {sr.ht => pkgsrc}/py3-click-repl/APKBUILD | 0 {sr.ht => pkgsrc}/py3-colour/APKBUILD | 0 {sr.ht => pkgsrc}/py3-colour/setup.cfg | 0 {sr.ht => pkgsrc}/py3-colour/setup.py | 0 {sr.ht => pkgsrc}/py3-emailthreads/APKBUILD | 0 {sr.ht => pkgsrc}/py3-furl/APKBUILD | 0 {sr.ht => pkgsrc}/py3-humanize/APKBUILD | 0 {sr.ht => pkgsrc}/py3-infinity/APKBUILD | 0 {sr.ht => pkgsrc}/py3-intervals/APKBUILD | 0 {sr.ht => pkgsrc}/py3-kombu/APKBUILD | 0 {sr.ht => pkgsrc}/py3-minio/APKBUILD | 0 {sr.ht => pkgsrc}/py3-mistletoe/APKBUILD | 0 .../py3-orderedmultidict/APKBUILD | 0 {sr.ht => pkgsrc}/py3-pgpy/APKBUILD | 0 .../py3-pygments/0001-lexers-add-Hare.patch | 0 {sr.ht => pkgsrc}/py3-pygments/APKBUILD | 0 {sr.ht => pkgsrc}/py3-scmsrht/APKBUILD | 0 .../py3-sqlalchemy-utils/APKBUILD | 0 {sr.ht => pkgsrc}/py3-srht/APKBUILD | 0 {sr.ht => pkgsrc}/py3-sshpubkeys/APKBUILD | 0 {sr.ht => pkgsrc}/py3-vine/APKBUILD | 0 .../py3-wcag-contrast-ratio/APKBUILD | 0 {sr.ht => pkgsrc}/py3-zxcvbn/APKBUILD | 0 {sr.ht => pkgsrc}/todo.sr.ht/APKBUILD | 0 .../todo.sr.ht/todo.sr.ht-api.confd | 0 .../todo.sr.ht/todo.sr.ht-api.initd | 0 .../todo.sr.ht/todo.sr.ht-lmtp.confd | 0 .../todo.sr.ht/todo.sr.ht-lmtp.initd | 0 .../todo.sr.ht/todo.sr.ht-webhooks.confd | 0 .../todo.sr.ht/todo.sr.ht-webhooks.initd | 0 {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.confd | 0 .../todo.sr.ht/todo.sr.ht.gunicorn.conf.py | 0 {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.initd | 0 .../todo.sr.ht/todo.sr.ht.post-install | 0 .../todo.sr.ht/todo.sr.ht.post-upgrade | 0 sr.ht/alertmanager-irc-relay/APKBUILD | 55 --- .../alertmanager-irc-relay.confd | 4 - .../alertmanager-irc-relay.initd | 15 - .../alertmanager-irc-relay.pre-install | 4 - .../alertmanager-irc-relay.yml | 43 --- sr.ht/chartsrv/APKBUILD | 43 --- sr.ht/chartsrv/chartsrv.confd | 5 - sr.ht/chartsrv/chartsrv.initd | 15 - sr.ht/chartsrv/chartsrv.pre-install | 4 - sr.ht/dispatch.sr.ht/APKBUILD | 57 --- sr.ht/dispatch.sr.ht/dispatch.sr.ht.confd | 11 - .../dispatch.sr.ht.gunicorn.conf.py | 5 - sr.ht/dispatch.sr.ht/dispatch.sr.ht.initd | 32 -- .../dispatch.sr.ht.post-install | 3 - .../dispatch.sr.ht.post-upgrade | 3 - sr.ht/drawterm-sourcehut/APKBUILD | 30 -- sr.ht/drawterm-sourcehut/respect-env.patch | 22 -- ...-Add-custom-chat.sr.ht-noscript-page.patch | 31 -- ...Add-sourcehut-branding-to-chat.sr.ht.patch | 65 ---- sr.ht/gamja/APKBUILD | 43 --- sr.ht/git-send-email.io/APKBUILD | 37 -- .../git-send-email.io/git-send-email.io.init | 35 -- .../git-send-email.io.post-install | 3 - sr.ht/go-msgauth/APKBUILD | 50 --- sr.ht/go-msgauth/dkim-milter.confd | 27 -- sr.ht/go-msgauth/dkim-milter.initd | 29 -- sr.ht/go-msgauth/go-msgauth.pre-install | 4 - sr.ht/hg-evolve/APKBUILD | 33 -- sr.ht/hg.sr.ht/APKBUILD | 78 ---- sr.ht/hg.sr.ht/hg.sr.ht-api.confd | 8 - sr.ht/hg.sr.ht/hg.sr.ht-api.initd | 24 -- sr.ht/hg.sr.ht/hg.sr.ht-webhooks.confd | 5 - sr.ht/hg.sr.ht/hg.sr.ht-webhooks.initd | 23 -- sr.ht/hg.sr.ht/hg.sr.ht.confd | 11 - sr.ht/hg.sr.ht/hg.sr.ht.gunicorn.conf.py | 5 - sr.ht/hg.sr.ht/hg.sr.ht.initd | 32 -- sr.ht/hg.sr.ht/hg.sr.ht.post-install | 3 - sr.ht/hg.sr.ht/hg.sr.ht.post-upgrade | 3 - sr.ht/hub.sr.ht/APKBUILD | 54 --- sr.ht/hub.sr.ht/hub.sr.ht.confd | 11 - sr.ht/hub.sr.ht/hub.sr.ht.gunicorn.conf.py | 5 - sr.ht/hub.sr.ht/hub.sr.ht.initd | 32 -- sr.ht/hub.sr.ht/hub.sr.ht.post-install | 3 - sr.ht/hub.sr.ht/hub.sr.ht.post-upgrade | 3 - sr.ht/legacy.sr.ht-shim/APKBUILD | 36 -- .../legacy.sr.ht-shim/legacy.sr.ht-shim.confd | 8 - .../legacy.sr.ht-shim/legacy.sr.ht-shim.initd | 23 -- .../legacy.sr.ht-shim.post-install | 3 - sr.ht/man.sr.ht/APKBUILD | 57 --- sr.ht/man.sr.ht/man.sr.ht.confd | 11 - sr.ht/man.sr.ht/man.sr.ht.gunicorn.conf.py | 5 - sr.ht/man.sr.ht/man.sr.ht.initd | 32 -- sr.ht/man.sr.ht/man.sr.ht.post-install | 3 - sr.ht/man.sr.ht/man.sr.ht.post-upgrade | 3 - sr.ht/metrics.sr.ht/APKBUILD | 30 -- .../metrics.sr.ht/metrics.sr.ht.post-upgrade | 2 - sr.ht/pages.sr.ht/APKBUILD | 37 -- sr.ht/pages.sr.ht/pages.sr.ht.confd | 5 - sr.ht/pages.sr.ht/pages.sr.ht.initd | 23 -- sr.ht/pages.sr.ht/pages.sr.ht.post-install | 3 - sr.ht/paste.sr.ht/APKBUILD | 64 ---- sr.ht/paste.sr.ht/paste.sr.ht-api.confd | 8 - sr.ht/paste.sr.ht/paste.sr.ht-api.initd | 23 -- sr.ht/paste.sr.ht/paste.sr.ht.confd | 11 - .../paste.sr.ht/paste.sr.ht.gunicorn.conf.py | 5 - sr.ht/paste.sr.ht/paste.sr.ht.initd | 32 -- sr.ht/paste.sr.ht/paste.sr.ht.post-install | 3 - sr.ht/paste.sr.ht/paste.sr.ht.post-upgrade | 3 - sr.ht/prom-aggregation-gateway/APKBUILD | 47 --- .../prom-aggregation-gateway.confd | 4 - .../prom-aggregation-gateway.initd | 15 - .../prom-aggregation-gateway.pre-install | 4 - sr.ht/pushgateway/APKBUILD | 44 --- sr.ht/pushgateway/pushgateway.confd | 4 - sr.ht/pushgateway/pushgateway.initd | 14 - sr.ht/pushgateway/pushgateway.pre-install | 4 - sr.ht/py3-aiosmtpd/APKBUILD | 32 -- sr.ht/py3-atpublic/APKBUILD | 32 -- sr.ht/py3-gitlab/APKBUILD | 32 -- sr.ht/py3-iso3166/APKBUILD | 31 -- sr.ht/py3-mwparserfromhell/APKBUILD | 32 -- sr.ht/py3-pydyf/APKBUILD | 39 -- sr.ht/py3-stripe/APKBUILD | 32 -- sr.ht/py3-unidiff/APKBUILD | 32 -- sr.ht/py3-weasyprint/APKBUILD | 54 --- sr.ht/rum/APKBUILD | 27 -- sr.ht/sachet/APKBUILD | 52 --- sr.ht/sachet/sachet.confd | 5 - sr.ht/sachet/sachet.initd | 15 - sr.ht/sachet/sachet.pre-install | 4 - sr.ht/sachet/sachet.yml | 78 ---- sr.ht/searchhut/APKBUILD | 58 --- sr.ht/searchhut/searchhut.pre-install | 6 - sr.ht/searchhut/sh-api.confd | 4 - sr.ht/searchhut/sh-api.initd | 10 - sr.ht/searchhut/sh-web.confd | 4 - sr.ht/searchhut/sh-web.initd | 11 - sr.ht/soju/APKBUILD | 50 --- sr.ht/soju/soju.confd | 7 - sr.ht/soju/soju.initd | 28 -- sr.ht/soju/soju.pre-install | 9 - sr.ht/sr.ht-nginx/APKBUILD | 38 -- sr.ht/sr.ht-uacme/APKBUILD | 53 --- sr.ht/sr.ht-uacme/acme-update-certs | 27 -- sr.ht/sr.ht-uacme/crontab | 2 - sr.ht/sr.ht-uacme/doas.conf | 1 - sr.ht/sr.ht-uacme/sr.ht-uacme.pre-install | 5 - sr.ht/sr.ht-uacme/uacme.conf | 4 - sr.ht/tlstunnel/APKBUILD | 40 --- sr.ht/tlstunnel/tlstunnel.confd | 2 - sr.ht/tlstunnel/tlstunnel.initd | 15 - sr.ht/tlstunnel/tlstunnel.post-install | 4 - sr.ht/tlstunnel/tlstunnel.post-upgrade | 2 - submit-builds | 66 ---- 206 files changed, 2940 deletions(-) delete mode 100644 README.md delete mode 100644 build-edge.yml delete mode 100644 build.yml delete mode 100755 pkgkit rename {sr.ht => pkgsrc}/builds.sr.ht/APKBUILD (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht-api.confd (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht-api.initd (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht-worker.confd (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht-worker.initd (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht.confd (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht.gunicorn.conf.py (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht.initd (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht.post-upgrade (100%) rename {sr.ht => pkgsrc}/builds.sr.ht/builds.sr.ht.pre-install (100%) rename {sr.ht => pkgsrc}/git.sr.ht/APKBUILD (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht-api.confd (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht-api.initd (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht-webhooks.confd (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht-webhooks.initd (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.confd (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.gunicorn.conf.py (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.initd (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.post-install (100%) rename {sr.ht => pkgsrc}/git.sr.ht/git.sr.ht.post-upgrade (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/APKBUILD (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-api.confd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-api.initd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-lmtp.confd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-lmtp.initd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-process.confd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-process.initd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-webhooks.confd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht-webhooks.initd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht.confd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht.gunicorn.conf.py (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht.initd (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht.post-install (100%) rename {sr.ht => pkgsrc}/lists.sr.ht/lists.sr.ht.post-upgrade (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/APKBUILD (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht-api.confd (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht-api.initd (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht-webhooks.confd (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht-webhooks.initd (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.confd (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.gunicorn.conf.py (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.initd (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.post-install (100%) rename {sr.ht => pkgsrc}/meta.sr.ht/meta.sr.ht.post-upgrade (100%) rename {sr.ht => pkgsrc}/py3-amqp/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-ansi2html/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-anyjson/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-asyncpg/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-billiard/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-case/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-celery/7446.patch (100%) rename {sr.ht => pkgsrc}/py3-celery/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-click-didyoumean/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-click-repl/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-colour/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-colour/setup.cfg (100%) rename {sr.ht => pkgsrc}/py3-colour/setup.py (100%) rename {sr.ht => pkgsrc}/py3-emailthreads/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-furl/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-humanize/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-infinity/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-intervals/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-kombu/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-minio/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-mistletoe/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-orderedmultidict/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-pgpy/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-pygments/0001-lexers-add-Hare.patch (100%) rename {sr.ht => pkgsrc}/py3-pygments/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-scmsrht/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-sqlalchemy-utils/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-srht/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-sshpubkeys/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-vine/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-wcag-contrast-ratio/APKBUILD (100%) rename {sr.ht => pkgsrc}/py3-zxcvbn/APKBUILD (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/APKBUILD (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht-api.confd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht-api.initd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht-lmtp.confd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht-lmtp.initd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht-webhooks.confd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht-webhooks.initd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.confd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.gunicorn.conf.py (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.initd (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.post-install (100%) rename {sr.ht => pkgsrc}/todo.sr.ht/todo.sr.ht.post-upgrade (100%) delete mode 100644 sr.ht/alertmanager-irc-relay/APKBUILD delete mode 100644 sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.confd delete mode 100644 sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.initd delete mode 100644 sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.pre-install delete mode 100644 sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.yml delete mode 100644 sr.ht/chartsrv/APKBUILD delete mode 100644 sr.ht/chartsrv/chartsrv.confd delete mode 100644 sr.ht/chartsrv/chartsrv.initd delete mode 100644 sr.ht/chartsrv/chartsrv.pre-install delete mode 100644 sr.ht/dispatch.sr.ht/APKBUILD delete mode 100644 sr.ht/dispatch.sr.ht/dispatch.sr.ht.confd delete mode 100644 sr.ht/dispatch.sr.ht/dispatch.sr.ht.gunicorn.conf.py delete mode 100644 sr.ht/dispatch.sr.ht/dispatch.sr.ht.initd delete mode 100644 sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-install delete mode 100644 sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-upgrade delete mode 100644 sr.ht/drawterm-sourcehut/APKBUILD delete mode 100644 sr.ht/drawterm-sourcehut/respect-env.patch delete mode 100644 sr.ht/gamja/0001-Add-custom-chat.sr.ht-noscript-page.patch delete mode 100644 sr.ht/gamja/0001-Add-sourcehut-branding-to-chat.sr.ht.patch delete mode 100644 sr.ht/gamja/APKBUILD delete mode 100644 sr.ht/git-send-email.io/APKBUILD delete mode 100755 sr.ht/git-send-email.io/git-send-email.io.init delete mode 100644 sr.ht/git-send-email.io/git-send-email.io.post-install delete mode 100644 sr.ht/go-msgauth/APKBUILD delete mode 100644 sr.ht/go-msgauth/dkim-milter.confd delete mode 100644 sr.ht/go-msgauth/dkim-milter.initd delete mode 100644 sr.ht/go-msgauth/go-msgauth.pre-install delete mode 100644 sr.ht/hg-evolve/APKBUILD delete mode 100644 sr.ht/hg.sr.ht/APKBUILD delete mode 100644 sr.ht/hg.sr.ht/hg.sr.ht-api.confd delete mode 100755 sr.ht/hg.sr.ht/hg.sr.ht-api.initd delete mode 100644 sr.ht/hg.sr.ht/hg.sr.ht-webhooks.confd delete mode 100755 sr.ht/hg.sr.ht/hg.sr.ht-webhooks.initd delete mode 100644 sr.ht/hg.sr.ht/hg.sr.ht.confd delete mode 100644 sr.ht/hg.sr.ht/hg.sr.ht.gunicorn.conf.py delete mode 100755 sr.ht/hg.sr.ht/hg.sr.ht.initd delete mode 100644 sr.ht/hg.sr.ht/hg.sr.ht.post-install delete mode 100644 sr.ht/hg.sr.ht/hg.sr.ht.post-upgrade delete mode 100644 sr.ht/hub.sr.ht/APKBUILD delete mode 100644 sr.ht/hub.sr.ht/hub.sr.ht.confd delete mode 100644 sr.ht/hub.sr.ht/hub.sr.ht.gunicorn.conf.py delete mode 100755 sr.ht/hub.sr.ht/hub.sr.ht.initd delete mode 100755 sr.ht/hub.sr.ht/hub.sr.ht.post-install delete mode 100755 sr.ht/hub.sr.ht/hub.sr.ht.post-upgrade delete mode 100644 sr.ht/legacy.sr.ht-shim/APKBUILD delete mode 100644 sr.ht/legacy.sr.ht-shim/legacy.sr.ht-shim.confd delete mode 100755 sr.ht/legacy.sr.ht-shim/legacy.sr.ht-shim.initd delete mode 100644 sr.ht/legacy.sr.ht-shim/legacy.sr.ht-shim.post-install delete mode 100644 sr.ht/man.sr.ht/APKBUILD delete mode 100644 sr.ht/man.sr.ht/man.sr.ht.confd delete mode 100644 sr.ht/man.sr.ht/man.sr.ht.gunicorn.conf.py delete mode 100755 sr.ht/man.sr.ht/man.sr.ht.initd delete mode 100644 sr.ht/man.sr.ht/man.sr.ht.post-install delete mode 100644 sr.ht/man.sr.ht/man.sr.ht.post-upgrade delete mode 100644 sr.ht/metrics.sr.ht/APKBUILD delete mode 100644 sr.ht/metrics.sr.ht/metrics.sr.ht.post-upgrade delete mode 100644 sr.ht/pages.sr.ht/APKBUILD delete mode 100644 sr.ht/pages.sr.ht/pages.sr.ht.confd delete mode 100755 sr.ht/pages.sr.ht/pages.sr.ht.initd delete mode 100644 sr.ht/pages.sr.ht/pages.sr.ht.post-install delete mode 100644 sr.ht/paste.sr.ht/APKBUILD delete mode 100644 sr.ht/paste.sr.ht/paste.sr.ht-api.confd delete mode 100755 sr.ht/paste.sr.ht/paste.sr.ht-api.initd delete mode 100644 sr.ht/paste.sr.ht/paste.sr.ht.confd delete mode 100644 sr.ht/paste.sr.ht/paste.sr.ht.gunicorn.conf.py delete mode 100755 sr.ht/paste.sr.ht/paste.sr.ht.initd delete mode 100644 sr.ht/paste.sr.ht/paste.sr.ht.post-install delete mode 100644 sr.ht/paste.sr.ht/paste.sr.ht.post-upgrade delete mode 100644 sr.ht/prom-aggregation-gateway/APKBUILD delete mode 100644 sr.ht/prom-aggregation-gateway/prom-aggregation-gateway.confd delete mode 100644 sr.ht/prom-aggregation-gateway/prom-aggregation-gateway.initd delete mode 100644 sr.ht/prom-aggregation-gateway/prom-aggregation-gateway.pre-install delete mode 100644 sr.ht/pushgateway/APKBUILD delete mode 100644 sr.ht/pushgateway/pushgateway.confd delete mode 100644 sr.ht/pushgateway/pushgateway.initd delete mode 100644 sr.ht/pushgateway/pushgateway.pre-install delete mode 100644 sr.ht/py3-aiosmtpd/APKBUILD delete mode 100644 sr.ht/py3-atpublic/APKBUILD delete mode 100644 sr.ht/py3-gitlab/APKBUILD delete mode 100644 sr.ht/py3-iso3166/APKBUILD delete mode 100644 sr.ht/py3-mwparserfromhell/APKBUILD delete mode 100644 sr.ht/py3-pydyf/APKBUILD delete mode 100644 sr.ht/py3-stripe/APKBUILD delete mode 100644 sr.ht/py3-unidiff/APKBUILD delete mode 100644 sr.ht/py3-weasyprint/APKBUILD delete mode 100644 sr.ht/rum/APKBUILD delete mode 100644 sr.ht/sachet/APKBUILD delete mode 100644 sr.ht/sachet/sachet.confd delete mode 100644 sr.ht/sachet/sachet.initd delete mode 100644 sr.ht/sachet/sachet.pre-install delete mode 100644 sr.ht/sachet/sachet.yml delete mode 100644 sr.ht/searchhut/APKBUILD delete mode 100644 sr.ht/searchhut/searchhut.pre-install delete mode 100644 sr.ht/searchhut/sh-api.confd delete mode 100644 sr.ht/searchhut/sh-api.initd delete mode 100644 sr.ht/searchhut/sh-web.confd delete mode 100644 sr.ht/searchhut/sh-web.initd delete mode 100644 sr.ht/soju/APKBUILD delete mode 100644 sr.ht/soju/soju.confd delete mode 100644 sr.ht/soju/soju.initd delete mode 100644 sr.ht/soju/soju.pre-install delete mode 100644 sr.ht/sr.ht-nginx/APKBUILD delete mode 100644 sr.ht/sr.ht-uacme/APKBUILD delete mode 100644 sr.ht/sr.ht-uacme/acme-update-certs delete mode 100644 sr.ht/sr.ht-uacme/crontab delete mode 100644 sr.ht/sr.ht-uacme/doas.conf delete mode 100644 sr.ht/sr.ht-uacme/sr.ht-uacme.pre-install delete mode 100644 sr.ht/sr.ht-uacme/uacme.conf delete mode 100644 sr.ht/tlstunnel/APKBUILD delete mode 100644 sr.ht/tlstunnel/tlstunnel.confd delete mode 100644 sr.ht/tlstunnel/tlstunnel.initd delete mode 100644 sr.ht/tlstunnel/tlstunnel.post-install delete mode 100644 sr.ht/tlstunnel/tlstunnel.post-upgrade delete mode 100755 submit-builds diff --git a/README.md b/README.md deleted file mode 100644 index fd83c60..0000000 --- a/README.md +++ /dev/null @@ -1,28 +0,0 @@ -These are [Alpine Linux](https://alpinelinux.org) packages for sr.ht and any -dependencies which are not packaged in upstream Alpine Linux. The results are -published in our Alpine repository: - -https://mirror.sr.ht/alpine/ - -Note that some sr.ht packages (meta.sr.ht, python-srht, etc) are automatically -built and published by builds.sr.ht. This process automatically updates the -pkgver and pkgrel, but does not commit it to the repository. If using these -APKBUILDs yourself, be aware that the version numbers here may be outdated. - -## Alpine upgrade procedure - -When a new Alpine version is released: - -1. Update the Alpine version in build.yml -1. Update non-sr.ht packages to latest upstream version, reset pkgrel to 0 -1. `./submit-build` everything _except_ for *.sr.ht -1. Update pkgver in *.sr.ht packages, commit & push & run `./submit-build` -1. Update build manifests upstream for *.sr.ht -1. Run updates on non-critical boxen -1. Run updates on all boxen - -**Tips** - -- Upgrade systems with apk upgrade -a -- Update the python version in the Makefiles -- Update the python version with nginx diff --git a/build-edge.yml b/build-edge.yml deleted file mode 100644 index e1a5823..0000000 --- a/build-edge.yml +++ /dev/null @@ -1,30 +0,0 @@ -image: alpine/edge -repositories: - sr.ht: > - https://mirror.sr.ht/alpine/edge/sr.ht/ - https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub - alpine@sr.ht.rsa.pub -packages: - - openssl - - rsync -environment: - REPOSITORY: edge - remote: deploy@mirror.sr.ht - remote_path: /var/www/mirror.sr.ht/alpine - packages: [] -sources: - - https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds -secrets: - - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key - - d0adc1d4-af78-4852-920f-1134392f5d10 # package signing key -tasks: - - setup: | - cd sr.ht-apkbuilds - ./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa - - build: | - cd sr.ht-apkbuilds - ./pkgkit build -cu "${packages[@]}" - - deploy: | - cd sr.ht-apkbuilds - echo "StrictHostKeyChecking=no" >> ~/.ssh/config - ./pkgkit upload "$remote" "$remote_path" "${packages[@]}" diff --git a/build.yml b/build.yml deleted file mode 100644 index e4a28c3..0000000 --- a/build.yml +++ /dev/null @@ -1,29 +0,0 @@ -image: alpine/3.15 -repositories: - sr.ht: > - https://mirror.sr.ht/alpine/v3.15/sr.ht/ - https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub - alpine@sr.ht.rsa.pub -packages: - - openssl - - rsync -environment: - remote: deploy@mirror.sr.ht - remote_path: /var/www/mirror.sr.ht/alpine - packages: [] -sources: - - https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds -secrets: - - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key - - d0adc1d4-af78-4852-920f-1134392f5d10 # package signing key -tasks: - - setup: | - cd sr.ht-apkbuilds - ./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa - - build: | - cd sr.ht-apkbuilds - ./pkgkit build -cu "${packages[@]}" - - deploy: | - cd sr.ht-apkbuilds - echo "StrictHostKeyChecking=no" >> ~/.ssh/config - ./pkgkit upload "$remote" "$remote_path" "${packages[@]}" diff --git a/pkgkit b/pkgkit deleted file mode 100755 index 327c0ec..0000000 --- a/pkgkit +++ /dev/null @@ -1,336 +0,0 @@ -#!/bin/sh -eu -usage() { - printf "%s\n\n" "Usage: $0 [command...] [flags...] [args...]" - printf "%s\n" "$0 add-repo [-s] " - printf "\t%s\n" "Trusts and adds the local repo to /etc/apk/repositories" - printf "\t%s\n\n" "-s: set this key as default in abuild.conf" - printf "%s\n" "$0 build [-cu] [-v ] " - printf "\t%s\n" "Builds packages" - printf "\t%s\n" "-c: update checksums" - printf "\t%s\n" "-u: update pkgrel" - printf "\t%s\n\n" "-v : update pkgver" - printf "%s\n" "$0 pkgver" - printf "\t%s\n\n" "Prints the suggested package ver for this directory" - printf "%s\n" "$0 upload " - printf "\t%s\n" "Uploads packages via rsync and updates remote APKINDEX" -} - -get_pkgvar() ( - var="$1" - set +u - . APKBUILD - eval 'printf "%s\n" "$'"$var"'"' -) - -find_repos() ( - find . -maxdepth 1 -type d -not -name . -not -name .git -) - -find_pkg_repo() ( - pkg=$1 - for repo in $(find_repos) - do - if [ -d "$repo"/"$pkg" ] - then - echo "$repo" - return 0 - fi - done - return 1 -) - -update_pkgrel() ( - pkg="$1" - pkgver="$(get_pkgvar pkgver)" - prev_ver=$(apk search -x "$pkg" | cut -c$((${#pkg}+2))-) - prev_pkgver=$(printf "%s" "$prev_ver" | cut -d'-' -f1) - prev_pkgrel=$(printf "%s" "$prev_ver" | cut -d'-' -f2 | cut -d'r' -f2-) - if [ "$prev_pkgver" == "$pkgver" ] - then - pkgrel=$((prev_pkgrel + 1)) - sed -e "s/pkgrel=.*/pkgrel=$pkgrel/" -i APKBUILD - fi -) - -update_pkgver() { - pkgver="$1" - prev_pkgver=$(apk search -x ${project} | cut -d '-' -f2) - sed -e "s/pkgver=.*/pkgver=$pkgver/" -i APKBUILD - if [ "$prev_pkgver" != "$pkgver" ] - then - sed -e "s/pkgrel=.*/pkgrel=0/" -i APKBUILD - fi -} - -add_repo() { - set_default=0 - while getopts s flag - do - case $flag in - s) set_default=1 ;; - *) usage && exit 1 ;; - esac - done - shift $((OPTIND-1)) - echo "$@" - if [ $# -ne 2 ] - then - usage - exit 1 - fi - repo="$1" - key="$2" - mkdir -p ~/packages/$repo - echo ~/packages/$repo | cat - /etc/apk/repositories > /tmp/repositories - sudo mv /tmp/repositories /etc/apk/repositories - if ! [ -f "$key" ] - then - echo "Warning: generating new abuild key" - key="$HOME/.abuild/abuild.rsa" - mkdir -p $HOME/.abuild - ( - umask 0007 - openssl genrsa -out "$key" 2048 - ) - fi - sudo openssl rsa -in $key -pubout \ - -out /etc/apk/keys/$(basename "$key").pub - if [ $set_default -eq 1 ] - then - echo "PACKAGER_PRIVKEY="'"'$key'"' >> \ - ~/.abuild/abuild.conf - fi -} - -build() ( - builddeps=0 - checksum=0 - updpkgrel=0 - pkgver="" - # Disable progress on abuild-apk - cat <<-"EOF" | sudo tee /usr/local/bin/abuild-apk - #!/bin/sh - exec /usr/bin/abuild-apk --no-progress $@ - EOF - sudo chmod +x /usr/local/bin/abuild-apk - export PATH=/usr/local/bin:$PATH - while getopts Rcuv: flag - do - case $flag in - R) builddeps=1 ;; - c) checksum=1 ;; - u) updpkgrel=1 ;; - v) pkgver="$OPTARG" ;; - *) usage && exit 1 ;; - esac - done - shift $((OPTIND-1)) - if [ $# -eq 0 ] - then - echo "No packages specified." - exit 1 - fi - for pkg in $@ - do - repo="$(find_pkg_repo "$pkg")" - ( - cd "$repo"/"$pkg" - if [ -n "$pkgver" ] - then - update_pkgver "$pkgver" - fi - if [ $updpkgrel -eq 1 ] - then - update_pkgrel "$pkg" - fi - if [ $checksum -eq 1 ] - then - abuild checksum - fi - if [ $builddeps -eq 1 ] - then - abuild -R - else - abuild -r - fi - ) - done -) - -print_pkgver() { - if [ $# -ne 0 ] - then - usage - exit 1 - fi - if [ -d .git ] - then - set +e - pkgver=$(git describe --abbrev=0 2>/dev/null) - if [ $? -ne 0 ] - then - pkgver=0 - fi - set -e - if ! git describe --exact-match HEAD >/dev/null 2>&1 - then - cdate=$(git show -s -1 --format='%ci' HEAD) - cdate=$(echo "$cdate" | cut -d' ' -f1 | sed -e 's/-//g') - pkgver="${pkgver}_git${cdate}" - fi - elif [ -d .hg ] - then - pkgver=$(hg id -T '{latesttag}') - if [ "$(hg id -T '{latesttagdistance}')" -ne 0 ] - then - pkgver="$(hg id -T '{latesttag}_hg{sub("-", "", date|shortdate)}')" - fi - else - pkgver=unknown_0000 - fi - echo "$pkgver" -} - -mirror_ver() ( - mirror="$1" - pkg="$2" - apk policy "$pkg" | while read -r line - do - case "$line" in - *:) - ver="${line%:}" - ver="${ver## }" - ;; - *$mirror*) - echo "$ver" - ;; - esac - done -) - -get_aver() { - aver="${REPOSITORY:-}" - if [ ${#aver} -eq 0 ] - then - . /etc/os-release - aver="v$(printf "%s" "$VERSION_ID" | cut -d. -f1-2)" - fi - echo "$aver" -} - -upload_pkg() ( - repo="$1" - pkg="$2" - arch="$(uname -m)" - aver="$(get_aver)" - - set -x - path="$remote_path/$aver/$repo/$arch" - ssh "$remote" mkdir -p "$path" - - url=$(echo "$remote" | cut -d@ -f2) - prev_ver=$(mirror_ver "$url" "$pkg") - - for ver in $prev_ver - do - if [ "$prev_ver" != "none" ] - then - ssh "$remote" rm -f "$path/$pkg-$ver.apk" - fi - done - pkgver="$(get_pkgvar pkgver)" - pkgrel="$(get_pkgvar pkgrel)" - - rsync --blocking-io -rsP \ - ~/packages/"$repo/$arch/$pkg-$pkgver-r$pkgrel.apk" "$remote":"$path/" - set +x -) - -update_index() ( - repo="$1" - arch="$(uname -m)" - - . /etc/os-release - aver="$(get_aver)" - - path="$remote_path/$aver/$repo/$arch" - - set -x - ssh "$remote" \ - find "$path" -type f -name '*.apk' -print0 | - ssh "$remote" xargs -0 apk index \ - --rewrite-arch "$(uname -m)" \ - -x "$path"/APKINDEX.tar.gz \ - -o "$path"/APKINDEX.unsigned.tar.gz - rsync --blocking-io -rP \ - "$remote:$path/APKINDEX.unsigned.tar.gz" \ - /tmp/APKINDEX.tar.gz - abuild-sign /tmp/APKINDEX.tar.gz - rsync --blocking-io -rP /tmp/APKINDEX.tar.gz "$remote:$path/" - set +x -) - -upload() ( - if [ $# -lt 2 ] - then - usage - exit 1 - fi - remote="$1" - remote_path="$2" - shift 2 - if [ $# -eq 0 ] - then - echo "No packages specified" - exit 1 - fi - repos="" - for pkg in $@ - do - repo=$(find_pkg_repo "$pkg") - if ! echo "$repos" | grep "$repo" >/dev/null - then - repos="$repo $repos" - fi - ( - cd "$repo"/"$pkg" - arch="$(get_pkgvar arch)" - subpkgs="$pkg:_:$arch $(get_pkgvar subpackages)" - for subpkg in $subpkgs - do - name="$(echo "$subpkg" | cut -d':' -f1)" - upload_pkg "$repo" "$name" - done - ) - done - for repo in $repos - do - update_index $repo - done -) - -if [ $# -lt 1 ] -then - usage - exit 1 -fi -cmd="$1" -shift - -case "$cmd" in - add-repo) - add_repo "$@" - ;; - build) - build "$@" - ;; - pkgver) - print_pkgver "$@" - ;; - upload) - upload "$@" - ;; - help|-h) - usage - ;; -esac diff --git a/sr.ht/builds.sr.ht/APKBUILD b/pkgsrc/builds.sr.ht/APKBUILD similarity index 100% rename from sr.ht/builds.sr.ht/APKBUILD rename to pkgsrc/builds.sr.ht/APKBUILD diff --git a/sr.ht/builds.sr.ht/builds.sr.ht-api.confd b/pkgsrc/builds.sr.ht/builds.sr.ht-api.confd similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht-api.confd rename to pkgsrc/builds.sr.ht/builds.sr.ht-api.confd diff --git a/sr.ht/builds.sr.ht/builds.sr.ht-api.initd b/pkgsrc/builds.sr.ht/builds.sr.ht-api.initd similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht-api.initd rename to pkgsrc/builds.sr.ht/builds.sr.ht-api.initd diff --git a/sr.ht/builds.sr.ht/builds.sr.ht-worker.confd b/pkgsrc/builds.sr.ht/builds.sr.ht-worker.confd similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht-worker.confd rename to pkgsrc/builds.sr.ht/builds.sr.ht-worker.confd diff --git a/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd b/pkgsrc/builds.sr.ht/builds.sr.ht-worker.initd similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht-worker.initd rename to pkgsrc/builds.sr.ht/builds.sr.ht-worker.initd diff --git a/sr.ht/builds.sr.ht/builds.sr.ht.confd b/pkgsrc/builds.sr.ht/builds.sr.ht.confd similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht.confd rename to pkgsrc/builds.sr.ht/builds.sr.ht.confd diff --git a/sr.ht/builds.sr.ht/builds.sr.ht.gunicorn.conf.py b/pkgsrc/builds.sr.ht/builds.sr.ht.gunicorn.conf.py similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht.gunicorn.conf.py rename to pkgsrc/builds.sr.ht/builds.sr.ht.gunicorn.conf.py diff --git a/sr.ht/builds.sr.ht/builds.sr.ht.initd b/pkgsrc/builds.sr.ht/builds.sr.ht.initd similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht.initd rename to pkgsrc/builds.sr.ht/builds.sr.ht.initd diff --git a/sr.ht/builds.sr.ht/builds.sr.ht.post-upgrade b/pkgsrc/builds.sr.ht/builds.sr.ht.post-upgrade similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht.post-upgrade rename to pkgsrc/builds.sr.ht/builds.sr.ht.post-upgrade diff --git a/sr.ht/builds.sr.ht/builds.sr.ht.pre-install b/pkgsrc/builds.sr.ht/builds.sr.ht.pre-install similarity index 100% rename from sr.ht/builds.sr.ht/builds.sr.ht.pre-install rename to pkgsrc/builds.sr.ht/builds.sr.ht.pre-install diff --git a/sr.ht/git.sr.ht/APKBUILD b/pkgsrc/git.sr.ht/APKBUILD similarity index 100% rename from sr.ht/git.sr.ht/APKBUILD rename to pkgsrc/git.sr.ht/APKBUILD diff --git a/sr.ht/git.sr.ht/git.sr.ht-api.confd b/pkgsrc/git.sr.ht/git.sr.ht-api.confd similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht-api.confd rename to pkgsrc/git.sr.ht/git.sr.ht-api.confd diff --git a/sr.ht/git.sr.ht/git.sr.ht-api.initd b/pkgsrc/git.sr.ht/git.sr.ht-api.initd similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht-api.initd rename to pkgsrc/git.sr.ht/git.sr.ht-api.initd diff --git a/sr.ht/git.sr.ht/git.sr.ht-webhooks.confd b/pkgsrc/git.sr.ht/git.sr.ht-webhooks.confd similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht-webhooks.confd rename to pkgsrc/git.sr.ht/git.sr.ht-webhooks.confd diff --git a/sr.ht/git.sr.ht/git.sr.ht-webhooks.initd b/pkgsrc/git.sr.ht/git.sr.ht-webhooks.initd similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht-webhooks.initd rename to pkgsrc/git.sr.ht/git.sr.ht-webhooks.initd diff --git a/sr.ht/git.sr.ht/git.sr.ht.confd b/pkgsrc/git.sr.ht/git.sr.ht.confd similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht.confd rename to pkgsrc/git.sr.ht/git.sr.ht.confd diff --git a/sr.ht/git.sr.ht/git.sr.ht.gunicorn.conf.py b/pkgsrc/git.sr.ht/git.sr.ht.gunicorn.conf.py similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht.gunicorn.conf.py rename to pkgsrc/git.sr.ht/git.sr.ht.gunicorn.conf.py diff --git a/sr.ht/git.sr.ht/git.sr.ht.initd b/pkgsrc/git.sr.ht/git.sr.ht.initd similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht.initd rename to pkgsrc/git.sr.ht/git.sr.ht.initd diff --git a/sr.ht/git.sr.ht/git.sr.ht.post-install b/pkgsrc/git.sr.ht/git.sr.ht.post-install similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht.post-install rename to pkgsrc/git.sr.ht/git.sr.ht.post-install diff --git a/sr.ht/git.sr.ht/git.sr.ht.post-upgrade b/pkgsrc/git.sr.ht/git.sr.ht.post-upgrade similarity index 100% rename from sr.ht/git.sr.ht/git.sr.ht.post-upgrade rename to pkgsrc/git.sr.ht/git.sr.ht.post-upgrade diff --git a/sr.ht/lists.sr.ht/APKBUILD b/pkgsrc/lists.sr.ht/APKBUILD similarity index 100% rename from sr.ht/lists.sr.ht/APKBUILD rename to pkgsrc/lists.sr.ht/APKBUILD diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-api.confd b/pkgsrc/lists.sr.ht/lists.sr.ht-api.confd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-api.confd rename to pkgsrc/lists.sr.ht/lists.sr.ht-api.confd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-api.initd b/pkgsrc/lists.sr.ht/lists.sr.ht-api.initd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-api.initd rename to pkgsrc/lists.sr.ht/lists.sr.ht-api.initd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-lmtp.confd b/pkgsrc/lists.sr.ht/lists.sr.ht-lmtp.confd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-lmtp.confd rename to pkgsrc/lists.sr.ht/lists.sr.ht-lmtp.confd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-lmtp.initd b/pkgsrc/lists.sr.ht/lists.sr.ht-lmtp.initd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-lmtp.initd rename to pkgsrc/lists.sr.ht/lists.sr.ht-lmtp.initd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-process.confd b/pkgsrc/lists.sr.ht/lists.sr.ht-process.confd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-process.confd rename to pkgsrc/lists.sr.ht/lists.sr.ht-process.confd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-process.initd b/pkgsrc/lists.sr.ht/lists.sr.ht-process.initd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-process.initd rename to pkgsrc/lists.sr.ht/lists.sr.ht-process.initd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-webhooks.confd b/pkgsrc/lists.sr.ht/lists.sr.ht-webhooks.confd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-webhooks.confd rename to pkgsrc/lists.sr.ht/lists.sr.ht-webhooks.confd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht-webhooks.initd b/pkgsrc/lists.sr.ht/lists.sr.ht-webhooks.initd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht-webhooks.initd rename to pkgsrc/lists.sr.ht/lists.sr.ht-webhooks.initd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht.confd b/pkgsrc/lists.sr.ht/lists.sr.ht.confd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht.confd rename to pkgsrc/lists.sr.ht/lists.sr.ht.confd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht.gunicorn.conf.py b/pkgsrc/lists.sr.ht/lists.sr.ht.gunicorn.conf.py similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht.gunicorn.conf.py rename to pkgsrc/lists.sr.ht/lists.sr.ht.gunicorn.conf.py diff --git a/sr.ht/lists.sr.ht/lists.sr.ht.initd b/pkgsrc/lists.sr.ht/lists.sr.ht.initd similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht.initd rename to pkgsrc/lists.sr.ht/lists.sr.ht.initd diff --git a/sr.ht/lists.sr.ht/lists.sr.ht.post-install b/pkgsrc/lists.sr.ht/lists.sr.ht.post-install similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht.post-install rename to pkgsrc/lists.sr.ht/lists.sr.ht.post-install diff --git a/sr.ht/lists.sr.ht/lists.sr.ht.post-upgrade b/pkgsrc/lists.sr.ht/lists.sr.ht.post-upgrade similarity index 100% rename from sr.ht/lists.sr.ht/lists.sr.ht.post-upgrade rename to pkgsrc/lists.sr.ht/lists.sr.ht.post-upgrade diff --git a/sr.ht/meta.sr.ht/APKBUILD b/pkgsrc/meta.sr.ht/APKBUILD similarity index 100% rename from sr.ht/meta.sr.ht/APKBUILD rename to pkgsrc/meta.sr.ht/APKBUILD diff --git a/sr.ht/meta.sr.ht/meta.sr.ht-api.confd b/pkgsrc/meta.sr.ht/meta.sr.ht-api.confd similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht-api.confd rename to pkgsrc/meta.sr.ht/meta.sr.ht-api.confd diff --git a/sr.ht/meta.sr.ht/meta.sr.ht-api.initd b/pkgsrc/meta.sr.ht/meta.sr.ht-api.initd similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht-api.initd rename to pkgsrc/meta.sr.ht/meta.sr.ht-api.initd diff --git a/sr.ht/meta.sr.ht/meta.sr.ht-webhooks.confd b/pkgsrc/meta.sr.ht/meta.sr.ht-webhooks.confd similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht-webhooks.confd rename to pkgsrc/meta.sr.ht/meta.sr.ht-webhooks.confd diff --git a/sr.ht/meta.sr.ht/meta.sr.ht-webhooks.initd b/pkgsrc/meta.sr.ht/meta.sr.ht-webhooks.initd similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht-webhooks.initd rename to pkgsrc/meta.sr.ht/meta.sr.ht-webhooks.initd diff --git a/sr.ht/meta.sr.ht/meta.sr.ht.confd b/pkgsrc/meta.sr.ht/meta.sr.ht.confd similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht.confd rename to pkgsrc/meta.sr.ht/meta.sr.ht.confd diff --git a/sr.ht/meta.sr.ht/meta.sr.ht.gunicorn.conf.py b/pkgsrc/meta.sr.ht/meta.sr.ht.gunicorn.conf.py similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht.gunicorn.conf.py rename to pkgsrc/meta.sr.ht/meta.sr.ht.gunicorn.conf.py diff --git a/sr.ht/meta.sr.ht/meta.sr.ht.initd b/pkgsrc/meta.sr.ht/meta.sr.ht.initd similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht.initd rename to pkgsrc/meta.sr.ht/meta.sr.ht.initd diff --git a/sr.ht/meta.sr.ht/meta.sr.ht.post-install b/pkgsrc/meta.sr.ht/meta.sr.ht.post-install similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht.post-install rename to pkgsrc/meta.sr.ht/meta.sr.ht.post-install diff --git a/sr.ht/meta.sr.ht/meta.sr.ht.post-upgrade b/pkgsrc/meta.sr.ht/meta.sr.ht.post-upgrade similarity index 100% rename from sr.ht/meta.sr.ht/meta.sr.ht.post-upgrade rename to pkgsrc/meta.sr.ht/meta.sr.ht.post-upgrade diff --git a/sr.ht/py3-amqp/APKBUILD b/pkgsrc/py3-amqp/APKBUILD similarity index 100% rename from sr.ht/py3-amqp/APKBUILD rename to pkgsrc/py3-amqp/APKBUILD diff --git a/sr.ht/py3-ansi2html/APKBUILD b/pkgsrc/py3-ansi2html/APKBUILD similarity index 100% rename from sr.ht/py3-ansi2html/APKBUILD rename to pkgsrc/py3-ansi2html/APKBUILD diff --git a/sr.ht/py3-anyjson/APKBUILD b/pkgsrc/py3-anyjson/APKBUILD similarity index 100% rename from sr.ht/py3-anyjson/APKBUILD rename to pkgsrc/py3-anyjson/APKBUILD diff --git a/sr.ht/py3-asyncpg/APKBUILD b/pkgsrc/py3-asyncpg/APKBUILD similarity index 100% rename from sr.ht/py3-asyncpg/APKBUILD rename to pkgsrc/py3-asyncpg/APKBUILD diff --git a/sr.ht/py3-billiard/APKBUILD b/pkgsrc/py3-billiard/APKBUILD similarity index 100% rename from sr.ht/py3-billiard/APKBUILD rename to pkgsrc/py3-billiard/APKBUILD diff --git a/sr.ht/py3-case/APKBUILD b/pkgsrc/py3-case/APKBUILD similarity index 100% rename from sr.ht/py3-case/APKBUILD rename to pkgsrc/py3-case/APKBUILD diff --git a/sr.ht/py3-celery/7446.patch b/pkgsrc/py3-celery/7446.patch similarity index 100% rename from sr.ht/py3-celery/7446.patch rename to pkgsrc/py3-celery/7446.patch diff --git a/sr.ht/py3-celery/APKBUILD b/pkgsrc/py3-celery/APKBUILD similarity index 100% rename from sr.ht/py3-celery/APKBUILD rename to pkgsrc/py3-celery/APKBUILD diff --git a/sr.ht/py3-click-didyoumean/APKBUILD b/pkgsrc/py3-click-didyoumean/APKBUILD similarity index 100% rename from sr.ht/py3-click-didyoumean/APKBUILD rename to pkgsrc/py3-click-didyoumean/APKBUILD diff --git a/sr.ht/py3-click-repl/APKBUILD b/pkgsrc/py3-click-repl/APKBUILD similarity index 100% rename from sr.ht/py3-click-repl/APKBUILD rename to pkgsrc/py3-click-repl/APKBUILD diff --git a/sr.ht/py3-colour/APKBUILD b/pkgsrc/py3-colour/APKBUILD similarity index 100% rename from sr.ht/py3-colour/APKBUILD rename to pkgsrc/py3-colour/APKBUILD diff --git a/sr.ht/py3-colour/setup.cfg b/pkgsrc/py3-colour/setup.cfg similarity index 100% rename from sr.ht/py3-colour/setup.cfg rename to pkgsrc/py3-colour/setup.cfg diff --git a/sr.ht/py3-colour/setup.py b/pkgsrc/py3-colour/setup.py similarity index 100% rename from sr.ht/py3-colour/setup.py rename to pkgsrc/py3-colour/setup.py diff --git a/sr.ht/py3-emailthreads/APKBUILD b/pkgsrc/py3-emailthreads/APKBUILD similarity index 100% rename from sr.ht/py3-emailthreads/APKBUILD rename to pkgsrc/py3-emailthreads/APKBUILD diff --git a/sr.ht/py3-furl/APKBUILD b/pkgsrc/py3-furl/APKBUILD similarity index 100% rename from sr.ht/py3-furl/APKBUILD rename to pkgsrc/py3-furl/APKBUILD diff --git a/sr.ht/py3-humanize/APKBUILD b/pkgsrc/py3-humanize/APKBUILD similarity index 100% rename from sr.ht/py3-humanize/APKBUILD rename to pkgsrc/py3-humanize/APKBUILD diff --git a/sr.ht/py3-infinity/APKBUILD b/pkgsrc/py3-infinity/APKBUILD similarity index 100% rename from sr.ht/py3-infinity/APKBUILD rename to pkgsrc/py3-infinity/APKBUILD diff --git a/sr.ht/py3-intervals/APKBUILD b/pkgsrc/py3-intervals/APKBUILD similarity index 100% rename from sr.ht/py3-intervals/APKBUILD rename to pkgsrc/py3-intervals/APKBUILD diff --git a/sr.ht/py3-kombu/APKBUILD b/pkgsrc/py3-kombu/APKBUILD similarity index 100% rename from sr.ht/py3-kombu/APKBUILD rename to pkgsrc/py3-kombu/APKBUILD diff --git a/sr.ht/py3-minio/APKBUILD b/pkgsrc/py3-minio/APKBUILD similarity index 100% rename from sr.ht/py3-minio/APKBUILD rename to pkgsrc/py3-minio/APKBUILD diff --git a/sr.ht/py3-mistletoe/APKBUILD b/pkgsrc/py3-mistletoe/APKBUILD similarity index 100% rename from sr.ht/py3-mistletoe/APKBUILD rename to pkgsrc/py3-mistletoe/APKBUILD diff --git a/sr.ht/py3-orderedmultidict/APKBUILD b/pkgsrc/py3-orderedmultidict/APKBUILD similarity index 100% rename from sr.ht/py3-orderedmultidict/APKBUILD rename to pkgsrc/py3-orderedmultidict/APKBUILD diff --git a/sr.ht/py3-pgpy/APKBUILD b/pkgsrc/py3-pgpy/APKBUILD similarity index 100% rename from sr.ht/py3-pgpy/APKBUILD rename to pkgsrc/py3-pgpy/APKBUILD diff --git a/sr.ht/py3-pygments/0001-lexers-add-Hare.patch b/pkgsrc/py3-pygments/0001-lexers-add-Hare.patch similarity index 100% rename from sr.ht/py3-pygments/0001-lexers-add-Hare.patch rename to pkgsrc/py3-pygments/0001-lexers-add-Hare.patch diff --git a/sr.ht/py3-pygments/APKBUILD b/pkgsrc/py3-pygments/APKBUILD similarity index 100% rename from sr.ht/py3-pygments/APKBUILD rename to pkgsrc/py3-pygments/APKBUILD diff --git a/sr.ht/py3-scmsrht/APKBUILD b/pkgsrc/py3-scmsrht/APKBUILD similarity index 100% rename from sr.ht/py3-scmsrht/APKBUILD rename to pkgsrc/py3-scmsrht/APKBUILD diff --git a/sr.ht/py3-sqlalchemy-utils/APKBUILD b/pkgsrc/py3-sqlalchemy-utils/APKBUILD similarity index 100% rename from sr.ht/py3-sqlalchemy-utils/APKBUILD rename to pkgsrc/py3-sqlalchemy-utils/APKBUILD diff --git a/sr.ht/py3-srht/APKBUILD b/pkgsrc/py3-srht/APKBUILD similarity index 100% rename from sr.ht/py3-srht/APKBUILD rename to pkgsrc/py3-srht/APKBUILD diff --git a/sr.ht/py3-sshpubkeys/APKBUILD b/pkgsrc/py3-sshpubkeys/APKBUILD similarity index 100% rename from sr.ht/py3-sshpubkeys/APKBUILD rename to pkgsrc/py3-sshpubkeys/APKBUILD diff --git a/sr.ht/py3-vine/APKBUILD b/pkgsrc/py3-vine/APKBUILD similarity index 100% rename from sr.ht/py3-vine/APKBUILD rename to pkgsrc/py3-vine/APKBUILD diff --git a/sr.ht/py3-wcag-contrast-ratio/APKBUILD b/pkgsrc/py3-wcag-contrast-ratio/APKBUILD similarity index 100% rename from sr.ht/py3-wcag-contrast-ratio/APKBUILD rename to pkgsrc/py3-wcag-contrast-ratio/APKBUILD diff --git a/sr.ht/py3-zxcvbn/APKBUILD b/pkgsrc/py3-zxcvbn/APKBUILD similarity index 100% rename from sr.ht/py3-zxcvbn/APKBUILD rename to pkgsrc/py3-zxcvbn/APKBUILD diff --git a/sr.ht/todo.sr.ht/APKBUILD b/pkgsrc/todo.sr.ht/APKBUILD similarity index 100% rename from sr.ht/todo.sr.ht/APKBUILD rename to pkgsrc/todo.sr.ht/APKBUILD diff --git a/sr.ht/todo.sr.ht/todo.sr.ht-api.confd b/pkgsrc/todo.sr.ht/todo.sr.ht-api.confd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht-api.confd rename to pkgsrc/todo.sr.ht/todo.sr.ht-api.confd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht-api.initd b/pkgsrc/todo.sr.ht/todo.sr.ht-api.initd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht-api.initd rename to pkgsrc/todo.sr.ht/todo.sr.ht-api.initd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht-lmtp.confd b/pkgsrc/todo.sr.ht/todo.sr.ht-lmtp.confd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht-lmtp.confd rename to pkgsrc/todo.sr.ht/todo.sr.ht-lmtp.confd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht-lmtp.initd b/pkgsrc/todo.sr.ht/todo.sr.ht-lmtp.initd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht-lmtp.initd rename to pkgsrc/todo.sr.ht/todo.sr.ht-lmtp.initd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht-webhooks.confd b/pkgsrc/todo.sr.ht/todo.sr.ht-webhooks.confd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht-webhooks.confd rename to pkgsrc/todo.sr.ht/todo.sr.ht-webhooks.confd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht-webhooks.initd b/pkgsrc/todo.sr.ht/todo.sr.ht-webhooks.initd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht-webhooks.initd rename to pkgsrc/todo.sr.ht/todo.sr.ht-webhooks.initd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht.confd b/pkgsrc/todo.sr.ht/todo.sr.ht.confd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht.confd rename to pkgsrc/todo.sr.ht/todo.sr.ht.confd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht.gunicorn.conf.py b/pkgsrc/todo.sr.ht/todo.sr.ht.gunicorn.conf.py similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht.gunicorn.conf.py rename to pkgsrc/todo.sr.ht/todo.sr.ht.gunicorn.conf.py diff --git a/sr.ht/todo.sr.ht/todo.sr.ht.initd b/pkgsrc/todo.sr.ht/todo.sr.ht.initd similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht.initd rename to pkgsrc/todo.sr.ht/todo.sr.ht.initd diff --git a/sr.ht/todo.sr.ht/todo.sr.ht.post-install b/pkgsrc/todo.sr.ht/todo.sr.ht.post-install similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht.post-install rename to pkgsrc/todo.sr.ht/todo.sr.ht.post-install diff --git a/sr.ht/todo.sr.ht/todo.sr.ht.post-upgrade b/pkgsrc/todo.sr.ht/todo.sr.ht.post-upgrade similarity index 100% rename from sr.ht/todo.sr.ht/todo.sr.ht.post-upgrade rename to pkgsrc/todo.sr.ht/todo.sr.ht.post-upgrade diff --git a/sr.ht/alertmanager-irc-relay/APKBUILD b/sr.ht/alertmanager-irc-relay/APKBUILD deleted file mode 100644 index 5913239..0000000 --- a/sr.ht/alertmanager-irc-relay/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Maintainer: Drew DeVault -pkgname=alertmanager-irc-relay -pkgver=0.4.3 -pkgrel=1 -pkgdesc="Prometheus Alertmanager IRC relay" -url="https://github.com/google/alertmanager-irc-relay" -arch="all" -license="Apache-2.0" -install="$pkgname.pre-install" -makedepends="go" -source=" - $pkgname-$pkgver.tar.gz::https://github.com/google/alertmanager-irc-relay/archive/v$pkgver.tar.gz - alertmanager-irc-relay.confd - alertmanager-irc-relay.initd - alertmanager-irc-relay.yml -" -subpackages="$pkgname-openrc" -options="!check" # requires running IRC server - -prepare() { - default_prepare - go mod vendor -} - -build() { - go build \ - -trimpath \ - -mod=vendor \ - -ldflags "-extldflags $LDFLAGS" \ - -tags netgo -} - -check() { - go test ./... -} - -package() { - install -Dm755 alertmanager-irc-relay "$pkgdir"/usr/bin/alertmanager-irc-relay - - install -Dm755 "$srcdir"/alertmanager-irc-relay.initd \ - "$pkgdir"/etc/init.d/alertmanager-irc-relay - install -Dm644 "$srcdir"/alertmanager-irc-relay.confd \ - "$pkgdir"/etc/conf.d/alertmanager-irc-relay - - mkdir -p "$pkgdir"/etc/alertmanager - install -Dm644 "$srcdir"/alertmanager-irc-relay.yml \ - "$pkgdir"/etc/alertmanager/alertmanager-irc-relay.yml -} - -sha512sums=" -21b1b811a3705cc17dc31560254e0dc9876407a2c9294f6ba6cdb42cdc3972d61712f393aae328e4c1135ccfd57582d573dbd215d1210d50c9827e7e87c30ffb alertmanager-irc-relay-0.4.3.tar.gz -43707b80d9baeab8a50ef2489f3bbc61b154b18e2d4ef8be6c7392a8afa27c1884c5f6f121b41fb5095f8cf9d957f4eda98f4fa197774f86a95d3bd930593b1b alertmanager-irc-relay.confd -4458cea59f5059921da7d609b562e9a74f20f472c320dbaa5382e733cfb18f2d2bc71655f2c574403f1a5047074b1a62e82969eea348e939fbf485bd9e3877c4 alertmanager-irc-relay.initd -646f9241087dd5c595f198b829109c975fb0c637026d59a6a271ae04fe0285744bc527797b171ad3840c543801ebeaad15925f906247de0cf2c86af96b57d9fa alertmanager-irc-relay.yml -" diff --git a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.confd b/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.confd deleted file mode 100644 index 66c41c0..0000000 --- a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.confd +++ /dev/null @@ -1,4 +0,0 @@ -alertmanager_irc_relay_config_file=/etc/alertmanager/alertmanager-irc-relay.yml - -output_log=/var/log/alertmanager-irc-relay.log -error_log=/var/log/alertmanager-irc-relay.log diff --git a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.initd b/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.initd deleted file mode 100644 index 71ee26b..0000000 --- a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -name="alertmanager-irc-relay" -description="IRC relay for prometheus alertmanager" -supervisor=supervise-daemon -command=/usr/bin/alertmanager-irc-relay -command_args="--config $alertmanager_irc_relay_config_file" -command_user="prometheus:prometheus" -pidfile="/run/${RC_SVCNAME}.pid" - -start_pre() { - [ -n "$output_log" ] && checkpath -f "$output_log" \ - -m 644 -o prometheus:prometheus - [ -n "$error_log" ] && checkpath -f "$error_log" \ - -m 644 -o prometheus:prometheus -} diff --git a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.pre-install b/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.pre-install deleted file mode 100644 index 379f50a..0000000 --- a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.pre-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -grep '^prometheus' /etc/group >/dev/null || addgroup -S prometheus 2>/dev/null -grep '^prometheus' /etc/passwd >/dev/null || adduser -SDh/var/lib/prometheus \ - -s/sbin/nologin -Gprometheus -gprometheus prometheus prometheus 2>/dev/null diff --git a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.yml b/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.yml deleted file mode 100644 index 4bffe36..0000000 --- a/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Start the HTTP server receiving alerts from Prometheus Webhook binding to -# this host/port. -# -http_host: localhost -http_port: 8000 - -# Connect to this IRC host/port. -# -# Note: SSL is enabled by default, use "irc_use_ssl: no" to disable. -irc_host: irc.example.com -irc_port: 7000 - -# Use this IRC nickname. -irc_nickname: myalertbot -# Password used to identify with NickServ -irc_nickname_password: mynickserv_key -# Use this IRC real name -irc_realname: myrealname - -# Optionally pre-join certain channels. -# -# Note: If an alert is sent to a non # pre-joined channel the bot will join -# that channel anyway before sending the notice. Of course this cannot work -# with password-protected channels. -irc_channels: - - name: "#mychannel" - - name: "#myprivatechannel" - password: myprivatechannel_key - -# Define how IRC messages should be sent. -# -# Send only one notice when webhook data is received. -# Note: By default a notice is sent for each alert in the webhook data. -notice_once_per_alert_group: no - -# Define how IRC messages should be formatted. -# -# The formatting is based on golang's text/template . -notice_template: "Alert {{ .Labels.alertname }} on {{ .Labels.instance }} is {{ .Status }}" -# Note: When sending only one notice per alert group the default -# notice_template is set to -# "Alert {{ .GroupLabels.alertname }} for {{ .GroupLabels.job }} is {{ .Status }}" - diff --git a/sr.ht/chartsrv/APKBUILD b/sr.ht/chartsrv/APKBUILD deleted file mode 100644 index 6809f9f..0000000 --- a/sr.ht/chartsrv/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Maintainer: Drew DeVault -pkgname=chartsrv -pkgver=1.0.2 -pkgrel=0 -pkgdesc="A web service for generating charts from prometheus data" -url="https://sr.ht/~sircmpwn/chartsrv" -arch="all" -license="MIT" -install="chartsrv.pre-install" -makedepends="go" -source=" - $pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz - chartsrv.confd - chartsrv.initd -" -subpackages="$pkgname-openrc" - -build() { - go mod vendor - go build \ - -trimpath \ - -mod=vendor \ - -ldflags "-extldflags $LDFLAGS" -} - -check() { - go test ./... -} - -package() { - install -Dm755 chartsrv "$pkgdir"/usr/bin/chartsrv - - install -Dm644 "$srcdir"/chartsrv.confd \ - "$pkgdir"/etc/conf.d/chartsrv - install -Dm755 "$srcdir"/chartsrv.initd \ - "$pkgdir"/etc/init.d/chartsrv -} - -sha512sums=" -3e47605a44484fa21145c878d974b511915dd5de132be41dc7d0e00cb307e78c96bd98d03923adfc2ab8d4dda939954183b3b4856a962d02db54e5e61c6c4ed9 chartsrv-1.0.2.tar.gz -27459c5acb17fbb6f7d536fc21aff7aac1ef13d5c79441242a6d99f818758b053fdf27b294d80336c699b0dec0fc844d870cd5d46469356f3c90f792953da26a chartsrv.confd -be2c253987df10975a821c26d028919a59d336bd3679fe7cb9c107ec6c494c24f50b35950fd2d38bebaade999284cf77e54a6342caf6cf0d0bab711735987497 chartsrv.initd -" diff --git a/sr.ht/chartsrv/chartsrv.confd b/sr.ht/chartsrv/chartsrv.confd deleted file mode 100644 index 530a7a4..0000000 --- a/sr.ht/chartsrv/chartsrv.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Upstream Prometheus source -chartsrv_upstream='https://metrics.sr.ht' - -output_log=/var/log/chartsrv.log -error_log=/var/log/chartsrv.log diff --git a/sr.ht/chartsrv/chartsrv.initd b/sr.ht/chartsrv/chartsrv.initd deleted file mode 100644 index d9e5b51..0000000 --- a/sr.ht/chartsrv/chartsrv.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -name="chartsrv" -description="Web service for rendering charts from Prometheus data" -supervisor=supervise-daemon -command=/usr/bin/chartsrv -command_args="$chartsrv_upstream" -command_user="prometheus:prometheus" -pidfile="/run/${RC_SVCNAME}.pid" - -start_pre() { - [ -n "$output_log" ] && checkpath -f "$output_log" \ - -m 644 -o prometheus:prometheus - [ -n "$error_log" ] && checkpath -f "$error_log" \ - -m 644 -o prometheus:prometheus -} diff --git a/sr.ht/chartsrv/chartsrv.pre-install b/sr.ht/chartsrv/chartsrv.pre-install deleted file mode 100644 index 004fd0b..0000000 --- a/sr.ht/chartsrv/chartsrv.pre-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -grep '^prometheus:' /etc/group >/dev/null || addgroup -S prometheus 2>/dev/null -grep '^prometheus:' /etc/passwd >/dev/null || adduser -SDh/var/lib/prometheus \ - -s/sbin/nologin -Gprometheus -gprometheus prometheus prometheus 2>/dev/null diff --git a/sr.ht/dispatch.sr.ht/APKBUILD b/sr.ht/dispatch.sr.ht/APKBUILD deleted file mode 100644 index 477f3b2..0000000 --- a/sr.ht/dispatch.sr.ht/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Drew DeVault -pkgname=dispatch.sr.ht -pkgver=0.15.33 -pkgrel=0 -pkgdesc="sr.ht dispatch service" -url="https://git.sr.ht/~sircmpwn/dispatch.sr.ht" -arch="noarch" -license="AGPLv3" -depends=" - py3-gunicorn - py3-pygithub - py3-srht - py3-yaml -" -makedepends="py-setuptools nodejs sassc" -subpackages="$pkgname-openrc $pkgname-nginx:_nginx" -source=" - $pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz - sr.ht-nginx-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/sr.ht-nginx/archive/master.tar.gz - dispatch.sr.ht.confd - dispatch.sr.ht.initd - dispatch.sr.ht.gunicorn.conf.py -" -builddir="$srcdir/$pkgname-$pkgver" -export PKGVER=$pkgver -options="$options !check" -install="$pkgname.post-install $pkgname.post-upgrade" - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --root="$pkgdir" --optimize=1 - install -Dm755 "$srcdir"/dispatch.sr.ht.initd \ - "$pkgdir"/etc/init.d/dispatch.sr.ht - install -Dm644 "$srcdir"/dispatch.sr.ht.confd \ - "$pkgdir"/etc/conf.d/dispatch.sr.ht - install -Dm644 "$srcdir"/dispatch.sr.ht.gunicorn.conf.py \ - "$pkgdir"/etc/sr.ht/dispatch.sr.ht.gunicorn.conf.py - -} - -_nginx() { - depends="sr.ht-nginx" - pkgdesc="nginx configuration for $pkgname" - install -Dm644 "$srcdir/sr.ht-nginx-master/dispatch.sr.ht.conf" \ - "$subpkgdir"/etc/nginx/http.d/dispatch.sr.ht.conf -} - -sha512sums=" -b581922de780139a313aa0fe2250aaa8710b33660f58195e8238b88c98437703bc622638563e8142b726dc16e920c9396959a94a6166d723726ed357b116ab6c dispatch.sr.ht-0.15.33.tar.gz -917bbc9a493f6aa756af3f3597f9edf2e25227efe30f6ab635f99a7d9f4ecd6e9f36a7f2b9b40cc95b6e584dd62e1a0badb46e4ff9d3c3d5ce959455b15a95b6 sr.ht-nginx-0.15.33.tar.gz -ea2cea43b8d48fedd50117eec8166635e927fe13a1b7cd4ff27e79c0b428b9a276dbe9ebcde5ce2c08ec8a6da75bf1d0d1b820456ac7003ecc8afafd4fcb2faf dispatch.sr.ht.confd -94df16f5ba6d1017fd9f890548773d931a556c18432b98f4bd7f40ffc198ffccee72372b760720ba2edb0fea926d2d700fd0c8f23ff860fe47c1b9e6793cd047 dispatch.sr.ht.initd -21f39ea0981d7773eb512e5ba234022364d0f7ee9b6ca897ce4c51e3b127eb2d9a7a5fbcaa06d14f20b2df2439421d7261f200e3f4f13b45a91e78ba77bc363c dispatch.sr.ht.gunicorn.conf.py -" diff --git a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.confd b/sr.ht/dispatch.sr.ht/dispatch.sr.ht.confd deleted file mode 100644 index c55080a..0000000 --- a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.confd +++ /dev/null @@ -1,11 +0,0 @@ -# Run the daemon as this user: -# DISPATCH_USER=meta - -# Bind the web service to this address: -# DISPATCH_BIND=127.0.0.1:5005 - -# Gunicorn configuration file -# DISPATCH_GUNICORN_CONF=/etc/sr.ht/dispatch.sr.ht.gunicorn.conf.py - -# Extra arguments to pass to Gunicorn -# DISPATCH_ARGS= diff --git a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.gunicorn.conf.py b/sr.ht/dispatch.sr.ht/dispatch.sr.ht.gunicorn.conf.py deleted file mode 100644 index aa3e7ae..0000000 --- a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.gunicorn.conf.py +++ /dev/null @@ -1,5 +0,0 @@ -from prometheus_client import multiprocess - - -def child_exit(server, worker): - multiprocess.mark_process_dead(worker.pid) diff --git a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.initd b/sr.ht/dispatch.sr.ht/dispatch.sr.ht.initd deleted file mode 100644 index 206c774..0000000 --- a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.initd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/openrc-run -name="dispatch.sr.ht" -description="dispatch.sr.ht service" -supervisor=supervise-daemon -DISPATCH_USER=${DISPATCH_USER:-dispatch} -DISPATCH_BIND=${DISPATCH_BIND:-127.0.0.1:5005} -DISPATCH_GUNICORN_CONF=${DISPATCH_GUNICORN_CONF:-/etc/sr.ht/dispatch.sr.ht.gunicorn.conf.py} -DISPATCH_ARGS=${DISPATCH_ARGS:-} -LOGS=/var/log/dispatch.sr.ht.log -prometheus_multiproc_dir=/run/dispatch.sr.ht -supervise_daemon_args="-1 $LOGS -2 $LOGS -e prometheus_multiproc_dir=$prometheus_multiproc_dir" -command="/usr/bin/gunicorn" -command_args="dispatchsrht.app:app -b $DISPATCH_BIND -c $DISPATCH_GUNICORN_CONF $DISPATCH_ARGS" -command_user="$DISPATCH_USER:$DISPATCH_USER" -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net - use redis - use postgresql - use pgbouncer -} - -start_pre() { - checkpath -f "$LOGS" -m 644 -o "$DISPATCH_USER:$DISPATCH_USER" - # Workaround for https://github.com/OpenRC/openrc/issues/335 - if [ -n "$prometheus_multiproc_dir" ] - then - checkpath -d "$prometheus_multiproc_dir" -m 775 -o "$DISPATCH_USER:$DISPATCH_USER" - rm -rf "$prometheus_multiproc_dir"/* - fi -} diff --git a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-install b/sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-install deleted file mode 100644 index bb0da30..0000000 --- a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -addgroup -S dispatch || true -adduser -SDH -s /sbin/nologin -G dispatch -g dispatch dispatch || true diff --git a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-upgrade b/sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-upgrade deleted file mode 100644 index a336fe9..0000000 --- a/sr.ht/dispatch.sr.ht/dispatch.sr.ht.post-upgrade +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -srht-migrate dispatch.sr.ht -a upgrade head -dispatchsrht-migrate -a upgrade head diff --git a/sr.ht/drawterm-sourcehut/APKBUILD b/sr.ht/drawterm-sourcehut/APKBUILD deleted file mode 100644 index 626a09a..0000000 --- a/sr.ht/drawterm-sourcehut/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Sören Tempel -# Maintainer: Sören Tempel -pkgname=drawterm-sourcehut -pkgver=0_hg20200708 -_hgver=afc2a40c47ee -pkgrel=1 -pkgdesc="Connect to Plan 9 CPU servers from other operating systems" -url="http://drawterm.9front.org/" -arch="all" -license="LPL-1.02" -options="!check" # upstream does not have a test suite -makedepends="linux-headers libx11-dev libxt-dev" -subpackages="$pkgname-dbg" -source="https://hg.sr.ht/~sircmpwn/drawterm/archive/$_hgver.tar.gz" -builddir="$srcdir/drawterm-$_hgver" - -build() { - CONF=unix make -} - -package() { - install -Dm755 drawterm \ - "$pkgdir"/usr/bin/drawterm - install -Dm644 LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -sha512sums=" -26d8321da3ea6f37715561d6fbd2b2cadb1f3c6069d3f87ad8986031845dd09df02f1a476d5ea8be853d4b3736c0bec032bbdb3b1342a973737ddf02d08adcb7 afc2a40c47ee.tar.gz -" diff --git a/sr.ht/drawterm-sourcehut/respect-env.patch b/sr.ht/drawterm-sourcehut/respect-env.patch deleted file mode 100644 index 7bf5db6..0000000 --- a/sr.ht/drawterm-sourcehut/respect-env.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -upr drawterm-20170119.orig/Make.unix drawterm-20170119/Make.unix ---- drawterm-20170119.orig/Make.unix 2017-01-23 22:41:27.402630694 +0100 -+++ drawterm-20170119/Make.unix 2017-01-23 22:41:43.879309573 +0100 -@@ -5,12 +5,15 @@ AR=ar - AS=as - RANLIB=ranlib - X11=/usr/X11R6 --CC=gcc --CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2 -+X11INC=$(X11)/include -+X11LIB=$(X11)/lib -+CC?=gcc -+CFLAGS?=-O2 -+CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11INC) -D_THREAD_SAFE $(PTHREAD) - O=o - OS=posix - GUI=x11 --LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11 -ggdb -+LDADD=-L$(X11LIB) -lX11 -ggdb - LDFLAGS=$(PTHREAD) - TARG=drawterm - # AUDIO=none diff --git a/sr.ht/gamja/0001-Add-custom-chat.sr.ht-noscript-page.patch b/sr.ht/gamja/0001-Add-custom-chat.sr.ht-noscript-page.patch deleted file mode 100644 index 9386dd0..0000000 --- a/sr.ht/gamja/0001-Add-custom-chat.sr.ht-noscript-page.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 45bfa01d738bf8cc9821153b643711b11db3b507 Mon Sep 17 00:00:00 2001 -From: Drew DeVault -Date: Mon, 29 Nov 2021 12:52:42 +0100 -Subject: [PATCH gamja] Add custom chat.sr.ht noscript page - ---- - index.html | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/index.html b/index.html -index ec656db..455a6f2 100644 ---- a/index.html -+++ b/index.html -@@ -11,7 +11,13 @@ - - - - - --- -2.34.1 - diff --git a/sr.ht/gamja/0001-Add-sourcehut-branding-to-chat.sr.ht.patch b/sr.ht/gamja/0001-Add-sourcehut-branding-to-chat.sr.ht.patch deleted file mode 100644 index e0d34e7..0000000 --- a/sr.ht/gamja/0001-Add-sourcehut-branding-to-chat.sr.ht.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 9ee590d59f68d5ab4f9c8c8a928aea21d8eaffa5 Mon Sep 17 00:00:00 2001 -From: Tmpod -Date: Mon, 29 Nov 2021 21:27:29 +0000 -Subject: [PATCH gamja] Add sourcehut branding to chat.sr.ht - -Add "chat.sr.ht" title, to be improved with a gamja patch (for smarter -titles). -Add SVG favicon of sourcehut's white logo. ---- - favicon.svg | 1 + - index.html | 3 ++- - manifest.json | 12 ++++++++++-- - 3 files changed, 13 insertions(+), 3 deletions(-) - create mode 100644 favicon.svg - -diff --git a/favicon.svg b/favicon.svg -new file mode 100644 -index 0000000..e94113c ---- /dev/null -+++ b/favicon.svg -@@ -0,0 +1 @@ -+ -diff --git a/index.html b/index.html -index 455a6f2..e957e78 100644 ---- a/index.html -+++ b/index.html -@@ -3,11 +3,12 @@ - - - -- gamja IRC client -+ chat.sr.ht - - - - -+ - - -