forked from pool/openssh
Marcus Meissner
fc3180d72b
- Update to verison 5.8p2 * Fixed vuln in systems without dev/random, we arenot affected * Fixes problems building with selinux enabled - Fix build with as-needed and no-add-needed - Enable libedit/autocompletion support in sftp OBS-URL: https://build.opensuse.org/request/show/80152 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=10
12 lines
660 B
Diff
12 lines
660 B
Diff
--- converter/Makefile.orig
|
|
+++ converter/Makefile
|
|
@@ -8,7 +8,7 @@ ssh-keyconverter.o: ssh-keyconverter.c .
|
|
gcc $(RPM_OPT_FLAGS) -c -I../ $< -o $@
|
|
|
|
ssh-keyconverter: ssh-keyconverter.o ../libssh.a ../openbsd-compat/libopenbsd-compat.a
|
|
- gcc $< -L../ -L../openbsd-compat/ -lssh -lopenbsd-compat -lssh -lpam -ldl -lwrap -lutil -lz -lnsl -lcrypt -lssl -o $@
|
|
+ gcc -Wl,--no-as-needed $(RPM_OPT_FLAGS) -L../ -L../openbsd-compat/ $< -lssl -lcrypto -lssh -lopenbsd-compat -lssl -lssh -lpam -ldl -lwrap -lutil -lz -lnsl -lcrypt -o $@
|
|
|
|
install: ssh-keyconverter ssh-keyconverter.1
|
|
if [ ! -d $(DESTDIR)$(bindir) ]; then install -d -m 755 $(DESTDIR)$(bindir); fi
|