public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.1_p1-better-ssp-check.patch
@ 2008-11-17 22:31 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-17 22:31 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/17 22:31:30

  Added:                openssh-5.1_p1-better-ssp-check.patch
  Log:
  Fix ssp detection on uClibc hosts.
  (Portage version: 2.2_rc14/cvs/Linux 2.6.27.4 x86_64)

Revision  Changes    Path
1.1                  net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.1&content-type=text/plain

Index: openssh-5.1_p1-better-ssp-check.patch
===================================================================
a simple 'int main(){}' function won't generate references to SSP functions
when using -fstack-protector which means systems that dont have SSP support
wont get properly detected as lacking support.  instead, create a big buffer
on the stack and use it as that seems to do the trick.

--- openssh-5.1p1/configure.ac
+++ openssh-5.1p1/configure.ac
@@ -145,8 +145,8 @@ int main(void){return 0;}
 		      AC_MSG_CHECKING(if $t works)
 		      AC_RUN_IFELSE(
 			[AC_LANG_SOURCE([
-#include <stdlib.h>
-int main(void){exit(0);}
+#include <stdio.h>
+int main(void){char foo[1024];return sprintf(foo, "moo cow");}
 			])],
 			[ AC_MSG_RESULT(yes)
 			  break ],






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.1_p1-better-ssp-check.patch
@ 2008-11-19  4:02 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-19  4:02 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/19 04:02:22

  Modified:             openssh-5.1_p1-better-ssp-check.patch
  Log:
  add gentoo/upstream bug urls
  (Portage version: 2.2_rc14/cvs/Linux 2.6.27.4 x86_64)

Revision  Changes    Path
1.2                  net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?r1=1.1&r2=1.2

Index: openssh-5.1_p1-better-ssp-check.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openssh-5.1_p1-better-ssp-check.patch	17 Nov 2008 22:31:30 -0000	1.1
+++ openssh-5.1_p1-better-ssp-check.patch	19 Nov 2008 04:02:22 -0000	1.2
@@ -3,6 +3,9 @@
 wont get properly detected as lacking support.  instead, create a big buffer
 on the stack and use it as that seems to do the trick.
 
+https://bugzilla.mindrot.org/show_bug.cgi?id=1538
+https://bugs.gentoo.org/244776
+
 --- openssh-5.1p1/configure.ac
 +++ openssh-5.1p1/configure.ac
 @@ -145,8 +145,8 @@ int main(void){return 0;}






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.1_p1-better-ssp-check.patch
@ 2008-11-20  0:16 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-20  0:16 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/20 00:16:26

  Modified:             openssh-5.1_p1-better-ssp-check.patch
  Log:
  fix autoconf error pointed out by upstream
  (Portage version: 2.2_rc14/cvs/Linux 2.6.27.4 x86_64)

Revision  Changes    Path
1.3                  net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?r1=1.2&r2=1.3

Index: openssh-5.1_p1-better-ssp-check.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openssh-5.1_p1-better-ssp-check.patch	19 Nov 2008 04:02:22 -0000	1.2
+++ openssh-5.1_p1-better-ssp-check.patch	20 Nov 2008 00:16:26 -0000	1.3
@@ -15,7 +15,7 @@
 -#include <stdlib.h>
 -int main(void){exit(0);}
 +#include <stdio.h>
-+int main(void){char foo[1024];return sprintf(foo, "moo cow");}
++int main(void){char foo[[1024]];return sprintf(foo, "moo cow");}
  			])],
  			[ AC_MSG_RESULT(yes)
  			  break ],






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.1_p1-better-ssp-check.patch
@ 2009-01-13  2:38 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2009-01-13  2:38 UTC (permalink / raw
  To: gentoo-commits

vapier      09/01/13 02:38:46

  Modified:             openssh-5.1_p1-better-ssp-check.patch
  Log:
  Fixup ssp detection patch #254365 by Felix Riemann.
  (Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)

Revision  Changes    Path
1.4                  net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?r1=1.3&r2=1.4

Index: openssh-5.1_p1-better-ssp-check.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- openssh-5.1_p1-better-ssp-check.patch	20 Nov 2008 00:16:26 -0000	1.3
+++ openssh-5.1_p1-better-ssp-check.patch	13 Jan 2009 02:38:46 -0000	1.4
@@ -15,7 +15,7 @@
 -#include <stdlib.h>
 -int main(void){exit(0);}
 +#include <stdio.h>
-+int main(void){char foo[[1024]];return sprintf(foo, "moo cow");}
++int main(void){char foo[[1024]];return sprintf(foo, "moo cow") == 7;}
  			])],
  			[ AC_MSG_RESULT(yes)
  			  break ],






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-13  2:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13  2:38 [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.1_p1-better-ssp-check.patch Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2008-11-20  0:16 Mike Frysinger (vapier)
2008-11-19  4:02 Mike Frysinger (vapier)
2008-11-17 22:31 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox