Get the Source
The following script will get the source tarballs and MD5 files for version 3.0.1, check the MD5 hash and unpack the tar.gz.
Libraries are renamed from
sipX<em>package</em>lib to libsipx<em>package</em> to conform to the Debian Library Packaging Guide.
Furthermore, all source tarballs are renamed to (lib)sipx<em>package</em>_version.orig.tar.gz.
The script will then fetch the /debian tree from the Calivia sipX Debian subversion repository for every package.
After that, packages are ready to be built.
Alternatively, use wget to get all source tarballs with one command:
wget -r -l 1 -A .gz,.md5 -nd --cut-dirs=3 http://www.sipfoundry.org/pub/sipX/3.0/SRC/- -r
- Recursive
- -l 1
- Depth 1
- -A .gz,.md5
- Accept files only with this suffix
- -nd
- No directory names in file name
- --cut-dirs=3
- Remove 3 levels of sub-directory names
Fetch sipX source and /debian
#!/bin/sh
W=`pwd`
wget -r -l 1 -A .gz,.md5 -nd --cut-dirs=3 http://www.sipfoundry.org/pub/sipX/3.0/SRC/
echo "** sipX*Lib"
for PACKAGE in {port,tack,media,mediaadapter,commserver,call}; do
echo "**sipx${PACKAGE}lib "
cd $W
mv sipx${PACKAGE}lib-3.0.1.tar.gz libsipx${PACKAGE}_3.0.1.orig.tar.gz
tar xzf libsipx${PACKAGE}_3.0.1.orig.tar.gz
cd sipx${PACKAGE}lib-3.0.1 && \
mkdir debian && \
cd debian && \
svn co http://scm.calivia.com/svn/sipx/debian/tags/3.0.1/sipx${PACKAGE}lib .
echo "** sipx${PACKAGE}lib done"
done;
echo "** sipX*"
for PACKAGE in {vxml,publisher,proxy,registry,config,pbx}; do
echo "**sipx${PACKAGE} "
cd $W
mv sipx${PACKAGE}-3.0.1.tar.gz sipx${PACKAGE}_3.0.1.orig.tar.gz
tar xzf sipx${PACKAGE}_3.0.1.orig.tar.gz
cd sipx${PACKAGE}-3.0.1 && \
mkdir debian && \
cd debian && \
svn co http://scm.calivia.com/svn/sipx/debian/tags/3.0.1/sipx${PACKAGE} .
echo "** sipx${PACKAGE} done"
done;Fetch mod_cplusplus source and /debian
#!/bin/sh
W=`pwd`
echo "** mod_cplusplus"
cd $W
wget -nv http://unc.dl.sourceforge.net/sourceforge/modcplusplus/mod_cplusplus-1.5.2.tar.gz
mv mod_cplusplus-1.5.2.tar.gz libapache-mod-cplusplus_1.5.2.orig.tar.gz
tar xzf libapache-mod-cplusplus_1.5.2.orig.tar.gz
cd mod_cplusplus-1.5.2 && \
mkdir debian && \
cd debian && \
svn co http://scm.calivia.com/svn/sipx/debian/mod_cplusplus .
echo "** mod_cplusplus done"
cd $Wmike – Sun, 2005 – 12 – 18 22:03











