How to install pptpd on Debian is described in Debian pptpd HOWTO. Given a patch to pptpd, how do you rebuild Debian pptpd as a package?
cd |
apt-get source pptpd |
apt-get build-dep pptpd |
apt-get install devscripts build-essential fakeroot |
cd pptpd-1.2.1 |
wget [...]pptpd-1.2.3-loopback.patch |
patch < pptpd-1.2.3-loopback.patch |
dch --newversion 1.2.1-4.0 add loopback patch |
debuild -us -uc |
Note: this builds a .deb file and places it in the parent directory. You can adjust which flags are passed to the configure script by looking at the file debian/rules.
dpkg --install ../pptpd_1.2.1-4.0_i386.deb |
Date | Change |
---|---|
2005-08-08 | First draft, from mailing list. |