~ubuntu-branches/ubuntu/trusty/expect/trusty

« back to all changes in this revision

Viewing changes to debian/patches/01-example-shebang.patch

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-08-03 12:00:29 UTC
  • Revision ID: james.westby@ubuntu.com-20090803120029-mdxnz1e7vyu06ji6
* Adding patch from Adam Tkac <atkac@redhat.com> to compile with
  tcl8.5, but not yet enabling it.
* Updating vcs fields in control file.
* Using patch-stamp rather than patch in rules file.
* Replacing obsolete dh_clean -k with dh_prep.
* Using correct rfc-2822 date formats in changelog.
* Updating package to standards version 3.8.2.
* Adding misc depends.
* Removing shlibs file.
* Using quilt rather than dpatch.
* Adding patch from fedora to fix header comments.
* Adding patch from fedora to fix permissions when accessing logfiles.
* Adding patch from Vitezslav Crhonek <vcrhonek@redhat.com> for tcl
  8.5.6, but not yet enabling it.
* Minimizing rules file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Mike Markley <mike@markley.org>
 
2
Description: Fixes shebangs in examples (Closes: #152367).
 
3
 
 
4
diff -Naurp expect.orig/example/archie expect/example/archie
 
5
--- expect.orig/example/archie  2009-08-03 06:58:30.000000000 +0000
 
6
+++ expect/example/archie       2009-08-03 08:31:41.000000000 +0000
 
7
@@ -1,4 +1,4 @@
 
8
-#!../expect -f
 
9
+#!/usr/bin/expect -f
 
10
 
 
11
 # archie
 
12
 
 
13
diff -Naurp expect.orig/example/autoexpect expect/example/autoexpect
 
14
--- expect.orig/example/autoexpect      2009-08-03 06:58:30.000000000 +0000
 
15
+++ expect/example/autoexpect   2009-08-03 08:31:41.000000000 +0000
 
16
@@ -1,4 +1,4 @@
 
17
-#!../expect --
 
18
+#!/usr/bin/expect --
 
19
 # Name: autoexpect - generate an Expect script from watching a session
 
20
 #
 
21
 # Description:
 
22
diff -Naurp expect.orig/example/autopasswd expect/example/autopasswd
 
23
--- expect.orig/example/autopasswd      2009-08-03 06:58:30.000000000 +0000
 
24
+++ expect/example/autopasswd   2009-08-03 08:31:41.000000000 +0000
 
25
@@ -1,4 +1,4 @@
 
26
-#!../expect -f
 
27
+#!/usr/bin/expect -f
 
28
 # wrapper to make passwd(1) be non-interactive
 
29
 # username is passed as 1st arg, passwd as 2nd
 
30
 
 
31
diff -Naurp expect.orig/example/beer.exp expect/example/beer.exp
 
32
--- expect.orig/example/beer.exp        2009-08-03 06:58:30.000000000 +0000
 
33
+++ expect/example/beer.exp     2009-08-03 08:31:41.000000000 +0000
 
34
@@ -1,4 +1,4 @@
 
35
-#!/depot/path/expect -f
 
36
+#!/usr/bin/expect -f
 
37
 
 
38
 # 99 bottles of beer on the wall, Expect-style
 
39
 # Author: Don Libes <libes@nist.gov>
 
40
diff -Naurp expect.orig/example/chess.exp expect/example/chess.exp
 
41
--- expect.orig/example/chess.exp       2009-08-03 06:58:30.000000000 +0000
 
42
+++ expect/example/chess.exp    2009-08-03 08:31:41.000000000 +0000
 
43
@@ -1,4 +1,4 @@
 
44
-#!../expect -f
 
45
+#!/usr/bin/expect -f
 
46
 # expect script to connect two UNIX chess programs together.
 
47
 # written by Don Libes - May 9, 1990
 
48
 
 
49
diff -Naurp expect.orig/example/cryptdir expect/example/cryptdir
 
50
--- expect.orig/example/cryptdir        2009-08-03 06:58:30.000000000 +0000
 
51
+++ expect/example/cryptdir     2009-08-03 08:31:41.000000000 +0000
 
52
@@ -1,4 +1,4 @@
 
53
-#!../expect --
 
54
+#!/usr/bin/expect --
 
55
 # Name: cryptdir
 
56
 # Author: Don Libes, NIST
 
57
 #
 
58
diff -Naurp expect.orig/example/decryptdir expect/example/decryptdir
 
59
--- expect.orig/example/decryptdir      2009-08-03 06:58:30.000000000 +0000
 
60
+++ expect/example/decryptdir   2009-08-03 08:31:41.000000000 +0000
 
61
@@ -1,4 +1,4 @@
 
62
-#!../expect --
 
63
+#!/usr/bin/expect --
 
64
 # Name: cryptdir
 
65
 # Author: Don Libes, NIST
 
66
 #
 
67
diff -Naurp expect.orig/example/dislocate expect/example/dislocate
 
68
--- expect.orig/example/dislocate       2009-08-03 06:58:30.000000000 +0000
 
69
+++ expect/example/dislocate    2009-08-03 08:31:41.000000000 +0000
 
70
@@ -1,4 +1,4 @@
 
71
-#!../expect --
 
72
+#!/usr/bin/expect --
 
73
 # dislocate - allow disconnection and reconnection to a background program
 
74
 # Author: Don Libes, NIST
 
75
 
 
76
diff -Naurp expect.orig/example/dvorak expect/example/dvorak
 
77
--- expect.orig/example/dvorak  2009-08-03 06:58:30.000000000 +0000
 
78
+++ expect/example/dvorak       2009-08-03 08:31:41.000000000 +0000
 
79
@@ -1,4 +1,4 @@
 
80
-#!../expect -f
 
81
+#!/usr/bin/expect -f
 
82
 # simulate a dvorak keyboard
 
83
 # Actually just the lowercase letters are mapped to show the basic idea.
 
84
 # Really, uppercase and control should probably be mapped too.
 
85
diff -Naurp expect.orig/example/expectd.proto expect/example/expectd.proto
 
86
--- expect.orig/example/expectd.proto   2009-08-03 06:58:30.000000000 +0000
 
87
+++ expect/example/expectd.proto        2009-08-03 08:31:41.000000000 +0000
 
88
@@ -1,4 +1,4 @@
 
89
-#!/depot/tcl/src/expect/e --
 
90
+#!/usr/bin/expectk -f
 
91
 # Description: Simple fragment to begin a telnet daemon
 
92
 # For more information, see Chapter 17 of "Exploring Expect"
 
93
 # Author: Don Libes, NIST
 
94
diff -Naurp expect.orig/example/ftp-inband expect/example/ftp-inband
 
95
--- expect.orig/example/ftp-inband      2009-08-03 06:58:30.000000000 +0000
 
96
+++ expect/example/ftp-inband   2009-08-03 08:31:41.000000000 +0000
 
97
@@ -1,4 +1,4 @@
 
98
-#!../expect -f
 
99
+#!/usr/bin/expect -f
 
100
 # ftp-inband - copy files over a telnet/rlogin/etc link
 
101
 # Author: Don Libes, NIST
 
102
 # Date: Jan 11, 1993
 
103
diff -Naurp expect.orig/example/ftp-rfc expect/example/ftp-rfc
 
104
--- expect.orig/example/ftp-rfc 2009-08-03 06:58:30.000000000 +0000
 
105
+++ expect/example/ftp-rfc      2009-08-03 08:31:41.000000000 +0000
 
106
@@ -1,4 +1,4 @@
 
107
-#!../expect --
 
108
+#!/usr/bin/expect --
 
109
 
 
110
 # ftp-rfc <rfc-number>
 
111
 # ftp-rfc -index
 
112
diff -Naurp expect.orig/example/gethostbyaddr expect/example/gethostbyaddr
 
113
--- expect.orig/example/gethostbyaddr   2009-08-03 06:58:30.000000000 +0000
 
114
+++ expect/example/gethostbyaddr        2009-08-03 08:31:41.000000000 +0000
 
115
@@ -1,4 +1,4 @@
 
116
-#!../expect --
 
117
+#!/usr/bin/expect --
 
118
 #
 
119
 # gethostbyaddr a.b.c.d - translate an internet address to a FQDN,
 
120
 #                        guessing (a lot) if necessary.
 
121
diff -Naurp expect.orig/example/irsh expect/example/irsh
 
122
--- expect.orig/example/irsh    2009-08-03 06:58:30.000000000 +0000
 
123
+++ expect/example/irsh 2009-08-03 08:31:41.000000000 +0000
 
124
@@ -1,4 +1,4 @@
 
125
-#!/depot/path/expect --
 
126
+#!/usr/bin/expect --
 
127
 
 
128
 # Do rsh interactively.  For example, consider the following command:
 
129
 #    rsh <remote> ls -l "|" more
 
130
diff -Naurp expect.orig/example/kibitz expect/example/kibitz
 
131
--- expect.orig/example/kibitz  2009-08-03 06:58:30.000000000 +0000
 
132
+++ expect/example/kibitz       2009-08-03 08:31:41.000000000 +0000
 
133
@@ -1,4 +1,4 @@
 
134
-#!../expect --
 
135
+#!/usr/bin/expect --
 
136
 # allow another user to share a shell (or other program) with you
 
137
 # See kibitz(1) man page for complete info.
 
138
 # Author: Don Libes, NIST
 
139
diff -Naurp expect.orig/example/lpunlock expect/example/lpunlock
 
140
--- expect.orig/example/lpunlock        2009-08-03 06:58:30.000000000 +0000
 
141
+++ expect/example/lpunlock     2009-08-03 08:31:41.000000000 +0000
 
142
@@ -1,4 +1,4 @@
 
143
-#!../expect -f
 
144
+#!/usr/bin/expect -f
 
145
 
 
146
 # This script unhangs a printer which claims it is "waiting for lock".
 
147
 # Written by Don Libes.  Based on English instructions from Scott Paisley.
 
148
diff -Naurp expect.orig/example/mkpasswd expect/example/mkpasswd
 
149
--- expect.orig/example/mkpasswd        2009-08-03 06:58:30.000000000 +0000
 
150
+++ expect/example/mkpasswd     2009-08-03 08:31:41.000000000 +0000
 
151
@@ -1,4 +1,4 @@
 
152
-#!/depot/path/expect --
 
153
+#!/usr/bin/expect --
 
154
 # mkpasswd - make a password, if username given, set it.
 
155
 # Author: Don Libes, NIST
 
156
 
 
157
diff -Naurp expect.orig/example/multixterm expect/example/multixterm
 
158
--- expect.orig/example/multixterm      2009-08-03 06:58:30.000000000 +0000
 
159
+++ expect/example/multixterm   2009-08-03 08:31:41.000000000 +0000
 
160
@@ -1,4 +1,4 @@
 
161
-#!/depot/path/expectk
 
162
+#!/usr/bin/expectk
 
163
 #
 
164
 # NAME
 
165
 #      multixterm - drive multiple xterms separately or together
 
166
diff -Naurp expect.orig/example/passmass expect/example/passmass
 
167
--- expect.orig/example/passmass        2009-08-03 06:58:30.000000000 +0000
 
168
+++ expect/example/passmass     2009-08-03 08:31:41.000000000 +0000
 
169
@@ -1,4 +1,4 @@
 
170
-#!../expect --
 
171
+#!/usr/bin/expect --
 
172
 # passmass: change password on many machines
 
173
 # Synopsis: passmass host1 host2 host3 ....
 
174
 # Don Libes - March 11, 1991
 
175
diff -Naurp expect.orig/example/passwd.cgi expect/example/passwd.cgi
 
176
--- expect.orig/example/passwd.cgi      2009-08-03 06:58:30.000000000 +0000
 
177
+++ expect/example/passwd.cgi   2009-08-03 08:31:41.000000000 +0000
 
178
@@ -1,4 +1,4 @@
 
179
-#!/depot/path/expect --
 
180
+#!/usr/bin/expect --
 
181
 
 
182
 # This is a CGI script to process requests created by the accompanying
 
183
 # passwd.html form.  This script is pretty basic, although it is
 
184
diff -Naurp expect.orig/example/passwdprompt expect/example/passwdprompt
 
185
--- expect.orig/example/passwdprompt    2009-08-03 06:58:30.000000000 +0000
 
186
+++ expect/example/passwdprompt 2009-08-03 08:31:41.000000000 +0000
 
187
@@ -1,4 +1,4 @@
 
188
-#!/depot/path/expect
 
189
+#!/usr/bin/expect
 
190
 
 
191
 # This script prompts for a passwd from stdin while echoing *'s
 
192
 
 
193
diff -Naurp expect.orig/example/read1char expect/example/read1char
 
194
--- expect.orig/example/read1char       2009-08-03 06:58:30.000000000 +0000
 
195
+++ expect/example/read1char    2009-08-03 08:31:41.000000000 +0000
 
196
@@ -1,4 +1,4 @@
 
197
-#!../expect --
 
198
+#!/usr/bin/expect --
 
199
 
 
200
 # read a single character
 
201
 # Author: Don Libes, NIST
 
202
diff -Naurp expect.orig/example/reprompt expect/example/reprompt
 
203
--- expect.orig/example/reprompt        2009-08-03 06:58:30.000000000 +0000
 
204
+++ expect/example/reprompt     2009-08-03 08:31:41.000000000 +0000
 
205
@@ -1,4 +1,4 @@
 
206
-#!/depot/path/expect --
 
207
+#!/usr/bin/expect --
 
208
 
 
209
 # Name: reprompt
 
210
 # Description: reprompt every so often until user enters something
 
211
diff -Naurp expect.orig/example/rftp expect/example/rftp
 
212
--- expect.orig/example/rftp    2009-08-03 06:58:30.000000000 +0000
 
213
+++ expect/example/rftp 2009-08-03 08:31:41.000000000 +0000
 
214
@@ -1,4 +1,4 @@
 
215
-#!../expect -f
 
216
+#!/usr/bin/expect -f
 
217
 # rftp - ftp a directory hierarchy (i.e. recursive ftp)
 
218
 # Version 2.10
 
219
 # Don Libes, NIST
 
220
diff -Naurp expect.orig/example/rlogin-cwd expect/example/rlogin-cwd
 
221
--- expect.orig/example/rlogin-cwd      2009-08-03 06:58:30.000000000 +0000
 
222
+++ expect/example/rlogin-cwd   2009-08-03 08:31:41.000000000 +0000
 
223
@@ -1,4 +1,4 @@
 
224
-#!../expect --
 
225
+#!/usr/bin/expect --
 
226
 # rlogin-cwd - rlogin but with same directory
 
227
 #
 
228
 # You can extend this idea to save any arbitrary information across rlogin
 
229
diff -Naurp expect.orig/example/robohunt expect/example/robohunt
 
230
--- expect.orig/example/robohunt        2009-08-03 06:58:30.000000000 +0000
 
231
+++ expect/example/robohunt     2009-08-03 08:31:41.000000000 +0000
 
232
@@ -1,4 +1,4 @@
 
233
-#!../expect -f
 
234
+#!/usr/bin/expect -f
 
235
 # Synopsis
 
236
 #    robohunt player-name [-nodisplay]
 
237
 
 
238
diff -Naurp expect.orig/example/rogue.exp expect/example/rogue.exp
 
239
--- expect.orig/example/rogue.exp       2009-08-03 06:58:30.000000000 +0000
 
240
+++ expect/example/rogue.exp    2009-08-03 08:31:41.000000000 +0000
 
241
@@ -1,4 +1,4 @@
 
242
-#!../expect -f
 
243
+#!/usr/bin/expect -f
 
244
 # Look for a GREAT game of rogue.
 
245
 # Idea is that any game with a Strength of 18 is unusually good.
 
246
 # Written by Don Libes - March, 1990
 
247
diff -Naurp expect.orig/example/telnet-cwd expect/example/telnet-cwd
 
248
--- expect.orig/example/telnet-cwd      2009-08-03 06:58:30.000000000 +0000
 
249
+++ expect/example/telnet-cwd   2009-08-03 08:31:41.000000000 +0000
 
250
@@ -1,4 +1,4 @@
 
251
-#!../expect --
 
252
+#!/usr/bin/expect --
 
253
 # telnet-cwd - telnet but with same directory
 
254
 #
 
255
 # You can extend this idea to save any arbitrary information across telnet
 
256
diff -Naurp expect.orig/example/term_expect expect/example/term_expect
 
257
--- expect.orig/example/term_expect     2009-08-03 06:58:30.000000000 +0000
 
258
+++ expect/example/term_expect  2009-08-03 08:31:41.000000000 +0000
 
259
@@ -1,4 +1,4 @@
 
260
-#!/depot/path/expectk
 
261
+#!/usr/bin/expectk
 
262
 
 
263
 # Name: tkterm - terminal emulator using Expect and Tk text widget, v3.0
 
264
 # Author: Don Libes, July '94
 
265
diff -Naurp expect.orig/example/timed-read expect/example/timed-read
 
266
--- expect.orig/example/timed-read      2009-08-03 06:58:30.000000000 +0000
 
267
+++ expect/example/timed-read   2009-08-03 08:31:41.000000000 +0000
 
268
@@ -1,4 +1,4 @@
 
269
-#!../expect -f
 
270
+#!/usr/bin/expect -f
 
271
 # read a complete line from stdin
 
272
 # aborting after the number of seconds (given as an argument)
 
273
 # - Don Libes
 
274
diff -Naurp expect.orig/example/timed-run expect/example/timed-run
 
275
--- expect.orig/example/timed-run       2009-08-03 06:58:30.000000000 +0000
 
276
+++ expect/example/timed-run    2009-08-03 08:31:41.000000000 +0000
 
277
@@ -1,4 +1,4 @@
 
278
-#!../expect -f
 
279
+#!/usr/bin/expect -f
 
280
 # run a program for a given amount of time
 
281
 # i.e. time 20 long_running_program
 
282
 
 
283
diff -Naurp expect.orig/example/tknewsbiff expect/example/tknewsbiff
 
284
--- expect.orig/example/tknewsbiff      2009-08-03 06:58:30.000000000 +0000
 
285
+++ expect/example/tknewsbiff   2009-08-03 08:31:41.000000000 +0000
 
286
@@ -1,4 +1,4 @@
 
287
-#!/depot/path/expectk
 
288
+#!/usr/bin/expectk
 
289
 
 
290
 # Name: tknewsbiff
 
291
 # Author: Don Libes
 
292
diff -Naurp expect.orig/example/tkpasswd expect/example/tkpasswd
 
293
--- expect.orig/example/tkpasswd        2009-08-03 06:58:30.000000000 +0000
 
294
+++ expect/example/tkpasswd     2009-08-03 08:31:41.000000000 +0000
 
295
@@ -1,4 +1,4 @@
 
296
-#!/depot/path/expectk -f
 
297
+#!/usr/bin/expectk -f
 
298
 # tkpasswd - Change passwords using Expectk
 
299
 # Author: Don Libes, NIST, October 1, 1993
 
300
 # Version: 1.8 - Added support for Tk 4.1
 
301
diff -Naurp expect.orig/example/tkterm expect/example/tkterm
 
302
--- expect.orig/example/tkterm  2009-08-03 06:58:30.000000000 +0000
 
303
+++ expect/example/tkterm       2009-08-03 08:31:41.000000000 +0000
 
304
@@ -1,4 +1,4 @@
 
305
-#!/depot/path/expectk
 
306
+#!/usr/bin/expectk
 
307
 
 
308
 # Name: tkterm - terminal emulator using Expect and Tk text widget, v3.0
 
309
 # Author: Don Libes, July '94
 
310
diff -Naurp expect.orig/example/unbuffer expect/example/unbuffer
 
311
--- expect.orig/example/unbuffer        2009-08-03 06:58:30.000000000 +0000
 
312
+++ expect/example/unbuffer     2009-08-03 08:31:41.000000000 +0000
 
313
@@ -1,4 +1,4 @@
 
314
-#!../expect --
 
315
+#!/usr/bin/expect --
 
316
 # Description: unbuffer stdout of a program
 
317
 # Author: Don Libes, NIST
 
318
 
 
319
diff -Naurp expect.orig/example/virterm expect/example/virterm
 
320
--- expect.orig/example/virterm 2009-08-03 06:58:30.000000000 +0000
 
321
+++ expect/example/virterm      2009-08-03 08:31:41.000000000 +0000
 
322
@@ -1,4 +1,4 @@
 
323
-#!../expect --
 
324
+#!/usr/bin/expect --
 
325
 
 
326
 # Name: virterm - terminal emulator using Expect, v1.0, December, 1994
 
327
 # Author: Adrian Mariano <adrian@cam.cornell.edu>
 
328
diff -Naurp expect.orig/example/vrfy expect/example/vrfy
 
329
--- expect.orig/example/vrfy    2009-08-03 06:58:30.000000000 +0000
 
330
+++ expect/example/vrfy 2009-08-03 08:31:41.000000000 +0000
 
331
@@ -1,4 +1,4 @@
 
332
-#!/depot/path/expect -f
 
333
+#!/usr/bin/expect -f
 
334
 
 
335
 
 
336
 # separate address into user and host
 
337
diff -Naurp expect.orig/example/weather expect/example/weather
 
338
--- expect.orig/example/weather 2009-08-03 06:58:30.000000000 +0000
 
339
+++ expect/example/weather      2009-08-03 08:31:41.000000000 +0000
 
340
@@ -1,4 +1,4 @@
 
341
-#!../expect -f
 
342
+#!/usr/bin/expect -f
 
343
 
 
344
 # weather - Expect script to get the weather (courtesy University of Michigan)
 
345
 # Don Libes
 
346
diff -Naurp expect.orig/example/xkibitz expect/example/xkibitz
 
347
--- expect.orig/example/xkibitz 2009-08-03 06:58:30.000000000 +0000
 
348
+++ expect/example/xkibitz      2009-08-03 08:31:41.000000000 +0000
 
349
@@ -1,4 +1,4 @@
 
350
-#!../expect --
 
351
+#!/usr/bin/expect --
 
352
 
 
353
 # share an xterm with other users
 
354
 # See xkibitz(1) man page for complete info.
 
355
diff -Naurp expect.orig/example/xpstat expect/example/xpstat
 
356
--- expect.orig/example/xpstat  2009-08-03 06:58:30.000000000 +0000
 
357
+++ expect/example/xpstat       2009-08-03 08:31:41.000000000 +0000
 
358
@@ -1,4 +1,4 @@
 
359
-#!/depot/path/expectk
 
360
+#!/usr/bin/expectk
 
361
 
 
362
 # This script acts as a front-end for xpilot.  Run it in the background,
 
363
 # and it will pop up a window for each server it finds running.  After
 
364
diff -Naurp expect.orig/example/xrlogin expect/example/xrlogin
 
365
--- expect.orig/example/xrlogin 2009-08-03 06:58:30.000000000 +0000
 
366
+++ expect/example/xrlogin      2009-08-03 08:31:41.000000000 +0000
 
367
@@ -1,4 +1,4 @@
 
368
-#!/depot/path/expect --
 
369
+#!/usr/bin/expect --
 
370
 # xrlogin - rlogin but with current DISPLAY
 
371
 #
 
372
 # You can extend this idea to save any arbitrary information across rlogin