diff options
Diffstat (limited to 'www-apps/meta-srht')
-rw-r--r-- | www-apps/meta-srht/Manifest | 1 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-api.confd | 2 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-api.initd | 15 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-api.service | 12 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-daily.service | 8 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-daily.timer | 9 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-webhooks.initd | 15 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-webhooks.service | 12 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.confd | 2 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.cron | 4 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.initd | 15 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.service | 12 | ||||
-rw-r--r-- | www-apps/meta-srht/meta-srht-0.63.5.ebuild | 72 | ||||
-rw-r--r-- | www-apps/meta-srht/metadata.xml | 17 |
14 files changed, 0 insertions, 196 deletions
diff --git a/www-apps/meta-srht/Manifest b/www-apps/meta-srht/Manifest deleted file mode 100644 index 5fb8784..0000000 --- a/www-apps/meta-srht/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST meta-srht-0.63.5.tar.gz 740640 BLAKE2B 46d696e13d5cae2a732712d49acfd654cf074558f00ab5dce5531e82862a5bba70987a76ac21e193b6f82cfb295e718628305a5b3f3af1cd0208ec9cba1f8c93 SHA512 9680ea121b43dafa336df75bc037004af5055d2767be038729ba3e0c93323f34fe0ff375a21b9d42bacd0baacc7f2dae53ace0f8cd15441cb79f70c417f2b842 diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.confd b/www-apps/meta-srht/files/meta.sr.ht-api.confd deleted file mode 100644 index 9f22d1f..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-api.confd +++ /dev/null @@ -1,2 +0,0 @@ -ADDRESS=0.0.0.0 -PORT=5100
\ No newline at end of file diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.initd b/www-apps/meta-srht/files/meta.sr.ht-api.initd deleted file mode 100644 index 6280e78..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-api.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="meta.sr.ht API daemon" -description="" -command="/usr/bin/metasrht-api" -command_args="-b ${ADDRESS}:${PORT}" -command_user="srht:srht" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.service b/www-apps/meta-srht/files/meta.sr.ht-api.service deleted file mode 100644 index 1341c65..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-api.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=meta.sr.ht API service -After=network.target - -[Service] -Type=simple -User=srht -Restart=always -ExecStart=/usr/bin/metasrht-api -b :5100 - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/meta-srht/files/meta.sr.ht-daily.service b/www-apps/meta-srht/files/meta.sr.ht-daily.service deleted file mode 100644 index a2d9516..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-daily.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=meta.sr.ht job -After=network.target - -[Service] -Type=oneshot -User=srht -ExecStart=/usr/bin/metasrht-daily diff --git a/www-apps/meta-srht/files/meta.sr.ht-daily.timer b/www-apps/meta-srht/files/meta.sr.ht-daily.timer deleted file mode 100644 index 2462204..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-daily.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Daily meta.sr.ht job - -[Timer] -OnCalendar=daily -Persistent=true - -[Install] -WantedBy=timers.target diff --git a/www-apps/meta-srht/files/meta.sr.ht-webhooks.initd b/www-apps/meta-srht/files/meta.sr.ht-webhooks.initd deleted file mode 100644 index a1a42e5..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-webhooks.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="meta.sr.ht webhooks daemon" -description="" -command="/usr/bin/celery" -command_args="-A metasrht.webhooks worker --loglevel=INFO" -command_user="srht:srht" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} diff --git a/www-apps/meta-srht/files/meta.sr.ht-webhooks.service b/www-apps/meta-srht/files/meta.sr.ht-webhooks.service deleted file mode 100644 index 24c3b82..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-webhooks.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=meta.sr.ht webhooks service -After=network.target - -[Service] -Type=simple -User=srht -Restart=always -ExecStart=/usr/bin/celery -A metasrht.webhooks worker --loglevel=INFO - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/meta-srht/files/meta.sr.ht.confd b/www-apps/meta-srht/files/meta.sr.ht.confd deleted file mode 100644 index 185d367..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.confd +++ /dev/null @@ -1,2 +0,0 @@ -BINDADDRESS=0.0.0.0 -PORT=8000
\ No newline at end of file diff --git a/www-apps/meta-srht/files/meta.sr.ht.cron b/www-apps/meta-srht/files/meta.sr.ht.cron deleted file mode 100644 index f271a9a..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.cron +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -su - srht -s /bin/sh -c /usr/bin/metasrht-daily -exit $? diff --git a/www-apps/meta-srht/files/meta.sr.ht.initd b/www-apps/meta-srht/files/meta.sr.ht.initd deleted file mode 100644 index 0728798..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="meta.sr.ht daemon" -description="" -command="/usr/bin/gunicorn" -command_args="metasrht.app:app -b ${ADDRESS}:${PORT}" -command_user="srht:srht" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} diff --git a/www-apps/meta-srht/files/meta.sr.ht.service b/www-apps/meta-srht/files/meta.sr.ht.service deleted file mode 100644 index 562b131..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=meta.sr.ht website service -After=network.target - -[Service] -Type=simple -User=srht -Restart=always -ExecStart=/usr/bin/gunicorn metasrht.app:app -b 127.0.0.1:8000 - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/meta-srht/meta-srht-0.63.5.ebuild b/www-apps/meta-srht/meta-srht-0.63.5.ebuild deleted file mode 100644 index 707de3f..0000000 --- a/www-apps/meta-srht/meta-srht-0.63.5.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 go-module optfeature systemd - -DESCRIPTION="The central authentication and account service for sr.ht" -HOMEPAGE="https://git.sr.ht/~sircmpwn/meta.sr.ht" -SRC_URI="http://git.sr.ht/~sircmpwn/meta.sr.ht/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="network-sandbox" - -RDEPEND="" -DEPEND="${RDEPEND} - acct-user/srht - acct-group/srht - dev-python/dnspython[${PYTHON_USEDEP}] - dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/django-markdownify[${PYTHON_USEDEP}] - dev-python/core-srht[${PYTHON_USEDEP}] - dev-python/qrcode[${PYTHON_USEDEP}] - dev-python/redis-py[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - dev-python/zxcvbn[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] -" -BDEPEND="net-libs/nodejs - dev-lang/sassc - dev-lang/go -" - -S="${WORKDIR}/meta.sr.ht-${PV}" - -src_unpack() { - default_src_unpack -} - -src_compile() { - distutils-r1_src_compile - cd "${S}/api" || die - ego build -o metasrht-api -} - -src_install() { - distutils-r1_src_install - dobin "${S}/api/metasrht-api" - dodir "/etc/sr.ht" - insinto "/etc/sr.ht/" - newins "${S}/config.example.ini" "config.ini" - exeinto "/etc/cron.daily" - doexe "${FILESDIR}/meta.sr.ht.cron" - newinitd "${FILESDIR}/meta.sr.ht.initd" "meta.sr.ht" - newconfd "${FILESDIR}/meta.sr.ht.confd" "meta.sr.ht" - newinitd "${FILESDIR}/meta.sr.ht-api.initd" "meta.sr.ht-api" - newconfd "${FILESDIR}/meta.sr.ht-api.confd" "meta.sr.ht-api" - newinitd "${FILESDIR}/meta.sr.ht-webhooks.initd" "meta.sr.ht-webhooks" - systemd_dounit "${FILESDIR}/meta.sr.ht.service" - systemd_dounit "${FILESDIR}/meta.sr.ht-api.service" - systemd_dounit "${FILESDIR}/meta.sr.ht-webhooks.service" - systemd_dounit "${FILESDIR}/meta.sr.ht-daily.service" - systemd_dounit "${FILESDIR}/meta.sr.ht-daily.timer" -} - -plg_postinst() { - optfeature "billing support" "dev-python/stripe dev-python/weasyprint" -} diff --git a/www-apps/meta-srht/metadata.xml b/www-apps/meta-srht/metadata.xml deleted file mode 100644 index 83d6e1e..0000000 --- a/www-apps/meta-srht/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>julien@jroy.ca</email> - <name>Julien Roy</name> - </maintainer> - <upstream> - <maintainer> - <name>Drew DeVault</name> - <email>sir@cmpwn.com</email> - </maintainer> - <changelog>https://git.sr.ht/~sircmpwn/meta.sr.ht/refs</changelog> - <doc>https://man.sr.ht/meta.sr.ht/</doc> - <remote-id type="sourcehut">meta.sr.ht</remote-id> - </upstream> -</pkgmetadata> |