1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/squid3_ynh.git synced 2024-09-03 20:26:11 +02:00

Merge pull request #10 from YunoHost-Apps/bullseye

Bullseye
This commit is contained in:
Éric Gaspar 2023-01-10 15:39:53 +01:00 committed by GitHub
commit 9d15691774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 29 additions and 27 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# squid3 for YunoHost
[![Integration level](https://dash.yunohost.org/integration/squid3.svg)](https://dash.yunohost.org/appci/app/squid3) ![](https://ci-apps.yunohost.org/ci/badges/squid3.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/squid3.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/squid3.svg)](https://dash.yunohost.org/appci/app/squid3) ![Working status](https://ci-apps.yunohost.org/ci/badges/squid3.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/squid3.maintain.svg)
[![Install squid3 with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=squid3)
*[Lire ce readme en français.](./README_fr.md)*
@ -20,9 +20,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
**Shipped version:** 1.0~ynh3
**Shipped version:** 4.13~ynh1
## Disclaimers / important information
@ -49,19 +47,20 @@ Thanks to **Fred** to write the instruction to configure Squid for YunoHost. Fre
## Documentation and resources
* Official app website: http://www.squid-cache.org
* YunoHost documentation for this app: https://yunohost.org/app_squid3
* Report a bug: https://github.com/YunoHost-Apps/squid3_ynh/issues
* Official app website: <http://www.squid-cache.org>
* YunoHost documentation for this app: <https://yunohost.org/app_squid3>
* Report a bug: <https://github.com/YunoHost-Apps/squid3_ynh/issues>
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/squid3_ynh/tree/testing).
To try the testing branch, please proceed like that.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/squid3_ynh/tree/testing --debug
or
sudo yunohost app upgrade squid3 -u https://github.com/YunoHost-Apps/squid3_ynh/tree/testing --debug
```
**More info regarding app packaging:** https://yunohost.org/packaging_apps
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -1,10 +1,14 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# squid3 pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/squid3.svg)](https://dash.yunohost.org/appci/app/squid3) ![](https://ci-apps.yunohost.org/ci/badges/squid3.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/squid3.maintain.svg)
[![Niveau d'intégration](https://dash.yunohost.org/integration/squid3.svg)](https://dash.yunohost.org/appci/app/squid3) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/squid3.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/squid3.maintain.svg)
[![Installer squid3 avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=squid3)
*[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer squid3 rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
@ -16,9 +20,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
**Version incluse :** 1.0~ynh3
**Version incluse :** 4.13~ynh1
## Avertissements / informations importantes
@ -45,19 +47,20 @@ Thanks to **Fred** to write the instruction to configure Squid for YunoHost. Fre
## Documentations et ressources
* Site officiel de l'app : http://www.squid-cache.org
* Documentation YunoHost pour cette app : https://yunohost.org/app_squid3
* Signaler un bug : https://github.com/YunoHost-Apps/squid3_ynh/issues
* Site officiel de l'app : <http://www.squid-cache.org>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_squid3>
* Signaler un bug : <https://github.com/YunoHost-Apps/squid3_ynh/issues>
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/squid3_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/squid3_ynh/tree/testing --debug
ou
sudo yunohost app upgrade squid3 -u https://github.com/YunoHost-Apps/squid3_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,6 @@
;; Test complet
; Manifest
port="8095" (PORT)
port="8095"
; Checks
pkg_linter=1
setup_sub_dir=0

View file

@ -6,7 +6,7 @@
"en": "Caching proxy for the Web supporting HTTP, HTTPS, FTP and more.",
"fr": "Proxy cache pour le web, compatible HTTP, HTTPS, FTP et plus encore."
},
"version": "1.0~ynh3",
"version": "4.13~ynh1",
"url": "http://www.squid-cache.org/",
"upstream": {
"license": "GPL-2.0-only",
@ -18,7 +18,7 @@
"email": "anmol@datamol.org"
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.9"
},
"multi_instance": false,
"services": [],

View file

@ -77,7 +77,7 @@ ynh_add_config --template="../conf/squid.conf" --destination="/etc/$squid/squid.
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
yunohost service add $squid --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
#=================================================
# START SYSTEMD SERVICE

View file

@ -26,10 +26,10 @@ squid=$(ynh_app_setting_get --app=$app --key=squid_folder)
#=================================================
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null
if ynh_exec_warn_less yunohost service status $squid >/dev/null
then
ynh_script_progression --message="Removing $app service integration..."
yunohost service remove $app
yunohost service remove $squid
fi
#=================================================

View file

@ -78,7 +78,7 @@ ynh_add_config --template="../conf/squid.conf" --destination="/etc/$squid/squid.
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
yunohost service add $squid --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
#=================================================
# START SYSTEMD SERVICE

View file

@ -89,7 +89,7 @@ ynh_add_config --template="../conf/squid.conf" --destination="/etc/$squid/squid.
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
yunohost service add $squid --description "Squid3 a web proxy service" --log="/var/log/$squid/access.log" --needs_exposed_ports $squid_port
#=================================================
# START SYSTEMD SERVICE