summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-28 08:28:27 -0800
committerMichael Demeter <michael.demeter@intel.com>2014-04-10 11:06:21 -0700
commit7b18d78a41dc63f58f8481e877e0d3f28143a544 (patch)
tree1d8269321d985a0820365502eaf715e9f13764b6
parent3b90afb78f5794caeec5da4dfabec92cd61d95b1 (diff)
downloadopenssl-7b18d78a41dc63f58f8481e877e0d3f28143a544.tar.gz
openssl-7b18d78a41dc63f58f8481e877e0d3f28143a544.tar.bz2
openssl-7b18d78a41dc63f58f8481e877e0d3f28143a544.zip
enable md2
-rw-r--r--packaging/openssl.spec21
1 files changed, 2 insertions, 19 deletions
diff --git a/packaging/openssl.spec b/packaging/openssl.spec
index a876ef1..efc927d 100644
--- a/packaging/openssl.spec
+++ b/packaging/openssl.spec
@@ -17,11 +17,6 @@ Source: http://www.%{name}.org/source/%{name}-%{version}.tar.gz
# to get mtime of file:
Source1: openssl.changes
Source2: baselibs.conf
-Patch0: merge_from_0.9.8k.patch
-Patch1: openssl-1.0.0-c_rehash-compat.diff
-Patch2: bug610223.patch
-Patch3: openssl-ocloexec.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The OpenSSL Project is a collaborative effort to develop a robust,
@@ -135,10 +130,7 @@ Authors:
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3
+
echo "adding/overwriting some entries in the 'table' hash in Configure"
# $dso_scheme:$shared_target:$shared_cflag:$shared_ldflag:$shared_extension:$ranlib:$arflags
export DSO_SCHEME='dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::'
@@ -183,7 +175,7 @@ export RPM_OPT_FLAGS
./config --test-sanity
#
config_flags="threads shared no-rc5 no-idea \
-enable-camellia \
+enable-camellia enable-md2\
zlib \
--prefix=%{_prefix} \
--libdir=%{_lib} \
@@ -196,12 +188,8 @@ $RPM_OPT_FLAGS -std=gnu99 \
-DSSL_FORBID_ENULL \
-D_GNU_SOURCE \
$(getconf LFS_CFLAGS) \
-%ifnarch hppa
-Wall \
-fstack-protector "
-%else
--Wall "
-%endif
#
#%{!?do_profiling:%define do_profiling 0}
#%if %do_profiling
@@ -224,16 +212,11 @@ $(getconf LFS_CFLAGS) \
#%else
# OpenSSL relies on uname -m (not good). Thus that little sparc line.
./config \
-%ifarch sparc64
- linux64-sparcv9 \
-%endif
$config_flags
make depend
make
LD_LIBRARY_PATH=`pwd` make rehash
- %ifnarch armv4l
LD_LIBRARY_PATH=`pwd` make test
- %endif
#%endif
# show settings
make TABLE