-
-
Save jamesbjackson/3d1b4507d69e1d425c494c6a18d7c5de to your computer and use it in GitHub Desktop.
FPM OpenSSL build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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