Check-in [5a1dc6798b]
Overview
Comment:Added support for using platform::identify Added tdom build support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:5a1dc6798bf01561299448912468292754402d2f
User & Date: rkeene on 2011-07-19 23:32:04
Other Links: manifest | tags
Context
2011-07-19
23:58
Updated to include package version in output directory check-in: fac84a637c user: rkeene tags: trunk
23:32
Added support for using platform::identify Added tdom build support check-in: 5a1dc6798b user: rkeene tags: trunk
2011-07-06
11:25
Updated tclreadline to work on systems without Tcl check-in: 7abac368ad user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [44ae4ec4c1] to [95e2580da5].

    44     44   server/buildpkgs/tclpkgs-*.tar.*/*
    45     45   server/buildpkgs/tclreadline/build
    46     46   server/buildpkgs/tclreadline/build/*
    47     47   server/buildpkgs/tclreadline/out
    48     48   server/buildpkgs/tclreadline/out/*
    49     49   server/buildpkgs/tclreadline/src
    50     50   server/buildpkgs/tclreadline/src/*
           51  +server/buildpkgs/tdom/build
           52  +server/buildpkgs/tdom/build/*
           53  +server/buildpkgs/tdom/out
           54  +server/buildpkgs/tdom/out/*
           55  +server/buildpkgs/tdom/src
           56  +server/buildpkgs/tdom/src/*
    51     57   server/buildpkgs/tls/build
    52     58   server/buildpkgs/tls/build/*
    53     59   server/buildpkgs/tls/out
    54     60   server/buildpkgs/tls/out/*
    55     61   server/buildpkgs/tls/src
    56     62   server/buildpkgs/tls/src/*
    57     63   server/pkgs
    58     64   server/pkgs/*

Modified server/buildpkgs/build_all.sh from [0d43706d4f] to [17e48df935].

   136    136   	done
   137    137   
   138    138   	rm -f "${PROJROOTDIR}/platform.magic.dir"
   139    139   fi
   140    140   
   141    141   # Determine platform
   142    142   if [ -z "${FORCE_PLATFORM}" ]; then
   143         -	PLATFORM="$(./platform)"
          143  +	PLATFORM="$(echo 'package require platform; puts [platform::identify]' | ./tcl/inst-8.5/bin/tclsh8.5 2>/dev/null)"
          144  +
          145  +	if [ -z "${PLATFORM}" ]; then
          146  +		PLATFORM="$(./platform)"
          147  +	fi
   144    148   else
   145    149   	PLATFORM="${FORCE_PLATFORM}"
   146    150   fi
   147    151   export PLATFORM
   148    152   
   149    153   # Build all appropriate directories
   150    154   faileddirs=""

Added server/buildpkgs/certs.pem version [ff242a82d6].

            1  +-----BEGIN CERTIFICATE-----
            2  +MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
            3  +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
            4  +d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
            5  +ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL
            6  +MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3
            7  +LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug
            8  +RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm
            9  ++9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW
           10  +PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM
           11  +xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB
           12  +Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3
           13  +hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg
           14  +EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF
           15  +MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA
           16  +FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec
           17  +nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z
           18  +eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF
           19  +hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2
           20  +Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe
           21  +vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep
           22  ++OkuE6N36B9K
           23  +-----END CERTIFICATE-----

Modified server/buildpkgs/common.sh from [5c88931dca] to [80980e80c6].

    42     42   
    43     43   	if [ -s "${file}" ]; then
    44     44   		return 0
    45     45   	fi
    46     46   
    47     47   	rm -f "${file}.tmp" "${file}"
    48     48   
    49         -	wget -O "${file}.tmp" "${url}" || return 1
           49  +	if echo "${url}" | grep '^https://' >/dev/null; then
           50  +		wget --ca-certificate='../certs.pem' -O "${file}.tmp" "${url}" || return 1
           51  +	else
           52  +		wget -O "${file}.tmp" "${url}" || return 1
           53  +	fi
    50     54   
    51     55   	mv "${file}.tmp" "${file}"
    52     56   }
    53     57   
    54     58   function download_src () {
    55     59   	if [ ! -f "${SRC}" -a -n "${SRC}" -a -n "${SRCURL}" ]; then
    56     60   		mkdir -p "$(dirname "${SRC}")" >/dev/null 2>/dev/null

Added server/buildpkgs/tdom/build.sh version [f4f3fce13b].

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=0.8.3
            5  +SRC="src/tDOM-${VERS}.tgz"
            6  +SRCURL="https://github.com/downloads/tDOM/tdom/tDOM-${VERS}.tgz"
            7  +BUILDDIR="tDOM-${VERS}"
            8  +export VERS SRC SRCURL BUILDDIR
            9  +
           10  +# Load common functions
           11  +source ../common.sh
           12  +
           13  +# Do not build if the "tcl" platform has been requested
           14  +not_platforms 'tcl'
           15  +
           16  +# Download source
           17  +download_src
           18  +
           19  +# Build package
           20  +(
           21  +	rm -rf build
           22  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           23  +	mkdir build
           24  +
           25  +	cd build/ || exit 1
           26  +
           27  +	gzip -dc "../${SRC}" | tar -xf -
           28  +	cd "${BUILDDIR}" || exit 1
           29  +
           30  +	bash ./configure --enable-shared --enable-threads --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           31  +
           32  +	${MAKE:-make} || exit 1
           33  +
           34  +	${MAKE:-make} install-binaries PKG_DIR='' || exit 1
           35  +
           36  +	rm -f "${PLATDIR}"/*.a
           37  +	rm -f "${PLATDIR}"/tdomConfig.sh
           38  +) || exit 1
           39  +
           40  +# Create metadata
           41  +../create_teapot "${PLATDIR}/teapot.txt" "tdom" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "tDOM combines high performance XML data processing with easy and powerful Tcl scripting functionality. tDOM should be one of the fastest ways to manipulate XML with a scripting language and uses very little memory in the process.  http://tdom.github.com/"
           42  +
           43  +exit 0