From: Ivan Rako Date: Mon, 17 Jun 2019 21:36:40 +0000 (+0200) Subject: Izmjene za stretch X-Git-Tag: debian/3.3.0_cn0^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;p=ossec-hids-cn.git Izmjene za stretch --- diff --git a/debian/changelog b/debian/changelog index 580dfce..a210adf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ossec-hids-cn (3.3.0~cn0) stable; urgency=low + + * Izmjene za stretch + + -- Ivan Rako Mon, 17 Jun 2019 23:35:46 +0200 + ossec-hids-cn (2.8.3~cn0) stable; urgency=low * Izmjene za jessie diff --git a/debian/control b/debian/control index 367078c..c058904 100644 --- a/debian/control +++ b/debian/control @@ -3,11 +3,11 @@ Section: admin Priority: extra Maintainer: Ivan Rako Build-Depends: debhelper (>= 9.20120909) -Standards-Version: 3.9.6 +Standards-Version: 3.9.8 Package: ossec-hids-cn Architecture: all -Depends: ossec-hids (>= 2.8.3), carnet-tools-cn (>= 3.0.4), ${misc:Depends} +Depends: ossec-hids (>= 3.3.0), carnet-tools-cn (>= 3.0.4), ${misc:Depends} Priority: extra Section: admin Description: OSSEC HIDS CARNetization diff --git a/debian/postinst b/debian/postinst index aea8ce2..801d23f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -116,13 +116,7 @@ EOF cp_mv "$local_rules.$$" "$local_rules" # and restart the service -if [ -x /etc/init.d/ossec-hids ]; then - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d ossec-hids restart || true - else - /etc/init.d/ossec-hids restart || true - fi -fi +service ossec-hids restart || true # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff --git a/debian/postrm b/debian/postrm index 0d67070..ff332bf 100755 --- a/debian/postrm +++ b/debian/postrm @@ -46,13 +46,7 @@ if [ -e "$local_rules" ]; then fi # and start the service -if [ -x /etc/init.d/ossec-hids ]; then - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d ossec-hids restart || true - else - /etc/init.d/ossec-hids restart || true - fi -fi +service ossec-hids restart || true # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.