unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path.
@ 2021-08-10 21:07 Sarah Morgensen
  2021-08-10 21:10 ` [bug#49989] [PATCH 2/3] gnu: go-github-com-operatorfoundation-shapeshifter-transports: Remove goptlib patch Sarah Morgensen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sarah Morgensen @ 2021-08-10 21:07 UTC (permalink / raw)
  To: 49989

* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib)
[arguments]<#:import-path>: Use actual module name from go.mod.
---
Hello Guix,

Just a little fix for this import path, so dependents don't have to patch its
name.

Tested to build on x86_64, which since this is just a change in import path
name, should have caught any issues.

--
Sarah
 gnu/packages/golang.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 15f3ea46c4..ca029345e2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -822,7 +822,7 @@ parsing and encoding support for STUN and TURN protocols.")
         (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
+     `(#:import-path "git.torproject.org/pluggable-transports/goptlib.git"))
     (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib.git/")
     (synopsis "Go pluggable transports library")
     (description "GoPtLib is a library for writing Tor pluggable transports in

base-commit: c8e2be3b32fe784a9db52d8a1a12902ab12ae7cb
-- 
2.31.1





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

* [bug#49989] [PATCH 2/3] gnu: go-github-com-operatorfoundation-shapeshifter-transports: Remove goptlib patch.
  2021-08-10 21:07 [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
@ 2021-08-10 21:10 ` Sarah Morgensen
  2021-08-10 21:10 ` [bug#49989] [PATCH 3/3] gnu: go-github-com-operatorfoundation-obfs4: " Sarah Morgensen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Sarah Morgensen @ 2021-08-10 21:10 UTC (permalink / raw)
  To: 49989

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-transports)
[arguments]<#:phases>: Remove obsolete 'patch' phase for goptlib.
---
 gnu/packages/golang.scm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ca029345e2..166f578ee8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -127,11 +127,6 @@ filtering devices.")
      `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             (substitute* (find-files "." "\\.go$")
-               ;; To drop '.git' suffix in import path of goptlib.
-               (("goptlib\\.git") "goptlib"))))
          (replace 'build
            (lambda arguments
              (for-each
-- 
2.31.1





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

* [bug#49989] [PATCH 3/3] gnu: go-github-com-operatorfoundation-obfs4: Remove goptlib patch.
  2021-08-10 21:07 [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
  2021-08-10 21:10 ` [bug#49989] [PATCH 2/3] gnu: go-github-com-operatorfoundation-shapeshifter-transports: Remove goptlib patch Sarah Morgensen
@ 2021-08-10 21:10 ` Sarah Morgensen
  2021-08-13  4:37 ` [bug#49989] [PATCH v2] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
  2024-01-31 20:23 ` bug#49989: [PATCH 1/3] " Sharlatan Hellseher
  3 siblings, 0 replies; 5+ messages in thread
From: Sarah Morgensen @ 2021-08-10 21:10 UTC (permalink / raw)
  To: 49989

* gnu/packages/golang.scm (go-github-com-operatorfoundation-obfs4)
[arguments]<#:phases>: Remove obsolete 'patch' phase for goptlib.
---
 gnu/packages/golang.scm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 166f578ee8..9d49a3130e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -666,11 +666,6 @@ protocol from the Pluggable Transports 2.0 specification.")
      `(#:unpack-path "github.com/OperatorFoundation/obfs4"
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             (substitute* (find-files "." "\\.go$")
-               ;; To drop '.git' suffix in import path of goptlib.
-               (("goptlib\\.git") "goptlib"))))
          (replace 'build
            (lambda arguments
              (for-each
-- 
2.31.1





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

* [bug#49989] [PATCH v2] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path.
  2021-08-10 21:07 [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
  2021-08-10 21:10 ` [bug#49989] [PATCH 2/3] gnu: go-github-com-operatorfoundation-shapeshifter-transports: Remove goptlib patch Sarah Morgensen
  2021-08-10 21:10 ` [bug#49989] [PATCH 3/3] gnu: go-github-com-operatorfoundation-obfs4: " Sarah Morgensen
@ 2021-08-13  4:37 ` Sarah Morgensen
  2024-01-31 20:23 ` bug#49989: [PATCH 1/3] " Sharlatan Hellseher
  3 siblings, 0 replies; 5+ messages in thread
From: Sarah Morgensen @ 2021-08-13  4:37 UTC (permalink / raw)
  To: 49989

* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib)
[arguments]<#:import-path>: Use actual module name from go.mod.
(go-github-com-operatorfoundation-shapeshifter-transports)[arguments]
<#:phases>: Remove obsolete 'patch phase for goptlib.
(go-github-com-operatorfoundation-obfs4)[arguments]<#:phases>: Likewise.
---
Since it will break builds if these are applied separately, I went ahead and
merged these into one commit.

 gnu/packages/golang.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f4cd30c662..20c8a519dc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -661,11 +661,6 @@ filtering devices.")
      `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             (substitute* (find-files "." "\\.go$")
-               ;; To drop '.git' suffix in import path of goptlib.
-               (("goptlib\\.git") "goptlib"))))
          (replace 'build
            (lambda arguments
              (for-each
@@ -1205,11 +1200,6 @@ protocol from the Pluggable Transports 2.0 specification.")
      `(#:unpack-path "github.com/OperatorFoundation/obfs4"
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             (substitute* (find-files "." "\\.go$")
-               ;; To drop '.git' suffix in import path of goptlib.
-               (("goptlib\\.git") "goptlib"))))
          (replace 'build
            (lambda arguments
              (for-each
@@ -1356,7 +1346,7 @@ parsing and encoding support for STUN and TURN protocols.")
         (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
+     `(#:import-path "git.torproject.org/pluggable-transports/goptlib.git"))
     (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib.git/")
     (synopsis "Go pluggable transports library")
     (description "GoPtLib is a library for writing Tor pluggable transports in

base-commit: d87d6d68128c53a95fe09c3a4381575646c0f368
-- 
2.31.1





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

* bug#49989: [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path.
  2021-08-10 21:07 [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
                   ` (2 preceding siblings ...)
  2021-08-13  4:37 ` [bug#49989] [PATCH v2] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
@ 2024-01-31 20:23 ` Sharlatan Hellseher
  3 siblings, 0 replies; 5+ messages in thread
From: Sharlatan Hellseher @ 2024-01-31 20:23 UTC (permalink / raw)
  To: 49989-done

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]


Hi,

Pushed v2 as 849f219b72b5638b6abaf7d143654976ad99042e to master.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2024-01-31 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 21:07 [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
2021-08-10 21:10 ` [bug#49989] [PATCH 2/3] gnu: go-github-com-operatorfoundation-shapeshifter-transports: Remove goptlib patch Sarah Morgensen
2021-08-10 21:10 ` [bug#49989] [PATCH 3/3] gnu: go-github-com-operatorfoundation-obfs4: " Sarah Morgensen
2021-08-13  4:37 ` [bug#49989] [PATCH v2] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
2024-01-31 20:23 ` bug#49989: [PATCH 1/3] " Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).