Skip to contentSkip to conversation

lvm2: bump to version 2.02.111

PATCH New Gustavo Zacarias 2 participants 5 messages Oct 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 lvm2: bump to version 2.02.111

And add hash file.

---
 package/lvm2/lvm2.hash | 2 ++
 package/lvm2/lvm2.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/lvm2/lvm2.hash
package/lvm2/lvm2.hash new file +2 -0
new file mode 100644
index 0000000..10f2905
@@ -0,0 +1,2 @@
+# From ftp://sources.redhat.com/pub/lvm2/md5.sum
+md5	02487ab2a9e02d1ee76fe217183df28a	LVM2.2.02.111.tgz
package/lvm2/lvm2.mk +1 -1
index 4b06bd4..76c2f82 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LVM2_VERSION = 2.02.106
+LVM2_VERSION = 2.02.111
 LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz
 LVM2_SITE = ftp://sources.redhat.com/pub/lvm2/releases
 LVM2_INSTALL_STAGING = YES
Signature · 1 line
2.0.4
#1 lore raw

PATCH 2/2 cryptsetup: bump to version 1.6.6

Drop upstream patch, add hash file, switch to kernel.org mirror.

---
 ...ryptsetup-0002-mkdir.patch => 0001-mkdir.patch} |  0
 ...p-0001-link-against-lrt-for-clock_gettime.patch | 33 ----------------------
 package/cryptsetup/cryptsetup.hash                 |  2 ++
 package/cryptsetup/cryptsetup.mk                   |  7 +++--
 4 files changed, 6 insertions(+), 36 deletions(-)
 rename package/cryptsetup/{cryptsetup-0002-mkdir.patch => 0001-mkdir.patch} (100%)
 delete mode 100644 package/cryptsetup/cryptsetup-0001-link-against-lrt-for-clock_gettime.patch
 create mode 100644 package/cryptsetup/cryptsetup.hash
package/cryptsetup/0001-mkdir.patch renamed from package/cryptsetup/cryptsetup-0002-mkdir.patch +0 -0
similarity index 100%
rename from package/cryptsetup/cryptsetup-0002-mkdir.patch
rename to package/cryptsetup/0001-mkdir.patch
package/cryptsetup/cryptsetup-0001-link-against-lrt-for-clock_gettime.patch deleted +0 -33
deleted file mode 100644
index ae9a522..0000000
@@ -1,33 +0,0 @@
-From 715186bee512f25715e6d1c58ce03cc32e0efae3 Mon Sep 17 00:00:00 2001
-From: Axel Lin <[email protected]>
-Date: Mon, 30 Dec 2013 18:10:03 +0800
-Subject: [PATCH] Link against -lrt for clock_gettime
-
-Fix undefined reference to `clock_gettime' error.
-This is required since commit f3e398afc549 "Rewrite cipher benchmark loop.".
-
-Below is the build error report:
-http://autobuild.buildroot.net/results/9ca/9cad1cf49ee6b5c58d8260ee33beef2e6c1ada4d/build-end.log
-
-Signed-off-by: Axel Lin <[email protected]>
----
- configure.ac | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1c456be..aa4c10f 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -49,7 +49,8 @@ AC_CHECK_LIB(uuid, uuid_clear, ,[AC_MSG_ERROR([You need the uuid library.])])
- AC_SUBST(UUID_LIBS, $LIBS)
- LIBS=$saved_LIBS
- 
--AC_CHECK_FUNCS([posix_memalign])
-+AC_SEARCH_LIBS([clock_gettime],[rt posix4])
-+AC_CHECK_FUNCS([posix_memalign clock_gettime])
- 
- if test "x$enable_largefile" = "xno" ; then
-   AC_MSG_ERROR([Building with --disable-largefile is not supported, it can cause data corruption.])
--- 
-1.8.1.2
-
package/cryptsetup/cryptsetup.hash new file +2 -0
new file mode 100644
index 0000000..f288082
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/sha256sums.asc
+sha256	2d2ce28e4e1137dd599d87884b62ef6dbf14fd7848b2a2bf7d61cf125fbd8e6f	cryptsetup-1.6.6.tar.xz
package/cryptsetup/cryptsetup.mk +4 -3
index e365d43..f43bbca 100644
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-CRYPTSETUP_VERSION = 1.6.3
-CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.bz2
-CRYPTSETUP_SITE = http://cryptsetup.googlecode.com/files
+CRYPTSETUP_VERSION_MAJOR = 1.6
+CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).6
+CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz
+CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR)
 CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
 CRYPTSETUP_DEPENDENCIES = lvm2 popt e2fsprogs libgcrypt host-pkgconf \
 	$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
Signature · 1 line
2.0.4
#2 lore raw

PATCH 2/2 cryptsetup: bump to version 1.6.6

Dear Gustavo Zacarias,

Quoted 12 lines · Gustavo Zacarias

Drop upstream patch, add hash file, switch to kernel.org mirror.

---
 ...ryptsetup-0002-mkdir.patch => 0001-mkdir.patch} |  0
 ...p-0001-link-against-lrt-for-clock_gettime.patch | 33 ----------------------
 package/cryptsetup/cryptsetup.hash                 |  2 ++
 package/cryptsetup/cryptsetup.mk                   |  7 +++--
 4 files changed, 6 insertions(+), 36 deletions(-)
 rename package/cryptsetup/{cryptsetup-0002-mkdir.patch => 0001-mkdir.patch} (100%)
 delete mode 100644 package/cryptsetup/cryptsetup-0001-link-against-lrt-for-clock_gettime.patch
 create mode 100644 package/cryptsetup/cryptsetup.hash

Applied, thanks. If you have some time, it would be great to push 0001-mkdir.patch upstream, so that we can drop AUTORECONF = YES at some point in the future.

Thanks a lot:

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 2/2 cryptsetup: bump to version 1.6.6

Quoted 3 lines · Thomas Petazzoni

Applied, thanks. If you have some time, it would be great to push 0001-mkdir.patch upstream, so that we can drop AUTORECONF = YES at some point in the future.

Unfortunately this is one of those that depend on the gettext infra used to package up the release tarball, a patch wouldn't do any good (Makefile.in.in is autogenerated) :-/
I don't think upstream will like someone telling them to upgrade their distro.
Regards.

#4 lore raw

PATCH 1/2 lvm2: bump to version 2.02.111

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

And add hash file.

---
 package/lvm2/lvm2.hash | 2 ++
 package/lvm2/lvm2.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/lvm2/lvm2.hash

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com