[fix] Fix some lintian issues and add yunohost-firewall.service

This commit is contained in:
Jérôme Lebleu 2015-10-07 00:43:48 +02:00
parent 37c84a6c08
commit 15ccd60545
4 changed files with 23 additions and 5 deletions

8
debian/control vendored
View file

@ -2,14 +2,14 @@ Source: yunohost
Section: utils Section: utils
Priority: extra Priority: extra
Maintainer: YunoHost Contributors <contrib@yunohost.org> Maintainer: YunoHost Contributors <contrib@yunohost.org>
Build-Depends: debhelper (>=9), dh-systemd, dh-python Build-Depends: debhelper (>=9), dh-systemd, dh-python, python-all (>= 2.7)
Standards-Version: 3.9.6 Standards-Version: 3.9.6
X-Python-Version: >= 2.7 X-Python-Version: >= 2.7
Homepage: https://yunohost.org/ Homepage: https://yunohost.org/
Package: yunohost Package: yunohost
Architecture: all Architecture: all
Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, Depends: ${python:Depends}, ${misc:Depends},
moulinette (>= 2.2.1), moulinette (>= 2.2.1),
python-psutil, python-psutil,
python-requests, python-requests,
@ -51,8 +51,8 @@ Replaces: moulinette-yunohost, yunohost-config,
yunohost-config-dovecot, yunohost-config-slapd, yunohost-config-dovecot, yunohost-config-slapd,
yunohost-config-nginx, yunohost-config-amavis, yunohost-config-nginx, yunohost-config-amavis,
yunohost-config-mysql, yunohost-predepends yunohost-config-mysql, yunohost-predepends
Description: YunoHost installation package Description: manageable and configured self-hosting server
The goal of YunoHost is to make self-hosting accessible to everyone. It YunoHost aims to to make self-hosting accessible to everyone. It
configures an email, Web and IM server alongside a LDAP base. It also configures an email, Web and IM server alongside a LDAP base. It also
provides facilities to manage users, domains, apps and so. provides facilities to manage users, domains, apps and so.
. .

4
debian/postinst vendored
View file

@ -38,3 +38,7 @@ case "$1" in
exit 1 exit 1
;; ;;
esac esac
#DEBHELPER#
exit 0

2
debian/rules vendored
View file

@ -5,7 +5,7 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
%: %:
dh ${@} --with=systemd dh ${@} --with=systemd,python2
override_dh_installinit: override_dh_installinit:
dh_installinit --name=yunohost-api dh_installinit --name=yunohost-api

14
debian/yunohost-firewall.service vendored Normal file
View file

@ -0,0 +1,14 @@
[Unit]
Description=YunoHost Firewall
Requires=network.target
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/yunohost firewall reload
ExecReload=/usr/bin/yunohost firewall reload
ExecStop=/usr/bin/yunohost firewall stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target