M sr.ht/lists.sr.ht/APKBUILD => sr.ht/lists.sr.ht/APKBUILD +10 -13
@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=lists.sr.ht
-pkgver=0.27.1
+pkgver=0.44.6
pkgrel=0
pkgdesc="sr.ht mailing list service"
url="https://git.sr.ht/~sircmpwn/lists.sr.ht"
@@ 29,18 29,15 @@ source="
lists.sr.ht-webhooks.initd
lists.sr.ht-webhooks.confd
"
-builddir="$srcdir/$pkgname-$pkgver"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install $pkgname.post-upgrade"
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/etc/init.d
install -Dm755 "$srcdir"/lists.sr.ht.initd \
@@ 61,12 58,12 @@ package() {
"$pkgdir"/etc/conf.d/lists.sr.ht-webhooks
}
-sha512sums="b8ef18f78a7a8f43ddd868cd8c7c3dbbd0a5240dbee5f4ee553f9057ca0c9d070d6196abe4e6800bbf729e07b1a2f2c2728d91f3c05d81d4bb625135f4365895 lists.sr.ht-0.27.1.tar.gz
-1343c585cc4a8e28067cd1191a1f64842a3cdbd6b79aa55e34468476555d0d28210912873044c033d426ad687b0362b05c8022618ff2eb140fa2555e5145eacf lists.sr.ht.initd
-3bff800b34e12ba05cbfa223855afeacacfb846221286d7f5c270ffef40a7afa6224c9cbe22d2e117b9350ed58c3ea3670b6c1e7265670ef89811fa6256241b3 lists.sr.ht.confd
-0bd58c20843318e5bd3ab294ec3a5cdbf82c8b400f6c60b26ed188c2ae53100ebc3d461718877e4e44792261641c52e97e42f93b65ac48992df0bd2160d70d65 lists.sr.ht-process.initd
-5521e95b2e69758957f575a1ec0d82a859f0c08a48dc4b3b60c3d7a1da24cba858f91d53a39bc8b5e57549124fae6caac581cec565ca2bf0c508d49be3c47186 lists.sr.ht-process.confd
-cb5c0014d086c625f961ccbf7ee985f12364297b6f9579e81fea7ebe8d6bd5db80552e5e34a3307e0254a082bf906a72d1ade16722d9a26f034a04b170da75ea lists.sr.ht-lmtp.initd
-619d0940935f41d1079a9a725f45ee1e355ceb0d2fb98b7ddbb7320af60d49600b1b40ffa10a541c5f51df055e56aef2813522b6aeeeb35b318f10814ae1820b lists.sr.ht-lmtp.confd
-ced3ed3295b149dbeccd119322ff0bd450dee44ad47b1b74c8f0899365bdff2ae59195c00b0c793fb38da0d534f1e53fe8b465f510dbf3f9238015289a07a347 lists.sr.ht-webhooks.initd
-5521e95b2e69758957f575a1ec0d82a859f0c08a48dc4b3b60c3d7a1da24cba858f91d53a39bc8b5e57549124fae6caac581cec565ca2bf0c508d49be3c47186 lists.sr.ht-webhooks.confd"
+sha512sums="df07d5904d3071933b877dd1041d6962a21fcb8e2845e5f63339248a08d2f809ab88f79c3bbb93d8cfacc20112ec415f4ea7d4ceb299c4f1b3a257b2f053dd88 lists.sr.ht-0.44.6.tar.gz
+50817a0e37f99f3620e539f539492567d1a69f12bfafd69c6f33eb79ba0822ee8e84bdd6c544e548f2dd40fe941e91272e22ee16948d571832029a4122bfb8e6 lists.sr.ht.initd
+66d39dc5d1341c6b249035c80b90fe10c602eafc162eb084b485ad68b435378b846eda0658573d7190a4137e045f9ed87989caefbc019c6d4eac61e76523f207 lists.sr.ht.confd
+b70ef07ee3247b33167111e301804d69416e8ebe020ea28587a4fd7d8fa0a81c7228309a5aa344d83f32578a7a66466f9484eac5332cfe264a538178645fd202 lists.sr.ht-process.initd
+66d114850cc9002a2491458fb91947da35010e521f28a89828b0fd5ef76463a8298bd4f921f22a67c70cfc85cdf13a62a8eee71925eb6e531d81e36ff1e78982 lists.sr.ht-process.confd
+4527cf69c943fcdf4ca8b9a02e3916fcadd03781995b34123b8b2a953e7962fd62f51cee5b22cb35ee702be8599015ae59dbd49583e7451a84bb1cc68f557c86 lists.sr.ht-lmtp.initd
+47e703f2820bc6161909eb5434cba80b4c801fd4f18ee2b984afb217bbe43f21391ff86a8855d470b122131db1f2714a7c8c5aa58a6666123a8520327bdc0b11 lists.sr.ht-lmtp.confd
+5f06d373d62096eea3c1bc6cabc220151f23705cd544be4b73d3ef488a4cffebfa5bd72455af7a1fc3b10fe08a894737fe627a1e2e2395a22d4bd08bd3042586 lists.sr.ht-webhooks.initd
+66d114850cc9002a2491458fb91947da35010e521f28a89828b0fd5ef76463a8298bd4f921f22a67c70cfc85cdf13a62a8eee71925eb6e531d81e36ff1e78982 lists.sr.ht-webhooks.confd"
M sr.ht/lists.sr.ht/lists.sr.ht-lmtp.confd => sr.ht/lists.sr.ht/lists.sr.ht-lmtp.confd +0 -3
@@ 1,5 1,2 @@
# Run the daemon as this user:
# LISTS_USER=lists
-
-# If no, use an external postgresql server
-# LOCAL_PG=yes
M sr.ht/lists.sr.ht/lists.sr.ht-lmtp.initd => sr.ht/lists.sr.ht/lists.sr.ht-lmtp.initd +3 -3
@@ 3,7 3,6 @@ name="lists.sr.ht-lmtp"
description="lists.sr.ht mail ingress service"
supervisor=supervise-daemon
LISTS_USER=${LISTS_USER:-lists}
-LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/lists.sr.ht-lmtp.log
supervise_daemon_args="-1 $LOGS -2 $LOGS"
command="/usr/bin/listssrht-lmtp"
@@ 12,8 11,9 @@ pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
- need redis
- [ "$LOCAL_PG" == "yes" ] && need postgresql
+ use redis
+ use postgresql
+ use pgbouncer
}
start_pre() {
M sr.ht/lists.sr.ht/lists.sr.ht-process.confd => sr.ht/lists.sr.ht/lists.sr.ht-process.confd +0 -3
@@ 3,6 3,3 @@
# Extra arguments to pass to celery
# LISTS_ARGS=
-
-# If no, use an external postgresql server
-# LOCAL_PG=yes
M sr.ht/lists.sr.ht/lists.sr.ht-process.initd => sr.ht/lists.sr.ht/lists.sr.ht-process.initd +3 -3
@@ 4,7 4,6 @@ description="lists.sr.ht mail processing service"
supervisor=supervise-daemon
LISTS_USER=${LISTS_USER:-lists}
LISTS_ARGS=${LISTS_ARGS:-}
-LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/lists.sr.ht-process.log
supervise_daemon_args="-1 $LOGS -2 $LOGS"
command="/usr/bin/celery"
@@ 14,8 13,9 @@ pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
- need redis
- [ "$LOCAL_PG" == "yes" ] && need postgresql
+ use redis
+ use postgresql
+ use pgbouncer
}
start_pre() {
M sr.ht/lists.sr.ht/lists.sr.ht-webhooks.confd => sr.ht/lists.sr.ht/lists.sr.ht-webhooks.confd +0 -3
@@ 3,6 3,3 @@
# Extra arguments to pass to celery
# LISTS_ARGS=
-
-# If no, use an external postgresql server
-# LOCAL_PG=yes
M sr.ht/lists.sr.ht/lists.sr.ht-webhooks.initd => sr.ht/lists.sr.ht/lists.sr.ht-webhooks.initd +3 -3
@@ 4,7 4,6 @@ description="lists.sr.ht webhook delivery service"
supervisor=supervise-daemon
LISTS_USER=${LISTS_USER:-lists}
LISTS_ARGS=${LISTS_ARGS:-}
-LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/lists.sr.ht-webhooks.log
supervise_daemon_args="-1 $LOGS -2 $LOGS"
command="/usr/bin/celery"
@@ 14,8 13,9 @@ pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
- need redis
- [ "$LOCAL_PG" == "yes" ] && need postgresql
+ use redis
+ use postgresql
+ use pgbouncer
}
start_pre() {
M sr.ht/lists.sr.ht/lists.sr.ht.confd => sr.ht/lists.sr.ht/lists.sr.ht.confd +0 -6
@@ 6,9 6,3 @@
# Extra arguments to pass to Gunicorn
# LISTS_ARGS=
-
-# If no, use an external postgresql server
-# LOCAL_PG=yes
-
-# If no, use an external redis server
-# LOCAL_REDIS=yes
M sr.ht/lists.sr.ht/lists.sr.ht.initd => sr.ht/lists.sr.ht/lists.sr.ht.initd +3 -4
@@ 5,8 5,6 @@ supervisor=supervise-daemon
LISTS_USER=${LISTS_USER:-lists}
LISTS_BIND=${LISTS_BIND:-127.0.0.1:5006}
LISTS_ARGS=${LISTS_ARGS:-}
-LOCAL_PG=${LOCAL_PG:-yes}
-LOCAL_REDIS=${LOCAL_REDIS:-yes}
LOGS=/var/log/lists.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() {