Your message dated Thu, 31 May 2012 21:33:31 +0000
with message-id <[email protected]>
and subject line Bug#296115: fixed in ifupdown 0.7
has caused the Debian Bug report #296115,
regarding ifupdown: port to non-linux platforms (kfreebsd / hurd)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
296115: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=296115
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown
Version: 0.6.4-4.10
Severity: important
Tags: patch
Hello,
the following patch makes ifupdown installable on GNU/Hurd and
(supposedly) GNU/k*BSD. net-tools is not available for those arches (and
inetutils-tools is not quite there yet). Also, the test suite fails on
hurd-i386, so I added support to not run it if the 'nocheck' variable is
found in DEB_BUILD_OPTIONS. At least glibc uses this, and it will be
submitted to policy post-sarge, the gcc maintainer has also agreed to
use it.
We're currently using ifupdown during the bootstrap/installation process
(as netbase depends on it), so it would be nice if this patch could be
applied to save us from hacking ifupdown each time netbase depends on a
newer version of it (as has happened recently, breaking crosshurd).
I've attached an edited build log and a patch.
Thanks,
Michael
diff -u ifupdown-0.6.4/debian/changelog ifupdown-0.6.4/debian/changelog
--- ifupdown-0.6.4/debian/changelog
+++ ifupdown-0.6.4/debian/changelog
@@ -1,3 +1,15 @@
+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
+
ifupdown (0.6.4-4.10) unstable; urgency=low
* Non-maintainer upload. Fix critical bugs.
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
Automatic build of ifupdown_0.6.4-4.10 on beethoven by sbuild/hurd-i386 1.170.5
Build started at 20050215-1610
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 108kB of source archives.
Get:1 http://ftp2.de.debian.org unstable/main ifupdown 0.6.4-4.10 (dsc) [587B]
Get:2 http://ftp2.de.debian.org unstable/main ifupdown 0.6.4-4.10 (tar) [51.2kB]
Get:3 http://ftp2.de.debian.org unstable/main ifupdown 0.6.4-4.10 (diff)
[56.3kB]
Fetched 108kB in 0s (235kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 4.1.68), nowebm
Checking for already installed source dependencies...
debhelper: already installed (in sufficient version 4.2.30 >= 4.1.68)
nowebm: missing
Checking for source dependency conflicts...
/usr/bin/sudo /usr/bin/apt-get --purge -q -y install nowebm
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
iconx libx11-6 xlibs-data
The following NEW packages will be installed:
iconx libx11-6 nowebm xlibs-data
0 upgraded, 4 newly installed, 0 to remove and 17 not upgraded.
Need to get 2277kB of archives.
[...]
Checking correctness of source dependencies...
Toolchain package versions: libc0.3-dev_2.3.2.ds1-20 gcc-3.3_1:3.3.5-2
g++-3.3_1:3.3.5-2 binutils_2.15-5 libstdc++5-3.3-dev_1:3.3.5-2
libstdc++5_1:3.3.5-2
------------------------------------------------------------------------------
dpkg-source: extracting ifupdown in ifupdown-0.6.4
dpkg-buildpackage: source package is ifupdown
dpkg-buildpackage: source version is 0.6.4-4.10
dpkg-buildpackage: host architecture is hurd-i386
[...]
touch build-stamp
dh_testdir
# Add here commands to test the package works.
chmod a+rx debian/testbuild
running debian/testbuild
debian/testbuild: line 113: 21019 Segmentation fault ./ifup -nv --force -a
-i tests/testcase.$test >tests/up-res-out.$test 2>tests/up-res-err.$test
Testcase 1:
--- tests/up.1 2005-02-15 16:14:10.000000000 +0100
+++ tests/up-res.1 2005-02-15 16:14:11.000000000 +0100
@@ -1,8 +1,3 @@
====stdout====
====stderr====
Configuring interface eth0=eth0 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth0 1.2.3.4 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
(failed)
==========
debian/testbuild: line 113: 21025 Segmentation fault ./ifup -nv --force -a
-i tests/testcase.$test >tests/up-res-out.$test 2>tests/up-res-err.$test
Testcase 2:
--- tests/up.2 2005-02-15 16:14:10.000000000 +0100
+++ tests/up-res.2 2005-02-15 16:14:11.000000000 +0100
@@ -1,38 +1,3 @@
====stdout====
====stderr====
Configuring interface eth0=eth0 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth0 1.2.3.4 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
-Configuring interface eth1=eth1 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth1 1.3.4.5 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
-Configuring interface eth2=eth2 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth2 1.4.5.6 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
-Configuring interface eth3=eth3 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth3 1.5.6.7 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
-Configuring interface eth4=eth4 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth4 1.7.8.9 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
-Configuring interface eth5=eth5 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth5 1.8.9.10 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
(failed)
==========
debian/testbuild: line 113: 21030 Segmentation fault ./ifup -nv --force -a
-i tests/testcase.$test >tests/up-res-out.$test 2>tests/up-res-err.$test
Testcase 3:
--- tests/up.3 2005-02-15 16:14:10.000000000 +0100
+++ tests/up-res.3 2005-02-15 16:14:11.000000000 +0100
@@ -1,14 +1,3 @@
====stdout====
====stderr====
Configuring interface eth0=eth0 (inet)
-run-parts /etc/network/if-pre-up.d
-
-ifconfig eth0 1.2.3.4 netmask 255.255.255.0 up
-
-run-parts /etc/network/if-up.d
-Configuring interface eth0=eth0 (inet6)
-run-parts /etc/network/if-pre-up.d
-ifconfig eth0 up
-ifconfig eth0 add 3ffe:ffff:100:f101::1/64
-
-run-parts /etc/network/if-up.d
(failed)
==========
(failed overall)
==================================================
AUTOMATIC TESTS FAILED -- Something built wrong or
there is a bug in the code!!! Either way something
is completely screwed up!!! File a bug!
Aborting build.
==================================================
make: *** [test] Error 1
******************************************************************************
Build finished at 20050215-1614
FAILED [dpkg-buildpackage died]
--- End Message ---
--- Begin Message ---
Source: ifupdown
Source-Version: 0.7
We believe that the bug you reported is fixed in the latest version of
ifupdown, which is due to be installed in the Debian FTP archive:
ifupdown_0.7.dsc
to main/i/ifupdown/ifupdown_0.7.dsc
ifupdown_0.7.tar.gz
to main/i/ifupdown/ifupdown_0.7.tar.gz
ifupdown_0.7_amd64.deb
to main/i/ifupdown/ifupdown_0.7_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew O. Shadura <[email protected]> (supplier of updated ifupdown package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 30 May 2012 17:45:46 +0200
Source: ifupdown
Binary: ifupdown
Architecture: source amd64
Version: 0.7
Distribution: unstable
Urgency: low
Maintainer: Andrew O. Shadura <[email protected]>
Changed-By: Andrew O. Shadura <[email protected]>
Description:
ifupdown - high level tools to configure network interfaces
Closes: 296115 340992 361964 673658 673688 674775 675016
Changes:
ifupdown (0.7) unstable; urgency=low
.
* Accept duplicate options in /etc/network/interfaces, join them using
a newline as a delimiter.
* If an interface isn't defined, but mentioned in auto or allow statement,
don't mention it in ifquery output.
* Change shortcut for --exclude to -X (was -e previously).
* Make ifquery return false if the interface isn't defined.
* Fix typos in the changelog.
* Calculate broadcast address internally.
* Allow concurrent netmask specification in both address (using CIDR
notation) and netmask for IPv6 (Closes: #674775).
* Add preferred-lifetime setting for IPv6.
* Pass -w and -e options to sysctl so we still can configure an interface
even if IPv6 SLAAC options can't be set for some reason.
* Port to GNU/Hurd (thanks to Svante Signell, closes: #296115).
* Chdir to root when executing external programs (Closes: #361964).
* Remove updetach from PPP method (Closes: #675016).
* Configure hotplug interfaces only if they're running (thanks to Evgeni
Golov, closes: #673658).
* Rewrite NEWS file (Closes: #673688).
* Update examples (Closes: #340992).
* Update tests.
* Update README.
Checksums-Sha1:
34fd0cea8f9937b48f1792a7d44de2e99591ae64 1572 ifupdown_0.7.dsc
b5971a9cc6ff96f4eaa27aded39a7dbb579ff135 99588 ifupdown_0.7.tar.gz
11205dc8dce11eeeb5eaafc04c633c4315193db8 59972 ifupdown_0.7_amd64.deb
Checksums-Sha256:
a1748774a61f2019902a967a69c361b151e715a40e3fe46526ccb30b78441ee2 1572
ifupdown_0.7.dsc
cb9cf56a5824d549b19f0e654a222e097e3be4d06f245144c0bd8ffbf941265c 99588
ifupdown_0.7.tar.gz
48f9cf2d95b20e16e98a0c664eb55d13c2cd9dd8d888c37b3666daceeef7fcb2 59972
ifupdown_0.7_amd64.deb
Files:
c432d40e3b42e4ee0fdae977591c6c0e 1572 admin important ifupdown_0.7.dsc
629f20ff7ff8361025be79b66865d512 99588 admin important ifupdown_0.7.tar.gz
97552d1508581bd62ef5696f28f095d3 59972 admin important ifupdown_0.7_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJPxoTzAAoJEOJSSsUKn1xZqLgQAL3yf8mPm0fLjtAurSjhEiin
e8tKqyOhyVbwfeKLIntQcFiWsSwmbvK+GLxBZnAxSX82s1KO8XPOfjjBBYeenhiZ
MTRr206j9toKkpg1JPfYqAn3nJw7IixXpN3epf1f/DH3FJ3l4kANtEPwV1AKsuh/
q5nOg8Dzs+li7vNxqH1L4h564N4dxS+ZHjkEL4FEoMwTeOQXYHRULRADmNU7mZnM
djjf1ME9gy0NLH84I4uo9hAMbwsu658JvhHC59vsNrN9AJk8hGT34Oz2za/Bz1g0
FDk7yvHgqtSRGROMkPfm1mxufrmBjT4o6ahhKZfaVfmBO58QZepWurHl4c0kr6+i
qNRkN7uK7ZdVJEoqlKQJWU6uvn831bKrCh6NXiwtWyEL8xf6nxgNsGVUXssJoKfe
/EpqBzQif94OgLOvuDkujbzLbaH5WRQAxFQxdXMDcXXkKBwTIU3OjeIDd7YwnKwj
g0p0IYtlO5iwx4QbnZtG4u4FoKmEF8XBjg9cCUnMYbJ9ihtp7F0qaVf6QUUMN+08
nzgo8guPfH2yqhsJYplak78UV1O6dUJFPtuJnNVP609zrMcY4EyXL5EC5iALG0/K
iqjMyTrAVwWY0tkHDmF3ni8vCxN8yrRPX88+HYDOnaxJF8lUL22hbl0JJ4cWJ63r
2cY5iPdK3xncNxCeFMC4
=UAn/
-----END PGP SIGNATURE-----
--- End Message ---