[Asterisk-Dev] building debs from asterisk+debian svn
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Jan 5 15:31:18 MST 2006
Hi
I have seen today svn:externals in action, and thus decided I want to be
able to build Debian packages from asterisk's subversion.
Here are the results with an initial tests using libpri:
svn co http://svn.digium.com/svn/libpri/branches/1.2 libpri
cd libpri
# valid syntax? I actually used propedit
svn propset svn:externals "debian svn://svn.alioth.debian.org/svn/pkg-voip/libpri/trunk/debian" .
svn update
# now it should fetch the debian subdirectory "from an external source"
# Any way to avoid the following two?
svn propdel mergeWithUpstream debian
svn propdel svn:mergeWithUpstream debian
svn-buildpackage --svn-ignore-new --svn-lintian -uc -us -rfakeroot
# lintian only complains about:
# W: libpri source: native-package-with-dash-version
The same procedure should basically work for Zaptel and Asterisk as well
(with Asterisk you'll also have to either remove the three FPM mp3 files
or remove the check for them from debian/rules. And also cross your
fingers that all the patches get applied).
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the asterisk-dev
mailing list