14.1 KB
golang-pty version 1.1.6-1~jan+unchanged2 (unchanged) vs.
golang-pty version 1.1.8-1~jan+nur1 (fresh-releases)
14.0 KB
golang-github-kr-pty-dev_1.1.8-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-10-19·15:49:52.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-10-19·15:49:52.000000·debian-binary
2 -rw-r--r--···0········0········0·····1516·2020-10-19·15:49:52.000000·control.tar.xz2 -rw-r--r--···0········0········0······788·2020-10-19·15:49:52.000000·control.tar.xz
3 -rw-r--r--···0········0········0·····8968·2020-10-19·15:49:52.000000·data.tar.xz3 -rw-r--r--···0········0········0·····4420·2020-10-19·15:49:52.000000·data.tar.xz
3.18 KB
control.tar.xz
3.16 KB
control.tar
507 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./
2 -rw-r--r--···0·root·········(0)·root·········(0)······571·2020-10-19·15:49:52.000000·./control2 -rw-r--r--···0·root·········(0)·root·········(0)······565·2020-10-19·15:49:52.000000·./control
3 -rw-r--r--···0·root·········(0)·root·········(0)·····3278·2020-10-19·15:49:52.000000·./md5sums3 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-10-19·15:49:52.000000·./md5sums
495 B
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·golang-github-kr-pty-dev1 Package:·golang-github-kr-pty-dev
2 Source:·golang-pty2 Source:·golang-pty
3 Version:·1.1.8-13 Version:·1.1.8-1
4 Architecture:·all4 Architecture:·all
5 Maintainer:·Debian·Go·Packaging·Team·<team+pkg-go@tracker.debian.org>5 Maintainer:·Debian·Go·Packaging·Team·<team+pkg-go@tracker.debian.org>
6 Installed-Size:·626 Installed-Size:·22
7 Breaks:·golang-pty-dev·(<<·0.0~git20151007.0.f7ee69f-1~)7 Breaks:·golang-pty-dev·(<<·0.0~git20151007.0.f7ee69f-1~)
8 Replaces:·golang-pty-dev·(<<·0.0~git20151007.0.f7ee69f-1~)8 Replaces:·golang-pty-dev·(<<·0.0~git20151007.0.f7ee69f-1~)
9 Provides:·golang-pty-dev9 Provides:·golang-pty-dev
10 Section:·devel10 Section:·devel
11 Priority:·optional11 Priority:·optional
12 Multi-Arch:·foreign12 Multi-Arch:·foreign
13 Homepage:·https://github.com/kr/pty13 Homepage:·https://github.com/kr/pty
2.16 KB
./md5sums
2.14 KB
line order
    
