Skip to content

Instantly share code, notes, and snippets.

@jbuchbinder
Created June 7, 2016 15:58
Show Gist options
  • Save jbuchbinder/de868b91141c1c15317c88b37ed6800c to your computer and use it in GitHub Desktop.
Save jbuchbinder/de868b91141c1c15317c88b37ed6800c 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