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

Bug#697418: unblock: user-mode-linux/3.2-2um-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package user-mode-linux, the new package is compliant
with Policy §7.8 (#697300) by using the Built-Using field.
While rebuilding I also refreshed the patches to apply with no fuzz to
the current linux-source package (3.2.35) and refreshed the
configuration.
>From the changelog:
  * Add Built-Using per Policy §7.8 (Closes: #679300).
  * Refresh patches to apply with no fuzz to latest linux-source.
  * Set new kernel options:
      SECURITY_APPARMOR_COMPAT_24=y
      NET_SCH_CODEL=m
      FQ_CODEL=m
  * Bump version number to upload as a proper foreign package.

Debdiff:

diff -Nru user-mode-linux-3.2-1um/config.amd64 user-mode-linux-3.2-2um/config.amd64
--- user-mode-linux-3.2-1um/config.amd64	2012-03-28 02:23:55.000000000 +0900
+++ user-mode-linux-3.2-2um/config.amd64	2013-01-04 22:02:42.000000000 +0900
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# User Mode Linux/x86_64 3.2.12 Kernel Configuration
+# User Mode Linux/x86_64 3.2.35 Kernel Configuration
 #
 CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
 CONFIG_UML=y
@@ -223,7 +223,6 @@
 CONFIG_IOSCHED_DEADLINE=m
 CONFIG_IOSCHED_CFQ=y
 CONFIG_CFQ_GROUP_IOSCHED=y
-# CONFIG_DEFAULT_DEADLINE is not set
 CONFIG_DEFAULT_CFQ=y
 # CONFIG_DEFAULT_NOOP is not set
 CONFIG_DEFAULT_IOSCHED="cfq"
@@ -553,6 +552,10 @@
 #
 CONFIG_IOMMU_SUPPORT=y
 # CONFIG_VIRT_DRIVERS is not set
+
+#
+# Microsoft Hyper-V guest support
+#
 # CONFIG_PM_DEVFREQ is not set
 CONFIG_NET=y
 
@@ -970,6 +973,8 @@
 CONFIG_NET_SCH_MQPRIO=m
 CONFIG_NET_SCH_CHOKE=m
 CONFIG_NET_SCH_QFQ=m
+# CONFIG_NET_SCH_CODEL is not set
+CONFIG_NET_SCH_FQ_CODEL=m
 CONFIG_NET_SCH_INGRESS=m
 
 #
@@ -1011,6 +1016,7 @@
 CONFIG_DNS_RESOLVER=m
 CONFIG_BATMAN_ADV=m
 # CONFIG_BATMAN_ADV_DEBUG is not set
+CONFIG_BQL=y
 
 #
 # Network testing
@@ -1350,11 +1356,6 @@
 CONFIG_NLS_UTF8=m
 CONFIG_DLM=m
 # CONFIG_DLM_DEBUG is not set
-CONFIG_PROTECTED_LINKS=y
-CONFIG_PROTECTED_SYMLINKS=y
-CONFIG_PROTECTED_SYMLINKS_SYSCTL=1
-CONFIG_PROTECTED_HARDLINKS=y
-CONFIG_PROTECTED_HARDLINKS_SYSCTL=1
 
 #
 # Security options
@@ -1384,6 +1385,7 @@
 CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init"
 CONFIG_SECURITY_APPARMOR=y
 CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
+CONFIG_SECURITY_APPARMOR_COMPAT_24=y
 # CONFIG_IMA is not set
 # CONFIG_EVM is not set
 CONFIG_DEFAULT_SECURITY_SELINUX=y
@@ -1548,6 +1550,7 @@
 CONFIG_TEXTSEARCH_KMP=m
 CONFIG_TEXTSEARCH_BM=m
 CONFIG_TEXTSEARCH_FSM=m
+CONFIG_DQL=y
 CONFIG_NLATTR=y
 CONFIG_LRU_CACHE=m
 # CONFIG_AVERAGE is not set
diff -Nru user-mode-linux-3.2-1um/config.i386 user-mode-linux-3.2-2um/config.i386
--- user-mode-linux-3.2-1um/config.i386	2012-03-31 15:51:19.000000000 +0900
+++ user-mode-linux-3.2-2um/config.i386	2013-01-04 22:02:42.000000000 +0900
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# User Mode Linux/i386 3.2.13 Kernel Configuration
+# User Mode Linux/i386 3.2.35 Kernel Configuration
 #
 CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
 CONFIG_UML=y
@@ -580,6 +580,10 @@
 #
 CONFIG_IOMMU_SUPPORT=y
 # CONFIG_VIRT_DRIVERS is not set
+
+#
+# Microsoft Hyper-V guest support
+#
 # CONFIG_PM_DEVFREQ is not set
 CONFIG_NET=y
 
@@ -997,6 +1001,8 @@
 CONFIG_NET_SCH_MQPRIO=m
 CONFIG_NET_SCH_CHOKE=m
 CONFIG_NET_SCH_QFQ=m
+CONFIG_NET_SCH_CODEL=m
+CONFIG_NET_SCH_FQ_CODEL=m
 CONFIG_NET_SCH_INGRESS=m
 
 #
@@ -1038,6 +1044,7 @@
 CONFIG_DNS_RESOLVER=m
 CONFIG_BATMAN_ADV=m
 # CONFIG_BATMAN_ADV_DEBUG is not set
+CONFIG_BQL=y
 
 #
 # Network testing
@@ -1377,11 +1384,6 @@
 CONFIG_NLS_UTF8=m
 CONFIG_DLM=m
 # CONFIG_DLM_DEBUG is not set
-CONFIG_PROTECTED_LINKS=y
-CONFIG_PROTECTED_SYMLINKS=y
-CONFIG_PROTECTED_SYMLINKS_SYSCTL=1
-CONFIG_PROTECTED_HARDLINKS=y
-CONFIG_PROTECTED_HARDLINKS_SYSCTL=1
 
 #
 # Security options
@@ -1411,6 +1413,7 @@
 CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init"
 CONFIG_SECURITY_APPARMOR=y
 CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
+CONFIG_SECURITY_APPARMOR_COMPAT_24=y
 # CONFIG_IMA is not set
 # CONFIG_EVM is not set
 CONFIG_DEFAULT_SECURITY_SELINUX=y
@@ -1573,6 +1576,7 @@
 CONFIG_TEXTSEARCH_KMP=m
 CONFIG_TEXTSEARCH_BM=m
 CONFIG_TEXTSEARCH_FSM=m
+CONFIG_DQL=y
 CONFIG_NLATTR=y
 CONFIG_LRU_CACHE=m
 # CONFIG_AVERAGE is not set
diff -Nru user-mode-linux-3.2-1um/debian/changelog user-mode-linux-3.2-2um/debian/changelog
--- user-mode-linux-3.2-1um/debian/changelog	2012-04-17 20:51:32.000000000 +0900
+++ user-mode-linux-3.2-2um/debian/changelog	2013-01-05 08:51:06.000000000 +0900
@@ -1,3 +1,15 @@
+user-mode-linux (3.2-2um-1) unstable; urgency=high
+
+  * Add Built-Using per Policy §7.8 (Closes: #679300).
+  * Refresh patches to apply with no fuzz to latest linux-source.
+  * Set new kernel options:
+      SECURITY_APPARMOR_COMPAT_24=y
+      NET_SCH_CODEL=m
+      FQ_CODEL=m
+  * Bump version number to upload as a proper foreign package.
+
+ -- Mattia Dongili <malattia@debian.org>  Fri, 04 Jan 2013 07:11:32 +0900
+
 user-mode-linux (3.2-1um-1) unstable; urgency=low
 
   [ Mattia Dongili ]
diff -Nru user-mode-linux-3.2-1um/debian/control user-mode-linux-3.2-2um/debian/control
--- user-mode-linux-3.2-1um/debian/control	2012-03-31 15:48:39.000000000 +0900
+++ user-mode-linux-3.2-2um/debian/control	2013-01-05 08:51:06.000000000 +0900
@@ -2,7 +2,7 @@
 Section: kernel
 Priority: extra
 Maintainer: User Mode Linux Maintainers <pkg-uml-pkgs@lists.alioth.debian.org>
-Build-Depends: debhelper (>> 5.0.0), quilt, linux-source-3.2, docbook-to-man, bzip2, m4, module-init-tools, libvdeplug2-dev, libpcap-dev
+Build-Depends: debhelper (>> 5.0.0), quilt, linux-source-3.2, docbook-to-man, bzip2, m4, module-init-tools, libvdeplug2-dev, libpcap-dev, dpkg (>= 1.16.2)
 Uploaders: Mattia Dongili <malattia@debian.org>, Ritesh Raj Sarraf <rrs@debian.org>
 Standards-Version: 3.8.3
 Vcs-Git: git://git.debian.org/git/pkg-uml/user-mode-linux.git
@@ -12,6 +12,7 @@
 Package: user-mode-linux
 Architecture: i386 amd64
 Depends: ${misc:Depends}, ${shlibs:Depends}, uml-utilities (>= 20040406-1)
+Built-Using: ${Built-Using}
 Suggests: x-terminal-emulator, rootstrap, user-mode-linux-doc, slirp, vde2
 Description: User-mode Linux (kernel)
  User-mode Linux (UML) is a port of the Linux kernel to its own system
diff -Nru user-mode-linux-3.2-1um/debian/patches/02_x-terminal-emulator.patch user-mode-linux-3.2-2um/debian/patches/02_x-terminal-emulator.patch
--- user-mode-linux-3.2-1um/debian/patches/02_x-terminal-emulator.patch	2012-03-28 01:53:32.000000000 +0900
+++ user-mode-linux-3.2-2um/debian/patches/02_x-terminal-emulator.patch	2013-01-05 08:51:06.000000000 +0900
@@ -1,11 +1,11 @@
 # Mattia Dongili <malattia@debian.org>
 # Matt Zimmermannn <mdz@debian.org>
 # Use Debian's x-terminal-emulator
-Index: linux-source-2.6.25/arch/um/drivers/xterm.c
+Index: linux-source-3.2/arch/um/drivers/xterm.c
 ===================================================================
---- linux-source-2.6.25.orig/arch/um/drivers/xterm.c	2008-07-05 11:16:50.444754992 +0900
-+++ linux-source-2.6.25/arch/um/drivers/xterm.c	2008-07-05 11:17:17.624764233 +0900
-@@ -42,7 +42,7 @@ static void *xterm_init(char *str, int d
+--- linux-source-3.2.orig/arch/um/drivers/xterm.c	2013-01-04 07:21:26.429470247 +0900
++++ linux-source-3.2/arch/um/drivers/xterm.c	2013-01-04 07:21:30.921419619 +0900
+@@ -40,7 +40,7 @@
  }
  
  /* Only changed by xterm_setup, which is a setup */
@@ -14,7 +14,7 @@
  static char *title_switch = "-T";
  static char *exec_switch = "-e";
  
-@@ -79,7 +79,7 @@ __uml_setup("xterm=", xterm_setup,
+@@ -77,7 +77,7 @@
  "    respectively.  The title switch must have the form '<switch> title',\n"
  "    not '<switch>=title'.  Similarly, the exec switch must have the form\n"
  "    '<switch> command arg1 arg2 ...'.\n"
diff -Nru user-mode-linux-3.2-1um/debian/patches/04_remove_irqf_disabled.patch user-mode-linux-3.2-2um/debian/patches/04_remove_irqf_disabled.patch
--- user-mode-linux-3.2-1um/debian/patches/04_remove_irqf_disabled.patch	2012-03-28 01:53:32.000000000 +0900
+++ user-mode-linux-3.2-2um/debian/patches/04_remove_irqf_disabled.patch	2013-01-05 08:51:06.000000000 +0900
@@ -1,9 +1,11 @@
 http://www.mail-archive.com/user-mode-linux-devel@lists.sourceforge.net/msg06464.html
 This patch make the guest network work again.
 
---- linux-source-2.6.30.orig/arch/um/drivers/net_kern.c	2009-06-10 12:05:27.000000000 +0900
-+++ linux-source-2.6.30/arch/um/drivers/net_kern.c	2009-07-05 23:32:30.952417452 +0900
-@@ -165,7 +165,7 @@ static int uml_net_open(struct net_devic
+Index: linux-source-3.2/arch/um/drivers/net_kern.c
+===================================================================
+--- linux-source-3.2.orig/arch/um/drivers/net_kern.c	2013-01-04 07:21:26.361471009 +0900
++++ linux-source-3.2/arch/um/drivers/net_kern.c	2013-01-04 07:21:42.777286266 +0900
+@@ -161,7 +161,7 @@
  	}
  
  	err = um_request_irq(dev->irq, lp->fd, IRQ_READ, uml_net_interrupt,
diff -Nru user-mode-linux-3.2-1um/debian/patches/05_fix_static_build.patch user-mode-linux-3.2-2um/debian/patches/05_fix_static_build.patch
--- user-mode-linux-3.2-1um/debian/patches/05_fix_static_build.patch	2012-03-28 01:53:32.000000000 +0900
+++ user-mode-linux-3.2-2um/debian/patches/05_fix_static_build.patch	2013-01-05 08:51:06.000000000 +0900
@@ -1,11 +1,11 @@
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494995
 Fix symbol clash between libc and the kernel.
 
-Index: linux-source-2.6.30/arch/um/Makefile
+Index: linux-source-3.2/arch/um/Makefile
 ===================================================================
---- linux-source-2.6.30.orig/arch/um/Makefile	2009-07-07 21:18:57.964418085 +0900
-+++ linux-source-2.6.30/arch/um/Makefile	2009-07-07 21:19:34.828766443 +0900
-@@ -66,7 +66,8 @@
+--- linux-source-3.2.orig/arch/um/Makefile	2013-01-04 07:21:26.329471368 +0900
++++ linux-source-3.2/arch/um/Makefile	2013-01-04 07:21:46.117248747 +0900
+@@ -76,7 +76,8 @@
  # defines more robust
  
  KERNEL_DEFINES = $(strip -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask \
diff -Nru user-mode-linux-3.2-1um/debian/rules user-mode-linux-3.2-2um/debian/rules
--- user-mode-linux-3.2-1um/debian/rules	2012-04-17 20:45:56.000000000 +0900
+++ user-mode-linux-3.2-2um/debian/rules	2013-01-05 08:51:06.000000000 +0900
@@ -8,6 +8,7 @@
 config_target:=oldconfig
 kernel_version:=3.2
 kernel_dir:=linux-source-$(kernel_version)
+BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W linux-source-$(kernel_version))
 debian:=$(CURDIR)/debian
 tmp:=$(debian)/user-mode-linux
 tmpmodules:=$(debian)/uml-modules
@@ -143,7 +144,7 @@
 	dh_installdeb
 #	dh_perl
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -VBuilt-Using="$(BUILT_USING)"
 	dh_md5sums
 	dh_builddeb
--  

unblock user-mode-linux/3.2-2um-1

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7.0+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- 
mattia
:wq!


Reply to: