1 Dapper Drake 6.0.6.1LTS
2 Debian GNU/Linux `dpkg' package management program version 1.13.11 (amd64).
3 Public Domain document by Jacob Appelbaum <jacob@appelbaum.net>
5 You may need to install other packages to build the software. This build doc is for amd64.
6 It should work on any arch. I assume you have dpkg-buildpackage. Don't forget to install libc-dev:
9 cpp cpp-4.0 fakeroot gcc gcc-4.0 libc6-dev linux-kernel-headers \
10 debconf-utils debhelper dpkg-dev gettext html2text intltool-debian make \
14 >From start to finish:
16 wget http://www.xelerance.com/software/xl2tpd/xl2tpd-1.1.12.tar.gz
17 wget http://www.xelerance.com/software/xl2tpd/xl2tpd-1.1.12.tar.gz.asc
19 gpg --search-keys 0xB5CC27E1
20 gpg --verify xl2tpd-1.1.12.tar.gz.asc
22 tar -xvzf xl2tpd-1.1.12.tar.gz
27 # Ensure that you're inside of xl2tpd-1.1.12/
28 patch -p0 < doc/dapper-control.patch
30 # Now build the package
31 dpkg-buildpackage -rfakeroot
33 # Without the patch, it will likely fail with an error like:
34 dpkg-deb: parse error, in file `debian/xl2tpd/DEBIAN/control' near line 7 package `xl2tpd':
35 `Replaces' field, reference to `l2tpd': error in version: version string is empty
36 dh_builddeb: command returned error code 512
37 make: *** [binary-arch] Error 1
40 l2tpd_1.1.11.dfsg.1-2_all.deb
41 xl2tpd_1.1.11.dfsg.1-2_amd64.deb
43 apt-get -y install libpcap0.8 ppp
45 dpkg -i xl2tpd_1.1.11.dfsg.1-2_amd64.deb
46 dpkg -i l2tpd_1.1.11.dfsg.1-2_all.deb