I just took a little look into this.

RedHat (I was looking at the CentOS packages) provide ipcalc as part of the
initscripts package.

I pulled down the source rpm and extracted the code.

ipcalc is provided in there as a small C program (amongst a whole bunch of
other stuff).

I was able to make ipcalc in the src directory after installing libpopt-dev
on a wheezy box.

So it seems that adding this into Debian could be fairly simple?

The only thing i'm not sure about is the proper way do do this? Would the
entire source downloaded for the redhat initscripts package become the
source for the debian ipcalc package, but then only have ipcalc build and
install? Or would he source simply become the relevant parts of the
original source?

Reply via email to