Offset 1, 37 lines modifiedOffset 1, 6 lines modified
1 usr/share/doc/golang-github-kr-pty-dev/README.md1 usr/share/doc/golang-github-kr-pty-dev/README.md
2 usr/share/doc/golang-github-kr-pty-dev/changelog.Debian.gz2 usr/share/doc/golang-github-kr-pty-dev/changelog.Debian.gz
3 usr/share/doc/golang-github-kr-pty-dev/copyright3 usr/share/doc/golang-github-kr-pty-dev/copyright
4 usr/share/gocode/src/github.com/kr/pty/doc.go 
5 usr/share/gocode/src/github.com/kr/pty/go.mod4 usr/share/gocode/src/github.com/kr/pty/go.mod
6 usr/share/gocode/src/github.com/kr/pty/ioctl.go 
7 usr/share/gocode/src/github.com/kr/pty/ioctl_bsd.go 
8 usr/share/gocode/src/github.com/kr/pty/ioctl_solaris.go 
9 usr/share/gocode/src/github.com/kr/pty/pty_darwin.go 
10 usr/share/gocode/src/github.com/kr/pty/pty_dragonfly.go 
11 usr/share/gocode/src/github.com/kr/pty/pty_freebsd.go 
12 usr/share/gocode/src/github.com/kr/pty/pty_linux.go 
13 usr/share/gocode/src/github.com/kr/pty/pty_openbsd.go 
14 usr/share/gocode/src/github.com/kr/pty/pty_solaris.go 
15 usr/share/gocode/src/github.com/kr/pty/pty_unsupported.go 
16 usr/share/gocode/src/github.com/kr/pty/run.go5 usr/share/gocode/src/github.com/kr/pty/go.sum
17 usr/share/gocode/src/github.com/kr/pty/types.go 
18 usr/share/gocode/src/github.com/kr/pty/types_dragonfly.go 
19 usr/share/gocode/src/github.com/kr/pty/types_freebsd.go 
20 usr/share/gocode/src/github.com/kr/pty/types_openbsd.go 
21 usr/share/gocode/src/github.com/kr/pty/util.go6 usr/share/gocode/src/github.com/kr/pty/shim.go
22 usr/share/gocode/src/github.com/kr/pty/util_solaris.go 
23 usr/share/gocode/src/github.com/kr/pty/ztypes_386.go 
24 usr/share/gocode/src/github.com/kr/pty/ztypes_amd64.go 
25 usr/share/gocode/src/github.com/kr/pty/ztypes_arm.go 
26 usr/share/gocode/src/github.com/kr/pty/ztypes_arm64.go 
27 usr/share/gocode/src/github.com/kr/pty/ztypes_dragonfly_amd64.go 
28 usr/share/gocode/src/github.com/kr/pty/ztypes_freebsd_386.go 
29 usr/share/gocode/src/github.com/kr/pty/ztypes_freebsd_amd64.go 
30 usr/share/gocode/src/github.com/kr/pty/ztypes_freebsd_arm.go 
31 usr/share/gocode/src/github.com/kr/pty/ztypes_mipsx.go 
32 usr/share/gocode/src/github.com/kr/pty/ztypes_openbsd_386.go 
33 usr/share/gocode/src/github.com/kr/pty/ztypes_openbsd_amd64.go 
34 usr/share/gocode/src/github.com/kr/pty/ztypes_ppc64.go 
35 usr/share/gocode/src/github.com/kr/pty/ztypes_ppc64le.go 
36 usr/share/gocode/src/github.com/kr/pty/ztypes_riscvx.go 
37 usr/share/gocode/src/github.com/kr/pty/ztypes_s390x.go 
10.3 KB
data.tar.xz
10.2 KB
data.tar
6.93 KB
file list
    
