~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to tools/buildbot/slaves/svn-x64-macosx/setenv.sh

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  Licensed to the Apache Software Foundation (ASF) under one
 
2
#  or more contributor license agreements.  See the NOTICE file
 
3
#  distributed with this work for additional information
 
4
#  regarding copyright ownership.  The ASF licenses this file
 
5
#  to you under the Apache License, Version 2.0 (the
 
6
#  "License"); you may not use this file except in compliance
 
7
#  with the License.  You may obtain a copy of the License at
 
8
#
 
9
#   http://www.apache.org/licenses/LICENSE-2.0
 
10
#
 
11
#  Unless required by applicable law or agreed to in writing,
 
12
#  software distributed under the License is distributed on an
 
13
#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
14
#  KIND, either express or implied.  See the License for the
 
15
#  specific language governing permissions and limitations
 
16
#  under the License.
 
17
 
 
18
## This script calls a helper that provides the folloing environemnt
 
19
## variables:
 
20
##
 
21
##     PATH                     The search path
 
22
##     SVNBB_OPENSSL            OpenSSL installation prefix
 
23
##     SVNBB_BDB                Berkeley DB installation prefix
 
24
##     SVNBB_SWIG               Swig installation prefix
 
25
##     SVNBB_SERF               Serf installation prefix
 
26
##                              Note: Serf should be built only
 
27
##                                    with the system APR/-Util.
 
28
##     SVNBB_APR_13_NOTHREAD    Path of APR-1.3 with threading disabled
 
29
##     SVNBB_APR_15             Path of APR-1.5
 
30
##     SVNBB_APR_20_DEV         Path of APR-2.0
 
31
##     SVNBB_JUNIT              The path of the junit.jar
 
32
##     SVNBB_PARALLEL           Optional: parallelization; defaults to 2
 
33
##     LIBTOOL_CONFIG           Optional: libtool configuration path
 
34
##
 
35
## The invoking script will set local variable named ${scripts} that
 
36
## is the absolute path the parent of this file.
 
37
 
 
38
# Modify this to suit your deployment
 
39
environment=$(cd "${scripts}/.." && pwd)/environment.sh
 
40
 
 
41
eval $(${environment})
 
42
SVNBB_PARALLEL="${SVNBB_PARALLEL-2}"
 
43
 
 
44
export PATH
 
45
export SVNBB_BDB
 
46
export SVNBB_SWIG
 
47
export SVNBB_SERF
 
48
export SVNBB_APR_13_NOTHREAD
 
49
export SVNBB_APR_15
 
50
export SVNBB_APR_20_DEV
 
51
export SVNBB_JUNIT
 
52
export SVNBB_PARALLEL
 
53
export LIBTOOL_CONFIG
 
54
 
 
55
 
 
56
# Set the absolute source path
 
57
abssrc=$(pwd)
 
58
 
 
59
# Set the path to the RAMdisk device name file
 
60
ramconf=$(dirname "${abssrc}")/ramdisk.conf
 
61
 
 
62
# The RAMdisk volume name is the same as the name of the builder
 
63
volume_name=$(basename $(dirname "${abssrc}"))
 
64
if [ -z "${volume_name}" ]; then
 
65
    echo "Missing config parameter: RAMdisk volume name"
 
66
    exit 1
 
67
fi
 
68
 
 
69
# Set the absolute build path
 
70
absbld="/Volumes/${volume_name}"