mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
commit
e698238c65
8 changed files with 28 additions and 38 deletions
|
@ -21,7 +21,7 @@ Instant messaging server matrix network.
|
||||||
Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org)
|
Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org)
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.77.0~ynh1
|
**Shipped version:** 1.79.0~ynh1
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
|
@ -21,7 +21,7 @@ Instant messaging server matrix network.
|
||||||
Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org)
|
Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org)
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.77.0~ynh1
|
**Version incluse :** 1.79.0~ynh1
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.77.0/matrix-synapse_1.77.0-bookworm-bin1_armv7l.tar.gz
|
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.79.0/matrix-synapse_1.79.0-bookworm-bin1_armv7l.tar.gz
|
||||||
SOURCE_SUM=60b117008ebd0339c397983f11d8b3538eb5cd086839fcb3c46b70dc4348afda
|
SOURCE_SUM=78ee92bd904143247adc410f0a7ab822a3bd63312cb6711473661db66e964aae
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.77.0/matrix-synapse_1.77.0-bullseye-bin1_armv7l.tar.gz
|
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.79.0/matrix-synapse_1.79.0-bullseye-bin1_armv7l.tar.gz
|
||||||
SOURCE_SUM=ddefcfa9ba4b80ac4b49cbd4ab4172c27136ce0ab32d4ac3f1d517ecc6b43391
|
SOURCE_SUM=bd792ded7d038b992fc5ceeb477307c566cdec0faa38cb796102ad7c9a85b808
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -2,12 +2,12 @@ attrs==22.2.0
|
||||||
Automat==22.10.0
|
Automat==22.10.0
|
||||||
bcrypt==4.0.1
|
bcrypt==4.0.1
|
||||||
bleach==6.0.0
|
bleach==6.0.0
|
||||||
canonicaljson==1.6.4
|
canonicaljson==1.6.5
|
||||||
certifi==2022.12.7
|
certifi==2022.12.7
|
||||||
cffi==1.15.1
|
cffi==1.15.1
|
||||||
charset-normalizer==3.0.1
|
charset-normalizer==3.1.0
|
||||||
constantly==15.1.0
|
constantly==15.1.0
|
||||||
cryptography==39.0.1
|
cryptography==39.0.2
|
||||||
frozendict==2.3.4
|
frozendict==2.3.4
|
||||||
hyperlink==21.0.0
|
hyperlink==21.0.0
|
||||||
idna==3.4
|
idna==3.4
|
||||||
|
@ -19,20 +19,20 @@ ldap3==2.9.1
|
||||||
lxml==4.9.2
|
lxml==4.9.2
|
||||||
MarkupSafe==2.1.2
|
MarkupSafe==2.1.2
|
||||||
matrix-common==1.3.0
|
matrix-common==1.3.0
|
||||||
matrix-synapse==1.77.0
|
matrix-synapse==1.79.0
|
||||||
matrix-synapse-ldap3==0.2.2
|
matrix-synapse-ldap3==0.2.2
|
||||||
msgpack==1.0.4
|
msgpack==1.0.5
|
||||||
ndg-httpsclient==0.5.1
|
ndg-httpsclient==0.5.1
|
||||||
netaddr==0.8.0
|
netaddr==0.8.0
|
||||||
packaging==23.0
|
packaging==23.0
|
||||||
phonenumbers==8.13.6
|
phonenumbers==8.13.7
|
||||||
Pillow==9.4.0
|
Pillow==9.4.0
|
||||||
prometheus-client==0.16.0
|
prometheus-client==0.16.0
|
||||||
psycopg2==2.9.5
|
psycopg2==2.9.5
|
||||||
pyasn1==0.4.8
|
pyasn1==0.4.8
|
||||||
pyasn1-modules==0.2.8
|
pyasn1-modules==0.2.8
|
||||||
pycparser==2.21
|
pycparser==2.21
|
||||||
pydantic==1.10.4
|
pydantic==1.10.6
|
||||||
pymacaroons==0.13.0
|
pymacaroons==0.13.0
|
||||||
PyNaCl==1.5.0
|
PyNaCl==1.5.0
|
||||||
pyOpenSSL==23.0.0
|
pyOpenSSL==23.0.0
|
||||||
|
@ -43,13 +43,13 @@ semantic-version==2.10.0
|
||||||
service-identity==21.1.0
|
service-identity==21.1.0
|
||||||
setuptools-rust==1.5.2
|
setuptools-rust==1.5.2
|
||||||
signedjson==1.1.4
|
signedjson==1.1.4
|
||||||
simplejson==3.18.3
|
simplejson==3.18.4
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
sortedcontainers==2.4.0
|
sortedcontainers==2.4.0
|
||||||
treq==22.2.0
|
treq==22.2.0
|
||||||
Twisted==22.10.0
|
Twisted==22.10.0
|
||||||
typing_extensions==4.4.0
|
typing_extensions==4.5.0
|
||||||
unpaddedbase64==2.1.0
|
unpaddedbase64==2.1.0
|
||||||
urllib3==1.26.14
|
urllib3==1.26.15
|
||||||
webencodings==0.5.1
|
webencodings==0.5.1
|
||||||
zope.interface==5.5.2
|
zope.interface==5.5.2
|
||||||
|
|
|
@ -2,12 +2,12 @@ attrs==22.2.0
|
||||||
Automat==22.10.0
|
Automat==22.10.0
|
||||||
bcrypt==4.0.1
|
bcrypt==4.0.1
|
||||||
bleach==6.0.0
|
bleach==6.0.0
|
||||||
canonicaljson==1.6.4
|
canonicaljson==1.6.5
|
||||||
certifi==2022.12.7
|
certifi==2022.12.7
|
||||||
cffi==1.15.1
|
cffi==1.15.1
|
||||||
charset-normalizer==3.0.1
|
charset-normalizer==3.1.0
|
||||||
constantly==15.1.0
|
constantly==15.1.0
|
||||||
cryptography==39.0.1
|
cryptography==39.0.2
|
||||||
frozendict==2.3.4
|
frozendict==2.3.4
|
||||||
hyperlink==21.0.0
|
hyperlink==21.0.0
|
||||||
idna==3.4
|
idna==3.4
|
||||||
|
@ -19,13 +19,13 @@ ldap3==2.9.1
|
||||||
lxml==4.9.2
|
lxml==4.9.2
|
||||||
MarkupSafe==2.1.2
|
MarkupSafe==2.1.2
|
||||||
matrix-common==1.3.0
|
matrix-common==1.3.0
|
||||||
matrix-synapse==1.77.0
|
matrix-synapse==1.79.0
|
||||||
matrix-synapse-ldap3==0.2.2
|
matrix-synapse-ldap3==0.2.2
|
||||||
msgpack==1.0.4
|
msgpack==1.0.5
|
||||||
ndg-httpsclient==0.5.1
|
ndg-httpsclient==0.5.1
|
||||||
netaddr==0.8.0
|
netaddr==0.8.0
|
||||||
packaging==23.0
|
packaging==23.0
|
||||||
phonenumbers==8.13.6
|
phonenumbers==8.13.7
|
||||||
Pillow==9.4.0
|
Pillow==9.4.0
|
||||||
pkg_resources==0.0.0
|
pkg_resources==0.0.0
|
||||||
prometheus-client==0.16.0
|
prometheus-client==0.16.0
|
||||||
|
@ -33,7 +33,7 @@ psycopg2==2.9.5
|
||||||
pyasn1==0.4.8
|
pyasn1==0.4.8
|
||||||
pyasn1-modules==0.2.8
|
pyasn1-modules==0.2.8
|
||||||
pycparser==2.21
|
pycparser==2.21
|
||||||
pydantic==1.10.4
|
pydantic==1.10.6
|
||||||
pymacaroons==0.13.0
|
pymacaroons==0.13.0
|
||||||
PyNaCl==1.5.0
|
PyNaCl==1.5.0
|
||||||
pyOpenSSL==23.0.0
|
pyOpenSSL==23.0.0
|
||||||
|
@ -44,13 +44,13 @@ semantic-version==2.10.0
|
||||||
service-identity==21.1.0
|
service-identity==21.1.0
|
||||||
setuptools-rust==1.5.2
|
setuptools-rust==1.5.2
|
||||||
signedjson==1.1.4
|
signedjson==1.1.4
|
||||||
simplejson==3.18.3
|
simplejson==3.18.4
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
sortedcontainers==2.4.0
|
sortedcontainers==2.4.0
|
||||||
treq==22.2.0
|
treq==22.2.0
|
||||||
Twisted==22.10.0
|
Twisted==22.10.0
|
||||||
typing_extensions==4.4.0
|
typing_extensions==4.5.0
|
||||||
unpaddedbase64==2.1.0
|
unpaddedbase64==2.1.0
|
||||||
urllib3==1.26.14
|
urllib3==1.26.15
|
||||||
webencodings==0.5.1
|
webencodings==0.5.1
|
||||||
zope.interface==5.5.2
|
zope.interface==5.5.2
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Instant messaging server which uses Matrix",
|
"en": "Instant messaging server which uses Matrix",
|
||||||
"fr": "Serveur de messagerie instantané basé sur Matrix"
|
"fr": "Serveur de messagerie instantané basé sur Matrix"
|
||||||
},
|
},
|
||||||
"version": "1.77.0~ynh1",
|
"version": "1.79.0~ynh1",
|
||||||
"url": "http://matrix.org",
|
"url": "http://matrix.org",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -53,23 +53,13 @@ install_sources() {
|
||||||
pip3 install --upgrade setuptools wheel pip
|
pip3 install --upgrade setuptools wheel pip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
temp_requirement=$(mktemp)
|
|
||||||
cp $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt $temp_requirement
|
|
||||||
chown $synapse_user:root $temp_requirement
|
|
||||||
|
|
||||||
chown $synapse_user:root -R $final_path
|
|
||||||
pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
|
pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
|
||||||
sudo -u $synapse_user env PATH=$PATH pip3 install --upgrade -r $temp_requirement
|
pip3 install --upgrade -r $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt
|
||||||
ynh_secure_remove $temp_requirement
|
|
||||||
|
|
||||||
# This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does
|
# This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does
|
||||||
set +$u_arg;
|
set +$u_arg;
|
||||||
deactivate
|
deactivate
|
||||||
set -$u_arg;
|
set -$u_arg;
|
||||||
|
|
||||||
# Remove Rust to reduce backup size
|
|
||||||
ynh_secure_remove --file=$final_path/.rustup
|
|
||||||
ynh_secure_remove --file=$final_path/.cargo
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue