~ubuntu-branches/ubuntu/lucid/openssh/lucid

2 by Colin Watson
* Nathaniel McCallum:
1
#!/usr/bin/make -f
2
3
# Uncomment this to turn on verbose mode.
4
# export DH_VERBOSE=1
5
23.1.7 by Colin Watson
* New upstream release (closes: #536182). Yes, I know 5.3p1 has been out
6
include /usr/share/hardening-includes/hardening.make
7
2 by Colin Watson
* Nathaniel McCallum:
8
# This has to be exported to make some magic below work.
9
export DH_OPTIONS
10
41 by Colin Watson
* Resynchronise with Debian. Remaining changes:
11
ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
2 by Colin Watson
* Nathaniel McCallum:
12
OPTFLAGS := -O2
13
else
14
OPTFLAGS := -O0
15
endif
16
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
17
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
18
  RUN_TESTS := yes
19
else
20
  RUN_TESTS :=
21
endif
22
26 by Colin Watson
* Don't build PIE executables on m68k (closes: #451192).
23
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
24
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
25
26
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
27
  confflags += --build=$(DEB_HOST_GNU_TYPE)
23.1.8 by Colin Watson, Colin Watson, Kees Cook
[ Colin Watson ]
28
  CC := gcc
26 by Colin Watson
* Don't build PIE executables on m68k (closes: #451192).
29
else
30
  confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
23.1.8 by Colin Watson, Colin Watson, Kees Cook
[ Colin Watson ]
31
  CC := $(DEB_HOST_GNU_TYPE)-gcc
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
32
  RUN_TESTS :=
26 by Colin Watson
* Don't build PIE executables on m68k (closes: #451192).
33
endif
34
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
35
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
23 by Colin Watson
* Identify ssh as a metapackage rather than a transitional package. It's
36
DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
37
38
# Take account of old dpkg-architecture output.
39
ifeq ($(DEB_HOST_ARCH_OS),)
40
  DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM))
41
  ifeq ($(DEB_HOST_ARCH_OS),gnu)
42
    DEB_HOST_ARCH_OS := hurd
43
  endif
44
endif
23 by Colin Watson
* Identify ssh as a metapackage rather than a transitional package. It's
45
ifeq ($(DEB_HOST_ARCH_CPU),)
46
  DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
47
  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
48
    DEB_HOST_ARCH_CPU := amd64
49
  endif
50
endif
51
52
ifneq (,$(findstring :$(DEB_HOST_ARCH_OS):,:linux:knetbsd:))
23.1.4 by Colin Watson
* Open /proc/self/oom_adj with O_RDONLY or O_WRONLY as necessary, rather
53
  ifneq (,$(findstring :$(DEB_HOST_ARCH_CPU):,:mips:mipsel:))
54
    # Apparently this is not implied by -fPIE, at least on the mipsen.
55
    PIC_CFLAGS := -fPIC
56
    PIC_LDFLAGS := -fPIC
57
  endif
23 by Colin Watson
* Identify ssh as a metapackage rather than a transitional package. It's
58
endif
2 by Colin Watson
* Nathaniel McCallum:
59
60
# Change the version string to include the Debian version
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
61
SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//')
2 by Colin Watson
* Nathaniel McCallum:
62
25 by Colin Watson
* Remove blank line between head comment and first template in
63
DISTRIBUTOR := $(shell lsb_release -is 2>/dev/null || echo Debian)
21 by Colin Watson
* New upstream release (closes: #395507, #397961, #420035). Important
64
ifeq ($(DISTRIBUTOR),Ubuntu)
65
DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
66
else
67
DEFAULT_PATH := /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
68
endif
69
SUPERUSER_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
70
27 by Colin Watson
* New upstream release (closes: #453367).
71
# Common path configuration.
72
confflags += --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib/openssh --mandir=/usr/share/man
73
74
# Common build options.
23.1.1 by Colin Watson
* Remove unnecessary ssh-vulnkey output in non-verbose mode when no
75
confflags += --disable-strip
28 by Colin Watson
* Adjust many relative links in faq.html to point to
76
confflags += --with-mantype=doc
27 by Colin Watson
* New upstream release (closes: #453367).
77
confflags += --with-4in6
78
confflags += --with-privsep-path=/var/run/sshd
79
confflags += --without-rand-helper
80
81
# The Hurd needs libcrypt for res_query et al.
82
ifeq ($(DEB_HOST_ARCH_OS),hurd)
83
confflags += --with-libs=-lcrypt
84
endif
85
86
# Everything above here is common to the deb and udeb builds.
87
confflags_udeb := $(confflags)
88
89
# Options specific to the deb build.
90
confflags += --with-tcp-wrappers
91
confflags += --with-pam
92
confflags += --with-libedit
93
confflags += --with-kerberos5=/usr
94
confflags += --with-ssl-engine
95
ifeq ($(DEB_HOST_ARCH_OS),linux)
96
confflags += --with-selinux
97
endif
30 by Colin Watson
Add support for registering ConsoleKit sessions on login.
98
confflags += --with-consolekit
27 by Colin Watson
* New upstream release (closes: #453367).
99
100
# The deb build wants xauth; the udeb build doesn't.
101
confflags += --with-xauth=/usr/bin/X11/xauth
102
confflags_udeb += --without-xauth
103
104
# Default paths. The udeb build has /usr/bin/X11 and /usr/games removed.
105
confflags += --with-default-path=$(DEFAULT_PATH) --with-superuser-path=$(SUPERUSER_PATH)
106
confflags_udeb += --with-default-path=/usr/local/bin:/usr/bin:/bin --with-superuser-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
107
108
# Compiler flags.
23.1.7 by Colin Watson
* New upstream release (closes: #536182). Yes, I know 5.3p1 has been out
109
cflags := $(OPTFLAGS) $(PIC_CFLAGS) $(HARDENING_CFLAGS)
27 by Colin Watson
* New upstream release (closes: #453367).
110
cflags += -DLOGIN_PROGRAM=\"/bin/login\" -DLOGIN_NO_ENDOPT
111
cflags += -DSSH_EXTRAVERSION=\"$(SSH_EXTRAVERSION)\"
112
cflags_udeb := -Os
113
cflags_udeb += -DSSH_EXTRAVERSION=\"$(SSH_EXTRAVERSION)\"
114
confflags += --with-cflags='$(cflags)'
115
confflags_udeb += --with-cflags='$(cflags_udeb)'
116
117
# Linker flags.
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
118
confflags += --with-ldflags='$(strip -Wl,--as-needed $(PIC_LDFLAGS) $(HARDENING_LDFLAGS))'
119
confflags_udeb += --with-ldflags='-Wl,--as-needed'
27 by Colin Watson
* New upstream release (closes: #453367).
120
2 by Colin Watson
* Nathaniel McCallum:
121
build: build-deb build-udeb
122
123
build-deb: build-deb-stamp
124
build-deb-stamp:
125
	dh_testdir
126
	mkdir -p build-deb
27 by Colin Watson
* New upstream release (closes: #453367).
127
	cd build-deb && ../configure $(confflags)
3 by Colin Watson
Don't ask unnecessary and misplaced ssh/forward_warning debconf note
128
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
129
	# Debian's /var/log/btmp has inappropriate permissions.
130
	perl -pi -e 's,.*#define USE_BTMP .*,/* #undef USE_BTMP */,' build-deb/config.h
3 by Colin Watson
Don't ask unnecessary and misplaced ssh/forward_warning debconf note
131
27 by Colin Watson
* New upstream release (closes: #453367).
132
	$(MAKE) -C build-deb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass'
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
133
	$(MAKE) -C contrib gnome-ssh-askpass2 CC='$(CC) $(OPTFLAGS) -g -Wall -Wl,--as-needed'
134
ifeq ($(RUN_TESTS),yes)
37 by Colin Watson
* Resynchronise with Debian. Remaining changes:
135
	$(MAKE) -C debian/tests
23.1.8 by Colin Watson, Colin Watson, Kees Cook
[ Colin Watson ]
136
endif
2 by Colin Watson
* Nathaniel McCallum:
137
138
	touch build-deb-stamp
139
140
build-udeb: build-udeb-stamp
141
build-udeb-stamp:
142
	dh_testdir
143
	mkdir -p build-udeb
27 by Colin Watson
* New upstream release (closes: #453367).
144
	cd build-udeb && ../configure $(confflags_udeb)
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
145
	# Debian's /var/log/btmp has inappropriate permissions.
146
	perl -pi -e 's,.*#define USE_BTMP .*,/* #undef USE_BTMP */,' build-udeb/config.h
2 by Colin Watson
* Nathaniel McCallum:
147
	# Avoid libnsl linkage. Ugh.
148
	perl -pi -e 's/ +-lnsl//' build-udeb/config.status
149
	cd build-udeb && ./config.status
27 by Colin Watson
* New upstream release (closes: #453367).
150
	$(MAKE) -C build-udeb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' ssh scp sftp sshd ssh-keygen
2 by Colin Watson
* Nathaniel McCallum:
151
	touch build-udeb-stamp
152
153
clean:
154
	dh_testdir
155
	rm -rf build-deb build-udeb
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
156
ifeq ($(RUN_TESTS),yes)
37 by Colin Watson
* Resynchronise with Debian. Remaining changes:
157
	$(MAKE) -C debian/tests clean
23.1.8 by Colin Watson, Colin Watson, Kees Cook
[ Colin Watson ]
158
endif
25 by Colin Watson
* Remove blank line between head comment and first template in
159
	$(MAKE) -C contrib clean
30 by Colin Watson
Add support for registering ConsoleKit sessions on login.
160
	(cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \
161
		> debian/copyright
2 by Colin Watson
* Nathaniel McCallum:
162
	dh_clean
163
164
install: DH_OPTIONS=-a
165
install: build
166
	dh_testdir
167
	dh_testroot
23.1.5 by Colin Watson
* Update config.guess and config.sub from autotools-dev 20090611.1
168
	dh_prep
2 by Colin Watson
* Nathaniel McCallum:
169
	dh_installdirs
170
171
	$(MAKE) -C build-deb DESTDIR=`pwd`/debian/openssh-client install-nokeys
172
173
	rm -f debian/openssh-client/etc/ssh/sshd_config
174
	#Temporary hack: remove /usr/share/Ssh.bin, since we have no smartcard support anyway.
175
	rm -f debian/openssh-client/usr/share/Ssh.bin
176
177
	# Split off the server.
178
	mv debian/openssh-client/usr/sbin/sshd debian/openssh-server/usr/sbin/
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
179
	mv debian/openssh-client/usr/lib/openssh/sftp-server debian/openssh-server/usr/lib/openssh/
25 by Colin Watson
* Remove blank line between head comment and first template in
180
	mv debian/openssh-client/usr/share/man/man5/authorized_keys.5 debian/openssh-server/usr/share/man/man5/
2 by Colin Watson
* Nathaniel McCallum:
181
	mv debian/openssh-client/usr/share/man/man5/sshd_config.5 debian/openssh-server/usr/share/man/man5/
182
	mv debian/openssh-client/usr/share/man/man8/sshd.8 debian/openssh-server/usr/share/man/man8/
183
	mv debian/openssh-client/usr/share/man/man8/sftp-server.8 debian/openssh-server/usr/share/man/man8/
3 by Colin Watson
Don't ask unnecessary and misplaced ssh/forward_warning debconf note
184
	rmdir debian/openssh-client/usr/sbin debian/openssh-client/var/run/sshd
2 by Colin Watson
* Nathaniel McCallum:
185
186
	install -m 755 contrib/ssh-copy-id debian/openssh-client/usr/bin/ssh-copy-id
187
	install -m 644 -c contrib/ssh-copy-id.1 debian/openssh-client/usr/share/man/man1/ssh-copy-id.1
188
28 by Colin Watson
* Adjust many relative links in faq.html to point to
189
	install -s -o root -g root -m 755 contrib/gnome-ssh-askpass2 debian/ssh-askpass-gnome/usr/lib/openssh/gnome-ssh-askpass
2 by Colin Watson
* Nathaniel McCallum:
190
	install -m 644 debian/gnome-ssh-askpass.1 debian/ssh-askpass-gnome/usr/share/man/man1/gnome-ssh-askpass.1
191
	uudecode -o debian/ssh-askpass-gnome/usr/share/pixmaps/ssh-askpass-gnome.png debian/ssh-askpass-gnome.png.uue
192
193
	install -m 755 debian/ssh-argv0 debian/openssh-client/usr/bin/ssh-argv0
194
	install -m 644 debian/ssh-argv0.1 debian/openssh-client/usr/share/man/man1/ssh-argv0.1
195
51 by Colin Watson
* Resynchronise with Debian. Remaining changes:
196
	install -o root -g root -m 644 debian/openssh-server.upstart debian/openssh-server/etc/init/ssh.conf
2 by Colin Watson
* Nathaniel McCallum:
197
	install -o root -g root debian/openssh-server.init debian/openssh-server/etc/init.d/ssh
198
	install -o root -g root -m 644 debian/openssh-server.default debian/openssh-server/etc/default/ssh
22 by Colin Watson
* Fix ordering of SYSLOG_LEVEL_QUIET and SYSLOG_LEVEL_FATAL.
199
	install -o root -g root debian/openssh-server.if-up debian/openssh-server/etc/network/if-up.d/openssh-server
23.1.4 by Colin Watson
* Open /proc/self/oom_adj with O_RDONLY or O_WRONLY as necessary, rather
200
	install -o root -g root -m 644 debian/openssh-server.ufw.profile debian/openssh-server/etc/ufw/applications.d/openssh-server
2 by Colin Watson
* Nathaniel McCallum:
201
202
	install -m 755 build-udeb/ssh debian/openssh-client-udeb/usr/bin/ssh
203
	install -m 755 build-udeb/scp debian/openssh-client-udeb/usr/bin/scp
204
	install -m 755 build-udeb/sftp debian/openssh-client-udeb/usr/bin/sftp
205
	install -m 755 build-udeb/sshd debian/openssh-server-udeb/usr/sbin/sshd
206
	install -m 755 build-udeb/ssh-keygen debian/openssh-server-udeb/usr/bin/ssh-keygen
207
18 by Colin Watson
* Resynchronise with Debian. Remaining changes:
208
	# Remove version control tags to avoid unnecessary conffile
209
	# resolution steps for administrators.
210
	sed -i '/\$$OpenBSD:/d' \
211
		debian/openssh-client/etc/ssh/moduli \
212
		debian/openssh-client/etc/ssh/ssh_config
213
2 by Colin Watson
* Nathaniel McCallum:
214
# Build architecture-independent files here.
18 by Colin Watson
* Resynchronise with Debian. Remaining changes:
215
binary-indep: binary-ssh binary-ssh-krb5
2 by Colin Watson
* Nathaniel McCallum:
216
217
# Build architecture-dependent files here.
3 by Colin Watson
Don't ask unnecessary and misplaced ssh/forward_warning debconf note
218
binary-arch: binary-openssh-client binary-openssh-server
2 by Colin Watson
* Nathaniel McCallum:
219
binary-arch: binary-ssh-askpass-gnome
220
binary-arch: binary-openssh-client-udeb binary-openssh-server-udeb
221
222
binary-openssh-client: DH_OPTIONS=-popenssh-client
223
binary-openssh-client: build install
224
	dh_testdir
225
	dh_testroot
226
	dh_installdebconf
23.1.5 by Colin Watson
* Update config.guess and config.sub from autotools-dev 20090611.1
227
	dh_installdocs
228
	dh_installchangelogs
54 by Colin Watson, Chuck Short
[ Chuck Short ]
229
	dh_apport
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
230
	dh_lintian
2 by Colin Watson
* Nathaniel McCallum:
231
	dh_strip
232
	dh_compress
233
	dh_fixperms
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
234
	chmod u+s debian/openssh-client/usr/lib/openssh/ssh-keysign
2 by Colin Watson
* Nathaniel McCallum:
235
	dh_installdeb
236
	test ! -e debian/ssh/etc/ssh/ssh_prng_cmds \
237
	  || echo "/etc/ssh/ssh_prng_cmds" >> debian/openssh-client/DEBIAN/conffiles
19 by Colin Watson
* Resynchronise with Debian. Remaining changes:
238
	perl -i debian/substitute-conffile.pl \
239
		ETC_SSH_MODULI debian/openssh-client/etc/ssh/moduli \
240
		ETC_SSH_SSH_CONFIG debian/openssh-client/etc/ssh/ssh_config \
241
		debian/openssh-client/DEBIAN/preinst
2 by Colin Watson
* Nathaniel McCallum:
242
	dh_shlibdeps
28 by Colin Watson
* Adjust many relative links in faq.html to point to
243
	dh_gencontrol
2 by Colin Watson
* Nathaniel McCallum:
244
	dh_md5sums
245
	dh_builddeb
246
247
binary-openssh-server: DH_OPTIONS=-popenssh-server
248
binary-openssh-server: build install
249
	dh_testdir
250
	dh_testroot
251
	dh_installdebconf
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
252
	dh_installdocs
253
	mv debian/openssh-server/usr/share/doc/openssh-server debian/openssh-server/usr/share/doc/openssh-client
254
	rm -f debian/openssh-server/usr/share/doc/openssh-client/copyright
54 by Colin Watson, Chuck Short
[ Chuck Short ]
255
	dh_apport
30 by Colin Watson
Add support for registering ConsoleKit sessions on login.
256
	dh_installpam --name sshd
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
257
	dh_lintian
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
258
	dh_link
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
259
	dh_installexamples
2 by Colin Watson
* Nathaniel McCallum:
260
	dh_strip
261
	dh_compress
262
	dh_fixperms
263
	dh_installdeb
19 by Colin Watson
* Resynchronise with Debian. Remaining changes:
264
	perl -i debian/substitute-conffile.pl \
265
		ETC_DEFAULT_SSH debian/openssh-server/etc/default/ssh \
266
		ETC_INIT_D_SSH debian/openssh-server/etc/init.d/ssh \
267
		ETC_PAM_D_SSH debian/openssh-server/etc/pam.d/ssh \
268
		debian/openssh-server/DEBIAN/preinst
2 by Colin Watson
* Nathaniel McCallum:
269
	dh_shlibdeps
28 by Colin Watson
* Adjust many relative links in faq.html to point to
270
	dh_gencontrol
2 by Colin Watson
* Nathaniel McCallum:
271
	dh_md5sums
272
	dh_builddeb
273
274
binary-ssh: DH_OPTIONS=-pssh
275
binary-ssh: build install
276
	dh_testdir
277
	dh_testroot
41 by Colin Watson
* Resynchronise with Debian. Remaining changes:
278
	dh_installdirs
2 by Colin Watson
* Nathaniel McCallum:
279
	dh_installdocs
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
280
	mv debian/ssh/usr/share/doc/ssh debian/ssh/usr/share/doc/openssh-client
281
	rm -f debian/ssh/usr/share/doc/openssh-client/copyright
23.1.10 by Colin Watson
* Link with -Wl,--as-needed (closes: #560155).
282
	dh_lintian
4 by Colin Watson
* Add /usr/games to the default $PATH for non-privileged users.
283
	dh_link
2 by Colin Watson
* Nathaniel McCallum:
284
	dh_compress
285
	dh_fixperms
286
	dh_installdeb
287
	dh_gencontrol
288
	dh_md5sums
289
	dh_builddeb
290
18 by Colin Watson
* Resynchronise with Debian. Remaining changes:
291
binary-ssh-krb5: DH_OPTIONS=-pssh-krb5
292
binary-ssh-krb5: build install
293
	dh_testdir
294
	dh_testroot
295
	dh_installdocs
23.1.5 by Colin Watson
* Update config.guess and config.sub from autotools-dev 20090611.1
296
	dh_installchangelogs
18 by Colin Watson
* Resynchronise with Debian. Remaining changes:
297
	dh_link
298
	dh_compress
299
	dh_fixperms
300
	dh_installdeb
301
	dh_gencontrol
302
	dh_md5sums
303
	dh_builddeb
304
2 by Colin Watson
* Nathaniel McCallum:
305
binary-ssh-askpass-gnome: DH_OPTIONS=-pssh-askpass-gnome
306
binary-ssh-askpass-gnome: build install
307
	dh_testdir
308
	dh_testroot
309
	dh_installdocs
23.1.5 by Colin Watson
* Update config.guess and config.sub from autotools-dev 20090611.1
310
	dh_installexamples
311
	dh_installchangelogs
2 by Colin Watson
* Nathaniel McCallum:
312
	dh_strip
313
	dh_compress
314
	dh_fixperms
315
	dh_installdeb
316
	dh_shlibdeps
317
	dh_gencontrol
318
	dh_md5sums
319
	dh_builddeb
320
321
binary-openssh-client-udeb: DH_OPTIONS=-popenssh-client-udeb
322
binary-openssh-client-udeb: build install
323
	dh_testdir
324
	dh_testroot
325
	dh_strip
326
	dh_compress
327
	dh_fixperms
328
	dh_installdeb
329
	dh_shlibdeps
10 by Colin Watson
* Resynchronise with Debian.
330
	dh_gencontrol
331
	dh_md5sums
332
	dh_builddeb
2 by Colin Watson
* Nathaniel McCallum:
333
334
binary-openssh-server-udeb: DH_OPTIONS=-popenssh-server-udeb
335
binary-openssh-server-udeb: build install
336
	dh_testdir
337
	dh_testroot
338
	dh_strip
339
	dh_compress
340
	dh_fixperms
341
	dh_installdeb
342
	dh_shlibdeps
10 by Colin Watson
* Resynchronise with Debian.
343
	dh_gencontrol
344
	dh_md5sums
345
	dh_builddeb
2 by Colin Watson
* Nathaniel McCallum:
346
347
binary: binary-indep binary-arch
348
27 by Colin Watson
* New upstream release (closes: #453367).
349
debian/faq.html:
28 by Colin Watson
* Adjust many relative links in faq.html to point to
350
	wget -O - http://www.openssh.org/faq.html | \
351
		sed 's,\(href="\)\(txt/\|[^":]*\.html\),\1http://www.openssh.org/\2,g' \
352
		> debian/faq.html
27 by Colin Watson
* New upstream release (closes: #453367).
353
23.1.11 by Colin Watson
* Convert to source format 3.0 (quilt).
354
# You only need to run this immediately after checking out the package from
355
# revision control.
356
quilt-setup:
357
	[ ! -d .pc ]
358
	set -e; for patch in $$(quilt series | tac); do \
359
		patch -p1 -R <"debian/patches/$$patch"; \
360
	done
361
	quilt push -a
362
2 by Colin Watson
* Nathaniel McCallum:
363
.PHONY: build clean binary-indep binary-arch binary install
364
.PHONY: build-deb build-udeb
365
.PHONY: binary-openssh-client binary-openssh-server binary-ssh
18 by Colin Watson
* Resynchronise with Debian. Remaining changes:
366
.PHONY: binary-ssh-krb5 binary-ssh-askpass-gnome
2 by Colin Watson
* Nathaniel McCallum:
367
.PHONY: binary-openssh-client-udeb binary-openssh-server-udeb