Skip to content

Commit

Permalink
Updated to openssl 1.0.2d
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardopadilha committed Jul 16, 2015
1 parent 9f6c06c commit e72d8a3
Show file tree
Hide file tree
Showing 3 changed files with 385 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ popd

### OPENSSL ###
_build_openssl() {
local VERSION="1.0.2c"
local VERSION="1.0.2d"
local FOLDER="openssl-${VERSION}"
local FILE="${FOLDER}.tar.gz"
local URL="http://www.openssl.org/source/${FILE}"
Expand Down
17 changes: 15 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exec 1> >(tee -a "${logfile}")
exec 2> >(tee -a "${logfile}" >&2)

### environment setup ###
source crosscompile.sh
. crosscompile.sh
export NAME="$(basename ${PWD})"
export DEST="${BUILD_DEST:-/mnt/DroboFS/Shares/DroboApps/${NAME}}"
export DEPS="${PWD}/target/install"
Expand Down Expand Up @@ -85,6 +85,19 @@ _download_xz() {
return 0
}

# Download a ZIP file and unpack it, removing old files.
# $1: file
# $2: url
# $3: folder
_download_zip() {
[[ ! -d "download" ]] && mkdir -p "download"
[[ ! -d "target" ]] && mkdir -p "target"
[[ ! -f "download/${1}" ]] && wget -O "download/${1}" "${2}"
[[ -d "target/${3}" ]] && rm -vfr "target/${3}"
[[ ! -d "target/${3}" ]] && unzip -d "target" "download/${1}"
return 0
}

# Download a DroboApp and unpack it, removing old files.
# $1: file
# $2: url
Expand Down Expand Up @@ -165,7 +178,7 @@ _dist_clean() {
}

### application-specific functions ###
source app.sh
. app.sh

case "${1:-}" in
clean) _clean ;;
Expand Down
Loading

0 comments on commit e72d8a3

Please sign in to comment.