Packaging for Debian (without openchange)

Install a clean Debian 8.x basic

Install the packages for building

#apt-get install build-essential

#apt-get install dpkg-dev

#apt-get install devscripts

You need too libwbxml2 package

#wget https://packages.inverse.ca/SOGo/nightly/2/debian/pool/jessie/w/wbxml2/libwbxml2-dev_0.11.2-1.1_amd64.deb

#wget https://packages.inverse.ca/SOGo/nightly/2/debian/pool/jessie/w/wbxml2/libwbxml2-0_0.11.2-1.1_amd64.deb

#dpkg -i libwbxml2-0_0.11.2-1.1_amd64.deb

#dpkg -i libwbxml2-dev_0.11.2-1.1_amd64.deb

#apt-get -f install

#apt-get install liblasso3

#apt-get install liblasso3-dev

Make SOPE and SOGo

Download SOGo's and SOPE's sources

Make a directory for doing the job

#mkdir /home/packages ; cd /home/packages

#wget https://sogo.nu/files/downloads/SOGo/Sources/SOPE-3.1.4.tar.gz

#wget https://sogo.nu/files/downloads/SOGo/Sources/SOGo-3.1.4.tar.gz

#wget https://sogo.nu/files/downloads/SOGo/Sources/SOGo-2.3.13.tar.gz

#tar -xzvf SOPE-3.1.4.tar.gz

#cd SOPE

#cp -a packaging/debian debian

#./debian/rules

#dpkg-buildpackage

Install all packages needed and rerun dpkg-buildpackage

Now you have got in the directory /home/packages all sope packages

#cd /home/packages

#dpkg -i libsope*.deb

#tar -xzvf SOGo-3.1.4.tar.gz

#cd SOGo-3.1.4

#dch ( change the first line with the version of Sogo and your comments)

#cp -a packaging/debian debian

#cp packaging/debian-multiarch/control-no-openchange debian

#./debian/rules

#dpkg-buildpackage -b

Install the missed packages and rerun dpkg-buildpackage -b

After some minutes you must have in /home/packages all the packages

Do the same wig SOGo-2.3 if you need it

Packaging (last edited 2016-07-30 12:48:52 by alainabbas)