Offset 1, 47 lines modifiedOffset 1, 16 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/doc/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/doc/
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/doc/golang-github-kr-pty-dev/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/doc/golang-github-kr-pty-dev/
6 -rw-r--r--···0·root·········(0)·root·········(0)·····1993·2019-06-29·15:10:31.000000·./usr/share/doc/golang-github-kr-pty-dev/README.md6 -rw-r--r--···0·root·········(0)·root·········(0)······186·2019-07-02·03:08:44.000000·./usr/share/doc/golang-github-kr-pty-dev/README.md
7 -rw-r--r--···0·root·········(0)·root·········(0)·····1780·2020-10-19·15:49:52.000000·./usr/share/doc/golang-github-kr-pty-dev/changelog.Debian.gz7 -rw-r--r--···0·root·········(0)·root·········(0)·····1782·2020-10-19·15:49:52.000000·./usr/share/doc/golang-github-kr-pty-dev/changelog.Debian.gz
8 -rw-r--r--···0·root·········(0)·root·········(0)·····2174·2020-10-19·15:49:52.000000·./usr/share/doc/golang-github-kr-pty-dev/copyright8 -rw-r--r--···0·root·········(0)·root·········(0)·····2174·2020-10-19·15:49:52.000000·./usr/share/doc/golang-github-kr-pty-dev/copyright
9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/
10 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/10 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/
11 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/11 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/
12 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/12 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/
13 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/13 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/
14 -rw-r--r--···0·root·········(0)·root·········(0)······349·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/doc.go 
15 -rw-r--r--···0·root·········(0)·root·········(0)·······34·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/go.mod14 -rw-r--r--···0·root·········(0)·root·········(0)·······72·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/go.mod
16 -rw-r--r--···0·root·········(0)·root·········(0)······203·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ioctl.go 
17 -rw-r--r--···0·root·········(0)·root·········(0)·····1103·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ioctl_bsd.go 
18 -rw-r--r--···0·root·········(0)·root·········(0)······630·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ioctl_solaris.go 
19 -rw-r--r--···0·root·········(0)·root·········(0)·····1243·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_darwin.go 
20 -rw-r--r--···0·root·········(0)·root·········(0)·····1581·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_dragonfly.go 
21 -rw-r--r--···0·root·········(0)·root·········(0)·····1540·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_freebsd.go 
22 -rw-r--r--···0·root·········(0)·root·········(0)·····1004·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_linux.go 
23 -rw-r--r--···0·root·········(0)·root·········(0)······773·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_openbsd.go 
24 -rw-r--r--···0·root·········(0)·root·········(0)·····3180·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_solaris.go 
25 -rw-r--r--···0·root·········(0)·root·········(0)······175·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/pty_unsupported.go 
26 -rw-r--r--···0·root·········(0)·root·········(0)·····1194·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/run.go15 -rw-r--r--···0·root·········(0)·root·········(0)······161·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/go.sum
27 -rw-r--r--···0·root·········(0)·root·········(0)·······83·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/types.go 
28 -rw-r--r--···0·root·········(0)·root·········(0)······248·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/types_dragonfly.go 
29 -rw-r--r--···0·root·········(0)·root·········(0)······210·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/types_freebsd.go 
30 -rw-r--r--···0·root·········(0)·root·········(0)······169·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/types_openbsd.go 
31 -rw-r--r--···0·root·········(0)·root·········(0)·····1512·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/util.go16 -rw-r--r--···0·root·········(0)·root·········(0)·····2561·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/shim.go
32 -rw-r--r--···0·root·········(0)·root·········(0)·····1155·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/util_solaris.go 
33 -rw-r--r--···0·root·········(0)·root·········(0)······118·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_386.go 
34 -rw-r--r--···0·root·········(0)·root·········(0)······118·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_amd64.go 
35 -rw-r--r--···0·root·········(0)·root·········(0)······118·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_arm.go 
36 -rw-r--r--···0·root·········(0)·root·········(0)······135·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_arm64.go 
37 -rw-r--r--···0·root·········(0)·root·········(0)······205·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_dragonfly_amd64.go 
38 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_freebsd_386.go 
39 -rw-r--r--···0·root·········(0)·root·········(0)······202·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_freebsd_amd64.go 
40 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_freebsd_arm.go 
41 -rw-r--r--···0·root·········(0)·root·········(0)······173·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_mipsx.go 
42 -rw-r--r--···0·root·········(0)·root·········(0)······188·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_openbsd_386.go 
43 -rw-r--r--···0·root·········(0)·root·········(0)······190·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_openbsd_amd64.go 
44 -rw-r--r--···0·root·········(0)·root·········(0)······135·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_ppc64.go 
45 -rw-r--r--···0·root·········(0)·root·········(0)······137·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_ppc64le.go 
46 -rw-r--r--···0·root·········(0)·root·········(0)······154·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_riscvx.go 
47 -rw-r--r--···0·root·········(0)·root·········(0)······135·2020-10-19·15:49:52.000000·./usr/share/gocode/src/github.com/kr/pty/ztypes_s390x.go 
2.33 KB
./usr/share/doc/golang-github-kr-pty-dev/README.md
    
Offset 1, 100 lines modifiedOffset 1, 9 lines modified
1 #·pty1 #·pty
  
2 Pty·is·a·Go·package·for·using·unix·pseudo-terminals.2 This·Go·module·has·moved·to·<https://github.com/creack/pty>.
  
3 ##·Install3 Existing·clients·will·continue·to·work.
  
 4 New·clients·should·use·the·new·module·import·path
4 ····go·get·github.com/creack/pty5 `github.com/creack/pty`.
  
5 ##·Example 
  
6 ###·Command 
  
7 ```go 
8 package·main 
  
9 import·( 
10 »       "github.com/creack/pty" 
11 »       "io" 
12 »       "os" 
13 »       "os/exec" 
14 ) 
  
15 func·main()·{ 
16 »       c·:=·exec.Command("grep",·"--color=auto",·"bar") 
17 »       f,·err·:=·pty.Start(c) 
18 »       if·err·!=·nil·{ 
19 »       »       panic(err) 
20 »       } 
  
21 »       go·func()·{ 
22 »       »       f.Write([]byte("foo\n")) 
23 »       »       f.Write([]byte("bar\n")) 
24 »       »       f.Write([]byte("baz\n")) 
25 »       »       f.Write([]byte{4})·//·EOT 
26 »       }() 
27 »       io.Copy(os.Stdout,·f) 
28 } 
29 ``` 
  
30 ###·Shell 
  
