M sr.ht/hub.sr.ht/APKBUILD => sr.ht/hub.sr.ht/APKBUILD +4 -5
@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=hub.sr.ht
-pkgver=0.1.0
+pkgver=0.7.0
pkgrel=0
pkgdesc="sr.ht hub service"
url="https://git.sr.ht/~sircmpwn/hub.sr.ht"
@@ 17,7 17,6 @@ source="
hub.sr.ht.initd
hub.sr.ht.confd
"
-builddir="$srcdir/$pkgname-$pkgver"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install"
@@ 35,6 34,6 @@ package() {
"$pkgdir"/etc/conf.d/hub.sr.ht
}
-sha512sums="b7228ea201ca911626c484af55e9ca300652366d8f7bfa9d0bb9af1a63d0c7f78c7b849a562f69d6117b63cca5ad074a109a83f249c748d9e2ae24b65ab8613b hub.sr.ht-0.1.0.tar.gz
-49b89a85f8a72cfded331bff5fd4891ee2f5b930d01334a63d04fc3cc4974d2595c78e38afa2b66ed49b9704adcb7dfa9bd95e6c1c502e11e7e141bbb1fb0c3c hub.sr.ht.initd
-2edd92290b68b5f2a18e3ba24d63ec673aec16f38c020c1f627dc5d92cfa746d14acc4191f33b27cc471e772520e5a5da23e503d64a8f4ad6357fc9f44d15bb2 hub.sr.ht.confd"
+sha512sums="81a2dc9807c060fb7e8cf00ce5a96e1e1eaa4e9009ed6a94fbbb3de4df7960e96eeac5e26ae2ccde7b36a30135b7eeb46d16706fe5e00136ea89516f25d39874 hub.sr.ht-0.7.0.tar.gz
+b120bdb3cc74a124259babf8b3f271fa74fbd4fac0dfd1a2a88b7e2311473f8509936019926d6770ca07b3cdd7cf37627c8f37a8f97790da56d2b33b2bf39dca hub.sr.ht.initd
+b7c6210b6893918ad655a709b39469607f3cff8d193948c1a74c6c364e9fb9dc3ed03d5ccb682b3b4581622988242f925977096a595e010ba4ef3afea0b6100e hub.sr.ht.confd"
M sr.ht/hub.sr.ht/hub.sr.ht.confd => sr.ht/hub.sr.ht/hub.sr.ht.confd +0 -6
@@ 6,9 6,3 @@
# Extra arguments to pass to Gunicorn
# HUB_ARGS=
-
-# If no, use an external postgresql server
-# LOCAL_PG=yes
-
-# If no, use an external redis server
-# LOCAL_REDIS=yes
M sr.ht/hub.sr.ht/hub.sr.ht.initd => sr.ht/hub.sr.ht/hub.sr.ht.initd +3 -4
@@ 5,8 5,6 @@ supervisor=supervise-daemon
HUB_USER=${HUB_USER:-hub}
HUB_BIND=${HUB_BIND:-127.0.0.1:5014}
HUB_ARGS=${HUB_ARGS:-}
-LOCAL_PG=${LOCAL_PG:-yes}
-LOCAL_REDIS=${LOCAL_REDIS:-yes}
LOGS=/var/log/hub.sr.ht.log
supervise_daemon_args="-1 $LOGS -2 $LOGS"
command="/usr/bin/gunicorn"
@@ 16,8 14,9 @@ pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
- [ "$LOCAL_REDIS" = "yes" ] && need redis
- [ "$LOCAL_PG" = "yes" ] && need postgresql
+ use redis
+ use postgresql
+ use pgbouncer
}
start_pre() {