diff options
| author | Gabriel A. Giovanini <g.giovanini@gridx.de> | 2025-12-12 10:34:54 +0100 |
|---|---|---|
| committer | Gabriel A. Giovanini <g.giovanini@gridx.de> | 2025-12-12 10:34:54 +0100 |
| commit | 8509726031c3e52aa7e77eacc53446a2e03d63f2 (patch) | |
| tree | 7deb6dba4ed20938ffd3bf26260461e36dc9ae03 | |
| parent | 4fcced5403f620b60f152ddee855ad5d5d249c6c (diff) | |
| download | apkbuilds-3.23.tar.gz apkbuilds-3.23.tar.bz2 apkbuilds-3.23.zip | |
Remove unused pkg3.23
21 files changed, 0 insertions, 555 deletions
diff --git a/apks/alps/APKBUILD b/apks/alps/APKBUILD deleted file mode 100644 index 3e6ba44..0000000 --- a/apks/alps/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Patrycja Rosa <alpine@ptrcnull.me> -# Maintainer: Patrycja Rosa <alpine@ptrcnull.me> -pkgname=alps -pkgver=0_git20230807 -pkgrel=0 -_commit=652ea9c7885a6c508d3c69c37b7c65e5bbe4fe77 -pkgdesc="Simple and extensible webmail" -url="https://sr.ht/~migadu/alps/" -arch="all" -license="MIT" -makedepends="go" -install="$pkgname.pre-install" -subpackages="$pkgname-openrc" -source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~migadu/alps/archive/$_commit.tar.gz - fix-statics-dir.patch - - alps.confd - alps.initd - " -builddir="$srcdir/alps-$_commit" -options="!check net" # no tests in upstream - -build() { - go build -o alps ./cmd/alps -} - -package() { - install -Dm755 alps "$pkgdir"/usr/bin/alps - - install -dm755 "$pkgdir"/var/lib/alps - cp -r themes "$pkgdir"/var/lib/alps - for asset in plugins/*/public/*.html plugins/*/public/**/*; do - install -Dm644 "$asset" "$pkgdir"/var/lib/alps/"$asset" - done - - install -Dm755 "$srcdir"/alps.initd "$pkgdir"/etc/init.d/alps - install -Dm644 "$srcdir"/alps.confd "$pkgdir"/etc/conf.d/alps -} - -sha512sums=" -17161088b6cd50d07e24deb90b54e17a54f0e634f9101aec1565cf16a1960ee9a086004d76052c3385fe93e4f71aa4335f4d1656523ae59dcdb8d899fccd3e07 alps-652ea9c7885a6c508d3c69c37b7c65e5bbe4fe77.tar.gz -789b4cae9b2c4acb5b05288c4f9858de1b5cfda87bc96c40505e9447ec9ad39fdabbd5af0c65007c51a5f3a425602ea7a81d3f6c62894dddf6790fe26793755c fix-statics-dir.patch -61c1b05851ae05fbf51cb8eb060c5677de7145a07dac3a194a3f7513b2ff3bf5f3792a749d1a2eef09fc6378f2fbf2021cc49dffe652f51230120c40a7062b6c alps.confd -6e109577d662ce61d2b753e5b82237827646f10d0af02b10b3f184a10bb747c3c8303e7d20a5cc2b7c31ac4a6f3aef62290c068868e647c9b1ce711dfb6e025a alps.initd -" diff --git a/apks/alps/alps.confd b/apks/alps/alps.confd deleted file mode 100644 index cd61010..0000000 --- a/apks/alps/alps.confd +++ /dev/null @@ -1,11 +0,0 @@ -# Configuration for /etc/init.d/alps - -# space-separated list of imap/smtp servers -servers="imap://localhost" - -theme="alps" -listen_address=":1323" -command_user="alps:alps" - -# comment this out for old style service management -supervisor=supervise-daemon diff --git a/apks/alps/alps.initd b/apks/alps/alps.initd deleted file mode 100644 index 307c6e3..0000000 --- a/apks/alps/alps.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run - -name="alps webmail server" - -command="/usr/bin/alps" -command_args="${listen_address:+-addr $listen_address} ${theme:+-theme $theme} $servers" -: ${command_user:="alps:alps"} -command_background=yes -directory="/var/lib/alps" -pidfile="/run/alps.pid" - -output_log="/var/log/alps.log" -error_log="/var/log/alps.log" - -depend() { - need net - after firewall -} - -start_pre() { - checkpath -d -m 755 -o "$command_user" /var/lib/alps - checkpath -f -m 644 -o "$command_user" /var/log/alps.log -} diff --git a/apks/alps/alps.pre-install b/apks/alps/alps.pre-install deleted file mode 100644 index 176a801..0000000 --- a/apks/alps/alps.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S alps -adduser -S -D -H -h /var/lib/alps -s /sbin/nologin -G alps -g alps alps - -exit 0 diff --git a/apks/alps/fix-statics-dir.patch b/apks/alps/fix-statics-dir.patch deleted file mode 100644 index 72eaffa..0000000 --- a/apks/alps/fix-statics-dir.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/cmd/alps/main.go b/cmd/alps/main.go -index 5a00957..f537177 100644 ---- a/cmd/alps/main.go -+++ b/cmd/alps/main.go -@@ -23,7 +23,7 @@ import ( - _ "git.sr.ht/~migadu/alps/plugins/viewtext" - ) - --var themesPath = "./themes" -+var themesPath = "/var/lib/alps/themes" - - func main() { - var ( -diff --git a/plugin.go b/plugin.go -index e634f02..43b8164 100644 ---- a/plugin.go -+++ b/plugin.go -@@ -7,7 +7,7 @@ import ( - ) - - // PluginDir is the path to the plugins directory. --const PluginDir = "plugins" -+const PluginDir = "/var/lib/alps/plugins" - - // Plugin extends alps with additional functionality. - type Plugin interface { diff --git a/apks/invidious/APKBUILD b/apks/invidious/APKBUILD deleted file mode 100644 index b62f63c..0000000 --- a/apks/invidious/APKBUILD +++ /dev/null @@ -1,73 +0,0 @@ -pkgname=invidious -pkgver=v2.20241110.0 -pkgrel=0 -pkgdesc="Alternative front-end to YouTube" -url="https://github.com/iv-org/invidious" -arch="x86_64" -license="AGPL-3.0-or-later" -depends=" - rsvg-convert -" -options="!check" # testing breaks for now fixing later -makedepends=" - crystal - git - libxml2-dev - openssl-dev - shards - sqlite-dev - yaml-dev - zlib-dev -" -install="$pkgname.pre-install" -pkgusers="$pkgname" -pkggroups="$pkgname" -subpackages="$pkgname-openrc" -source=" - $pkgname-$pkgver.tar.gz::https://github.com/iv-org/invidious/archive/refs/tags/$pkgver.tar.gz - $pkgname.initd -" -builddir="$srcdir/$pkgname-${pkgver:1}" - -prepare() { - default_prepare - - sed \ - -e 's/^CURRENT_BRANCH =.*/CURRENT_BRANCH = "release"/' \ - -e 's/^CURRENT_COMMIT =.*/CURRENT_COMMIT = "'$pkgver'"/' \ - -e 's/^CURRENT_VERSION =.*/CURRENT_VERSION = "'$pkgver'"/' \ - -e 's/^ASSET_COMMIT =.*/ASSET_COMMIT = "'$pkgver'"/' \ - -i src/invidious.cr - - datadir=/usr/share/webapps/invidious - # fix paths - sed -i src/invidious.cr \ - -e "s|\(public_folder\) \"assets\"|\1 \"$datadir/assets\"|" - sed -i src/invidious/helpers/i18n.cr \ - -e "s|File.read(\"locales/|File.read(\"$datadir/locales/|" - sed -i src/invidious/database/base.cr \ - -e "s|config/sql|/etc/$pkgname/\0|g" - -} - -build() { - shards install - crystal build \ - --release \ - -Ddisable_quic \ - src/invidious.cr -} - -package() { - install -Dm755 "$pkgname" "$pkgdir"/usr/bin/invidious - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - mkdir -p "$pkgdir"/usr/share/webapps/invidious - cp -r "$builddir"/assets "$builddir"/locales \ - "$pkgdir"/usr/share/webapps/invidious - install -Dm644 "$builddir"/config/config.example.yml \ - "$pkgdir"/etc/"$pkgname"/config.yml -} -sha512sums=" -3ed9d47c520736d9df95541f6a85cc456c4b9ce03bd8f38905f7a11542ba0875d9d1736be82bee8d56039937b0321188ce0228d760ad616e6cc2d0aa7cbd8535 invidious-v2.20241110.0.tar.gz -ed0a2e498751927c1ad82619395a07c169f7353a9c1453381ad288ad501b915010df5b799e4f102e034f0483b9101b9a8ae40d150b3d7db80605f87b9ca6f596 invidious.initd -" diff --git a/apks/invidious/invidious.initd b/apks/invidious/invidious.initd deleted file mode 100644 index ba29fce..0000000 --- a/apks/invidious/invidious.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon -name=invidious -command="/usr/bin/invidious" -command_user="${INVIDIOUS_USER:-invidious}" -supervise_daemon_args="--env INVIDIOUS_CONFIG_FILE='${INVIDIOUS_CONFIG_FILE:-/etc/invidious/config.yml}'" -pidfile="/run/invidious.pid" - -depend() { - need net - after firewall -} diff --git a/apks/invidious/invidious.pre-install b/apks/invidious/invidious.pre-install deleted file mode 100644 index bce4a4e..0000000 --- a/apks/invidious/invidious.pre-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -addgroup -S invidious 2>/dev/null -adduser -S -D -h /usr/share/webapps/invidious -s /sbin/nologin -G invidious \ - -g invidious invidious 2>/dev/null - -exit 0 diff --git a/apks/photoview/APKBUILD b/apks/photoview/APKBUILD deleted file mode 100644 index 56eeb8b..0000000 --- a/apks/photoview/APKBUILD +++ /dev/null @@ -1,67 +0,0 @@ -# Maintainer: Gabriel Giovanini <mail@gabrielgio.me> -pkgname=photoview -pkgver=2.3.13 -pkgrel=4 -pkgdesc="Photo gallery for self-hosted personal servers" -url="https://github.com/photoview/photoview" -arch="x86_64" -license="AGPL-3.0" -install="$pkgname.pre-install" -depends=" - exiftool - ffmpeg -" -makedepends="go - npm - dlib-dev - yaml-dev - libheif-dev - jpeg-dev - blas-dev - lapack-dev - exiftool - ffmpeg-dev" -subpackages="$pkgname-openrc" -source="$pkgname-$pkgver.tar.gz::https://github.com/photoview/photoview/archive/v$pkgver.tar.gz - $pkgname.pre-install - $pkgname.initd - $pkgname.confd" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$srcdir/$pkgname-$pkgver/api" - go build -o "$pkgname" server.go - - cd "$srcdir/$pkgname-$pkgver/ui" - npm ci --yes --omit=dev --ignore-scripts - npm run build -} - -check() { - cd "$srcdir/$pkgname-$pkgver/api" - go test ./... - - cd "$srcdir/$pkgname-$pkgver/ui" - npm install - CI=true npm run test -} - -package() { - install -Dm755 api/"$pkgname" "$pkgdir/usr/bin/$pkgname" - install -d "${pkgdir}/var/cache/${pkgname}/media_cache" - - cd "$srcdir/$pkgname-$pkgver/ui/dist" - find * -type f -exec install -Dm0644 "{}" "${pkgdir}/usr/share/webapps/${pkgname}/{}" \; - - install -d "${pkgdir}/var/lib/${pkgname}" - - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -sha512sums=" -63feaaa33257a5f529fe87f354b1937f7eac60faf1ec0d01c1ca91bf6929b08b680359c044879e9ab96329690baa543e19d4cf0237b20fda152c39631496cd59 photoview-2.3.13.tar.gz -25ab91023866397d7e7557c546606212c1c59f97d7a4f1dc091b717c5daaadcb35ab82552bc7ee723baf9b5dd8a76114e027ab453e4db9469931378655c82a29 photoview.pre-install -e93390bbd9cf50f4838fdbe217656722781d07dcedebbbef27060df69107ebd5f04b8dec54f1802318e6da8f3a3c9c74a301c208e92713d3c785c7e35f14f55b photoview.initd -41e8ac7cca9051b7420de9c4fb67bad0168ac1ecc4ff63761defb1e025b0cbc8264443e2488af18b21ecd189d63cf2037103d3a6d6ba83eaf362c578f765da31 photoview.confd -" diff --git a/apks/photoview/photoview.confd b/apks/photoview/photoview.confd deleted file mode 100644 index cb062b6..0000000 --- a/apks/photoview/photoview.confd +++ /dev/null @@ -1,22 +0,0 @@ -# Available options mysql (default), postgres and sqlite. -PHOTOVIEW_DATABASE_DRIVER=sqlite -PHOTOVIEW_SQLITE_PATH=/var/lib/photoview/photoview.db - -# PHOTOVIEW_MYSQL_URL= -# PHOTOVIEW_POSTGRES_URL= - -PHOTOVIEW_LISTEN_IP=localhost -PHOTOVIEW_LISTEN_PORT=4001 -PHOTOVIEW_SERVE_UI=1 -PHOTOVIEW_UI_PATH=/usr/share/webapps/photoview/ -PHOTOVIEW_MEDIA_CACHE=/var/cache/photoview/media_cache - -# disable features -PHOTOVIEW_DISABLE_FACE_RECOGNITION=1 -PHOTOVIEW_DISABLE_VIDEO_ENCODING=0 -PHOTOVIEW_DISABLE_RAW_PROCESSING=0 - - -# comment this out for old style service management -#supervisor=supervise-daemon -#command_user=photoview:photoview diff --git a/apks/photoview/photoview.initd b/apks/photoview/photoview.initd deleted file mode 100644 index bbc3cda..0000000 --- a/apks/photoview/photoview.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/openrc-run -supervisor=supervise-daemon - -command="/usr/bin/photoview" -command_background="yes" -: ${command_user:="photoview:photoview"} - -# database -export PHOTOVIEW_DATABASE_DRIVER -export PHOTOVIEW_SQLITE_PATH -export PHOTOVIEW_MYSQL_URL -export PHOTOVIEW_POSTGRES_URL - -export PHOTOVIEW_LISTEN_IP -export PHOTOVIEW_LISTEN_PORT -export PHOTOVIEW_SERVE_UI -export PHOTOVIEW_UI_PATH -export PHOTOVIEW_MEDIA_CACHE - -# features -export PHOTOVIEW_DISABLE_FACE_RECOGNITION -export PHOTOVIEW_DISABLE_VIDEO_ENCODING -export PHOTOVIEW_DISABLE_RAW_PROCESSING - -logdir="/var/log/photoview" -error_log="$logdir/${SVCNAME}.log" -pidfile="/var/run/${SVCNAME}.pid" - -depend() { - need net - after firewall -} - -start_pre() { - checkpath -d -o $command_user -m755 $logdir - checkpath -d -o $command_user -m755 /var/cache/photoview/media_cache - checkpath -d -o $command_user -m755 /var/lib/photoview - checkpath -d -o $command_user -m755 /usr/share/webapps/photoview - checkpath -f -o $command_user -m644 $error_log -} diff --git a/apks/photoview/photoview.pre-install b/apks/photoview/photoview.pre-install deleted file mode 100644 index a493b21..0000000 --- a/apks/photoview/photoview.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S photoview 2>/dev/null -adduser -S -D -h /var/lib/photoview -s /sbin/nologin -G photoview -g photoview photoview 2>/dev/null - -exit 0 diff --git a/apks/py3-nextcloud-api-wrapper/APKBUILD b/apks/py3-nextcloud-api-wrapper/APKBUILD deleted file mode 100644 index 4b3bafe..0000000 --- a/apks/py3-nextcloud-api-wrapper/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> -pkgname=py3-nextcloud-api-wrapper -_pkgorig=nextcloud-API -pkgver=0.2.3 -pkgrel=0 -pkgdesc="Python wrapper for NextCloud api" -url="https://github.com/luffah/nextcloud-API" -arch="noarch" -license="GPL-3.0" -option="!check" #check requires docker -depends="python3 py3-requests" -makedepends="python3-dev py3-setuptools_scm" -source="$pkgname-$pkgver.tar.gz::https://github.com/luffah/nextcloud-API/archive/refs/tags/$pkgver.tar.gz" -builddir="$srcdir/$_pkgorig-$pkgver" - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums=" -71200082db3ca9069284931123fa184921c1d8ae0037d51763e9146a1aabac33c791fbcb766071921718fc8aefb32ca403e6c80c4c3890e37699d10877dbb6df py3-nextcloud-api-wrapper-0.2.3.tar.gz -" diff --git a/apks/reddit-importer/APKBUILD b/apks/reddit-importer/APKBUILD deleted file mode 100644 index c75c4bd..0000000 --- a/apks/reddit-importer/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> -pkgname=reddit-importer -pkgver=0_git20231225 -pkgrel=0 -_commit=e5ce82abf59dc28bcc84a336053a95a58cf27c16 -pkgdesc="A process to import images and videos from liked post on reddit local folder." -url="https://git.sr.ht/~gabrielgio/reddit-importer" -arch="x86_64" -license="MIT" -options="!check" # this can't be tested -depends=" - gallery-dl -" -makedepends="go make" -builddir="$srcdir/$pkgname-$_commit" -install="$pkgname.pre-install" -subpackages="$pkgname-openrc" -source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~gabrielgio/$pkgname/archive/$_commit.tar.gz - $pkgname.initd - $pkgname.confd" - - -build() { - make -} - -package() { - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname - install -Dm755 bin/reddit-importer "$pkgdir"/usr/bin/reddit-importer -} - -sha512sums=" -06cbe8dc28737b4f3fa265f4af1d0dd82e2e0ad8e15e7b0efec3de6e56a7677cf9d61d82100b777a8238331bb31d98b61a427e0c9899ce391e191fcc8d765d85 reddit-importer-e5ce82abf59dc28bcc84a336053a95a58cf27c16.tar.gz -8d992bbcf8d0b9f54ce7659c9c6d27dc886b488432daad0c0857e31b006cc54b11096e056d996bb4d831babf72306e274a24a4ab77a904fa7dcf0430875e597f reddit-importer.initd -d277a7144b89a1f100c7f2fe2a645b16ddfdcfd23ee594d24d171fc2965c342f8fce5aabff2f9ca40905d4ad7272daa586c7c8bbdf98711e627f511b07306695 reddit-importer.confd -" diff --git a/apks/reddit-importer/reddit-importer.confd b/apks/reddit-importer/reddit-importer.confd deleted file mode 100644 index 3e562a5..0000000 --- a/apks/reddit-importer/reddit-importer.confd +++ /dev/null @@ -1,11 +0,0 @@ -client_id="" -client_secret="" -reddit_username="" -reddit_password="" -tmp_dir="/tmp/$RC_SVCNAME/" - -# for my local set I use www-data for most of my service. Change it to fit yours -cmd_user="www-data:www-data" - -# File to redirect stdout/stderr into. Set to empty string to disable. -#logfile="/var/log/$RC_SVCNAME.log" diff --git a/apks/reddit-importer/reddit-importer.initd b/apks/reddit-importer/reddit-importer.initd deleted file mode 100644 index 7298269..0000000 --- a/apks/reddit-importer/reddit-importer.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -supervisor="supervise-daemon" - -name="reddit-importer" -command="/usr/bin/reddit-importer" -command_args="-id ${client_id} - --secret ${client_secret} - -username ${reddit_username} - -password ${reddit_password} - " -command_background="yes" - -supervise_daemon_args="--user $cmd_user -d $tmp_dir" -pidfile="/run/$RC_SVCNAME.pid" -output_log="$logfile" -error_log="$logfile" - -start_pre() { - if [ "$logfile" ]; then - checkpath --file --mode 0640 --owner "cmd_user" "$logfile" || return 1 - fi - checkpath --directory --owner "$cmd_user" --mode 0775 "$tmp_dir" || return 1 -} - -depend() { - use net -} diff --git a/apks/reddit-importer/reddit-importer.pre-install b/apks/reddit-importer/reddit-importer.pre-install deleted file mode 100644 index 74f1b59..0000000 --- a/apks/reddit-importer/reddit-importer.pre-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -user=www-data -group=www-data - -addgroup -S $group 2>/dev/null -adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null - -exit 0 diff --git a/apks/reddit-nextcloud-importer/APKBUILD b/apks/reddit-nextcloud-importer/APKBUILD deleted file mode 100644 index e3e414e..0000000 --- a/apks/reddit-nextcloud-importer/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> -pkgname=reddit-nextcloud-importer -pkgver=0.1.2 -pkgrel=2 -pkgdesc="A process to import images and videos from saved post on reddit to a instance of Nextcloud." -url="https://git.sr.ht/~gabrielgio/reddit-nextcloud-importer" -arch="noarch" -license="Apache-2.0" -depends=" - python3 - py3-requests - gallery-dl - py3-jsonpickle - py3-nextcloud-api-wrapper - py3-praw - py3-six -" -makedepends="python3-dev py3-setuptools_scm" -checkdepends="py3-pytest py3-pytest-mock" -builddir="$srcdir/$pkgname-$pkgver" -install="$pkgname.pre-install" -subpackages="$pkgname-openrc" -source="$pkgname-$pkgver.tar.gz::https://artifacts.gabrielgio.me/archive/$pkgname/$pkgname-$pkgver.tar.gz - $pkgname.initd - $pkgname.confd" -provides="py3-reddit-nextcloud-importer=$pkgver-r$pkgrel" - - -build() { - python3 setup.py build -} - -check() { - python3 -m pytest -} - -package() { - # install scripts - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname - - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums=" -7f4b7f75377faef64936b10c92420c8df9fa0de8b65d083b5124b547bfda7c5760f08dcbfdb5816f50ad9feaf5d336a4ae9a159233988eca217c09145a82448f reddit-nextcloud-importer-0.1.2.tar.gz -b7960ee63d10c792fb3302f6f84fa23975dfb1d24a85249ff612c289126297f605bc4203b28eff7f94aefb6729593d4fc22bdb78d398d7e4445f22f2b78175a0 reddit-nextcloud-importer.initd -8e400cd0ac302b8cade98db5aea8afd109e7d5d434281238997c1e3f0b779322ecade95a26fde5860a3846b8d9687cca95df1c1b5ee0b489d6782bf6c2680666 reddit-nextcloud-importer.confd -" diff --git a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.confd b/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.confd deleted file mode 100644 index c79d1bf..0000000 --- a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.confd +++ /dev/null @@ -1,14 +0,0 @@ -client_id="" -client_secret="" -reddit_username="" -reddit_password="" -nextcloud_host="" -nextcloud_username="" -nextcloud_password="" -tmp_dir="/tmp/$RC_SVCNAME/" - -# for my local set I use www-data for most of my service. Change it to fit yours -cmd_user="www-data:www-data" - -# File to redirect stdout/stderr into. Set to empty string to disable. -#logfile="/var/log/$RC_SVCNAME.log" diff --git a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd b/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd deleted file mode 100644 index 9303e1b..0000000 --- a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -supervisor="supervise-daemon" - -name="reddit-nextcloud-importer" -command="/usr/bin/reddit-nextcloud-importer" -command_args="-c ${client_id} - -s ${client_secret} - -u ${reddit_username} - -p ${reddit_password} - -P ${nextcloud_password} - -U ${nextcloud_username} - -o ${nextcloud_host} - " -command_background="yes" - -supervise_daemon_args="--user $cmd_user -d $tmp_dir" -pidfile="/run/$RC_SVCNAME.pid" -output_log="$logfile" -error_log="$logfile" - -start_pre() { - if [ "$logfile" ]; then - checkpath --file --mode 0640 --owner "$cmd_user" "$logfile" || return 1 - fi - checkpath --directory --owner "$cmd_user" --mode 0775 "$tmp_dir" || return 1 -} - -depend() { - use net -} diff --git a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.pre-install b/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.pre-install deleted file mode 100644 index 74f1b59..0000000 --- a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.pre-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -user=www-data -group=www-data - -addgroup -S $group 2>/dev/null -adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null - -exit 0 |
