[asterisk-users] Asterisk 1.4.12 Release?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Sep 24 13:09:25 CDT 2007
On Mon, Sep 24, 2007 at 03:18:53PM +0100, Bruce McAlister wrote:
> Hi All,
>
> I read rumors of a potential Asterisk 1.4.12 release for last week. I
> would like to start testing Asterisk 1.4 on Solaris, but, the fix for
> the segfault in res_features is only in the current development trunk. I
> would much rather test a release version, and as such, need to wait for
> the release of 1.4.12, my question is, do we have a guestimate on when
> it will be released, 1 week, 2 weeks, a month?
Have you tried the svn version of branches/1.4 ?
To help you start your testing, here's a nice little script to package a
tarball from current SVN. It's for Zaptel, and adjustments to Asterisk
are left as an exercise to the reader.
It's not that well tested, but then again, that's what this list is
for...
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
-------------- next part --------------
#!/bin/sh
# svn_tarball: Generate a tarball from svn.digium.com irelease branch.
# Tzafrir Cohen <tzafrir.cohen at xorcom.com>
set -e
BRANCH_NAME=1.4
REV=HEAD
PROJECT=zaptel
TARBALLS_DIR_DEBIAN=/home/svn/tarballs
VENDORS_SUBDIR=vendors
TARBALLS_DIR=$TARBALLS_DIR_DEBIAN/$VENDORS_SUBDIR
me=`basename $0`
say() {
echo "$me: $@"
}
usage() {
echo >&2 "$0: packages uploading script"
echo >&2 ""
echo >&2 "$0 [-r REV] [-2] [-p PROJECT]"
echo >&2 "$0 <-h | --help>: This message"
echo >&2 ""
echo >&2 "Options:"
echo >&2 " -2 --zap12: Use 1.2."
echo >&2 " -p --project PROJECT: Use PROJECT instead of $PROJECT."
echo >&2 " -r --rev REV: extract tarball from this revision ($REV)."
echo >&2 " -s --show: Only show the versions you will create."
}
opt_showonly=no
options=`getopt -o 2hp:r:s --long zap12,help,project:,rev:,revision:,show -- "$@"`
if [ $? != 0 ] ; then echo >&2 "Terminating..." ; exit 1 ; fi
# Note the quotes around `$TEMP': they are essential!
eval set -- "$options"
echo "$@"
while true ; do
case "$1" in
-2|--zap12) BRANCH_NAME=1.2;;
-p|--project) PROJECT="$2"; shift ;;
-r|--rev|--revision) REV="$2"; shift ;;
-s|--show) opt_showonly=yes ;;
-h|--help) usage; exit 0;;
--) shift ; break ;;
esac
shift;
done
BRANCH=branches/$BRANCH_NAME
PROJECT_BASE=http://svn.digium.com/svn/$PROJECT
PROJECT_URL=$PROJECT_BASE/$BRANCH
set -e
# Get the name of the "previous version" for this release.
# The idea is to look at the latest tag for that branhch. Tags are
# global, and hence we filter tag names by branch name.
#
# Note: this strips any minor version number.
# e.g: if last releast was 1.4.5.1, this will still return 1.4.5 . Here
# we rely on the fact that the revision number will be added.
zap_ver=`svn ls -r $REV $PROJECT_BASE/tags | grep "^$BRANCH_NAME" \
| sed -e "s/\($BRANCH_NAME\.[0-9]\+\)[/.-].*/\1/" \
| sort -nu -t . -k 3 | tail -n 1`
real_rev=`svn info -r $REV $PROJECT_URL \
| awk '/^Last Changed Rev: /{print $4}'`
ver_full="$zap_ver.9.svn.$real_rev"
tar_name="zaptel-$ver_full"
tar_ball_full="$TARBALLS_DIR/$tar_name.tar.gz"
say "Version: $ver_full (ver: $zap_ver, rev: $real_rev)"
say "Tarball: $tar_ball_full"
if [ "$opt_showonly" = 'yes' ]; then
exit 0;
fi
CHECKOUT_DIR=`mktemp -d zaptel_checkout_dir_XXXXXX`
# Package a tarball from the subversion, using 'make dist':
svn export -q -r $REV $PROJECT_URL $CHECKOUT_DIR/$tar_name
echo "$ver_full" >$CHECKOUT_DIR/$tar_name/.version
tar cz -C $CHECKOUT_DIR -f $tar_ball_full $tar_name
rm -rf $CHECKOUT_DIR
More information about the asterisk-users
mailing list