From 5d904390482bcc78d2f43ff3c99dd87f159179e3 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Mon, 17 Jun 2019 23:36:40 +0200 Subject: [PATCH] Izmjene za stretch --- debian/changelog | 6 ++++++ debian/control | 4 ++-- debian/postinst | 8 +------- debian/postrm | 8 +------- 4 files changed, 10 insertions(+), 16 deletions(-) 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. -- 1.7.10.4