File: 0001-Replace-flynn-go-shlex-with-google-go-shlex.patch

package info (click to toggle)
golang-github-coredns-caddy 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 360 kB
  • sloc: makefile: 2
file content (29 lines) | stat: -rw-r--r-- 713 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Arthur Diniz <arthurbdiniz@gmail.com>
Date: Sat, 5 Apr 2025 20:35:11 +0100
Subject: Replace flynn/go-shlex with google/shlex

The golang-github-flynn-archive-go-shlex package has been removed as its
upstream is abandoned and no longer maintained.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961325

Forwarded: not-needed

Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com>
---
 commands.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands.go b/commands.go
index 74796e1..97f3da5 100644
--- a/commands.go
+++ b/commands.go
@@ -19,7 +19,7 @@ import (
 	"runtime"
 	"unicode"
 
-	"github.com/flynn/go-shlex"
+	"github.com/google/shlex"
 )
 
 var runtimeGoos = runtime.GOOS