On Wed, Dec 26, 2007 at 11:20:10PM +0100, Andreas Henriksson wrote: > I just ran into bug #296115 where you supplied a patch for ifupdown on > non-linux platforms a long time ago. Is there any chance you are still > interested in working on this?
If I remember correctly, that patch just fixed building the package, but did not make sure it actually worked. I've attached an old patch we used to get a more-or-less dummy(?) ifupdown package built to satisfy debootstrap. No idea whether it would still apply. > Version 0.7 of ifupdown, available in experimental, has been ported to > use iproute2 commands on linux. Since iproute2 is a linux-specific tool > (by using rtnetlink to communicating with the kernel), other > architectures now really needs to provide their own .defn files in > ifupdown to work. (These are the files that contains the commands needed > for each /etc/network/interfaces action.) > > This is one of the last remaining issues for the experimental version of > ifupdown before it can enter unstable as far as I know. Well, the Hurd port never used or provided ifupdown for configuring the network, so don't wait on us to push the new ifupdown into unstable. > It would be great if you where willing to work on this and I would be > happy to assist with what little ifupdown knowledge I have to help along > the way! I am afraid I am currently too busy with real life, and have too less knowledge about either ifupdown, netlink and the hurd to be of much use anyway. cheers, Michael
ifupdown (0.6.4-4.10+gnu.1) unreleased; urgency=low * Non-maintainer upload. * debian/control (Depends): Replaced net-tools with ${net-tools}. * debian/rules (DEB_BUILD_GNU_SYSTEM): New variable. * debian/rules (binary-arch): Substitute ${net-tools} with `net-tools' only when DEB_BUILD_GNU_SYSTEM is linux, leave it blank otherwise. * debian/rules (test): Do not run tests if $DEB_BUILD_OPTIONS contains `nocheck'. -- Michael Banck <[EMAIL PROTECTED]> Tue, 15 Feb 2005 16:41:47 +0100 diff -u ifupdown-0.6.4/debian/control ifupdown-0.6.4/debian/control --- ifupdown-0.6.4/debian/control +++ ifupdown-0.6.4/debian/control @@ -7,7 +7,7 @@ Package: ifupdown Architecture: any -Depends: net-tools, ${shlibs:Depends}, ${misc:Depends}, ${debconf-depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, ${net-tools} Suggests: iproute, dhcp3-client | dhcp-client, ppp Replaces: netbase (<< 4.00) Conflicts: dhcp-client (= 3.0.1betaRC4-1) diff -u ifupdown-0.6.4/debian/rules ifupdown-0.6.4/debian/rules --- ifupdown-0.6.4/debian/rules +++ ifupdown-0.6.4/debian/rules @@ -40,6 +40,8 @@ # This is the debhelper compatability version to use. export DH_COMPAT=1 +DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) + # user/group of to-be-installed files ROOT_USER := 0 ROOT_GROUP := 0 @@ -73,6 +75,7 @@ dh_testdir # Add here commands to test the package works. +ifneq ($(DEB_BUILD_OPTIONS), nocheck) chmod a+rx debian/testbuild @echo running debian/testbuild @if ! debian/testbuild; then \ @@ -85,6 +88,7 @@ echo '=================================================='; \ exit 1; \ fi +endif clean: dh_testdir @@ -163,8 +167,11 @@ ifeq ($(PO2DEBCONF),yes) po2debconf -e utf8 debian/templates.master > debian/templates endif +ifeq ($(DEB_BUILD_GNU_SYSTEM),linux) + dh_gencontrol -- -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' -V'net-tools=net-tools' +else dh_gencontrol -- -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' - dh_gencontrol +endif dh_md5sums dh_builddeb