Debian and build a package from source

I want to build pure-ftpd from source becurs my debian server dosent support capabilities.
So first i download the package:
host:/usr/local/src/# cd /usr/local/src
host:/usr/local/src/# apt-get -b source packagename

Then i change the debian/rules files in the package, so that pure-ftpd not support capabilities. (–without-capabilities)

host:/usr/local/src/# cd pure-ftpd-1.0.21/debian

host:/usr/local/src/#nano rules

Then i compile pure-ftpd.

host:/usr/local/src/# cd ..

host:/usr/local/src/# dpkg-buildpackage -rfakeroot -uc -b

Then I install the pure-ftpd-common and pure-ftpd-mysql

host:/usr/local/src/# cd ..

host:/usr/local/src/# dpkg -i pure-ftpd-common_1.0.21-11.1_all.deb

host:/usr/local/src/# dpkg -i pure-ftpd-mysql_1.0.21-11.1_i386.deb

Leave a Reply

Your email address will not be published. Required fields are marked *