/usr/share/ui-auto/template.deb_svn+mbd is in ui-auto 1.1.17-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | #----------------------------------------------------------------------
# [ui-auto-release Debian configuration: Template for svn+mini-buildd]
#----------------------------------------------------------------------
# From mini-buildd, so we can do a little magic for the revapx
__mbdBasedist2Version()
{
# Known base distributions
local woody=30
local sarge=31
local etch=40
local lenny=50
local squeeze=60
local wheezy=70
local sid=SID
local version=${!1}
if [ -z "${version}" ]; then
echo "W: Template svn+mbd: Unknown base dist ${1}." >&2
fi
echo -n "${version}"
}
__VCLOC="${1}"
__MBDID="${2}"
__BASEDIST="${3}"
__BPDISTS="${4}"
__REVAPX="~${__MBDID}$(__mbdBasedist2Version ${__BASEDIST})"
for __d in ${__BPDISTS}; do
__BPDISTS_S="${__d}-${__MBDID},${__BPDISTS_S}"
__BPDISTS_U="${__d}-${__MBDID}-experimental,${__BPDISTS_U}"
done
# Usage check
if [ -z "${__VCLOC}" -o -z "${__MBDID}" -o -z "${__BASEDIST}" ]; then
echo "E: Wrong template args. Usage: . template.deb_svn+deb VCLOC MBDID BASEDIST [BPDISTS]" >&2
exit 1
fi
# Debian dir: We use svn-buildpackage default layout.
ui_release_deb_vc="svn"
ui_release_deb_vc_loc="${__VCLOC}"
ui_release_deb_orig_loc="tarballs"
ui_release_deb_pkg_loc="build-area"
# Common values for all Debian releases ([un]stable[snapshot])
ui_release_deb_vc_tag="trunk"
ui_release_deb_dbuild="svn-buildpackage -rfakeroot -S"
ui_release_deb_dput="mini-buildd-${__MBDID}"
# Values for "unstable"
ui_release_deb_dbuild_options_unstable="--svn-tag"
ui_release_deb_dist_unstable="${__BASEDIST}-${__MBDID}-experimental"
ui_release_deb_revapx_unstable="${__REVAPX}+0"
[ -z "${__BPDISTS_U}" ] || ui_release_deb_clentries_unstable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_U}"
# Don't tag for snapshots, and ignore the never-checked-in changes
ui_release_deb_dbuild_options_unstable_snapshot="--svn-ignore"
# Values for "stable"
ui_release_deb_dbuild_options_stable="--svn-tag"
ui_release_deb_dist_stable="${__BASEDIST}-${__MBDID}"
ui_release_deb_revapx_stable="${__REVAPX}+1"
[ -z "${__BPDISTS_S}" ] || ui_release_deb_clentries_stable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_S}"
# Treat stable snapshots like unstable snapshots
ui_release_deb_dbuild_options_stable_snapshot="--svn-ignore"
ui_release_deb_dist_stable_snapshot="${__BASEDIST}-${__MBDID}-experimental"
ui_release_deb_revapx_stable_snapshot="${__REVAPX}+0"
[ -z "${__BPDISTS_U}" ] || ui_release_deb_clentries_stable_snapshot="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_U}"
|