Check-in [2307c8734f]
Overview
Comment:Updated to support using a patch command specified in the PATCH environment variable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2307c8734f23fb6611990372d0ba271de01bac18
User & Date: rkeene on 2010-10-09 10:43:51
Other Links: manifest | tags
Context
2010-10-09
11:34
Updated TLS build to allow the user to specify their own SSLDIR environment variable check-in: b968cf8855 user: rkeene tags: trunk
10:43
Updated to support using a patch command specified in the PATCH environment variable check-in: 2307c8734f user: rkeene tags: trunk
2010-10-08
13:10
Added memory leak patch for Tls 1.6 check-in: 3a165b9347 user: rkeene tags: trunk
Changes

Modified server/buildpkgs/tls/build.sh from [78e603f797] to [c5be0601cf].

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

	# Apply patches
	for patchfile in "${PATCHDIR}"/all/*.diff "${PATCHDIR}/${VERS}"/*.diff; do
		if [ ! -f "${patchfile}" ]; then
			continue
		fi

		patch -p1 < "${patchfile}"
	done

	for chkssldir in $(pkg-config openssl --cflags | sed 's@ *-I *@|@g' | tr '|' "\n" | grep '^/'); do
		if [ -f "${chkssldir}/openssl/opensslv.h" -o -f "${chkssldir}/opensslv.h" ]; then
			SSLDIR=$(echo "${chkssldir}" | sed 's@/[^/]*/*$@@')
		fi
	done







|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

	# Apply patches
	for patchfile in "${PATCHDIR}"/all/*.diff "${PATCHDIR}/${VERS}"/*.diff; do
		if [ ! -f "${patchfile}" ]; then
			continue
		fi

		"${PATCH:-patch}" -p1 < "${patchfile}"
	done

	for chkssldir in $(pkg-config openssl --cflags | sed 's@ *-I *@|@g' | tr '|' "\n" | grep '^/'); do
		if [ -f "${chkssldir}/openssl/opensslv.h" -o -f "${chkssldir}/opensslv.h" ]; then
			SSLDIR=$(echo "${chkssldir}" | sed 's@/[^/]*/*$@@')
		fi
	done