You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
490 B
23 lines
490 B
#!/usr/bin/bash -e
|
|
|
|
# args: version release
|
|
VERSION=$1
|
|
RELEASE=$2
|
|
OVR="${VERSION}-${RELEASE}"
|
|
rpm2cpio openssl-${OVR}.src.rpm |cpio -id
|
|
|
|
rm -fr openssl-${VERSION}
|
|
tar xf openssl-${VERSION}-hobbled.tar.gz
|
|
rm openssl.spec
|
|
|
|
pushd openssl-${VERSION}
|
|
git init
|
|
git config user.email "openssl-fips-provider-build@redhat.com"
|
|
git config user.name "openssl-fips-provider build"
|
|
git add .
|
|
git commit -m "init commit" --quiet
|
|
git apply -p1 ../*.patch
|
|
|
|
cp ../ec_curve.c crypto/ec/
|
|
cp ../ectest.c test/
|