From 5591d8ca790e209b6cb2ac28e3f10c3bdf40e1fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 29 Jun 2017 20:18:59 +0200 Subject: [PATCH] - up to pre3126 --- h2ext-xz.patch | 33 --------------------------------- util-vserver.spec | 10 +++++----- 2 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 h2ext-xz.patch diff --git a/h2ext-xz.patch b/h2ext-xz.patch deleted file mode 100644 index 2791203..0000000 --- a/h2ext-xz.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 2d66dba387f1240ad489b41d9b7504ab2a56dbf9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= -Date: Wed, 9 Sep 2015 16:22:56 +0300 -Subject: [PATCH] add .xz support for h2ext to be able to build from tar.xz - templates - -magic taken from -https://github.com/file/file/blob/FILE5_24/magic/Magdir/compress#L202-L205 - -however due limited support of magic format in util-vserver had to hack -some things: - -- does not support 'ustring', used 'string' -- does not support \xXX hex escape, used octal -- unable parse octal properly \375 + 7 would be parsed as \3757, so encoded '7' as \67 - -$ head -c6 < pld32.tar.xz|od -cx -0000000 375 7 z X Z \0 - 37fd 587a 005a ---- - distrib/misc/h2ext.desc | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/distrib/misc/h2ext.desc b/distrib/misc/h2ext.desc -index a234339..9441bd2 100644 ---- a/distrib/misc/h2ext.desc -+++ b/distrib/misc/h2ext.desc -@@ -17,3 +17,5 @@ - # dump/restore old-fs big and little endian - 24 belong 60011 restore -rf - 0 - 24 lelong 60011 restore -rf - 0 -+# xz -+0 string \375\67zXZ\0 xz -d -c 1 diff --git a/util-vserver.spec b/util-vserver.spec index ce6c824..bf286d9 100644 --- a/util-vserver.spec +++ b/util-vserver.spec @@ -19,8 +19,8 @@ # reqdb_pkg and reqdb_ver must match value from current rpm package in distro %define reqdb_ver 5.2 %define reqdb_pkg db%{reqdb_ver} -%define snap pre3120 -%define rel 2 +%define snap pre3126 +%define rel 1 Summary: Linux virtual server utilities Summary(pl.UTF-8): Narzędzia dla linuksowych serwerów wirtualnych Name: util-vserver @@ -29,7 +29,7 @@ Release: 1.%{snap}.%{rel} License: GPL Group: Applications/System Source0: http://people.linux-vserver.org/~dhozac/t/uv-testing/%{name}-%{version}-%{snap}.tar.xz -# Source0-md5: 5556f5ed07fdca8e0df85826aed7e33f +# Source0-md5: f4bd6e49baf2c6dd50ff0c9b6415a1c2 Source1: vprocunhide.init Source2: vservers.init Source3: vservers-legacy.init @@ -66,7 +66,7 @@ Patch13: %{name}-tmpdir.patch Patch14: %{name}-rpmpath.patch Patch15: %{name}-interfaces-ignore-cvs-dir.patch Patch16: %{name}-personalitymachine.patch -Patch17: h2ext-xz.patch + Patch18: %{name}-vprocunhide-net.patch # http://glen.alkohol.ee/pld/util-vserver-dbrebuild-internalize4.patch Patch19: %{name}-dbrebuild-internalize4.patch @@ -442,7 +442,7 @@ Szablony do tworzenia VServerów dla dystrybucji Titanium Linux. %patch14 -p1 %patch15 -p1 %patch16 -p1 -%patch17 -p1 + %patch18 -p1 %patch19 -p1 %patch21 -p1 -- 2.43.0