Check-in [b29237b910]
Overview
Comment:Upgraded to latest version of libressl and fixed issues with it being relocated
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b29237b91044fa6a6ac53a406f24df01670a1179
User & Date: rkeene on 2016-09-06 06:07:31
Other Links: manifest | tags
Context
2016-09-06
06:41
Updated to not build apps when building LibreSSL check-in: ecd9d4b125 user: rkeene tags: trunk
06:07
Upgraded to latest version of libressl and fixed issues with it being relocated check-in: b29237b910 user: rkeene tags: trunk
05:38
Updated to create working directory since it is now nested check-in: 0164bf3fc3 user: rkeene tags: trunk
Changes

Modified tls/build.sh from [5e536572e7] to [6384a073a2].

1
2
3
4
5
6
7
8
9
10
11
12
13

14
15

16
17
18
19
20
21
22


23
24
25
26
27
28

29
30
31
32
33
34
35
1
2
3
4
5
6
7
8
9
10
11
12

13
14

15
16
17
18
19
20


21
22
23
24
25
26
27

28
29
30
31
32
33
34
35












-
+

-
+





-
-
+
+





-
+







#! /usr/bin/env bash

# BuildCompatible: KitCreator

version="1.6.7"
url="http://sourceforge.net/projects/tls/files/tls/${TLSVERS}/tls${TLSVERS}-src.tar.gz"
sha256='5119de3e5470359b97a8a00d861c9c48433571ee0167af0a952de66c99d3a3b8'

function buildSSLLibrary() {
	local version url hash
	local archive

	version='2.4.1'
	version='2.4.2'
	url="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${version}.tar.gz"
	hash='121922b13169cd47a85e3e77f0bc129f8d04247193b42491cb1fab9074e80477'
	hash='5f87d778e5d62822d60e38fa9621c1c5648fc559d198ba314bd9d89cbf67d9e3'

	archive="src/libressl-${version}.tar.gz"

	echo " *** Building LibreSSL v${version}" >&2

	if [ ! -e "../${archive}" ]; then
		"${_download}" "${url}" "../${archive}" "${hash}" || return 1
	if [ ! -e "${pkgdir}/${archive}" ]; then
		"${_download}" "${url}" "${pkgdir}/${archive}" "${hash}" || return 1
	fi

	(
		rm -rf libressl-*

		gzip -dc "../${archive}" | tar -xf - || exit 1
		gzip -dc "${pkgdir}/${archive}" | tar -xf - || exit 1

		cd "libressl-${version}" || exit 1

		echo "Running: ./configure ${CONFIGUREEXTRA} --disable-shared --enable-static --prefix=\"$(pwd)/INST\""
		./configure ${CONFIGUREEXTRA} --disable-shared --enable-static --prefix="$(pwd)/INST" || exit 1

		echo "Running: ${MAKE:-make} V=1"