31 ```go 
32 package·main 
  
33 import·( 
34 ········"io" 
35 ········"log" 
36 ········"os" 
37 ········"os/exec" 
38 ········"os/signal" 
39 ········"syscall" 
  
40 ········"github.com/creack/pty" 
41 ········"golang.org/x/crypto/ssh/terminal" 
42 ) 
  
43 func·test()·error·{ 
44 ········//·Create·arbitrary·command. 
45 ········c·:=·exec.Command("bash") 
  
46 ········//·Start·the·command·with·a·pty. 
47 ········ptmx,·err·:=·pty.Start(c) 
48 ········if·err·!=·nil·{ 
49 ················return·err 
50 ········} 
51 ········//·Make·sure·to·close·the·pty·at·the·end. 
52 ········defer·func()·{·_·=·ptmx.Close()·}()·//·Best·effort. 
  
53 ········//·Handle·pty·size. 
54 ········ch·:=·make(chan·os.Signal,·1) 
55 ········signal.Notify(ch,·syscall.SIGWINCH) 
56 ········go·func()·{ 
57 ················for·range·ch·{ 
58 ························if·err·:=·pty.InheritSize(os.Stdin,·ptmx);·err·!=·nil·{ 
59 ································log.Printf("error·resizing·pty:·%s",·err) 
60 ························} 
61 ················} 
62 ········}() 
63 ········ch·<-·syscall.SIGWINCH·//·Initial·resize. 
  
64 ········//·Set·stdin·in·raw·mode. 
65 ········oldState,·err·:=·terminal.MakeRaw(int(os.Stdin.Fd())) 
66 ········if·err·!=·nil·{ 
67 ················panic(err) 
68 ········} 
69 ········defer·func()·{·_·=·terminal.Restore(int(os.Stdin.Fd()),·oldState)·}()·//·Best·effort. 
  
70 ········//·Copy·stdin·to·the·pty·and·the·pty·to·stdout. 
71 ········go·func()·{·_,·_·=·io.Copy(ptmx,·os.Stdin)·}() 
72 ········_,·_·=·io.Copy(os.Stdout,·ptmx) 
  
73 ········return·nil 
74 } 
  
75 func·main()·{ 
76 ········if·err·:=·test();·err·!=·nil·{ 
77 ················log.Fatal(err) 
78 ········} 
79 } 
80 ``` 
802 B
./usr/share/doc/golang-github-kr-pty-dev/changelog.Debian.gz
682 B
changelog.Debian
    
Offset 1, 14 lines modifiedOffset 1, 13 lines modified
1 golang-pty·(1.1.8-1)·unchanged;·urgency=low1 golang-pty·(1.1.8-1)·fresh-releases;·urgency=low
  
2 ··*·Build·for·debian-janitor·apt·repository.2 ··*·Build·for·debian-janitor·apt·repository.
  
3 ·--·Debian·Janitor·<janitor@jelmer.uk>··Fri,·23·Oct·2020·19:34:37·-00003 ·--·Debian·Janitor·<janitor@jelmer.uk>··Mon,·29·Mar·2021·10:33:51·-0000
  
4 golang-pty·(1.1.6-1~jan+unchanged1)·unstable;·urgency=medium4 golang-pty·(1.1.6-1)·unstable;·urgency=medium
  
5 ····New·upstream·version·1.1.65 ····New·upstream·version·1.1.6
6 ··*·Bump·debhelper·dependency·to·"Build-Depends:·debhelper-compat·(=·12)"6 ··*·Bump·debhelper·dependency·to·"Build-Depends:·debhelper-compat·(=·12)"
7 ··*·Bump·Standards-Version·to·4.4.0·(no·change)7 ··*·Bump·Standards-Version·to·4.4.0·(no·change)
  
8 ·--·Anthony·Fok·<foka@debian.org>··Wed,·07·Aug·2019·06:20:47·-06008 ·--·Anthony·Fok·<foka@debian.org>··Wed,·07·Aug·2019·06:20:47·-0600
  
187 B
./usr/share/gocode/src/github.com/kr/pty/go.mod
    
Offset 1, 3 lines modifiedOffset 1, 5 lines modified
1 module·github.com/kr/pty1 module·github.com/kr/pty
  
2 go·1.122 go·1.12
  
 3 require·github.com/creack/pty·v1.1.7