[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#988341: marked as done (unblock: nis/4.4)



Your message dated Wed, 12 May 2021 17:39:51 +0000
with message-id <E1lgspr-0006yV-1R@respighi.debian.org>
and subject line unblock nis
has caused the Debian Bug report #988341,
regarding unblock: nis/4.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
988341: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988341
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package nis

[ Reason ]

Fixes serious bug #988227 (bashism in postinst).

[ Impact ]

Upgrade not smoothly done from stable.

[ Tests ]

No autopkg test. Manually tested with dash.

[ Risks ]

None.

[ Checklist ]
   [x] all changes are documented in the d/changelog
   [x] I reviewed all changes and I approve them
   [x] attach debdiff against the package in testing

[ Other info ]

Native migration package only.

unblock nis/4.3

-- 
Francesco P. Lovergine
diff -Nru nis-4.2/debian/changelog nis-4.3/debian/changelog
--- nis-4.2/debian/changelog	2021-01-31 10:22:32.000000000 +0100
+++ nis-4.3/debian/changelog	2021-05-08 17:19:24.000000000 +0200
@@ -1,3 +1,10 @@
+nis (4.3) unstable; urgency=medium
+
+  * Fixed a sort-of bashism in postinst.
+    (closes: #988227)
+
+ -- Francesco Paolo Lovergine <frankie@debian.org>  Sat, 08 May 2021 17:19:24 +0200
+
 nis (4.2) unstable; urgency=medium
 
   * Missed removing of /etc/init.d/nis at upgrade time added.
diff -Nru nis-4.2/debian/postinst nis-4.3/debian/postinst
--- nis-4.2/debian/postinst	2021-01-31 10:22:32.000000000 +0100
+++ nis-4.3/debian/postinst	2021-05-08 17:19:24.000000000 +0200
@@ -73,10 +73,13 @@
 case "$1" in
     configure)
         PREV_VER="$2"
-		if [ ! -z "$PREV_VER" -a $(dpkg --compare-versions "$PREV_VER" lt '4~'; echo $?) -eq 0 ]
-        then
-            upgrade_old
-        fi
+		if [ ! -z "$PREV_VER" ]
+		then
+			if dpkg --compare-versions "$PREV_VER" lt '4~'
+        	then
+            	upgrade_old
+        	fi
+		fi
 	  	rm -f /etc/init.d/nis
         ;;
     *)

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: