Compare commits
6 commits
v3.21
...
forgejo-ru
Author | SHA1 | Date | |
---|---|---|---|
e801188f98 | |||
9f54685da8 | |||
14ae5d6164 | |||
71a2fb64d5 | |||
9014d2d544 | |||
713da6ef66 |
39 changed files with 238 additions and 978 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# expects:
|
# expects:
|
||||||
# env variable ISSUE_TOKEN
|
# env variable FORGEJO_TOKEN
|
||||||
# file out_of_date
|
# file out_of_date
|
||||||
|
|
||||||
IFS='
|
IFS='
|
||||||
|
@ -20,7 +20,7 @@ does_it_exist() {
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "Authorization: token $ISSUE_TOKEN"
|
-H "authorization: Basic $FORGEJO_TOKEN"
|
||||||
)"
|
)"
|
||||||
|
|
||||||
if [ "$result" == "[]" ]; then
|
if [ "$result" == "[]" ]; then
|
||||||
|
@ -40,7 +40,7 @@ is_it_old() {
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN"
|
-H "authorization: Basic $FORGEJO_TOKEN"
|
||||||
)"
|
)"
|
||||||
|
|
||||||
result_title="$(echo $result | jq -r '.[].title' )"
|
result_title="$(echo $result | jq -r '.[].title' )"
|
||||||
|
@ -64,7 +64,7 @@ update_title() {
|
||||||
result=$(curl --silent -X 'PATCH' \
|
result=$(curl --silent -X 'PATCH' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues/$id" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues/$id" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN" \
|
-H "authorization: Basic $FORGEJO_TOKEN" \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "{
|
-d "{
|
||||||
\"title\": \"$repo/$name: upgrade to $upstream_version\"
|
\"title\": \"$repo/$name: upgrade to $upstream_version\"
|
||||||
|
@ -83,7 +83,7 @@ create_issue() {
|
||||||
result=$(curl --silent -X 'POST' \
|
result=$(curl --silent -X 'POST' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN" \
|
-H "authorization: Basic $FORGEJO_TOKEN" \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "{
|
-d "{
|
||||||
\"title\": \"$repo/$name: upgrade to $upstream_version\",
|
\"title\": \"$repo/$name: upgrade to $upstream_version\",
|
||||||
|
@ -131,7 +131,7 @@ if [ -f not_in_anitya ]; then
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN"
|
-H "authorization: Basic $FORGEJO_TOKEN"
|
||||||
)"
|
)"
|
||||||
|
|
||||||
if [ "$result" == "[]" ]; then
|
if [ "$result" == "[]" ]; then
|
||||||
|
@ -139,7 +139,7 @@ if [ -f not_in_anitya ]; then
|
||||||
result=$(curl --silent -X 'POST' \
|
result=$(curl --silent -X 'POST' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN" \
|
-H "authorization: Basic $FORGEJO_TOKEN" \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "{
|
-d "{
|
||||||
\"title\": \"Add missing $repo packages to anitya\",
|
\"title\": \"Add missing $repo packages to anitya\",
|
||||||
|
@ -155,7 +155,7 @@ if [ -f not_in_anitya ]; then
|
||||||
result=$(curl --silent -X 'PATCH' \
|
result=$(curl --silent -X 'PATCH' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues/$result_id" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues/$result_id" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN" \
|
-H "authorization: Basic $FORGEJO_TOKEN" \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "{
|
-d "{
|
||||||
\"body\": \"- [ ] $(sed '{:q;N;s/\n/\\n- [ ] /g;t q}' not_in_anitya)\"
|
\"body\": \"- [ ] $(sed '{:q;N;s/\n/\\n- [ ] /g;t q}' not_in_anitya)\"
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
env:
|
env:
|
||||||
downstream: https://forge.ilot.io/api/packages/ilot/alpine/v3.21/ilot
|
downstream: https://forge.ilot.io/api/packages/ilot/alpine/v3.21/ilot
|
||||||
ISSUE_TOKEN: ${{ secrets.issue_token }}
|
FORGEJO_TOKEN: ${{ secrets.forgejo_token }}
|
||||||
LABEL_NUMBER: 8
|
LABEL_NUMBER: 8
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=authentik
|
pkgname=authentik
|
||||||
pkgver=2025.2.4
|
pkgver=2024.10.5
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="An open-source Identity Provider focused on flexibility and versatility"
|
pkgdesc="An open-source Identity Provider focused on flexibility and versatility"
|
||||||
url="https://github.com/goauthentik/authentik"
|
url="https://github.com/goauthentik/authentik"
|
||||||
|
@ -53,14 +53,13 @@ depends="
|
||||||
py3-fido2
|
py3-fido2
|
||||||
py3-flower
|
py3-flower
|
||||||
py3-geoip2
|
py3-geoip2
|
||||||
py3-geopy
|
|
||||||
py3-google-api-python-client
|
py3-google-api-python-client
|
||||||
py3-gunicorn
|
py3-gunicorn
|
||||||
py3-httptools
|
py3-httptools
|
||||||
py3-jsonpatch
|
py3-jsonpatch
|
||||||
py3-jwt
|
py3-jwt
|
||||||
py3-jwcrypto
|
py3-jwcrypto
|
||||||
py3-kadmin-rs
|
py3-kadmin
|
||||||
py3-kubernetes
|
py3-kubernetes
|
||||||
py3-ldap3
|
py3-ldap3
|
||||||
py3-lxml
|
py3-lxml
|
||||||
|
@ -284,13 +283,13 @@ pyc() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
75928b3ab9ae126f3cbe88ff1256de8adba7add099b0d93615abb8c91a2b7f275e83664a232e8c5393c5031bd9757af2f20fdb9d0153dacdf9a482b6b4bb8b00 authentik-2025.2.4.tar.gz
|
f6e04ac1d1ac3a46e6d0f89548c0c2748f2214c551157e65f9071721dfdccac53c98b1664ecd1bc70650b4fceec47c5a5ab805da34e82ccc86d6a64087441702 authentik-2024.10.5.tar.gz
|
||||||
4defb4fe3a4230f4aa517fbecd5e5b8bcef2a64e1b40615660ae9eec33597310a09df5e126f4d39ce7764bd1716c0a7040637699135c103cbc1879593c6c06f1 authentik.openrc
|
4defb4fe3a4230f4aa517fbecd5e5b8bcef2a64e1b40615660ae9eec33597310a09df5e126f4d39ce7764bd1716c0a7040637699135c103cbc1879593c6c06f1 authentik.openrc
|
||||||
6cb03b9b69df39bb4539fe05c966536314d766b2e9307a92d87070ba5f5b7e7ab70f1b5ee1ab3c0c50c23454f9c5a4caec29e63fdf411bbb7a124ad687569b89 authentik-worker.openrc
|
6cb03b9b69df39bb4539fe05c966536314d766b2e9307a92d87070ba5f5b7e7ab70f1b5ee1ab3c0c50c23454f9c5a4caec29e63fdf411bbb7a124ad687569b89 authentik-worker.openrc
|
||||||
351e6920d987861f8bf0d7ab2f942db716a8dbdad1f690ac662a6ef29ac0fd46cf817cf557de08f1c024703503d36bc8b46f0d9eb1ecaeb399dce4c3bb527d17 authentik-ldap.openrc
|
351e6920d987861f8bf0d7ab2f942db716a8dbdad1f690ac662a6ef29ac0fd46cf817cf557de08f1c024703503d36bc8b46f0d9eb1ecaeb399dce4c3bb527d17 authentik-ldap.openrc
|
||||||
89ee5f0ffdade1c153f3a56ff75b25a7104aa81d8c7a97802a8f4b0eab34850cee39f874dabe0f3c6da3f71d6a0f938f5e8904169e8cdd34d407c8984adee6b0 authentik-ldap.conf
|
89ee5f0ffdade1c153f3a56ff75b25a7104aa81d8c7a97802a8f4b0eab34850cee39f874dabe0f3c6da3f71d6a0f938f5e8904169e8cdd34d407c8984adee6b0 authentik-ldap.conf
|
||||||
f1a3cb215b6210fa7d857a452a9f2bc4dc0520e49b9fa7027547cff093d740a7e2548f1bf1f8831f7d5ccb80c8e523ee0c8bafcc4dc42d2788725f2137d21bee authentik-manage.sh
|
f1a3cb215b6210fa7d857a452a9f2bc4dc0520e49b9fa7027547cff093d740a7e2548f1bf1f8831f7d5ccb80c8e523ee0c8bafcc4dc42d2788725f2137d21bee authentik-manage.sh
|
||||||
3d38076606d18a438a2d76cdd2067774d5471bb832e641050630726b4d7bd8b8c2218d25d7e987a1fb46ee6a4a81d13e899145f015b3c94204cece039c7fb182 fix-ak-bash.patch
|
3e47db684a3f353dcecdb7bab8836b9d5198766735d77f676a51d952141a0cf9903fcb92e6306c48d2522d7a1f3028b37247fdc1dc74d4d6e043da7eb4f36d49 fix-ak-bash.patch
|
||||||
5c60e54b6a7829d611af66f5cb8184a002b5ae927efbd024c054a7c176fcb9efcfbe5685279ffcf0390b0f0abb3bb03e02782c6867c2b38d1ad2d508aae83fa0 root-settings-csrf_trusted_origins.patch
|
5c60e54b6a7829d611af66f5cb8184a002b5ae927efbd024c054a7c176fcb9efcfbe5685279ffcf0390b0f0abb3bb03e02782c6867c2b38d1ad2d508aae83fa0 root-settings-csrf_trusted_origins.patch
|
||||||
badff70b19aad79cf16046bd46cb62db25c2a8b85b2673ce7c44c42eb60d42f6fcb1b9a7a7236c00f24803b25d3c66a4d64423f7ce14a59763b8415db292a5b9 go-downgrade-1.22.patch
|
badff70b19aad79cf16046bd46cb62db25c2a8b85b2673ce7c44c42eb60d42f6fcb1b9a7a7236c00f24803b25d3c66a4d64423f7ce14a59763b8415db292a5b9 go-downgrade-1.22.patch
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
diff --git a/lifecycle/ak.orig b/lifecycle/ak
|
diff --git a/lifecycle/ak.orig b/lifecycle/ak
|
||||||
index 44dc480..49a0cef 100755
|
index 615bfe9..1646274 100755
|
||||||
--- a/lifecycle/ak.orig
|
--- a/lifecycle/ak.orig
|
||||||
+++ b/lifecycle/ak
|
+++ b/lifecycle/ak
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/usr/bin/env -S bash
|
-#!/usr/bin/env -S bash -e
|
||||||
+#!/usr/bin/env bash
|
+#!/usr/bin/env bash
|
||||||
set -e -o pipefail
|
|
||||||
MODE_FILE="${TMPDIR}/authentik-mode"
|
MODE_FILE="${TMPDIR}/authentik-mode"
|
||||||
|
|
||||||
|
function log {
|
||||||
|
|
|
@ -1,21 +1,19 @@
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=codeberg-pages-server
|
pkgname=codeberg-pages-server
|
||||||
pkgver=6.2.1
|
pkgver=6.2
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="The Codeberg Pages Server – with custom domain support, per-repo pages using the pages branch, caching and more."
|
pkgdesc="The Codeberg Pages Server – with custom domain support, per-repo pages using the pages branch, caching and more."
|
||||||
url="https://codeberg.org/Codeberg/pages-server"
|
url="https://codeberg.org/Codeberg/pages-server"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="EUPL-1.2"
|
license="EUPL-1.2"
|
||||||
depends="libcap-setcap nginx"
|
depends="nginx"
|
||||||
makedepends="go just"
|
makedepends="go just"
|
||||||
install="$pkgname.post-install"
|
|
||||||
# tests disabled for now
|
# tests disabled for now
|
||||||
options="!check"
|
options="!check"
|
||||||
source="
|
source="
|
||||||
$pkgname-$pkgver.tar.gz::https://codeberg.org/Codeberg/pages-server/archive/v$pkgver.tar.gz
|
$pkgname-$pkgver.tar.gz::https://codeberg.org/Codeberg/pages-server/archive/v$pkgver.tar.gz
|
||||||
codeberg-pages-server.openrc
|
codeberg-pages-server.openrc
|
||||||
downgrade-go.patch
|
|
||||||
"
|
"
|
||||||
builddir="$srcdir/"pages-server
|
builddir="$srcdir/"pages-server
|
||||||
subpackages="$pkgname-openrc"
|
subpackages="$pkgname-openrc"
|
||||||
|
@ -32,18 +30,13 @@ build() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
msg "Packaging $pkgname"
|
msg "Packaging $pkgname"
|
||||||
install -Dm755 "$builddir"/build/codeberg-pages-server \
|
install -Dm755 "$builddir"/build/codeberg-pages-server "$pkgdir"/usr/bin/codeberg-pages-server
|
||||||
"$pkgdir"/usr/bin/codeberg-pages-server
|
|
||||||
|
|
||||||
install -Dm755 "$srcdir"/$pkgname.openrc \
|
install -Dm755 "$srcdir"/$pkgname.openrc \
|
||||||
"$pkgdir"/etc/init.d/$pkgname
|
"$pkgdir"/etc/init.d/$pkgname
|
||||||
|
|
||||||
install -Dm600 "$builddir"/example_config.toml \
|
|
||||||
"$pkgdir"/etc/codeberg-pages-server/pages.conf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
87992a244a580ef109fa891fd4e4ab5bf8320076f396c63e23b83e2c49e3c34fed2d6562283fc57dd89ebc13596dd7b8cbdfa7202eee43cbbd86b6a7f3b52c26 codeberg-pages-server-6.2.1.tar.gz
|
d48e10262e94eb2e36696646e3431da066d2f820e037ab713f4446dd72c2e3895c9bf153fcbf702e05b21ec5750aa15ed9b71e2fb383f9357aeeef61073a721a codeberg-pages-server-6.2.tar.gz
|
||||||
4808057de5d539fd9ad3db67b650d45ed60c53e07eff840115af09729ac198791b465b61da547eac1dffd0633e5855c348aa7663d6f6cb5984f7fc999be08589 codeberg-pages-server.openrc
|
4defb4fe3a4230f4aa517fbecd5e5b8bcef2a64e1b40615660ae9eec33597310a09df5e126f4d39ce7764bd1716c0a7040637699135c103cbc1879593c6c06f1 codeberg-pages-server.openrc
|
||||||
1f02e3e9a6f0aab9b516fa7ffaaeb92da3ab839fbcf07f672398063d784c8c0ca373edc0f9a26132d40a60345c4894a5f757c13bf7500f5753f5ffcdf10c52db downgrade-go.patch
|
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,23 +1,30 @@
|
||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
: ${config:=/etc/codeberg-pages-server/pages.conf}
|
|
||||||
|
|
||||||
name="$RC_SVCNAME"
|
name="$RC_SVCNAME"
|
||||||
cfgfile="/etc/conf.d/$RC_SVCNAME.conf"
|
cfgfile="/etc/conf.d/$RC_SVCNAME.conf"
|
||||||
pidfile="/run/$RC_SVCNAME.pid"
|
pidfile="/run/$RC_SVCNAME.pid"
|
||||||
working_directory="/var/lib/codeberg-pages-server"
|
working_directory="/usr/share/webapps/authentik"
|
||||||
command="/usr/bin/codeberg-pages-server"
|
command="/usr/share/webapps/authentik/server"
|
||||||
command_args="--config-file $config"
|
command_user="authentik"
|
||||||
command_user="nginx"
|
command_group="authentik"
|
||||||
command_group="nginx"
|
|
||||||
start_stop_daemon_args=""
|
start_stop_daemon_args=""
|
||||||
command_background="yes"
|
command_background="yes"
|
||||||
output_log="/var/log/codeberg-pages-server/$RC_SVCNAME.log"
|
output_log="/var/log/authentik/$RC_SVCNAME.log"
|
||||||
error_log="/var/log/codeberg-pages-server/$RC_SVCNAME.err"
|
error_log="/var/log/authentik/$RC_SVCNAME.err"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need redis
|
||||||
|
need postgresql
|
||||||
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
checkpath --directory --owner $command_user:$command_group --mode 0775 \
|
|
||||||
/var/log/codeberg-pages-server \
|
|
||||||
/var/lib/codeberg-pages-server
|
|
||||||
cd "$working_directory"
|
cd "$working_directory"
|
||||||
|
checkpath --directory --owner $command_user:$command_group --mode 0775 \
|
||||||
|
/var/log/authentik \
|
||||||
|
/var/lib/authentik/certs
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_pre() {
|
||||||
|
ebegin "Killing child processes"
|
||||||
|
kill $(ps -o pid= --ppid $(cat $pidfile)) || true
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
setcap 'cap_net_bind_service=+ep' /usr/bin/codeberg-pages-server
|
|
||||||
|
|
||||||
cat >&2 <<-EOF
|
|
||||||
*
|
|
||||||
* 1. Adjust settings in /etc/codeberg-pages-server/pages.conf
|
|
||||||
*
|
|
||||||
EOF
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/go.mod.orig b/go.mod
|
|
||||||
index bff6b77..2b9f2e4 100644
|
|
||||||
--- a/go.mod.orig
|
|
||||||
+++ b/go.mod
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
module codeberg.org/codeberg/pages
|
|
||||||
|
|
||||||
-go 1.24.0
|
|
||||||
+go 1.23.6
|
|
||||||
|
|
||||||
require (
|
|
||||||
code.gitea.io/sdk/gitea v0.20.0
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=forgejo-aneksajo
|
pkgname=forgejo-aneksajo
|
||||||
pkgver=10.0.3_git0
|
pkgver=10.0.1_git0
|
||||||
_gittag=v${pkgver/_git/-git-annex}
|
_gittag=v${pkgver/_git/-git-annex}
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Self-hosted Git service written in Go with git-annex support"
|
pkgdesc="Self-hosted Git service written in Go with git-annex support"
|
||||||
|
@ -106,7 +106,7 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e32c919228df167374e8f3099e2e59bfab610aac6c87465318efe1cac446d014535e270f57b0bf8b2a7eb3843c5dcb189eac4dad2e230b57acd9096ead647eca forgejo-aneksajo-v10.0.3-git-annex0.tar.gz
|
1dcc4655bd19e6e29dbe854a43693c60518d69db80f53c7f3fd759717e68782d1c1b181aee1286a0e19a253e197da512b3d051097ffc501b6717f2dfee8c67de forgejo-aneksajo-v10.0.1-git-annex0.tar.gz
|
||||||
497d8575f2eb5ac43baf82452e76007ef85e22cca2cc769f1cf55ffd03d7ce4d50ac4dc2b013e23086b7a5577fc6de5a4c7e5ec7c287f0e3528e908aaa2982aa forgejo-aneksajo.initd
|
497d8575f2eb5ac43baf82452e76007ef85e22cca2cc769f1cf55ffd03d7ce4d50ac4dc2b013e23086b7a5577fc6de5a4c7e5ec7c287f0e3528e908aaa2982aa forgejo-aneksajo.initd
|
||||||
b537b41b6b3a945274a6028800f39787b48c318425a37cf5d40ace0d1b305444fd07f17b4acafcd31a629bedd7d008b0bb3e30f82ffeb3d7e7e947bdbe0ff4f3 forgejo-aneksajo.ini
|
b537b41b6b3a945274a6028800f39787b48c318425a37cf5d40ace0d1b305444fd07f17b4acafcd31a629bedd7d008b0bb3e30f82ffeb3d7e7e947bdbe0ff4f3 forgejo-aneksajo.ini
|
||||||
"
|
"
|
||||||
|
|
47
ilot/forgejo-runner/APKBUILD
Normal file
47
ilot/forgejo-runner/APKBUILD
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
|
pkgname=forgejo-runner
|
||||||
|
pkgver=5.0.3
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="CI/CD job runner for Forgejo"
|
||||||
|
url="https://code.forgejo.org/forgejo/runner"
|
||||||
|
arch="all"
|
||||||
|
license="MIT"
|
||||||
|
makedepends="go"
|
||||||
|
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
||||||
|
subpackages="$pkgname-openrc"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://code.forgejo.org/forgejo/runner/archive/v$pkgver.tar.gz
|
||||||
|
|
||||||
|
forgejo-runner.logrotate
|
||||||
|
forgejo-runner.initd
|
||||||
|
forgejo-runner.confd
|
||||||
|
"
|
||||||
|
builddir="$srcdir/runner"
|
||||||
|
options="!check" # tests require running forgejo
|
||||||
|
|
||||||
|
build() {
|
||||||
|
go build \
|
||||||
|
-o forgejo-runner \
|
||||||
|
-ldflags "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=$pkgver"
|
||||||
|
./forgejo-runner generate-config > config.example.yaml
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
go test ./...
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 forgejo-runner -t "$pkgdir"/usr/bin/
|
||||||
|
install -Dm644 config.example.yaml -t "$pkgdir"/etc/forgejo-runner/
|
||||||
|
|
||||||
|
install -Dm755 "$srcdir"/forgejo-runner.initd "$pkgdir"/etc/init.d/forgejo-runner
|
||||||
|
install -Dm644 "$srcdir"/forgejo-runner.confd "$pkgdir"/etc/conf.d/forgejo-runner
|
||||||
|
install -Dm644 "$srcdir"/forgejo-runner.logrotate "$pkgdir"/etc/logrotate.d/forgejo-runner
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
1ac9700e3f335aa13927c5cae3cf99202890f9f74c1a5d0d24da592c12bf51955d9e120b4061d3cea881908702357dd4d1aa17d7c7d22e6e54a83a7ab1e975a8 forgejo-runner-5.0.3.tar.gz
|
||||||
|
a3c7238b0c63053325d31e09277edd88690ef5260854517f82d9042d6173fb5d24ebfe36e1d7363673dd8801972638a6e69b6af8ad43debb6057515c73655236 forgejo-runner.logrotate
|
||||||
|
bb0c6fbe90109c77f9ef9cb0d35d20b8033be0e4b7a60839b596aa5528dfa24309ec894d8c04066bf8fb30143e63a5fd8cc6fc89aac364422b583e0f840e2da6 forgejo-runner.initd
|
||||||
|
e11eab27f88f1181112389befa7de3aa0bac7c26841861918707ede53335535425c805e6682e25704e9c8a6aecba3dc13e20900a99df1183762b012b62f26d5f forgejo-runner.confd
|
||||||
|
"
|
17
ilot/forgejo-runner/forgejo-runner.confd
Normal file
17
ilot/forgejo-runner/forgejo-runner.confd
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Configuration for /etc/init.d/forgejo-runner
|
||||||
|
|
||||||
|
# Path to the config file (--config).
|
||||||
|
#cfgfile="/etc/forgejo-runner/config.yaml"
|
||||||
|
|
||||||
|
# Path to the working directory (--working-directory).
|
||||||
|
#datadir="/var/lib/forgejo-runner"
|
||||||
|
|
||||||
|
# Path to the log file where stdout/stderr will be redirected.
|
||||||
|
# Leave empty/commented out to use syslog instead.
|
||||||
|
#output_log="/var/log/forgejo-runner.log"
|
||||||
|
|
||||||
|
# You may change this to root, e.g. to run jobs in LXC
|
||||||
|
#command_user="forgejo-runner"
|
||||||
|
|
||||||
|
# Comment out to run without process supervisor.
|
||||||
|
supervisor=supervise-daemon
|
38
ilot/forgejo-runner/forgejo-runner.initd
Normal file
38
ilot/forgejo-runner/forgejo-runner.initd
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
|
description="Forgejo CI Runner"
|
||||||
|
name="Forgejo Runner"
|
||||||
|
|
||||||
|
: ${cfgfile:="/etc/forgejo-runner/config.yaml"}
|
||||||
|
: ${datadir:="/var/lib/forgejo-runner"}
|
||||||
|
: ${command_user:="forgejo-runner"}
|
||||||
|
|
||||||
|
command="/usr/bin/forgejo-runner"
|
||||||
|
command_args="daemon --config $cfgfile"
|
||||||
|
command_background="yes"
|
||||||
|
directory="$datadir"
|
||||||
|
pidfile="/run/$RC_SVCNAME.pid"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
use dns logger
|
||||||
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
checkpath -d -o "$command_user" /etc/forgejo-runner
|
||||||
|
checkpath -d -o "$command_user" "$datadir"
|
||||||
|
|
||||||
|
if ! [ -e "$cfgfile" ]; then
|
||||||
|
eerror "Config file $cfgfile doesn't exist."
|
||||||
|
eerror "You can generate it with: forgejo-runner generate-config,"
|
||||||
|
eerror "or use the auto-generated one in /etc/forgejo-runner/config.example.yaml"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$error_log" ]; then
|
||||||
|
output_log="$error_log"
|
||||||
|
else
|
||||||
|
output_logger="logger -t '${RC_SVCNAME}' -p daemon.info"
|
||||||
|
error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
|
||||||
|
fi
|
||||||
|
}
|
5
ilot/forgejo-runner/forgejo-runner.logrotate
Normal file
5
ilot/forgejo-runner/forgejo-runner.logrotate
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/var/log/forgejo-runner.log {
|
||||||
|
copytruncate
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
}
|
14
ilot/forgejo-runner/forgejo-runner.pre-install
Normal file
14
ilot/forgejo-runner/forgejo-runner.pre-install
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
addgroup -S forgejo-runner 2>/dev/null
|
||||||
|
adduser -S -D -H -h /var/lib/forgejo-runner -s /sbin/nologin -G forgejo-runner -g forgejo-runner forgejo-runner 2>/dev/null
|
||||||
|
|
||||||
|
cat >&2 <<EOF
|
||||||
|
* In order to setup the runner, create a config file
|
||||||
|
* in /etc/forgejo-runner/config.yaml (either from .example.yaml,
|
||||||
|
* or generating your own with 'forgejo-runner generate-config'),
|
||||||
|
* then register it with 'doas -u forgejo-runner forgejo-runner register'
|
||||||
|
* ran in the /var/lib/forgejo-runner directory.
|
||||||
|
EOF
|
||||||
|
|
||||||
|
exit 0
|
14
ilot/forgejo-runner/forgejo-runner.pre-upgrade
Normal file
14
ilot/forgejo-runner/forgejo-runner.pre-upgrade
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
addgroup -S forgejo-runner 2>/dev/null
|
||||||
|
adduser -S -D -H -h /var/lib/forgejo-runner -s /sbin/nologin -G forgejo-runner -g forgejo-runner forgejo-runner 2>/dev/null
|
||||||
|
|
||||||
|
cat >&2 <<EOF
|
||||||
|
* In order to setup the runner, create a config file
|
||||||
|
* in /etc/forgejo-runner/config.yaml (either from .example.yaml,
|
||||||
|
* or generating your own with 'forgejo-runner generate-config'),
|
||||||
|
* then register it with 'doas -u forgejo-runner forgejo-runner register'
|
||||||
|
* ran in the /var/lib/forgejo-runner directory.
|
||||||
|
EOF
|
||||||
|
|
||||||
|
exit 0
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=freescout
|
pkgname=freescout
|
||||||
pkgver=1.8.174
|
pkgver=1.8.171
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Free self-hosted help desk & shared mailbox"
|
pkgdesc="Free self-hosted help desk & shared mailbox"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -76,7 +76,7 @@ package() {
|
||||||
install -m755 -D "$srcdir"/freescout-manage.sh "$pkgdir"/usr/bin/freescout-manage
|
install -m755 -D "$srcdir"/freescout-manage.sh "$pkgdir"/usr/bin/freescout-manage
|
||||||
}
|
}
|
||||||
sha512sums="
|
sha512sums="
|
||||||
c5ec40b3dd7f6f593a950d96632e69d8e0a43e17f566f3d83b52aa44e2aac8ef98c536e9408faa834051d7fb3f07e003642f5e6e2a25a69ea51cf7b96290fb1d freescout-1.8.174.tar.gz
|
ae99edd7ab1f944cfc8606ae26b67a4898c2490c099a06cde0fa6f8dd35e737fdc3bfd9f96a13694f18a29704ad80c11f9bcd77e149e8d03dbb70defbfbf9c19 freescout-1.8.171.tar.gz
|
||||||
e4af6c85dc12f694bef2a02e4664e31ed50b2c109914d7ffad5001c2bbd764ef25b17ecaa59ff55ef41bccf17169bf910d1a08888364bdedd0ecc54d310e661f freescout.nginx
|
e4af6c85dc12f694bef2a02e4664e31ed50b2c109914d7ffad5001c2bbd764ef25b17ecaa59ff55ef41bccf17169bf910d1a08888364bdedd0ecc54d310e661f freescout.nginx
|
||||||
7ce9b3ee3a979db44f5e6d7daa69431e04a5281f364ae7be23e5a0a0547f96abc858d2a8010346be2fb99bd2355fb529e7030ed20d54f310249e61ed5db4d0ba freescout-manage.sh
|
7ce9b3ee3a979db44f5e6d7daa69431e04a5281f364ae7be23e5a0a0547f96abc858d2a8010346be2fb99bd2355fb529e7030ed20d54f310249e61ed5db4d0ba freescout-manage.sh
|
||||||
0cba00b7d945ce84f72a2812d40028a073a5278856f610e46dbfe0ac78deff6bf5eba7643635fa4bc64d070c4d49eb47d24ea0a05ba1e6ea76690bfd77906366 rename-client-to-membre-fr-en.patch
|
0cba00b7d945ce84f72a2812d40028a073a5278856f610e46dbfe0ac78deff6bf5eba7643635fa4bc64d070c4d49eb47d24ea0a05ba1e6ea76690bfd77906366 rename-client-to-membre-fr-en.patch
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=mastodon
|
pkgname=mastodon
|
||||||
_pkgname=$pkgname
|
_pkgname=$pkgname
|
||||||
pkgver=4.2.20
|
pkgver=4.2.15
|
||||||
_gittag=v$pkgver
|
_gittag=v$pkgver
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Self-hosted social media and network server based on ActivityPub and OStatus"
|
pkgdesc="Self-hosted social media and network server based on ActivityPub and OStatus"
|
||||||
|
@ -192,7 +192,7 @@ assets() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
132df11b54bf0f900e2ee6e149ddb730706a67fc6130ead63b327028fa590944f21a19bcba07d859885717208b6abc005d0aee7675fd8e0fb09ad8d6f8f631b7 mastodon-v4.2.20.tar.gz
|
3fbd6b865c4321c74251b8cfb78185d2c0454c4fe1d3c85cc01b2eaa37cf478e5ad78ab4df3c207e6d2257b223494c516878e180b6cae7f0ef9a1430b937f553 mastodon-v4.2.15.tar.gz
|
||||||
d49fea9451c97ccefe5e35b68e4274aeb427f9d1e910b89c1f6c810489c3bec1ccff72952fdaef95abf944b8aff0da84a52347540d36ff1fba5ccc19e1d935c6 mastodon.initd
|
d49fea9451c97ccefe5e35b68e4274aeb427f9d1e910b89c1f6c810489c3bec1ccff72952fdaef95abf944b8aff0da84a52347540d36ff1fba5ccc19e1d935c6 mastodon.initd
|
||||||
eefe12a31268245f802222c0001dac884e03adb0d301e53a1512a3cd204836ca03ad083908cd14d146cf0dce99e3a4366570efd0e40a9a490ccd381d4c63c32f mastodon.web.initd
|
eefe12a31268245f802222c0001dac884e03adb0d301e53a1512a3cd204836ca03ad083908cd14d146cf0dce99e3a4366570efd0e40a9a490ccd381d4c63c32f mastodon.web.initd
|
||||||
8fc9249c01693bb02b8d1a6177288d5d3549addde8c03eb35cc7a32dde669171872ebc2b5deb8019dc7a12970098f1af707171fa41129be31b04e1dc1651a777 mastodon.sidekiq.initd
|
8fc9249c01693bb02b8d1a6177288d5d3549addde8c03eb35cc7a32dde669171872ebc2b5deb8019dc7a12970098f1af707171fa41129be31b04e1dc1651a777 mastodon.sidekiq.initd
|
||||||
|
|
|
@ -1,325 +0,0 @@
|
||||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
||||||
# Contributor: jahway603 <jahway603@protonmail.com>
|
|
||||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
||||||
_pkgname=nextcloud
|
|
||||||
pkgver=30.0.8
|
|
||||||
pkgrel=0
|
|
||||||
is_latest=true
|
|
||||||
_pkgvermaj=${pkgver%%.*}
|
|
||||||
pkgname=nextcloud$_pkgvermaj
|
|
||||||
_replaced_ver=$(( _pkgvermaj - 1 ))
|
|
||||||
pkgdesc="A safe home for all your data"
|
|
||||||
url="https://nextcloud.com/"
|
|
||||||
arch="noarch"
|
|
||||||
license="AGPL-3.0-only"
|
|
||||||
_php=php83
|
|
||||||
_php_mods="-bcmath -ctype -curl -dom -gd -fileinfo -gmp -iconv -intl
|
|
||||||
-mbstring -opcache -openssl -pcntl -posix -session
|
|
||||||
-simplexml -xml -xmlreader -xmlwriter -zip"
|
|
||||||
depends="ca-certificates $_php ${_php_mods//-/$_php-}"
|
|
||||||
makedepends="xmlstarlet"
|
|
||||||
$is_latest && provides="$_pkgname=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-accessibility=$pkgver-r$pkgrel
|
|
||||||
$pkgname-accessibility=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-bruteforcesettings=$pkgver-r$pkgrel
|
|
||||||
$pkgname-bruteforcesettings=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-contactsinteraction=$pkgver-r$pkgrel
|
|
||||||
$pkgname-contactsinteraction=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-cloud_federation_api=$pkgver-r$pkgrel
|
|
||||||
$pkgname-cloud_federation_api=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-dav=$pkgver-r$pkgrel
|
|
||||||
$pkgname-dav=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-files=$pkgver-r$pkgrel
|
|
||||||
$pkgname-files=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-files_videoplayer=$pkgver-r$pkgrel
|
|
||||||
$pkgname-files_videoplayer=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-federatedfilesharing=$pkgver-r$pkgrel
|
|
||||||
$pkgname-federatedfilesharing=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-lookup_server_connector=$pkgver-r$pkgrel
|
|
||||||
$pkgname-lookup_server_connector=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-oauth2=$pkgver-r$pkgrel
|
|
||||||
$pkgname-oauth2=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-provisioning_api=$pkgver-r$pkgrel
|
|
||||||
$pkgname-provisioning_api=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-related_resources=$pkgver-r$pkgrel
|
|
||||||
$pkgname-related_resources=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-settings=$pkgver-r$pkgrel
|
|
||||||
$pkgname-settings=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-theming=$pkgver-r$pkgrel
|
|
||||||
$pkgname-theming=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-twofactor_backupcodes=$pkgver-r$pkgrel
|
|
||||||
$pkgname-twofactor_backupcodes=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-twofactor_nextcloud_notification=$pkgver-r$pkgrel
|
|
||||||
$pkgname-twofactor_nextcloud_notification=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-twofactor_totp=$pkgver-r$pkgrel
|
|
||||||
$pkgname-twofactor_totp=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-viewer=$pkgver-r$pkgrel
|
|
||||||
$pkgname-viewer=$pkgver-r$pkgrel
|
|
||||||
$_pkgname-workflowengine=$pkgver-r$pkgrel
|
|
||||||
$pkgname-workflowengine=$pkgver-r$pkgrel
|
|
||||||
" || provides="$pkgname-accessibility=$pkgver-r$pkgrel
|
|
||||||
$pkgname-bruteforcesettings=$pkgver-r$pkgrel
|
|
||||||
$pkgname-contactsinteraction=$pkgver-r$pkgrel
|
|
||||||
$pkgname-cloud_federation_api=$pkgver-r$pkgrel
|
|
||||||
$pkgname-dav=$pkgver-r$pkgrel
|
|
||||||
$pkgname-files=$pkgver-r$pkgrel
|
|
||||||
$pkgname-files_videoplayer=$pkgver-r$pkgrel
|
|
||||||
$pkgname-federatedfilesharing=$pkgver-r$pkgrel
|
|
||||||
$pkgname-lookup_server_connector=$pkgver-r$pkgrel
|
|
||||||
$pkgname-oauth2=$pkgver-r$pkgrel
|
|
||||||
$pkgname-provisioning_api=$pkgver-r$pkgrel
|
|
||||||
$pkgname-related_resources=$pkgver-r$pkgrel
|
|
||||||
$pkgname-settings=$pkgver-r$pkgrel
|
|
||||||
$pkgname-theming=$pkgver-r$pkgrel
|
|
||||||
$pkgname-twofactor_backupcodes=$pkgver-r$pkgrel
|
|
||||||
$pkgname-twofactor_nextcloud_notification=$pkgver-r$pkgrel
|
|
||||||
$pkgname-twofactor_totp=$pkgver-r$pkgrel
|
|
||||||
$pkgname-viewer=$pkgver-r$pkgrel
|
|
||||||
$pkgname-workflowengine=$pkgver-r$pkgrel
|
|
||||||
"
|
|
||||||
replaces="nextcloud$_replaced_ver"
|
|
||||||
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade $pkgname.post-install
|
|
||||||
$pkgname-initscript.post-install"
|
|
||||||
subpackages="$pkgname-doc $pkgname-initscript $pkgname-mysql $pkgname-pgsql $pkgname-sqlite
|
|
||||||
$pkgname-default-apps:_default_apps $pkgname-occ"
|
|
||||||
source="https://download.nextcloud.com/server/releases/nextcloud-$pkgver.tar.bz2
|
|
||||||
nextcloud-dont-chmod.patch
|
|
||||||
dont-update-htaccess.patch
|
|
||||||
disable-integrity-check-as-default.patch
|
|
||||||
use-external-docs-if-local-not-avail.patch
|
|
||||||
|
|
||||||
$_pkgname-config.php
|
|
||||||
$_pkgname.logrotate
|
|
||||||
$_pkgname.confd
|
|
||||||
$_pkgname.cron
|
|
||||||
$_pkgname-mysql.cnf
|
|
||||||
fpm-pool.conf
|
|
||||||
occ
|
|
||||||
"
|
|
||||||
options="!check"
|
|
||||||
pkgusers="nextcloud"
|
|
||||||
pkggroups="www-data"
|
|
||||||
builddir="$srcdir"/$_pkgname
|
|
||||||
|
|
||||||
# List of bundled apps to separate into subpackages. Keep it in sync!
|
|
||||||
# Note: Don't add "bruteforcesettings", "contactsinteraction",
|
|
||||||
# "cloud_federation_api", "dav", "files",
|
|
||||||
# "federatedfilesharing", "lookup_server_connector", "provisioning_api",
|
|
||||||
# "oauth2", "settings", "twofactor_backupcodes", "twofactor_totp",
|
|
||||||
# "twofactor_nextcloud_notification", "theming", "viewer",
|
|
||||||
# "workflowengine", "related_resources"
|
|
||||||
# here, these should be always installed.
|
|
||||||
_apps="activity
|
|
||||||
admin_audit
|
|
||||||
circles
|
|
||||||
comments
|
|
||||||
dashboard
|
|
||||||
encryption
|
|
||||||
federation
|
|
||||||
files_downloadlimit
|
|
||||||
files_external
|
|
||||||
files_pdfviewer
|
|
||||||
files_reminders
|
|
||||||
files_sharing
|
|
||||||
files_trashbin
|
|
||||||
files_versions
|
|
||||||
firstrunwizard
|
|
||||||
logreader
|
|
||||||
nextcloud_announcements
|
|
||||||
notifications
|
|
||||||
password_policy
|
|
||||||
photos
|
|
||||||
privacy
|
|
||||||
recommendations
|
|
||||||
serverinfo
|
|
||||||
support
|
|
||||||
sharebymail
|
|
||||||
survey_client
|
|
||||||
suspicious_login
|
|
||||||
systemtags
|
|
||||||
text
|
|
||||||
user_ldap
|
|
||||||
user_status
|
|
||||||
weather_status
|
|
||||||
webhook_listeners
|
|
||||||
"
|
|
||||||
for _i in $_apps; do
|
|
||||||
subpackages="$subpackages $pkgname-$_i:_package_app"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Directory for apps shipped with Nextcloud.
|
|
||||||
_appsdir="usr/share/webapps/$_pkgname/apps"
|
|
||||||
|
|
||||||
package() {
|
|
||||||
local basedir="var/lib/$_pkgname"
|
|
||||||
local datadir="$basedir/data"
|
|
||||||
local wwwdir="usr/share/webapps/$_pkgname"
|
|
||||||
local confdir="etc/$_pkgname"
|
|
||||||
|
|
||||||
mkdir -p "$pkgdir"
|
|
||||||
cd "$pkgdir"
|
|
||||||
|
|
||||||
mkdir -p ./${wwwdir%/*}
|
|
||||||
cp -a "$builddir" ./$wwwdir
|
|
||||||
|
|
||||||
chmod +x ./$wwwdir/occ
|
|
||||||
chmod 664 ./$wwwdir/.htaccess \
|
|
||||||
./$wwwdir/.user.ini
|
|
||||||
|
|
||||||
# Let's not ship upstream's 'updatenotification' app and updater, which
|
|
||||||
# has zero chance of working and a big chance of blowing things up.
|
|
||||||
rm -r ./$wwwdir/apps/updatenotification \
|
|
||||||
./$wwwdir/lib/private/Updater/VersionCheck.php
|
|
||||||
|
|
||||||
# Replace bundled CA bundle with ours.
|
|
||||||
ln -sf /etc/ssl/certs/ca-certificates.crt ./$wwwdir/resources/config/ca-bundle.crt
|
|
||||||
|
|
||||||
install -d -m 770 -o nextcloud -g www-data \
|
|
||||||
./$confdir ./$datadir ./$basedir/apps
|
|
||||||
install -d -m 775 -o nextcloud -g www-data \
|
|
||||||
./var/log/$_pkgname
|
|
||||||
|
|
||||||
# Create symlink from web root to site-apps, so web server can find
|
|
||||||
# assets w/o explicit configuration for this layout.
|
|
||||||
ln -s /$basedir/apps ./$wwwdir/apps-appstore
|
|
||||||
|
|
||||||
mv ./$wwwdir/config/* ./$confdir/
|
|
||||||
rm -r ./$wwwdir/config
|
|
||||||
ln -s /$confdir ./$wwwdir/config
|
|
||||||
|
|
||||||
mkdir -p ./usr/share/doc/$pkgname
|
|
||||||
mv ./$wwwdir/core/doc ./usr/share/doc/$pkgname/core
|
|
||||||
|
|
||||||
install -m 660 -o nextcloud -g www-data \
|
|
||||||
"$srcdir"/$_pkgname-config.php ./$confdir/config.php
|
|
||||||
|
|
||||||
install -m 644 -D "$srcdir"/$_pkgname.logrotate ./etc/logrotate.d/$_pkgname
|
|
||||||
|
|
||||||
install -m 755 -D "$srcdir"/occ ./usr/bin/occ
|
|
||||||
|
|
||||||
# Clean some unnecessary files.
|
|
||||||
find . -name .gitignore -delete \
|
|
||||||
-o -name .bower.json -delete \
|
|
||||||
-o -name 'README*' -delete \
|
|
||||||
-o -name 'CHANGELOG*' -delete \
|
|
||||||
-o -name 'CONTRIBUTING*' -delete
|
|
||||||
find . -name .github -type d -prune -exec rm -r {} \;
|
|
||||||
}
|
|
||||||
|
|
||||||
doc() {
|
|
||||||
replaces="nextcloud$_replaced_ver-doc"
|
|
||||||
$is_latest && provides="$_pkgname-doc=$pkgver-r$pkgrel"
|
|
||||||
default_doc
|
|
||||||
|
|
||||||
local target="$subpkgdir"/usr/share/webapps/$_pkgname/core/doc
|
|
||||||
mkdir -p "${target%/*}"
|
|
||||||
ln -s ../../../doc/$pkgname/core "$target"
|
|
||||||
install -m644 README.alpine "$subpkgdir"/usr/share/webapps/$_pkgname/README.alpine
|
|
||||||
}
|
|
||||||
|
|
||||||
initscript() {
|
|
||||||
pkgdesc="Init script that runs Nextcloud with php-fpm"
|
|
||||||
depends="$pkgname $_php-fpm"
|
|
||||||
replaces="nextcloud$_replaced_ver-initscript"
|
|
||||||
$is_latest && provides="$_pkgname-initscript=$pkgver-r$pkgrel"
|
|
||||||
|
|
||||||
local confdir="$subpkgdir/etc/$_php/php-fpm.d"
|
|
||||||
local fpm_name="php-fpm${_php#php}"
|
|
||||||
|
|
||||||
install -m 644 -D "$srcdir"/fpm-pool.conf "$confdir"/$_pkgname.conf
|
|
||||||
install -m 644 -D "$srcdir"/$_pkgname.confd "$subpkgdir"/etc/conf.d/$_pkgname
|
|
||||||
install -m 755 -D "$srcdir"/$_pkgname.cron "$subpkgdir"/etc/periodic/15min/$_pkgname
|
|
||||||
|
|
||||||
mkdir -p "$subpkgdir"/etc/init.d
|
|
||||||
ln -s $fpm_name "$subpkgdir"/etc/init.d/$_pkgname
|
|
||||||
}
|
|
||||||
|
|
||||||
pgsql() {
|
|
||||||
pkgdesc="Nextcloud PostgreSQL support"
|
|
||||||
depends="$pkgname $_php-pgsql $_php-pdo_pgsql"
|
|
||||||
replaces="nextcloud$_replaced_ver-pgsql"
|
|
||||||
$is_latest && provides="$_pkgname-pgsql=$pkgver-r$pkgrel"
|
|
||||||
mkdir -p "$subpkgdir"
|
|
||||||
}
|
|
||||||
|
|
||||||
sqlite() {
|
|
||||||
pkgdesc="Nextcloud SQLite support"
|
|
||||||
depends="$pkgname $_php-sqlite3 $_php-pdo_sqlite"
|
|
||||||
replaces="nextcloud$_replaced_ver-sqlite"
|
|
||||||
$is_latest && provides="$_pkgname-sqlite=$pkgver-r$pkgrel"
|
|
||||||
mkdir -p "$subpkgdir"
|
|
||||||
}
|
|
||||||
|
|
||||||
mysql() {
|
|
||||||
pkgdesc="Nextcloud MySQL support"
|
|
||||||
depends="$pkgname $_php-pdo_mysql"
|
|
||||||
replaces="nextcloud$_replaced_ver-mysql"
|
|
||||||
$is_latest && provides="$_pkgname-mysql=$pkgver-r$pkgrel"
|
|
||||||
|
|
||||||
mkdir -p "$subpkgdir"
|
|
||||||
install -m 644 -D "$srcdir"/$_pkgname-mysql.cnf "$subpkgdir"/etc/my.cnf.d/$_pkgname.cnf
|
|
||||||
}
|
|
||||||
|
|
||||||
occ() {
|
|
||||||
pkgdesc="Nextcloud OCC cmd"
|
|
||||||
replaces="nextcloud$_replaced_ver-occ"
|
|
||||||
$is_latest && provides="$_pkgname-occ=$pkgver-r$pkgrel"
|
|
||||||
mkdir -p "$subpkgdir/usr/share/webapps/$_pkgname"
|
|
||||||
amove "usr/share/webapps/$_pkgname/occ"
|
|
||||||
amove "usr/bin/occ"
|
|
||||||
}
|
|
||||||
|
|
||||||
_default_apps() {
|
|
||||||
pkgdesc="Nextcloud default apps"
|
|
||||||
depends="$pkgname"
|
|
||||||
replaces="nextcloud$_replaced_ver-default-apps"
|
|
||||||
$is_latest && provides="$_pkgname-default-apps=$pkgver-r$pkgrel"
|
|
||||||
|
|
||||||
local path; for path in "$pkgdir"/"$_appsdir"/*; do
|
|
||||||
if grep -q '<default_enable\s*/>' "$path"/appinfo/info.xml; then
|
|
||||||
depends="$depends $pkgname-${path##*/}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p "$subpkgdir"
|
|
||||||
}
|
|
||||||
|
|
||||||
_package_app() {
|
|
||||||
local appname="${subpkgname#"$pkgname"-}"
|
|
||||||
local appinfo="$pkgdir/$_appsdir/$appname/appinfo/info.xml"
|
|
||||||
|
|
||||||
local name=$(xmlstarlet sel -t -v 'info/name/text()' "$appinfo")
|
|
||||||
pkgdesc="Nextcloud ${name:-$appname} app"
|
|
||||||
replaces="nextcloud$_replaced_ver-$appname"
|
|
||||||
$is_latest && provides="$_pkgname-$appname=$pkgver-r$pkgrel"
|
|
||||||
|
|
||||||
local php_deps=$(xmlstarlet sel -t -v 'info/dependencies/lib/text()' "$appinfo" \
|
|
||||||
| xargs -r -n1 printf "$_php-%s\n")
|
|
||||||
local app_deps=""
|
|
||||||
|
|
||||||
case "$appname" in
|
|
||||||
files_sharing) app_deps="-federatedfilesharing"
|
|
||||||
;;
|
|
||||||
serverinfo) app_deps="-files_sharing"
|
|
||||||
esac
|
|
||||||
|
|
||||||
depends="$pkgname $php_deps ${app_deps//-/$pkgname-}"
|
|
||||||
|
|
||||||
mkdir -p "$subpkgdir"/$_appsdir
|
|
||||||
mv "$pkgdir"/$_appsdir/$appname "$subpkgdir"/$_appsdir/
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
0bca2f42ccfb7db4befdd2aeeb1df72d2f9acad88907706f8524ced55bd0213b30b687a5e4c623615e59f22246562e195fd74bbb409c4f60b713482e1237d755 nextcloud-30.0.8.tar.bz2
|
|
||||||
daeabeaa315bb908cc1e49612cce4b2debd71d17acb84b5d14e15fe124c907884b72d54e9aa669ec209eee1b1934d0bc242d72a28d8db7339cfb08383f66fd5c nextcloud-dont-chmod.patch
|
|
||||||
12f4a39aef0f81a0115c81bf2b345cc194537a7e8300748b800b0e35bc07928091296074b23c2019c17aced69854a11d1ed7225f67eefd27cf00c3969a75c5b0 dont-update-htaccess.patch
|
|
||||||
cb04252d01407c7030e87dd54616c621ea0f85ef0212674b1161288182538cae0fb31c67e7cc07c66f9607075774c64e386009cc66365b1f1b155f6ad4f83ac0 disable-integrity-check-as-default.patch
|
|
||||||
c0a9b7c31c8beaca711f8e97d98441007b3dca7fb3d316d2eacd28a73b5233def6f846c02d98202f75efb9cb248b8787a80e20b07c32d1c7534a0e54bb20feab use-external-docs-if-local-not-avail.patch
|
|
||||||
5f73cd9399fa484ef15bd47e803c93381deffbc7699eceadbb5c27e43b20156806d74e5021a64d28f0165ef87b519e962780651711a37bceb9f0b04455dfdce1 nextcloud-config.php
|
|
||||||
7388458a9e8b7afd3d3269718306410ffa59c3c23da4bef367a4d7f6d2570136fae9dd421b19c1441e7ffb15a5405e18bb5da67b1a15f9f45e8b98d3fda532ba nextcloud.logrotate
|
|
||||||
dcc57735d7d4af4a7ebbdd1186d301e51d2ae4675022aea6bf1111222dfa188a3a490ebd6e7c8a7ac30046cb7d93f81cec72a51acbc60d0c10b7fb64630c637a nextcloud.confd
|
|
||||||
06a62deae219d09df7acbf38ccb1dcac691dd882459ef70243b5583d7ed21d1ea81dbf0751b4e7199c0de9878755a3882e139d9ccc280bf2e90cbe33fb565487 nextcloud.cron
|
|
||||||
b9ad5434c384c96608f00d65c45f782e279c6756da8fb706f62ecaf7b7aa420077cb6989da5e85becc47418884ec0672e7db874174454ca679fdca84a50f537f nextcloud-mysql.cnf
|
|
||||||
78ef204ee7c12b228c0b7b04333514e561c1c8e19153f5507224fa4fdd112aaaa6331747014f3b72181298f52ecd4223bcff4bd963b49b49153265254b07e79b fpm-pool.conf
|
|
||||||
be54ad9308c8250ff3aef3514b10b228487fc2fbdefa1d28dbbb18a4770f7d9fda90e80c722de8e3c25ce752d124ff79314f16f783b1e5ad67df4e1fe6e880f9 occ
|
|
||||||
"
|
|
|
@ -1,5 +0,0 @@
|
||||||
## nextcloud-serverinfo package
|
|
||||||
|
|
||||||
If you are using the provided nextcloud php-fpm configuration,
|
|
||||||
nextcloud-serverinfo package requires to enable 'shell_exec' function
|
|
||||||
in php configuration file 'nextcloud.conf'.
|
|
|
@ -1,23 +0,0 @@
|
||||||
We patch some files and Nextcloud's integrity check doesn't like it...
|
|
||||||
APK ensures integrity of all installed files, so this Nextcloud's integrity
|
|
||||||
check doesn't add any value.
|
|
||||||
---
|
|
||||||
lib/private/IntegrityCheck/Checker.php | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php
|
|
||||||
index e8fd087e..cfbaeb7d 100644
|
|
||||||
--- a/lib/private/IntegrityCheck/Checker.php
|
|
||||||
+++ b/lib/private/IntegrityCheck/Checker.php
|
|
||||||
@@ -91,7 +91,7 @@ class Checker {
|
|
||||||
* applicable for very specific scenarios and we should not advertise it
|
|
||||||
* too prominent. So please do not add it to config.sample.php.
|
|
||||||
*/
|
|
||||||
- return !($this->config?->getSystemValueBool('integrity.check.disabled', false) ?? false);
|
|
||||||
+ return !($this->config?->getSystemValueBool('integrity.check.disabled', true) ?? true);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
--
|
|
||||||
2.44.0
|
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
Don't mess with .htaccess files.
|
|
||||||
|
|
||||||
Patch ported from https://src.fedoraproject.org/cgit/rpms/nextcloud.git/tree/nextcloud-9.1.0-dont_update_htacess.patch
|
|
||||||
---
|
|
||||||
core/register_command.php | 1 -
|
|
||||||
lib/private/Updater.php | 8 --------
|
|
||||||
2 files changed, 9 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/core/register_command.php b/core/register_command.php
|
|
||||||
index 4a84e551..a5158dc4 100644
|
|
||||||
--- a/core/register_command.php
|
|
||||||
+++ b/core/register_command.php
|
|
||||||
@@ -136,7 +136,6 @@ if ($config->getSystemValueBool('installed', false)) {
|
|
||||||
$application->add(Server::get(Command\Maintenance\Mimetype\UpdateDB::class));
|
|
||||||
$application->add(Server::get(Command\Maintenance\Mimetype\UpdateJS::class));
|
|
||||||
$application->add(Server::get(Command\Maintenance\Mode::class));
|
|
||||||
- $application->add(Server::get(Command\Maintenance\UpdateHtaccess::class));
|
|
||||||
$application->add(Server::get(Command\Maintenance\UpdateTheme::class));
|
|
||||||
|
|
||||||
$application->add(Server::get(Command\Upgrade::class));
|
|
||||||
diff --git a/lib/private/Updater.php b/lib/private/Updater.php
|
|
||||||
index 09866273..59144308 100644
|
|
||||||
--- a/lib/private/Updater.php
|
|
||||||
+++ b/lib/private/Updater.php
|
|
||||||
@@ -230,14 +230,6 @@ class Updater extends BasicEmitter {
|
|
||||||
throw new \Exception('Updates between multiple major versions and downgrades are unsupported.');
|
|
||||||
}
|
|
||||||
|
|
||||||
- // Update .htaccess files
|
|
||||||
- try {
|
|
||||||
- Setup::updateHtaccess();
|
|
||||||
- Setup::protectDataDirectory();
|
|
||||||
- } catch (\Exception $e) {
|
|
||||||
- throw new \Exception($e->getMessage());
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
// create empty file in data dir, so we can later find
|
|
||||||
// out that this is indeed an ownCloud data directory
|
|
||||||
// (in case it didn't exist before)
|
|
||||||
--
|
|
||||||
2.44.0
|
|
||||||
|
|
|
@ -1,200 +0,0 @@
|
||||||
[global]
|
|
||||||
; Error log file
|
|
||||||
; Default Value: log/php-fpm.log
|
|
||||||
error_log = /var/log/nextcloud/php-fpm.log
|
|
||||||
|
|
||||||
; Log level
|
|
||||||
; Possible Values: alert, error, warning, notice, debug
|
|
||||||
; Default Value: notice
|
|
||||||
log_level = warning
|
|
||||||
|
|
||||||
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
|
|
||||||
; interval set by emergency_restart_interval then FPM will restart. A value
|
|
||||||
; of '0' means 'Off'.
|
|
||||||
; Default Value: 0
|
|
||||||
emergency_restart_threshold = 10
|
|
||||||
|
|
||||||
; Interval of time used by emergency_restart_interval to determine when
|
|
||||||
; a graceful restart will be initiated. This can be useful to work around
|
|
||||||
; accidental corruptions in an accelerator's shared memory.
|
|
||||||
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
|
|
||||||
; Default Unit: seconds
|
|
||||||
; Default Value: 0
|
|
||||||
emergency_restart_interval = 1m
|
|
||||||
|
|
||||||
; Time limit for child processes to wait for a reaction on signals from master.
|
|
||||||
; Available units: s(econds), m(inutes), h(ours), or d(ays)
|
|
||||||
; Default Unit: seconds
|
|
||||||
; Default Value: 0
|
|
||||||
process_control_timeout = 10s
|
|
||||||
|
|
||||||
|
|
||||||
[nextcloud]
|
|
||||||
user = nextcloud
|
|
||||||
group = www-data
|
|
||||||
|
|
||||||
; The address on which to accept FastCGI requests.
|
|
||||||
; Valid syntaxes are:
|
|
||||||
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
|
|
||||||
; a specific port;
|
|
||||||
; 'port' - to listen on a TCP socket to all addresses on a
|
|
||||||
; specific port;
|
|
||||||
; '/path/to/unix/socket' - to listen on a unix socket (the path is *not*
|
|
||||||
; relative to chroot!)
|
|
||||||
; Note: This value is mandatory.
|
|
||||||
listen = /run/nextcloud/fastcgi.sock
|
|
||||||
|
|
||||||
; Set permissions for unix socket, if one is used. In Linux, read/write
|
|
||||||
; permissions must be set in order to allow connections from a web server. Many
|
|
||||||
; BSD-derived systems allow connections regardless of permissions.
|
|
||||||
; Default Values: user and group are set as the running user
|
|
||||||
; mode is set to 0666
|
|
||||||
listen.mode = 0660
|
|
||||||
|
|
||||||
; Choose how the process manager will control the number of child processes.
|
|
||||||
; Possible Values:
|
|
||||||
; static ... a fixed number of child processes.
|
|
||||||
; dynamic ... the number of child processes are set dynamically.
|
|
||||||
; ondemand ... no children are created at startup; children will be forked
|
|
||||||
; when new requests will connect.
|
|
||||||
; Note: This value is mandatory.
|
|
||||||
pm = ondemand
|
|
||||||
|
|
||||||
; The number of child processes to be created when pm is set to 'static' and the
|
|
||||||
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
|
|
||||||
; This value sets the limit on the number of simultaneous requests that will be
|
|
||||||
; served.
|
|
||||||
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
|
||||||
; Note: This value is mandatory.
|
|
||||||
pm.max_children = 10
|
|
||||||
|
|
||||||
; The number of seconds after which an idle process will be killed.
|
|
||||||
; Note: Used only when pm is set to 'ondemand'
|
|
||||||
; Default Value: 10s
|
|
||||||
pm.process_idle_timeout = 120s
|
|
||||||
|
|
||||||
; The number of requests each child process should execute before respawning.
|
|
||||||
; This can be useful to work around memory leaks in 3rd party libraries. For
|
|
||||||
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
|
|
||||||
; Default Value: 0
|
|
||||||
pm.max_requests = 500
|
|
||||||
|
|
||||||
; The URI to view the FPM status page. If this value is not set, no URI will be
|
|
||||||
; recognized as a status page.
|
|
||||||
; Note: The value must start with a leading slash (/). The value can be
|
|
||||||
; anything, but it may not be a good idea to use the .php extension or it
|
|
||||||
; may conflict with a real PHP file.
|
|
||||||
; Default Value: not set
|
|
||||||
pm.status_path =
|
|
||||||
|
|
||||||
; The ping URI to call the monitoring page of FPM. If this value is not set, no
|
|
||||||
; URI will be recognized as a ping page. This could be used to test from outside
|
|
||||||
; that FPM is alive and responding, or to
|
|
||||||
; - create a graph of FPM availability (rrd or such);
|
|
||||||
; - remove a server from a group if it is not responding (load balancing);
|
|
||||||
; - trigger alerts for the operating team (24/7).
|
|
||||||
; Note: The value must start with a leading slash (/). The value can be
|
|
||||||
; anything, but it may not be a good idea to use the .php extension or it
|
|
||||||
; may conflict with a real PHP file.
|
|
||||||
; Default Value: not set
|
|
||||||
ping.path = /ping
|
|
||||||
|
|
||||||
; The timeout for serving a single request after which the worker process will
|
|
||||||
; be killed. This option should be used when the 'max_execution_time' ini option
|
|
||||||
; does not stop script execution for some reason. A value of '0' means 'off'.
|
|
||||||
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
|
||||||
; Default Value: 0
|
|
||||||
;request_terminate_timeout = 0
|
|
||||||
|
|
||||||
; The timeout for serving a single request after which a PHP backtrace will be
|
|
||||||
; dumped to the 'slowlog' file. A value of '0s' means 'off'.
|
|
||||||
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
|
||||||
; Default Value: 0
|
|
||||||
;request_slowlog_timeout = 0
|
|
||||||
|
|
||||||
; The log file for slow requests
|
|
||||||
; Default Value: not set
|
|
||||||
; Note: slowlog is mandatory if request_slowlog_timeout is set
|
|
||||||
; Note: the path is *not* relative to chroot.
|
|
||||||
;slowlog = /var/log/nextcloud/php-fpm.slow.log
|
|
||||||
|
|
||||||
; Redirect worker stdout and stderr into main error log. If not set, stdout and
|
|
||||||
; stderr will be redirected to /dev/null according to FastCGI specs.
|
|
||||||
; Note: on highloaded environement, this can cause some delay in the page
|
|
||||||
; process time (several ms).
|
|
||||||
; Default Value: no
|
|
||||||
;catch_workers_output = yes
|
|
||||||
|
|
||||||
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
|
|
||||||
; the current environment.
|
|
||||||
; Default Value: clean env
|
|
||||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
|
||||||
env[TMP] = /tmp
|
|
||||||
env[TMPDIR] = /tmp
|
|
||||||
env[TEMP] = /tmp
|
|
||||||
|
|
||||||
; Additional php.ini defines, specific to this pool of workers. These settings
|
|
||||||
; overwrite the values previously defined in the php.ini. The directives are the
|
|
||||||
; same as the PHP SAPI:
|
|
||||||
; php_value/php_flag - you can set classic ini defines which can
|
|
||||||
; be overwritten from PHP call 'ini_set'.
|
|
||||||
; php_admin_value/php_admin_flag - these directives won't be overwritten by
|
|
||||||
; PHP call 'ini_set'
|
|
||||||
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
|
|
||||||
;
|
|
||||||
; Defining 'extension' will load the corresponding shared extension from
|
|
||||||
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
|
|
||||||
; overwrite previously defined php.ini values, but will append the new value
|
|
||||||
; instead.
|
|
||||||
;
|
|
||||||
; Note: path INI options can be relative and will be expanded with the prefix
|
|
||||||
; (pool, global or /usr/lib/php7.x)
|
|
||||||
|
|
||||||
; Allow HTTP file uploads.
|
|
||||||
php_admin_flag[file_uploads] = true
|
|
||||||
|
|
||||||
; Maximal size of a file that can be uploaded via web interface.
|
|
||||||
php_admin_value[memory_limit] = 512M
|
|
||||||
php_admin_value[post_max_size] = 513M
|
|
||||||
php_admin_value[upload_max_filesize] = 513M
|
|
||||||
|
|
||||||
; Where to store temporary files.
|
|
||||||
php_admin_value[session.save_path] = /var/tmp/nextcloud
|
|
||||||
php_admin_value[sys_temp_dir] = /var/tmp/nextcloud
|
|
||||||
php_admin_value[upload_tmp_dir] = /var/tmp/nextcloud
|
|
||||||
|
|
||||||
; Log errors to specified file.
|
|
||||||
php_admin_flag[log_errors] = on
|
|
||||||
php_admin_value[error_log] = /var/log/nextcloud/php.error.log
|
|
||||||
|
|
||||||
; OPcache error_log file name. Empty string assumes "stderr"
|
|
||||||
php_admin_value[opcache.error_log] = /var/log/nextcloud/php.error.log
|
|
||||||
|
|
||||||
; Output buffering is a mechanism for controlling how much output data
|
|
||||||
; (excluding headers and cookies) PHP should keep internally before pushing that
|
|
||||||
; data to the client. If your application's output exceeds this setting, PHP
|
|
||||||
; will send that data in chunks of roughly the size you specify.
|
|
||||||
; This must be disabled for ownCloud.
|
|
||||||
php_admin_flag[output_buffering] = false
|
|
||||||
|
|
||||||
; Overload(replace) single byte functions by mbstring functions.
|
|
||||||
; This must be disabled for ownCloud.
|
|
||||||
php_admin_flag[mbstring.func_overload] = false
|
|
||||||
|
|
||||||
; Never populate the $HTTP_RAW_POST_DATA variable.
|
|
||||||
; http://php.net/always-populate-raw-post-data
|
|
||||||
php_admin_value[always_populate_raw_post_data] = -1
|
|
||||||
|
|
||||||
; Disable certain functions for security reasons.
|
|
||||||
; http://php.net/disable-functions
|
|
||||||
php_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,curl_multi_exec,show_source
|
|
||||||
|
|
||||||
; Set recommended settings for OpCache.
|
|
||||||
; https://docs.nextcloud.com/server/13/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
|
|
||||||
php_admin_flag[opcache.enable] = true
|
|
||||||
php_admin_flag[opcache.enable_cli] = true
|
|
||||||
php_admin_flag[opcache.save_comments] = true
|
|
||||||
php_admin_value[opcache.interned_strings_buffer] = 8
|
|
||||||
php_admin_value[opcache.max_accelerated_files] = 10000
|
|
||||||
php_admin_value[opcache.memory_consumption] = 128
|
|
||||||
php_admin_value[opcache.revalidate_freq] = 1
|
|
|
@ -1,37 +0,0 @@
|
||||||
<?php
|
|
||||||
$CONFIG = array (
|
|
||||||
'datadirectory' => '/var/lib/nextcloud/data',
|
|
||||||
'logfile' => '/var/log/nextcloud/nextcloud.log',
|
|
||||||
'apps_paths' => array (
|
|
||||||
// Read-only location for apps shipped with Nextcloud and installed by apk.
|
|
||||||
0 => array (
|
|
||||||
'path' => '/usr/share/webapps/nextcloud/apps',
|
|
||||||
'url' => '/apps',
|
|
||||||
'writable' => false,
|
|
||||||
),
|
|
||||||
// Writable location for apps installed from AppStore.
|
|
||||||
1 => array (
|
|
||||||
'path' => '/var/lib/nextcloud/apps',
|
|
||||||
'url' => '/apps-appstore',
|
|
||||||
'writable' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'updatechecker' => false,
|
|
||||||
'check_for_working_htaccess' => false,
|
|
||||||
|
|
||||||
// Uncomment to enable Zend OPcache.
|
|
||||||
//'memcache.local' => '\OC\Memcache\APCu',
|
|
||||||
|
|
||||||
// Uncomment this and add user nextcloud to the redis group to enable Redis
|
|
||||||
// cache for file locking. This is highly recommended, see
|
|
||||||
// https://github.com/nextcloud/server/issues/9305.
|
|
||||||
//'memcache.locking' => '\OC\Memcache\Redis',
|
|
||||||
//'redis' => array(
|
|
||||||
// 'host' => '/run/redis/redis.sock',
|
|
||||||
// 'port' => 0,
|
|
||||||
// 'dbindex' => 0,
|
|
||||||
// 'timeout' => 1.5,
|
|
||||||
//),
|
|
||||||
|
|
||||||
'installed' => false,
|
|
||||||
);
|
|
|
@ -1,46 +0,0 @@
|
||||||
commit d8f09abd65e5fd620b8b0d720daee293c355660c
|
|
||||||
Author: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
||||||
Date: Mon Aug 31 06:59:15 2020 +0000
|
|
||||||
|
|
||||||
Don't chmod. The package takes care of setting the right permissions for directories and files
|
|
||||||
|
|
||||||
diff --git a/lib/private/Config.php b/lib/private/Config.php
|
|
||||||
index cbdbc5b2..1118981b 100644
|
|
||||||
--- a/lib/private/Config.php
|
|
||||||
+++ b/lib/private/Config.php
|
|
||||||
@@ -242,9 +242,6 @@ class Config {
|
|
||||||
touch($this->configFilePath);
|
|
||||||
$filePointer = fopen($this->configFilePath, 'r+');
|
|
||||||
|
|
||||||
- // Prevent others not to read the config
|
|
||||||
- chmod($this->configFilePath, 0640);
|
|
||||||
-
|
|
||||||
// File does not exist, this can happen when doing a fresh install
|
|
||||||
if (!is_resource($filePointer)) {
|
|
||||||
throw new HintException(
|
|
||||||
diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php
|
|
||||||
index 9e9abb11..7db25286 100644
|
|
||||||
--- a/lib/private/Log/File.php
|
|
||||||
+++ b/lib/private/Log/File.php
|
|
||||||
@@ -82,9 +82,6 @@ class File extends LogDetails implements IWriter, IFileBased {
|
|
||||||
public function write(string $app, $message, int $level) {
|
|
||||||
$entry = $this->logDetailsAsJSON($app, $message, $level);
|
|
||||||
$handle = @fopen($this->logFile, 'a');
|
|
||||||
- if ($this->logFileMode > 0 && is_file($this->logFile) && (fileperms($this->logFile) & 0777) != $this->logFileMode) {
|
|
||||||
- @chmod($this->logFile, $this->logFileMode);
|
|
||||||
- }
|
|
||||||
if ($handle) {
|
|
||||||
fwrite($handle, $entry."\n");
|
|
||||||
fclose($handle);
|
|
||||||
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
|
|
||||||
index 71f6edba..216abdf8 100644
|
|
||||||
--- a/lib/private/legacy/OC_Util.php
|
|
||||||
+++ b/lib/private/legacy/OC_Util.php
|
|
||||||
@@ -1004,7 +1004,6 @@ class OC_Util {
|
|
||||||
. ' cannot be listed by other users.');
|
|
||||||
$perms = substr(decoct(@fileperms($dataDirectory)), -3);
|
|
||||||
if (substr($perms, -1) !== '0') {
|
|
||||||
- chmod($dataDirectory, 0770);
|
|
||||||
clearstatcache();
|
|
||||||
$perms = substr(decoct(@fileperms($dataDirectory)), -3);
|
|
||||||
if ($perms[2] !== '0') {
|
|
|
@ -1,3 +0,0 @@
|
||||||
[server]
|
|
||||||
# See https://github.com/nextcloud/server/issues/25436
|
|
||||||
innodb_read_only_compressed=off
|
|
|
@ -1,8 +0,0 @@
|
||||||
# Config file for /etc/init.d/nextcloud
|
|
||||||
|
|
||||||
name="Nextcloud"
|
|
||||||
user="nextcloud"
|
|
||||||
group="www-data"
|
|
||||||
|
|
||||||
# Uncomment if you use Nextcloud with Redis for caching.
|
|
||||||
#rc_need="redis"
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Run only when nextcloud service is started.
|
|
||||||
if rc-service nextcloud -q status >/dev/null 2>&1; then
|
|
||||||
su nextcloud -s /bin/sh -c 'php83 -f /usr/share/webapps/nextcloud/cron.php'
|
|
||||||
fi
|
|
|
@ -1,6 +0,0 @@
|
||||||
/var/log/nextcloud/*.log {
|
|
||||||
daily
|
|
||||||
compress
|
|
||||||
copytruncate
|
|
||||||
su nextcloud www-data
|
|
||||||
}
|
|
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# It's not needed to be writable for www-data group when running with php-fpm.
|
|
||||||
for dir in /etc/nextcloud \
|
|
||||||
/etc/nextcloud/config.php \
|
|
||||||
/var/lib/nextcloud/data \
|
|
||||||
/var/lib/nextcloud/apps
|
|
||||||
do
|
|
||||||
chmod g-w $dir
|
|
||||||
done
|
|
||||||
chgrp root /etc/nextcloud/config.php
|
|
||||||
|
|
||||||
# This must be writable (only) by nextcloud user.
|
|
||||||
chmod 750 /var/log/nextcloud
|
|
||||||
|
|
||||||
mkdir /var/tmp/nextcloud # If /var/tmp doesn't exist there's a big problem
|
|
||||||
chown nextcloud /var/tmp/nextcloud
|
|
||||||
chmod 700 /var/tmp/nextcloud
|
|
||||||
|
|
||||||
cat <<EOF
|
|
||||||
*
|
|
||||||
* Point your web server to /run/nextcloud/fastcgi.sock and start Nextcloud with
|
|
||||||
* /etc/init.d/nextcloud start. You can modify php-fpm settings in
|
|
||||||
* /etc/php83/fpm.d/nextcloud.conf.
|
|
||||||
*
|
|
||||||
EOF
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# this package could be installed as consequence of an upgrade
|
|
||||||
echo
|
|
||||||
echo ' * If you are upgrading to a versioned package (starts at v29.0.4-r1),' >&2
|
|
||||||
echo ' please do the following:' >&2
|
|
||||||
echo
|
|
||||||
echo ' * Run "apk upgrade -a" a second time to complete the upgrade of all' >&2
|
|
||||||
echo ' nextcloud packages' >&2
|
|
||||||
echo ' * Run "occ upgrade" to finish upgrading your Nextcloud instance' >&2
|
|
||||||
echo ' * NOTE: since v29.0.4-r1 "occ" command is now in package "nextcloudNN-occ"' >&2
|
|
||||||
echo
|
|
|
@ -1,47 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ver_new="$1"
|
|
||||||
ver_old="$2"
|
|
||||||
|
|
||||||
if [ $(apk version -t "$ver_old" '12.0.0-r2') = '<' ]; then
|
|
||||||
cat >&2 <<-EOF
|
|
||||||
*
|
|
||||||
* All Nextcloud's bundled apps (except "files" and "dav") have been moved to
|
|
||||||
* separate subpackages (e.g. nextcloud-activity). If you want to install
|
|
||||||
* all apps that are enabled by default at once, run:
|
|
||||||
*
|
|
||||||
* apk add nextcloud-default-apps
|
|
||||||
*
|
|
||||||
EOF
|
|
||||||
|
|
||||||
if [ "$(ls -A /var/lib/nextcloud/apps)" ]; then
|
|
||||||
cat >&2 <<-EOF
|
|
||||||
*
|
|
||||||
* Nextcloud's bundled apps have been moved from /var/lib/nextcloud/apps
|
|
||||||
* to /usr/share/webapps/nextcloud/apps. Only apps installed from App Store
|
|
||||||
* should be stored in /var/lib/nextcloud/apps.
|
|
||||||
*
|
|
||||||
* It seems that you have installed some apps from App Store, so you have to
|
|
||||||
* add /var/lib/nextcloud/apps to your apps_paths. Copy "apps_paths" key
|
|
||||||
* from /etc/nextcloud/config.php.apk-new to your config.php.
|
|
||||||
*
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $(apk version -t "$ver_old" '15.0.2-r0') = '<' ]; then
|
|
||||||
cat >&2 <<-EOF
|
|
||||||
*
|
|
||||||
* App "user_external" is no longer available via release channel.
|
|
||||||
* You need to uninstall the package and install it via appstore:
|
|
||||||
*
|
|
||||||
* apk del nextcloud-user_external
|
|
||||||
*
|
|
||||||
EOF
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${ver_new%-r*}" != "${ver_old%-r*}" ]; then
|
|
||||||
echo ' * Run "occ upgrade" to finish upgrading your NextCloud instance!' >&2
|
|
||||||
echo ' * NOTE: since v29.0.4-r1 "occ" command is now in package "nextcloudNN-occ"' >&2
|
|
||||||
fi
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
addgroup -S -g 82 www-data 2>/dev/null
|
|
||||||
adduser -S -D -H -h /var/lib/nextcloud -s /sbin/nologin -G www-data -g Nextcloud nextcloud 2>/dev/null
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ver_old="$2"
|
|
||||||
apps_link='/usr/share/webapps/nextcloud/apps'
|
|
||||||
|
|
||||||
# Remove apps symlink before replacing files to avoid losing installed apps.
|
|
||||||
# This is a workaround for some issue in apk.
|
|
||||||
if [ $(apk version -t "$ver_old" '12.0.0-r2') = '<' ] && [ -L "$apps_link" ]; then
|
|
||||||
rm "$apps_link"
|
|
||||||
fi
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
NEXTCLOUD_DIR='/usr/share/webapps/nextcloud'
|
|
||||||
: ${NEXTCLOUD_USER:="nextcloud"}
|
|
||||||
|
|
||||||
if [ "$(id -un)" != "$NEXTCLOUD_USER" ]; then
|
|
||||||
exec su -s /bin/sh "$NEXTCLOUD_USER" -c '$0 "$@"' -- php83 $NEXTCLOUD_DIR/occ "$@"
|
|
||||||
else
|
|
||||||
exec php83 $NEXTCLOUD_DIR/occ "$@"
|
|
||||||
fi
|
|
|
@ -1,36 +0,0 @@
|
||||||
From f17c14956c51206ad82acc5d9b66fd752f0e3c03 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Jirutka <jakub@jirutka.cz>
|
|
||||||
Date: Tue, 19 Dec 2023 07:53:40 +0000
|
|
||||||
Subject: [PATCH] use external docs if local not available
|
|
||||||
|
|
||||||
---
|
|
||||||
apps/settings/templates/help.php | 11 +++++++++++
|
|
||||||
1 file changed, 11 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/apps/settings/templates/help.php b/apps/settings/templates/help.php
|
|
||||||
index 649178c1..29b5ac4c 100644
|
|
||||||
--- a/apps/settings/templates/help.php
|
|
||||||
+++ b/apps/settings/templates/help.php
|
|
||||||
@@ -48,8 +48,19 @@
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="app-content" class="help-includes">
|
|
||||||
+ <?php if ($_['localDocs']) { ?>
|
|
||||||
<iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe" tabindex="0">
|
|
||||||
</iframe>
|
|
||||||
+ <?php } else { ?>
|
|
||||||
+ <div class="section">
|
|
||||||
+ <h2>Local documentation is not installed</h2>
|
|
||||||
+ <p>Please use
|
|
||||||
+ <a href="<?php print_unescaped($_['url']); ?>" target="_blank" rel="noreferrer">
|
|
||||||
+ <?php p($l->t('online documentation')); ?> ↗
|
|
||||||
+ </a>
|
|
||||||
+ </p>
|
|
||||||
+ </div>
|
|
||||||
+ <?php } ?>
|
|
||||||
</div>
|
|
||||||
<?php else: ?>
|
|
||||||
<div id="app-content">
|
|
||||||
--
|
|
||||||
2.42.0
|
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
pkgname=py3-kadmin-rs
|
|
||||||
pkgver=0.5.3
|
|
||||||
pkgrel=0
|
|
||||||
pkgdesc="Rust and Python interfaces to the Kerberos administration interface (kadm5)"
|
|
||||||
url="https://github.com/authentik-community/kadmin-rs"
|
|
||||||
arch="all"
|
|
||||||
license="MIT"
|
|
||||||
checkdepends="py3-pytest py3-k5test"
|
|
||||||
makedepends="
|
|
||||||
cargo
|
|
||||||
cargo-auditable
|
|
||||||
clang-libclang
|
|
||||||
py3-setuptools
|
|
||||||
py3-setuptools-rust
|
|
||||||
py3-gpep517
|
|
||||||
py3-wheel
|
|
||||||
poetry
|
|
||||||
python3-dev
|
|
||||||
sccache
|
|
||||||
"
|
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/authentik-community/kadmin-rs/archive/refs/tags/kadmin/version/$pkgver.tar.gz"
|
|
||||||
builddir="$srcdir"/kadmin-rs-kadmin-version-$pkgver
|
|
||||||
subpackages="$pkgname-pyc"
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
default_prepare
|
|
||||||
|
|
||||||
cargo fetch --target="$CTARGET" --locked
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cargo auditable build --release --locked
|
|
||||||
gpep517 build-wheel \
|
|
||||||
--wheel-dir .dist \
|
|
||||||
--output-fd 3 3>&1 >&2
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cargo test --locked
|
|
||||||
|
|
||||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
||||||
.testenv/bin/python3 -m installer .dist/*.whl
|
|
||||||
.testenv/bin/python3 -m unittest python/tests/test_*.py
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
python3 -m installer -d "$pkgdir" \
|
|
||||||
.dist/*.whl
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
61d3ddfe619827cef83af944b2281f2cf6966d95c3d4a5883b82169bf1f34e6b7173cfa086198e3e0f9a227590a497dcb1c9b209cd4d0c6d361fdfce9b98eec0 py3-kadmin-rs-0.5.3.tar.gz
|
|
||||||
"
|
|
40
ilot/py3-kadmin/APKBUILD
Normal file
40
ilot/py3-kadmin/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
pkgname=py3-kadmin
|
||||||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
|
_pkgreal=kadmin
|
||||||
|
pkgver=0.2.0
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Python module for kerberos admin (kadm5)"
|
||||||
|
url="https://github.com/authentik-community/python-kadmin"
|
||||||
|
arch="all"
|
||||||
|
license="MIT"
|
||||||
|
checkdepends="py3-pytest py3-k5test"
|
||||||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel poetry python3-dev"
|
||||||
|
source="
|
||||||
|
$pkgname-$pkgver.tar.gz::https://github.com/authentik-community/python-kadmin/archive/refs/tags/v$pkgver.tar.gz
|
||||||
|
fix-int-conversion-error.patch"
|
||||||
|
builddir="$srcdir"/python-kadmin-$pkgver
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
|
.testenv/bin/python3 test/tests.py
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
b405e914cb296f2bfe4f78d2791329804a0db02816182517b59ed1452a21d51dafe303609fddafbbeea57128bba4bcdfcd9b363f193ae0402cc52cf1b3b9020e py3-kadmin-0.2.0.tar.gz
|
||||||
|
e17223f8597d51ea099f5d4483dd72545b7d64ad76895553a6b7112416536aae93a59a2fd7aea044420495ab8146db7290abd826b268b2d6e518442c3c85c506 fix-int-conversion-error.patch
|
||||||
|
"
|
13
ilot/py3-kadmin/fix-int-conversion-error.patch
Normal file
13
ilot/py3-kadmin/fix-int-conversion-error.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/PyKAdminPolicyObject.c.orig b/src/PyKAdminPolicyObject.c
|
||||||
|
index 0bf3ee8..68387c4 100644
|
||||||
|
--- a/src/PyKAdminPolicyObject.c.orig
|
||||||
|
+++ b/src/PyKAdminPolicyObject.c
|
||||||
|
@@ -120,7 +120,7 @@ PyTypeObject PyKAdminPolicyObject_Type = {
|
||||||
|
sizeof(PyKAdminPolicyObject), /*tp_basicsize*/
|
||||||
|
0, /*tp_itemsize*/
|
||||||
|
(destructor)PyKAdminPolicyObject_dealloc, /*tp_dealloc*/
|
||||||
|
- KAdminPolicyObject_print, /*tp_print*/
|
||||||
|
+ 0, /*tp_print*/
|
||||||
|
0, /*tp_getattr*/
|
||||||
|
0, /*tp_setattr*/
|
||||||
|
0, /*tp_compare*/
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=wikijs
|
pkgname=wikijs
|
||||||
pkgver=2.5.307
|
pkgver=2.5.306
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Wiki.js | A modern, lightweight and powerful wiki app built on Node.js"
|
pkgdesc="Wiki.js | A modern, lightweight and powerful wiki app built on Node.js"
|
||||||
license="AGPL-3.0"
|
license="AGPL-3.0"
|
||||||
|
@ -56,7 +56,7 @@ package() {
|
||||||
chown 5494:5494 "$pkgdir"/var/lib/wikijs
|
chown 5494:5494 "$pkgdir"/var/lib/wikijs
|
||||||
}
|
}
|
||||||
sha512sums="
|
sha512sums="
|
||||||
8bf22ae87a9e3b8dd6f7114d0cf59913ad2cb05a2ed0e9bb7ac302b546d71f34a14de64cbe6e0f8b887d5df65e9d2b065ca18fe4493d3939895b8fa7076dd567 wikijs-2.5.307.tar.gz
|
f4ffa4d83dfeb118d410ec1363bdb593ba2ecf5736abffe8cf4bf9507f2452c59a090e69d9a69d4f240f1d22f5627d6c578537ea7d990d7bcd6eceece42a327c wikijs-2.5.306.tar.gz
|
||||||
355131ee5617348b82681cb8543c784eea59689990a268ecd3b77d44fe9abcca9c86fb8b047f0a8faeba079c650faa7790c5dd65418d313cd7561f38bb590c03 wikijs.initd
|
355131ee5617348b82681cb8543c784eea59689990a268ecd3b77d44fe9abcca9c86fb8b047f0a8faeba079c650faa7790c5dd65418d313cd7561f38bb590c03 wikijs.initd
|
||||||
07b536c20e370d2a926038165f0e953283259c213a80a8648419565f5359ab05f528ac310e81606914013da212270df6feddb22e514cbcb2464c8274c956e4af config.sample.yml.patch
|
07b536c20e370d2a926038165f0e953283259c213a80a8648419565f5359ab05f528ac310e81606914013da212270df6feddb22e514cbcb2464c8274c956e4af config.sample.yml.patch
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Reference in a new issue