Comment 15 for bug 1574270

Revision history for this message
Yann E. MORIN (yann-morin-1998-r) wrote :

Brendan,

That's because the attached patch expects the bundled patches are already applied.

Here's how I did (as non-root):

    $ sudo apt-get build-dep tsocks
    [--snip--]
    $ apt-get source tsocks
    [--snip--]
    $ cp 07_init.dpatch tsocks-1.8beta5/debian/patches/
    $ cd tsocks-1.8beta5/
    $ dpkg-buildpacakge -us -uc
    [--snip--]
    $ cd ..
    $ sudo apt-get purge tsocks
    $ sudo dpkg --install tsocks_1.8beta5-9.3_amd64.deb

Also, to avoid tsocks being re-installed from the repository every time I run "make dist-upgrade", I simply uninstalled it before installing my locally-built tsocks (hence the "apt-get purge tsocks in the commands above).