All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0
@ 2017-09-12 18:14 Bernd Kuhls
  2017-09-12 19:47 ` Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bernd Kuhls @ 2017-09-12 18:14 UTC (permalink / raw)
  To: buildroot

Removed patch applied upstream, switched to cmake-package following
upstream removal of autoconf.

Short summary of changes:

version 1.0.1
- switched from autoconf to cmake

version 1.0.0:
- fixed CVE-2014-8242
- project moved to github

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/librsync/0001-fix-build-with-clang.patch | 37 ------------------------
 package/librsync/Config.in                       |  2 +-
 package/librsync/librsync.hash                   |  2 +-
 package/librsync/librsync.mk                     |  6 ++--
 4 files changed, 5 insertions(+), 42 deletions(-)
 delete mode 100644 package/librsync/0001-fix-build-with-clang.patch

diff --git a/package/librsync/0001-fix-build-with-clang.patch b/package/librsync/0001-fix-build-with-clang.patch
deleted file mode 100644
index ea513c04d9..0000000000
--- a/package/librsync/0001-fix-build-with-clang.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 1175b1cd102ee15512185c7983868e5746959da0 Mon Sep 17 00:00:00 2001
-From: Adam Schubert <feartohell@seznam.cz>
-Date: Mon, 11 May 2015 04:25:45 +0200
-Subject: [PATCH] Fix build under clang
-
-Downloaded from upstream commit:
-https://github.com/librsync/librsync/commit/1175b1cd102ee15512185c7983868e5746959da0.patch
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-
----
- delta.c | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/delta.c b/delta.c
-index 19498f9..72afdf6 100644
---- a/delta.c
-+++ b/delta.c
-@@ -126,12 +126,12 @@ static rs_result rs_delta_s_scan(rs_job_t *job);
- static rs_result rs_delta_s_flush(rs_job_t *job);
- static rs_result rs_delta_s_end(rs_job_t *job);
- void rs_getinput(rs_job_t *job);
--inline int rs_findmatch(rs_job_t *job, rs_long_t *match_pos, size_t *match_len);
--inline rs_result rs_appendmatch(rs_job_t *job, rs_long_t match_pos, size_t match_len);
--inline rs_result rs_appendmiss(rs_job_t *job, size_t miss_len);
--inline rs_result rs_appendflush(rs_job_t *job);
--inline rs_result rs_processmatch(rs_job_t *job);
--inline rs_result rs_processmiss(rs_job_t *job);
-+static inline int rs_findmatch(rs_job_t *job, rs_long_t *match_pos, size_t *match_len);
-+static inline rs_result rs_appendmatch(rs_job_t *job, rs_long_t match_pos, size_t match_len);
-+static inline rs_result rs_appendmiss(rs_job_t *job, size_t miss_len);
-+static inline rs_result rs_appendflush(rs_job_t *job);
-+static inline rs_result rs_processmatch(rs_job_t *job);
-+static inline rs_result rs_processmiss(rs_job_t *job);
- 
- /**
-  * \brief Get a block of data if possible, and see if it matches.
diff --git a/package/librsync/Config.in b/package/librsync/Config.in
index 5dcdfc8f2e..652f0cb276 100644
--- a/package/librsync/Config.in
+++ b/package/librsync/Config.in
@@ -8,4 +8,4 @@ config BR2_PACKAGE_LIBRSYNC
 	  remote file synchronization that was popularized by the
 	  rsync utility and is used in rproxy.
 
-	  http://sourceforge.net/projects/librsync/
+	  https://github.com/librsync/librsync
diff --git a/package/librsync/librsync.hash b/package/librsync/librsync.hash
index 55ace76394..2d5e2e0028 100644
--- a/package/librsync/librsync.hash
+++ b/package/librsync/librsync.hash
@@ -1,2 +1,2 @@
 # Locally computed:
-sha256  6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6  librsync-0.9.7.tar.gz
+sha256 b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169  librsync-v2.0.0.tar.gz
diff --git a/package/librsync/librsync.mk b/package/librsync/librsync.mk
index 517f8715cb..07b684a264 100644
--- a/package/librsync/librsync.mk
+++ b/package/librsync/librsync.mk
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-LIBRSYNC_VERSION = 0.9.7
-LIBRSYNC_SITE = http://downloads.sourceforge.net/project/librsync/librsync/$(LIBRSYNC_VERSION)
+LIBRSYNC_VERSION = v2.0.0
+LIBRSYNC_SITE = $(call github,librsync,librsync,$(LIBRSYNC_VERSION))
 LIBRSYNC_LICENSE = LGPL-2.1+
 LIBRSYNC_LICENSE_FILES = COPYING
 LIBRSYNC_INSTALL_STAGING = YES
 LIBRSYNC_DEPENDENCIES = zlib bzip2 popt
 
-$(eval $(autotools-package))
+$(eval $(cmake-package))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0
  2017-09-12 18:14 [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0 Bernd Kuhls
@ 2017-09-12 19:47 ` Peter Korsgaard
  2017-09-21 13:03 ` Peter Korsgaard
  2017-10-16 21:53 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-09-12 19:47 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Removed patch applied upstream, switched to cmake-package following
 > upstream removal of autoconf.

 > Short summary of changes:

 > version 1.0.1
 > - switched from autoconf to cmake

 > version 1.0.0:
 > - fixed CVE-2014-8242
 > - project moved to github

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0
  2017-09-12 18:14 [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0 Bernd Kuhls
  2017-09-12 19:47 ` Peter Korsgaard
@ 2017-09-21 13:03 ` Peter Korsgaard
  2017-10-16 21:53 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-09-21 13:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Removed patch applied upstream, switched to cmake-package following
 > upstream removal of autoconf.

 > Short summary of changes:

 > version 1.0.1
 > - switched from autoconf to cmake

 > version 1.0.0:
 > - fixed CVE-2014-8242
 > - project moved to github

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0
  2017-09-12 18:14 [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0 Bernd Kuhls
  2017-09-12 19:47 ` Peter Korsgaard
  2017-09-21 13:03 ` Peter Korsgaard
@ 2017-10-16 21:53 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-10-16 21:53 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Removed patch applied upstream, switched to cmake-package following
 > upstream removal of autoconf.

 > Short summary of changes:

 > version 1.0.1
 > - switched from autoconf to cmake

 > version 1.0.0:
 > - fixed CVE-2014-8242
 > - project moved to github

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2017.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-16 21:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-12 18:14 [Buildroot] [PATCH 1/1] package/librsync: security bump to version 2.0.0 Bernd Kuhls
2017-09-12 19:47 ` Peter Korsgaard
2017-09-21 13:03 ` Peter Korsgaard
2017-10-16 21:53 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.