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/sh | |
## | |
# Install autoconf, automake and libtool smoothly on Mac OS X. | |
# Newer versions of these libraries are available and may work better on OS X | |
# | |
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
# | |
# you should export /usr/local/bin if not already the case | |
# export PATH=$PATH:/usr/local/bin |
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 | |
# this is the dynamic library version of this script | |
# set the version to build | |
declare OPENSSL_VERSION="1.0.2k" | |
# only download if not already present | |
if [ ! -f openssl-${OPENSSL_VERSION}.tar.gz ]; then | |
curl -O http://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz |
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
# iOS builds for ARMv7 and simulator i386. | |
# Assumes any dependencies are in a local folder called libs and | |
# headers in a local folder called headers. | |
# Dependencies should already have been compiled for the target arch. | |
PROJ=untitled | |
ifeq ($(IOS), 1) | |
ARCH=armv7 | |
DEVICE=OS | |
CC_FLAGS=-arch $(ARCH) |
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 | |
set -e | |
# Script for building OpenVPN CLI (MacOS) | |
# This Script requires that the OpenSSL Library (1.0.x) and the LZO Library are installed under /usr/local/lib and the | |
# headers under /usr/local/include | |
# For compiling the OpenSSL Library see: https://gist.github.com/Manromen/0cd572aa7694d6902260 | |
# For compiling the LZO Library see: https://gist.github.com/Manromen/ac41c615aa4a95134eae6813402dd297 | |
# | |
# OpenSSL Library: https://www.openssl.org |
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 | |
set -e | |
# set the version to build | |
declare LZO_VERSION="2.09" | |
# download lzo if not already present | |
if [ ! -f lzo-${LZO_VERSION}.tar.gz ]; then | |
curl -O http://www.oberhumer.com/opensource/lzo/download/lzo-${LZO_VERSION}.tar.gz | |
fi |
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
#!/usr/bin/env bash | |
# ---------------------------------------------------------------------------------------------------------------------- | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2018 Ralph-Gordon Paul. All rights reserved. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation the | |
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit | |
# persons to whom the Software is furnished to do so, subject to the following conditions: |
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
#!/usr/bin/env powershell | |
# ---------------------------------------------------------------------------------------------------------------------- | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2018 Ralph-Gordon Paul. All rights reserved. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation the | |
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit | |
# persons to whom the Software is furnished to do so, subject to the following conditions: |