[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't find ipchains



D> apt-get tells me there is no package named ipchains.  I checked on
D> packages.debian.org and I don't see 'ipchains' in potato, but I do see
D> it for woody and sid.  I thought I might get the woody version, but it
D> is linked against a newer libc.  Is there somewhere I can find
D> ipchains for potato, or where can I find an explanation of dpkg's
D> version of "rpm --rebuild ipchains-x.y.z.src.rpm"?

Analog for rpm --rebuild ipchains-x.y.z.src.rpm is

install packages required to build source package

  apt-get build-dep ipchains (as root)

build source package

  fakeroot apt-get source -b ipchains (as any user)

install built package

  dpkg -i ipchains-x.y.z.deb (as root)

This requires proper strings for source packages in
sources.list. Something like:

  deb-src ftp://ftp.us.debian.org/debian unstable main contrib non-free
  deb-src ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

It is from my sources.list. I run testing but install sometimes
packages from unstable via compilation of source packages.

P.S. I'm not sure if 'apt-get build-dep' works with apt version on
stable. If it doesn't work you will need to manually install required
for build packages.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: