diff -Nru openssl-1.0.1c/debian/changelog openssl-1.0.1c/debian/changelog --- openssl-1.0.1c/debian/changelog 2012-07-29 13:33:38.000000000 +0100 +++ openssl-1.0.1c/debian/changelog 2012-11-08 02:42:57.000000000 +0000 @@ -1,3 +1,11 @@ +openssl (1.0.1c-4+rpi1) unstable; urgency=low + + [Mike Thompson ] + * Enabled arm assembly optimizations for better performance. + http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=8433 + + -- Peter Michael Green Thu, 08 Nov 2012 02:42:12 +0000 + openssl (1.0.1c-4) unstable; urgency=low * Fix the configure rules for alpha (Closes: #672710) diff -Nru openssl-1.0.1c/debian/patches/enable-arm-assembly.patch openssl-1.0.1c/debian/patches/enable-arm-assembly.patch --- openssl-1.0.1c/debian/patches/enable-arm-assembly.patch 1970-01-01 01:00:00.000000000 +0100 +++ openssl-1.0.1c/debian/patches/enable-arm-assembly.patch 2012-11-08 03:14:54.000000000 +0000 @@ -0,0 +1,16 @@ +Index: openssl-1.0.1c/Configure +=================================================================== +--- openssl-1.0.1c.orig/Configure 2012-11-08 03:14:41.000000000 +0000 ++++ openssl-1.0.1c/Configure 2012-11-08 03:14:45.000000000 +0000 +@@ -346,9 +346,8 @@ + "debian-alpha","gcc:-DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "debian-alpha-ev4","gcc:-DTERMIO ${debian_cflags} -mcpu=ev4::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "debian-alpha-ev5","gcc:-DTERMIO ${debian_cflags} -mcpu=ev5::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +-"debian-armeb","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +-"debian-armel","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +-"debian-armhf","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"debian-armel","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${armv4_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"debian-armhf","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${armv4_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO ${debian_cflags} -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::", + "debian-avr32", "gcc:-DB_ENDIAN -DTERMIO ${debian_cflags} -fomit-frame-pointer::-D_REENTRANT::-ldl:BN_LLONG_BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "debian-kfreebsd-amd64","gcc:-m64 -DL_ENDIAN -DTERMIOS ${debian_cflags} -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", diff -Nru openssl-1.0.1c/debian/patches/series openssl-1.0.1c/debian/patches/series --- openssl-1.0.1c/debian/patches/series 2012-06-06 17:30:13.000000000 +0100 +++ openssl-1.0.1c/debian/patches/series 2012-11-08 02:42:57.000000000 +0000 @@ -32,3 +32,4 @@ renegiotate_tls.patch #padlock_conf.patch default_bits.patch +enable-arm-assembly.patch