Skip to content

Instantly share code, notes, and snippets.

@jamesbjackson
Forked from jbuchbinder/fpm-openssl.sh
Created February 13, 2019 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesbjackson/3d1b4507d69e1d425c494c6a18d7c5de to your computer and use it in GitHub Desktop.
Save jamesbjackson/3d1b4507d69e1d425c494c6a18d7c5de to your computer and use it in GitHub Desktop.
FPM OpenSSL build
#!/bin/bash
# fpm-openssl - @jbuchbinder
# Build script for recent openssl builds using FPM on EL7. Untar the release and run this script to build
# your RPM. Requires:
# - RPMS: ruby-devel make gcc rpm-build
# - GEMS: fpm
./config && make depend && make all && make install INSTALL_PREFIX=/tmp/openssl
fpm -s dir -t rpm -n openssl-recent \
-v $( cat openssl.spec | grep ^Version | cut -d: -f2 ) \
-C /tmp/openssl \
usr/local/ssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment