======================================= Debian package for Mutt with NNTP patch ======================================= Introduction ============ Did you ever wanted Mutt_ with NNTP_ support packed up for your Debian_ (or Debian_\ -ish) box, but you are too lazy to do it yourself? Did you even tried to report a bug__ so the patch can be applied to the `official Debian package`__ but the maintainers told you they wont do it? __ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488868 __ http://packages.debian.org/sid/mutt If so, this is a great day for you, because I did it and I'm giving it away with no charge in this one time only opportunity!!! =P Seriously, I can understand why the maintainers don't want to support it officially, it a big patch and can be some work to fold it in. So I did it myself, and it turned out it's wasn't that bad. I adjusted the patch__ maintained by Vsevolod Volkov to work on top of all the other patches included in the mutt-patched__ Debian_ package (the only conflicting patch is the `sidebar patch`__ and some files that doesn't exist because the patch should be applied after autotools files are generated and Debian_ apply the patches *before* that) and built a new package, ``mutt-nntp`` using the latest (at the time of writing) Debian_ source. __ http://mutt.org.ua/download/mutt-1.5.21/ __ http://packages.debian.org/sid/mutt-patched __ http://www.lunar-linux.org/index.php?page=mutt-sidebar Compiling/Installing ==================== You can find the latest source and the binary packages for Ubuntu_ 12.04 Precise (i386 and amd64) here__. You can find there the modified NNTP_ patch too. __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/latest/ If you have other Ubuntu_, Debian_, other Debian_ based distribution or another architecture, you can compile the binary package by downloading the files ``mutt_x.y.z-NnntpM.diff.gz`` and ``mutt_x.y.z-NnntpM.dsc`` [1]_ from here__, and ``mutt_x.y.z.orig.tar.gz`` from the Debian_ `mutt source package`__ page (see the links at the right), then run (where ``x.y.z`` is the Mutt_ version, ``N`` is the Debian_ package revision, ``M`` is my package revision and ``ARCH`` is your architecture):: ver=1.5.21 deb_ver=$ver-5nntp2 url=https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/latest wget $url/mutt_$deb_ver.dsc $url/mutt_$deb_ver.diff.gz \ http://ftp.de.debian.org/debian/pool/main/m/mutt/mutt_$ver.orig.tar.gz sudo apt-get build-dep mutt dpkg-source -x mutt_$deb_ver.dsc cd mutt-$ver dpkg-buildpackage -rfakeroot # install any missing packages reported by dpkg-buildpackage and try again cd .. sudo dpkg -i mutt-nntp_${deb_ver}_*.deb __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/latest/ __ http://packages.debian.org/sid/mutt Now you can enjoy reading your favourite newsgroups and your favourite mailing lists via Gmane_ with Mutt_ without leaving the beauty of your packaging system. No need to thank me, I'm glad to be helpful (but if you want to make a donation, just let me know ;). .. note:: You should always install the same ``mutt`` version as the one the ``mutt-nntp`` is based on (i.e. the version number without the ``nntpX`` suffix, for example if mutt-nntp version is 1.5.21-5nntp1, your mutt version should be 1.5.21-5 or 1.5.21-5ubuntu2). A newer version will satisfy the dependency too but it is not guaranteed to work (even when it probably will, specially if the upstream version is the same). You could also install the generated/provided mutt package, but that might be problematic when upgrading your distribution. News ==== If you want to keep up with the updates, I usually post new releases in `my blog`__. You can subscribe__ to the `mutt tag`__ feed if you want to receive any news (or random thoughts related to Mutt_) or to all `mutt + nntp + release tags`__ feed if you only want to be notified of `new releases`__. __ /blog/ __ /blog/blog.cgi/atom?tag=mutt __ /blog/blog/tag/mutt __ /blog/?tag=mutt&tag=nntp&tag=release __ /blog/blog.cgi/atom?tag=mutt&tag=nntp&tag=release Repository =========== You can find a clone from the `official Mutt Debian Package git repository`__, with my extra changes to add and enable the NNTP patch in `my git repository`__ (you probably want to see the `nntp branch`__). To build the latest package from the repository, you can just do:: git clone https://git.llucax.com/r/software/mutt-debian.git cd mutt-debian git checkout nntp # or a particular "nntp/*" tag dpkg-buildpackage -rfakeroot -i.git -I.git __ git://git.debian.org/git/pkg-mutt/mutt.git __ https://git.llucax.com/w/software/mutt-debian.git __ https://git.llucax.com/w/software/mutt-debian.git/shortlog/refs/heads/nntp Release History =============== 2012-07-05 Version `1.5.21-5nntp3`__ released (`release notes`__). __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.21-5nntp3/ __ /blog/blog/post/08e2764c 2012-07-04 Version `1.5.21-5nntp2`__ released (`release notes`__). __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.21-5nntp2/ __ /blog/blog/post/7f45506f 2011-05-24 Version `1.5.21-5nntp1`__ released (`release notes`__). __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.21-5nntp1/ __ /blog/blog/post/5bc9cbdd 2011-04-12 Version `1.5.21-4nntp1`__ released (`release notes`__). __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.21-4nntp1/ __ /blog/blog/post/17f1c4e4 2011-01-19 Version `1.5.21-2nntp1`__ released (`release notes`__). __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.21-2nntp1/ __ /blog/blog/post/-507b5231 2010-06-06 Version `1.5.20-8luca1`__ released (`release notes`__). __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.20-8luca1/ __ /blog/blog/post/1e329497 2010-02-22 Version `1.5.20-7luca1`__ released. __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.20-7luca1/ 2009-10-14 Version `1.5.20-4luca1`__ released. __ https://llucax.com.nyud.net/proj/mutt-nntp-debian/files/1.5.20-4luca1/ .. _Mutt: http://www.mutt.org/ .. _NNTP: http://en.wikipedia.org/wiki/Network_News_Transfer_Protocol .. _Debian: http://www.debian.org/ .. _Ubuntu: http://www.ubuntu.com/ .. _Gmane: http://gmane.org/ .. [1] Please note that In previous versiones I used the naming scheme ``NlucaM`` instead of ``NnntpM``. .. vim: set et sw=3 sts=3 tw=78 :