From 0e548bf8c645133000957a70ee5c9ce7e05e42d3 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Tue, 25 Apr 2023 18:34:03 +0200 Subject: chore: update alps --- apks/alps/APKBUILD | 4 +- apks/firefly3/APKBUILD | 113 ------------------------------------ apks/firefly3/firefly3-env | 18 ------ apks/firefly3/firefly3.post-install | 13 ----- apks/firefly3/firefly3.pre-install | 9 --- 5 files changed, 2 insertions(+), 155 deletions(-) delete mode 100644 apks/firefly3/APKBUILD delete mode 100644 apks/firefly3/firefly3-env delete mode 100644 apks/firefly3/firefly3.post-install delete mode 100644 apks/firefly3/firefly3.pre-install diff --git a/apks/alps/APKBUILD b/apks/alps/APKBUILD index e7bab57..7c56aca 100644 --- a/apks/alps/APKBUILD +++ b/apks/alps/APKBUILD @@ -2,11 +2,11 @@ # Maintainer: Patrycja Rosa pkgname=alps pkgver=0_git20221018 -pkgrel=0 +pkgrel=2 _commit=f01fbcbc48db5e65d69a0ebd9d7cb0deb378cf13 pkgdesc="Simple and extensible webmail" url="https://sr.ht/~migadu/alps/" -arch="all" +arch="x86_64" license="MIT" makedepends="go" install="$pkgname.pre-install" diff --git a/apks/firefly3/APKBUILD b/apks/firefly3/APKBUILD deleted file mode 100644 index 81371c0..0000000 --- a/apks/firefly3/APKBUILD +++ /dev/null @@ -1,113 +0,0 @@ -# Maintainer: Gabriel Arakaki Giovanini -pkgname=firefly3 -pkgver=5.7.18 -pkgrel=1 -pkgdesc="A free and open source personal finance manager" -url="https://firefly-iii.org" -arch="noarch" -license="AGPL-3.0-only" -_php=php81 -_php_mods=" - -curl - -zip - -sodium - -gd - -xml - -mbstring - -bcmath - -fileinfo - -session - -tokenizer - -xmlwriter - -dom - -shmop -" -depends="$_php ${_php_mods//-/$_php-}" -_php_makemods=" - -intl - -pdo - -simplexml -" -makedepends="$_php ${_php_makemods//-/$_php-} composer" -subpackages=" - $pkgname-mysql:_mysql - $pkgname-psql:_psql - $pkgname-sqlite:_sqlite -" -install=" - $pkgname.pre-install - $pkgname.post-install -" -source=" - ${pkgname}-${pkgver}.tar.gz::https://github.com/firefly-iii/firefly-iii/archive/refs/tags/$pkgver.tar.gz - $pkgname-env -" -options="!check" # no clue how to run test on this -builddir="$srcdir/firefly-iii-$pkgver/" - -package() { - local wwwdir="usr/share/webapps/$pkgname" - local confdir="etc/$pkgname" - local lib="var/lib/$pkgname" - local log="var/log/$pkgname" - - mkdir -p "$pkgdir" - mkdir -p "$pkgdir/$confdir" - mkdir -p "$pkgdir/$lib" - mkdir -p "$pkgdir/$log" - - cd "$pkgdir" - - mkdir -p ./${wwwdir%/*} - mkdir -p ./"$lib"/upload - mkdir -p ./"$lib"/database - - cp -a "$builddir" ./$wwwdir - - chmod +x ./$wwwdir/artisan - - cd ./$wwwdir - composer install --prefer-dist --no-dev --no-scripts - cd .. - - install -m 660 \ - "$srcdir"/$pkgname-env "$pkgdir"/$confdir/env - - ln -s /$confdir/env "$pkgdir"/$wwwdir/.env - - rm -r "$pkgdir"/$wwwdir/storage/database - ln -s /"$lib"/database "$pkgdir"/$wwwdir/storage/ - - rm -r "$pkgdir"/$wwwdir/storage/upload - ln -s /"$lib"/upload "$pkgdir"/$wwwdir/storage/ - - ln -s /"$lib"/oauth-private.key "$pkgdir"/$wwwdir/storage/oauth-private.key - ln -s /"$lib"/oauth-public.key "$pkgdir"/$wwwdir/storage/oauth-public.key - - rm -r "$pkgdir"/$wwwdir/storage/logs - ln -T -s /"$log"/ "$pkgdir"/$wwwdir/storage/logs -} - -_mysql() { - depends="firefly3 php81-pdo_mysql" - pkgdesc="Mysql dependencies for $pkgname" - mkdir -p "$subpkgdir" -} - -_psql() { - depends=" firefly3 php81-pdo_pgsql php81-pgsql" - pkgdesc="Postgresql dependencies for $pkgname" - mkdir -p "$subpkgdir" -} - -_sqlite() { - depends="firefly3 php81-pdo_sqlite" - pkgdesc="Sqlite dependencies for $pkgname" - mkdir -p "$subpkgdir" -} - - -sha512sums=" -4febc482056d1c635fb674b001442dcaa6d331ce3906aeeac80497b42b38fa1e2393e6b2a0d76da884db15d000c4364d299a11e4d28b2b6ebdeba8fae638a413 firefly3-5.7.18.tar.gz -b778a4113b8d4d3465a5f80a72fe04497d68d718751e2b0ee43fdbd4379b6278bdff74c68e095668f03ef3a9969de41d734cb4f7e27fb26f1a4342f0c9e0f57e firefly3-env -" diff --git a/apks/firefly3/firefly3-env b/apks/firefly3/firefly3-env deleted file mode 100644 index 201de19..0000000 --- a/apks/firefly3/firefly3-env +++ /dev/null @@ -1,18 +0,0 @@ -DB_CONNECTION= -DB_HOST= -DB_PORT= -DB_DATABASE= -DB_USERNAME= -DB_PASSWORD= - -APP_KEY= - -REDIS_SCHEME= -CACHE_DRIVER= -SESSION_DRIVER= -REDIS_HOST= -REDIS_PORT= -REDIS_PASSWORD= - -APP_DEBUG= -APP_LOG_LEVEL= diff --git a/apks/firefly3/firefly3.post-install b/apks/firefly3/firefly3.post-install deleted file mode 100644 index 1adcdb8..0000000 --- a/apks/firefly3/firefly3.post-install +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -printf " *\n * Add the configration to '/etc/firefly3/env' \n" -printf " * Without it firefly3 won't run.\n *\n" - -user=firefly3 -group=firefly3 - -chown $user:$group /usr/share/webapps/firefly3 -chown $user:$group /var/lib/firefly3 -chown $user:$group /var/log/firefly3 - -exit 0 diff --git a/apks/firefly3/firefly3.pre-install b/apks/firefly3/firefly3.pre-install deleted file mode 100644 index 40db5b7..0000000 --- a/apks/firefly3/firefly3.pre-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -user=firefly3 -group=firefly3 - -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 -- cgit v1.2.3