-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 <Ivan.Rako@CARNET.hr> Wed, 02 Sep 2020 20:58:16 +0200
+ -- Zeljko Boros <Zeljko.Boros@carnet.hr> Mon, 10 May 2021 15:02:32 +0200
ocsinventory-agent-cn (1:2.0.5~cn3) stable; urgency=low
Source: ocsinventory-agent-cn
Section: net
Priority: optional
-Maintainer: Ivan Rako <Ivan.Rako@CARNET.hr>
+Maintainer: Ivan Rako <Ivan.Rako@carnet.hr>
+Uploaders: Zeljko Boros <Zeljko.Boros@carnet.hr>
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
[ "$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 <<EOF
+
+Package: ocsinventory-agent
+Pin: version 2:2.0.5*
+Pin-Priority: 1001
+
+EOF
+
# Load Debconf
. /usr/share/debconf/confmodule