[asterisk-bugs] [Asterisk 0018381]: [patch] install_prereq script needs subversion package on Debian
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Nov 25 18:18:53 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18381
======================================================================
Reported By: ffossard
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18381
Category: Addons/General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.8.0
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-11-25 17:53 CST
Last Modified: 2010-11-25 18:18 CST
======================================================================
Summary: [patch] install_prereq script needs subversion
package on Debian
Description:
The install_prereq script uses svn to install "unpackaged requirements".
Subversion is not present on Debian 5 clean install.
This patch adds "subversion" Debian package on a new line:
# cat 20101126_installprereq-svn.diff
--- ./asterisk-1.8.0/contrib/scripts/install_prereq 2010-07-20
20:11:08.000000000 +0200
+++ ./asterisk-1.8.0/contrib/scripts/install_prereq_new 2010-11-26
00:11:34.000000000 +0100
@@ -27,6 +27,8 @@
PACKAGES_DEBIAN="$PACKAGES_DEBIAN libpq-dev unixodbc-dev libsqlite0-dev
libsqlite3-dev libmysqlclient15-dev libneon27-dev libgmime-2.0-2-dev
libusb-dev liblua5.1-0-dev lua5.1"
PACKAGES_DEBIAN="$PACKAGES_DEBIAN libopenh323-dev libvpb-dev
libgtk2.0-dev libmysqlclient-dev libbluetooth-dev libradiusclient-ng-dev
freetds-dev"
PACKAGES_DEBIAN="$PACKAGES_DEBIAN libsnmp-dev libiksemel-dev
libopenais-dev libnewt-dev libpopt-dev libical-dev libspandsp-dev
libjack-dev"
+# Asterisk: for unpackaged requirements:
+PACKAGES_DEBIAN="$PACKAGES_DEBIAN subversion"
PACKAGES_RH="gcc gcc-c++ ncurses-devel openssl-devel mysql-devel"
======================================================================
----------------------------------------------------------------------
(0129149) ffossard (reporter) - 2010-11-25 18:18
https://issues.asterisk.org/view.php?id=18381#c129149
----------------------------------------------------------------------
Please note that adding the package "subversion" in the script will also
install "python-subversion" and "subversion-tools"
"subversion" is a simple name and function check_installed_debs() search
all packages containing the specified argument:
check_installed_debs() {
aptitude -F '%c %p' search "$@" 2>/dev/null \
| awk '/^p/{print $2}'
}
#aptitude -F '%c %p' search "subversion" 2>/dev/null | awk '/^p/{print
$2}'
python-subversion
subversion
subversion-tools
We can do this, but, hum.. maybe not pretty:
# Asterisk: for unpackaged requirements:
PACKAGES_DEBIAN="$PACKAGES_DEBIAN ^subversion$"
Issue History
Date Modified Username Field Change
======================================================================
2010-11-25 18:18 ffossard Note Added: 0129149
======================================================================
More information about the asterisk-bugs
mailing list