Am 23.07.2011 10:43, schrieb Vincent Richomme: > On Sat, 23 Jul 2011 10:30:23 +0200, Robert Schetterer wrote: >> Am 23.07.2011 10:21, schrieb Vincent Richomme: >>> Hi, >>> >>> I am running a server under Ubuntu 11.04(natty) and I would like to >>> install a 2.x version but >>> unfortunately the only package available is 1.2.15. >>> Of course I could compile and install from sources but I would prefer to >>> handle packages because >>> it's a lot simpler and cleaner. >>> After some research I found some debian packages available here : >>> http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.0/ >>> >>> >>> So my question is would it be possible to recompile the source package >>> to make a ubuntu one ? >>> Or maybe could I install directly the debian package (but I suppose >>> dependencies are not the same ...). >>> If someone has already an experience with that and couls share his >>> experience. >>> Still don't understand why distros don't use dovecot 2.x ? Is it >>> considered still as unstable ? >>> >>> >>> Thanks >> >> i always recompile dove 2.x >> http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.0/ >> use on lucid server, no problems so far >> >> dont know why 2.x is tagged as unstable elsewhere >> ask distro pack mantainer > > Thanks for answering. > I am not an expert in package management so how can I regenerate a > ubuntu package. > Should I download dovecot_2.0.13.orig.tar.gz and > dovecot_2.0.13-0~auto+61.debian.tar.gz archive, > decompress them and put debian folder inside source folder ? > And after what kind of magic line should I enter to regenerate a > package(I already have installed all packages described in > https://wiki.ubuntu.com/PackagingGuide/Complete) ? >
ok do it like this mkdir /usr/src/dovecot_2.0.13 cd /usr/src/dovecot_2.0.13 download i.e wget ... dovecot_2.0.13-0~auto+24_amd64.changes wget ....dovecot_2.0.13-0~auto+24.debian.tar.gz wget ....dovecot_2.0.13-0~auto+24.dsc wget ....dovecot_2.0.13-0~auto+24_i386.changes wget ....dovecot_2.0.13.orig.tar.gz dpkg-source -x *.dsc cd dovecot-2.0.13/ dpkg-buildpackage -rfakeroot -b ( get coffee, this needs time ) cd .. ls *.deb should give you i.e dovecot-common_2.0.13-0~auto+24_amd64.deb dovecot-imapd_2.0.13-0~auto+24_amd64.deb dovecot-mysql_2.0.13-0~auto+24_amd64.deb dovecot-sqlite_2.0.13-0~auto+24_amd64.deb dovecot-dbg_2.0.13-0~auto+24_amd64.deb dovecot-ldap_2.0.13-0~auto+24_amd64.deb dovecot-pgsql_2.0.13-0~auto+24_amd64.deb dovecot-dev_2.0.13-0~auto+24_amd64.deb dovecot-lmtpd_2.0.13-0~auto+24_amd64.deb dovecot-pop3d_2.0.13-0~auto+24_amd64.deb dovecot-gssapi_2.0.13-0~auto+24_amd64.deb dovecot-managesieved_2.0.13-0~auto+24_amd64.deb dovecot-sieve_2.0.13-0~auto+24_amd64.deb dpkg -i *.deb you also need all depended libs for dovecot build and dpkg building dont remember this all, but should be no problem if you are familar with apt you might also try install directly downloaded deb guess they will work out of the box at natty ( or maybe with additional few apt-gets ) you havent install all deps, perhaps you dont need ldap or sql etc sorry in a hurry now -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria