Comment 5 for bug 47158

Revision history for this message
Stojan Dimitrovski (sdimitrovski) wrote :

Dear Quark, I've never packaged myself (not for a Debian system), but here is a "Packaging Guide" from Ubuntu on how to package things. I've read it so far and what I've found out is that dependencies are added in the 'control' file of the package. There is a line in the control file that starts with 'Depends: ' and after it are all of the package's dependencies.

Right now, pppoeconf depends on: whiptail-provider, whiptail, ppp (>= 2.4.2+20040228-2), pppoe (>= 3.0), ppp (>= 2.4.1.uus2-4), gettext-base (>= 0.13, sed (>= 3.95). As you can see here http://packages.ubuntu.com/dapper/net/pppoeconf.

This is basically what you need to read to know how to get a package, in this case pppoeconf, to depend on another package, resolvconf. http://doc.ubuntu.com/ubuntu/packagingguide/C/basic-scratch.html

But, if you haven't packaged anything for Debian systems to read the Ubuntu Packaging Guide, which can be found here: http://doc.ubuntu.com/ubuntu/packagingguide/C/index.html

If you have any more questions, you can always ask on #ubuntu-bugs on irc.freenode.org or ask here. :)