From 2165d4733aacf7be5e71550373c6a08b6e427f6e Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Mon, 10 May 2021 15:15:52 +0200 Subject: [PATCH] Pinning na 2.0.5 iz samog paketa --- debian/changelog | 8 +++----- debian/control | 5 +++-- debian/postinst | 13 +++++++++++++ 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 00d1c44..3fb1e15 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,8 @@ -ocsinventory-agent-cn (1:2.4.2+cn10u1) stable; urgency=low +ocsinventory-agent-cn (1:2.0.5~cn4) stable; urgency=low - * prva verzija za buster - * vise nisu potrebni Networks.pm i Deb.pm - * novi Hostname.pm + * fiksirano na inačicu 2.0.5, u Depends i pinningom - -- Ivan Rako Wed, 02 Sep 2020 20:58:16 +0200 + -- Zeljko Boros Mon, 10 May 2021 15:02:32 +0200 ocsinventory-agent-cn (1:2.0.5~cn3) stable; urgency=low diff --git a/debian/control b/debian/control index a1d1f56..08ed4f7 100644 --- a/debian/control +++ b/debian/control @@ -1,13 +1,14 @@ Source: ocsinventory-agent-cn Section: net Priority: optional -Maintainer: Ivan Rako +Maintainer: Ivan Rako +Uploaders: Zeljko Boros Build-Depends: debhelper (>= 10) Standards-Version: 3.9.8 Package: ocsinventory-agent-cn Architecture: all -Depends: ${misc:Depends}, carnet-tools-cn (>= 3.2.1), ocsinventory-agent (>= 2:2.2.2), libcrypt-ssleay-perl, libsys-hostname-long-perl +Depends: ${misc:Depends}, carnet-tools-cn (>= 3.2.1), ocsinventory-agent (>= 2:2.0.5), ocsinventory-agent (<< 2:2.4.2), libcrypt-ssleay-perl, libsys-hostname-long-perl Description: Hardware and software inventory tool (client) Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator to diff --git a/debian/postinst b/debian/postinst index 1361178..93d2f2f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -5,9 +5,22 @@ set -e [ "$1" = "configure" ] || exit 0 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx +PINFILE="/etc/apt/preferences.d/99-carnet" + # Load CARNET Tools . /usr/share/carnet-tools/functions.sh +echo "CN: Dodajem pinning ocsinventory-agenta na inačicu 2.0.5..." +test -f $PINFILE || touch $PINFILE + +cp-update ocsinventory-agent-cn $PINFILE <