From a902fcc00a188fb940b75bb3db65a2cb44636a58 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 22 Aug 2024 21:48:44 -0600 Subject: [PATCH] go.mod: Use copy of lzip library that disappeared (close #421) --- go.mod | 3 ++- go.sum | 6 ++++-- lzip.go | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index c81ae494..688939e3 100644 --- a/go.mod +++ b/go.mod @@ -18,8 +18,8 @@ require ( github.com/STARRY-S/zip v0.1.0 github.com/bodgit/sevenzip v1.5.1 github.com/golang/snappy v0.0.4 + github.com/mholt/lzip-go v0.3.6 github.com/pierrec/lz4/v4 v4.1.21 - github.com/sorairolake/lzip-go v0.3.4 golang.org/x/text v0.16.0 ) @@ -29,5 +29,6 @@ require ( github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect + github.com/sorairolake/lzip-go v0.3.5 // indirect go4.org v0.0.0-20230225012048-214862532bf5 // indirect ) diff --git a/go.sum b/go.sum index a706d93d..909854a4 100644 --- a/go.sum +++ b/go.sum @@ -92,6 +92,8 @@ github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/mholt/lzip-go v0.3.6 h1:M32wuPUoU7OWXMFukNnK/OZRXdPQyZsdn9ls/Gqivts= +github.com/mholt/lzip-go v0.3.6/go.mod h1:E5mRuN06hLueqwJepeuv1xf2X5GnW9xd+Qs+JJBDGBM= github.com/nwaples/rardecode/v2 v2.0.0-beta.2 h1:e3mzJFJs4k83GXBEiTaQ5HgSc/kOK8q0rDaRO0MPaOk= github.com/nwaples/rardecode/v2 v2.0.0-beta.2/go.mod h1:yntwv/HfMc/Hbvtq9I19D1n58te3h6KsqCf3GxyfBGY= github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ= @@ -101,8 +103,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk= -github.com/sorairolake/lzip-go v0.3.4 h1:588FEACmBj0SFhS4SsbiePLxx24ENrqsbt8OiIAoESA= -github.com/sorairolake/lzip-go v0.3.4/go.mod h1:N0KYq5iWrMXI0ZEXKXaS9hCyOjZUQdBDEIbXfoUwbdk= +github.com/sorairolake/lzip-go v0.3.5 h1:ms5Xri9o1JBIWvOFAorYtUNik6HI3HgBTkISiqu0Cwg= +github.com/sorairolake/lzip-go v0.3.5/go.mod h1:N0KYq5iWrMXI0ZEXKXaS9hCyOjZUQdBDEIbXfoUwbdk= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= diff --git a/lzip.go b/lzip.go index a861a487..958c6e6f 100644 --- a/lzip.go +++ b/lzip.go @@ -6,7 +6,7 @@ import ( "path/filepath" "strings" - "github.com/sorairolake/lzip-go" + "github.com/mholt/lzip-go" ) func init() {