diff --git a/debian/control b/debian/control index 3bfe4916b..31796381f 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,14 @@ Source: yunohost Section: utils Priority: extra Maintainer: YunoHost Contributors -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 X-Python-Version: >= 2.7 Homepage: https://yunohost.org/ Package: yunohost Architecture: all -Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, +Depends: ${python:Depends}, ${misc:Depends}, moulinette (>= 2.2.1), python-psutil, python-requests, @@ -51,8 +51,8 @@ Replaces: moulinette-yunohost, yunohost-config, yunohost-config-dovecot, yunohost-config-slapd, yunohost-config-nginx, yunohost-config-amavis, yunohost-config-mysql, yunohost-predepends -Description: YunoHost installation package - The goal of YunoHost is to make self-hosting accessible to everyone. It +Description: manageable and configured self-hosting server + YunoHost aims to to make self-hosting accessible to everyone. It configures an email, Web and IM server alongside a LDAP base. It also provides facilities to manage users, domains, apps and so. . diff --git a/debian/postinst b/debian/postinst index 2a13c8e83..ceaca3e4b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -38,3 +38,7 @@ case "$1" in exit 1 ;; esac + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules index 5de55b6d6..c61bb8858 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ #export DH_VERBOSE=1 %: - dh ${@} --with=systemd + dh ${@} --with=systemd,python2 override_dh_installinit: dh_installinit --name=yunohost-api diff --git a/debian/yunohost-firewall.service b/debian/yunohost-firewall.service new file mode 100644 index 000000000..1dd46f477 --- /dev/null +++ b/debian/yunohost-firewall.service @@ -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