Control: tags 825381 + pending

Dear maintainer,

I've prepared an NMU for makejail (versioned as 0.0.5-10.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

It was necessary to apply the patch directly to the upstream
makejail file that is attached to the email.

Regards.

diff -u makejail-0.0.5/debian/changelog makejail-0.0.5/debian/changelog
--- makejail-0.0.5/debian/changelog
+++ makejail-0.0.5/debian/changelog
@@ -1,3 +1,17 @@
+makejail (0.0.5-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fixed updating symbolic links, thanks to
+    M. Buecher/Germany <maddes+deb...@maddes.net>. (Closes: #825381)
+  * Using new DH level format. Consequently:
+       - debian/compat: removed.
+       - debian/control: changed from 'debhelper' to 'debhelper-compat' in
+         Build-Depends field and bumped level to 12.
+  * debian/control: bumped Standards-Version to 4.4.0.
+  * debian/rules: removed obsolete option in dh_clean "-k".
+
+ -- Diego Sarzi <diegosa...@gmail.com>  Wed, 24 Jul 2019 14:47:35 -0300
+
 makejail (0.0.5-10) unstable; urgency=low

   * Reorder the call to shutil to ensure that the setuid bit is
reverted:
--- makejail-0.0.5/debian/compat
+++ makejail-0.0.5.orig/debian/compat
@@ -1 +0,0 @@
-5
diff -u makejail-0.0.5/debian/control makejail-0.0.5/debian/control
--- makejail-0.0.5/debian/control
+++ makejail-0.0.5/debian/control
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Javier Fernandez-Sanguino Pen~a <j...@computer.org>
 Build-Depends-Indep: docbook-to-man, python (>=2.2)
-Build-Depends: debhelper (>> 3.0.0), po-debconf
-Standards-Version: 3.7.3
+Build-Depends: debhelper-compat (= 12), po-debconf
+Standards-Version: 4.4.0
 Homepage: http://www.floc.net/makejail/

 Package: makejail
diff -u makejail-0.0.5/debian/rules makejail-0.0.5/debian/rules
--- makejail-0.0.5/debian/rules
+++ makejail-0.0.5/debian/rules
@@ -40,7 +40,7 @@
 install: build
  dh_testdir
  dh_testroot
- dh_clean -k
+ dh_clean
  dh_installdirs

  # Install to debian's build directory

-- 
Diego Sarzi
----------------------------------------------------------------------
DA5F BEB3 34F9 F05C 8BFA D94A DC7E 3F89 7537 3E4E
--- /usr/sbin/makejail	2012-03-05 19:17:34.000000000 +0100
+++ /usr/sbin/makejail	2016-05-26 16:00:50.000000000 +0200
@@ -385,6 +385,9 @@
 		newWorkingDir="%s/%s" % (config.chroot,os.path.realpath(fileDir)[1:])
 		os.chdir(newWorkingDir)
 		debug("   Creating '%s' as a symlink to '%s' (pwd=%s)" % (fileName[1:],linkTarget,newWorkingDir))
+		# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=...
+		if os.path.lexists(os.path.split(fileName)[1]):
+			os.remove(os.path.split(fileName)[1])
 		os.symlink(linkTarget,os.path.split(fileName)[1])
 		os.chdir("/")
 		missingFiles.append(fileName)

Reply via email to