summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-05-08 18:21:32 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-05-08 20:41:11 +0200
commit882308822094235a846b4848bf315c99382d6f52 (patch)
treea474889b0b7b0f05f6c4ec89edbc814ad91a228f /app-backup/burp
parentx11-wm/i3: remove unused patch(es) (diff)
downloadgentoo-882308822094235a846b4848bf315c99382d6f52.tar.gz
gentoo-882308822094235a846b4848bf315c99382d6f52.tar.bz2
gentoo-882308822094235a846b4848bf315c99382d6f52.zip
app-backup/burp: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/30935 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-backup/burp')
-rw-r--r--app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch24
-rw-r--r--app-backup/burp/files/burp-2.4.0-fix-musl-strptime.patch86
2 files changed, 0 insertions, 110 deletions
diff --git a/app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch b/app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch
deleted file mode 100644
index db9e9b6a9de5..000000000000
--- a/app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/configs/client/burp.conf.in
-+++ b/configs/client/burp.conf.in
-@@ -10,7 +10,8 @@
- # 0 to decide automatically, 1 to force protocol1 mode (file level granularity
- # with a pseudo mirrored storage on the server and optional rsync). 2 forces
- # protocol2 mode (inline deduplication with variable length blocks).
--# protocol = 0
-+# WARNING: as of September 2017 protocol2 is still considered experimental.
-+protocol = 1
- pidfile = @runstatedir@/@name@.client.pid
- syslog = 0
- stdout = 1
---- a/configs/server/burp.conf.in
-+++ b/configs/server/burp.conf.in
-@@ -21,7 +21,8 @@
- # protocol2 mode (inline deduplication with variable length blocks).
- # Like many other settings, this can be set per client in the clientconfdir
- # files.
--# protocol = 0
-+# WARNING: as of September 2017 protocol2 is still considered experimental.
-+protocol = 1
- pidfile = @runstatedir@/@name@.server.pid
- hardlinked_archive = 0
- working_dir_recovery_method = delete
diff --git a/app-backup/burp/files/burp-2.4.0-fix-musl-strptime.patch b/app-backup/burp/files/burp-2.4.0-fix-musl-strptime.patch
deleted file mode 100644
index e8afca8fefa7..000000000000
--- a/app-backup/burp/files/burp-2.4.0-fix-musl-strptime.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-https://github.com/grke/burp/commit/76b7f1ba9f4445108059b13f3d79a7fde8a292a3
-https://github.com/grke/burp/issues/908
-https://bugs.gentoo.org/862019
-
-From 76b7f1ba9f4445108059b13f3d79a7fde8a292a3 Mon Sep 17 00:00:00 2001
-From: Graham Keeling <grke@grke.net>
-Date: Mon, 8 Aug 2022 07:53:38 +1000
-Subject: [PATCH] 908: Only glibc supports %z in strptime()
-
-Change-Id: I220e4529073c92df856b892559725b323dc84334
----
- src/times.h | 8 ++++----
- utest/client/monitor/test_json_input.c | 15 +++++++++++----
- utest/test_times.c | 7 ++++---
- 3 files changed, 19 insertions(+), 11 deletions(-)
-
-diff --git a/src/times.h b/src/times.h
-index 325419c2b..b0fd3876f 100644
---- a/src/times.h
-+++ b/src/times.h
-@@ -3,11 +3,11 @@
-
- #define DEFAULT_TIMESTAMP_FORMAT_OLD "%Y-%m-%d %H:%M:%S"
-
--// Windows does not seem to support %z.
--#ifdef HAVE_WIN32
--#define DEFAULT_TIMESTAMP_FORMAT DEFAULT_TIMESTAMP_FORMAT_OLD
--#else
-+#ifdef __GLIBC__
- #define DEFAULT_TIMESTAMP_FORMAT "%Y-%m-%d %H:%M:%S %z"
-+#else
-+// Only glibc supports %z in strptime.
-+#define DEFAULT_TIMESTAMP_FORMAT DEFAULT_TIMESTAMP_FORMAT_OLD
- #endif
-
- extern const char *getdatestr(const time_t t);
-diff --git a/utest/client/monitor/test_json_input.c b/utest/client/monitor/test_json_input.c
-index 516fc779b..aea2a4154 100644
---- a/utest/client/monitor/test_json_input.c
-+++ b/utest/client/monitor/test_json_input.c
-@@ -162,13 +162,20 @@ static struct sd sd1[] = {
-
- static void assert_bu_minimal(struct bu *bu, struct sd *s)
- {
-- const char *sd_timestamp;
-+ const char *cp;
-+ const char *cp_end;
- fail_unless(bu!=NULL);
- fail_unless(s->bno==bu->bno);
- fail_unless(s->flags==bu->flags);
-- fail_unless((sd_timestamp=strchr(s->timestamp, ' '))!=NULL);
-- sd_timestamp++;
-- ck_assert_str_eq(sd_timestamp, bu->timestamp);
-+ fail_unless((cp=strchr(s->timestamp, ' '))!=NULL);
-+ cp++;
-+#ifdef __GLIBC__
-+ cp_end=s->timestamp+strlen(s->timestamp)-1;
-+#else
-+ // Only glibc supports %z in strptime.
-+ fail_unless((cp_end=strrchr(s->timestamp, ' '))!=NULL);
-+#endif
-+ fail_unless(strncmp(cp, bu->timestamp, cp_end-cp)==0);
- }
-
- static void do_test_json_clients_with_backup(const char *path,
-diff --git a/utest/test_times.c b/utest/test_times.c
-index 98be11fd1..5a68203a6 100644
---- a/utest/test_times.c
-+++ b/utest/test_times.c
-@@ -35,12 +35,13 @@ struct ds
-
- static struct ds ds[] = {
- { 0, "", "never" },
--#ifdef HAVE_WIN32
-- { 1000, "", "1970-01-01 00:16:40" },
--#else
-+#ifdef __GLIBC__
- { 1000, "", "1970-01-01 00:16:40 +0000" },
- { 1000, "UTC+10", "1969-12-31 14:16:40 -1000" },
- { 1000, "UTC+10", "1969-12-31 14:16:40 -1000" },
-+#else
-+ // Only glibc supports %z in strptime.
-+ { 1000, "", "1970-01-01 00:16:40" },
- #endif
- };
-