Package: pt-websocket / 0.2-8

use-dh-golang.patch Patch series | 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
Description: Use dh_golang to build the binaries
Author: Ximin Luo <infinity0@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
 pt-websocket-client/pt-websocket-client: pt-websocket-client/*.go
 	cd pt-websocket-client && go build $(GOBUILDFLAGS)
 
-doc/pt-websocket-server.1: pt-websocket-server/pt-websocket-server
+doc/pt-websocket-server.1: obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)/bin/pt-websocket-server
 	help2man --no-info --name "WebSocket server pluggable transport" --version-string "$(VERSION)" -o "$@" "$<"
 
 install: pt-websocket-server/pt-websocket-server
--- a/pt-websocket-server/pt-websocket-server.go
+++ b/pt-websocket-server/pt-websocket-server.go
@@ -20,7 +20,7 @@
 	"time"
 )
 
-import "../websocket"
+import "git.torproject.org/pluggable-transports/websocket/websocket"
 
 import "git.torproject.org/pluggable-transports/goptlib.git"