]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
openssl: Enable build for ARM.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Dec 2011 22:25:58 +0000 (23:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Dec 2011 22:25:58 +0000 (23:25 +0100)
openssl/openssl.nm

index cffef400e53a062675412c76f1c09f7ea0959405..b0a6535f3b58fa3b5ac5629b5bd148237f45c02f 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = openssl
 version    = 1.0.0e
-release    = 2
+release    = 3
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = System/Libraries
@@ -43,7 +43,12 @@ build
        end
 
        if "%{DISTRO_ARCH}" == "i686"
-               SSL_ARCH = no-asm 386 # 386 implies no-sse2
+               # 386 implies no-sse2
+               ssl_arch = linux-elf no-asm 386
+       end
+
+       if "%{DISTRO_ARCH}" == "armv5tel"
+               ssl_arch = linux-generic32
        end
 
        build
@@ -51,7 +56,6 @@ build
                        --prefix=/usr \
                        --openssldir=/etc/pki/tls \
                        --enginesdir=/usr/lib/openssl/engines \
-                       linux-elf \
                        shared \
                        zlib-dynamic \
                        enable-camellia \
@@ -62,8 +66,9 @@ build
                        no-idea \
                        no-mdc2 \
                        no-rc5 \
+                       no-ec no-ecdh no-ecdsa \
                        -DSSL_FORBID_ENULL \
-                        %{SSL_ARCH}
+                        %{ssl_arch}
 
                # Build.
                make depend all build-shared RPM_OPT_FLAGS="%{CFLAGS}" #%{PARALLELISMFLAGS}