Your message dated Thu, 28 Jun 2012 17:20:17 +0000
with message-id <e1skio9-0005nb...@franck.debian.org>
and subject line Bug#656421: fixed in powertop 2.0-0.1
has caused the Debian Bug report #656421,
regarding Please update to libnl3
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 ow...@bugs.debian.org
immediately.)


-- 
656421: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656421
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: powertop
Version: 1.97-2
Severity: wishlist
Tags: patch

Hi,

with more and more applications switching from libnl1 and libnl2 to
libnl3 (most notably network-manager and wpasupplicant), it would be
great if powertop could switch to the latest version of libnl as well.
It is currently the only application on my system which is pulling in
libnl2 as dependency.

With the attached patch I could successfully build powertop against
libnl3 3.2. I've done some basic tests and it seems to work fine, but of
course I'd appreciate further review.

Cheers,
Michael

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages powertop depends on:
ii  libc6             2.13-24
ii  libgcc1           1:4.6.2-11
ii  libncursesw5      5.9-4
ii  libnl-3-200       3.2.3-2
ii  libnl-genl-3-200  3.2.3-2
ii  libpci3           1:3.1.8-2
ii  libstdc++6        4.6.2-11
ii  libtinfo5         5.9-4
ii  zlib1g            1:1.2.3.4.dfsg-3

powertop recommends no packages.

Versions of packages powertop suggests:
pn  cpufrequtils       007-2
pn  laptop-mode-tools  <none>

-- no debconf information
diff -Nru powertop-1.97/debian/control powertop-1.97/debian/control
--- powertop-1.97/debian/control	2011-03-17 16:25:01.000000000 +0100
+++ powertop-1.97/debian/control	2012-01-19 09:11:25.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Patrick Winnertz <win...@debian.org>
 Uploaders: Jose Luis Rivas <ghostba...@gmail.com>
-Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, libncurses5-dev, libnl2-dev, pkg-config, libpci-dev
+Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, libncurses5-dev, libnl-3-dev, libnl-genl-3-dev, pkg-config, libpci-dev
 Standards-Version: 3.9.1
 Homepage: http://www.linuxpowertop.org
 
diff -Nru powertop-1.97/debian/patches/libnl3.patch powertop-1.97/debian/patches/libnl3.patch
--- powertop-1.97/debian/patches/libnl3.patch	1970-01-01 01:00:00.000000000 +0100
+++ powertop-1.97/debian/patches/libnl3.patch	2012-01-19 09:12:35.000000000 +0100
@@ -0,0 +1,24 @@
+diff --git a/Makefile b/Makefile
+index 0382fea..60f23d7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -24,6 +24,7 @@ OBJS += tuning/cpufreq.o tuning/ethernet.o tuning/iw.o tuning/wifi.o
+ 
+ NL1FOUND := $(shell $(PKG_CONFIG) --atleast-version=1 libnl-1 && echo Y)
+ NL2FOUND := $(shell $(PKG_CONFIG) --atleast-version=2 libnl-2.0 && echo Y)
++NL3FOUND := $(shell $(PKG_CONFIG) --atleast-version=3.2 libnl-3.0 && echo Y)
+ 
+ ifeq ($(NL1FOUND),Y)
+ NLLIBNAME = libnl-1
+@@ -35,6 +36,11 @@ LIBS += -lnl-genl
+ NLLIBNAME = libnl-2.0
+ endif
+ 
++ifeq ($(NL3FOUND),Y)
++CFLAGS += -DCONFIG_LIBNL20
++NLLIBNAME = libnl-3.0 libnl-genl-3.0
++endif
++
+ ifeq ($(NLLIBNAME),)
+ $(error Cannot find development files for any supported version of libnl)
+ endif
diff -Nru powertop-1.97/debian/patches/series powertop-1.97/debian/patches/series
--- powertop-1.97/debian/patches/series	2011-03-17 16:25:01.000000000 +0100
+++ powertop-1.97/debian/patches/series	2012-01-19 09:12:39.000000000 +0100
@@ -1,3 +1,4 @@
 fix_prefix_in_manpage.patch
 fix_NR_perf_event_open_on_ia64.patch
 fix_csstoh_on_sparc
+libnl3.patch

--- End Message ---
--- Begin Message ---
Source: powertop
Source-Version: 2.0-0.1

We believe that the bug you reported is fixed in the latest version of
powertop, which is due to be installed in the Debian FTP archive:

powertop_2.0-0.1.debian.tar.gz
  to main/p/powertop/powertop_2.0-0.1.debian.tar.gz
powertop_2.0-0.1.dsc
  to main/p/powertop/powertop_2.0-0.1.dsc
powertop_2.0-0.1_amd64.deb
  to main/p/powertop/powertop_2.0-0.1_amd64.deb
powertop_2.0.orig.tar.bz2
  to main/p/powertop/powertop_2.0.orig.tar.bz2



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 656...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Wollrath <jwollr...@web.de> (supplier of updated powertop 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 26 Jun 2012 01:02:30 +0200
Source: powertop
Binary: powertop
Architecture: source amd64
Version: 2.0-0.1
Distribution: unstable
Urgency: low
Maintainer: Patrick Winnertz <win...@debian.org>
Changed-By: Julian Wollrath <jwollr...@web.de>
Description: 
 powertop   - Linux tool to find out what is using power on a laptop
Closes: 564847 634218 638300 650063 652466 656421 665695 672555
Changes: 
 powertop (2.0-0.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * New upstream version (Closes: #665695, #672555, #652466, #638300)
   * Build against libnl3 (Closes: #656421)
   * Add manpage, cherry-picked from upstream sources (Closes: #564847)
   * Update watch and copyright file (Closes: #650063, #634218)
   * Bump standards version to 3.9.3 (no changes needed)
   * Change debian/compat to 9
   * Add patch to fix issues with building against libnl-3
   * Change build depencies from libnl2-dev to libnl-3-dev and libnl-genl-3-dev
   * Drop no longer needed patches fix_prefix_in_manpage.patch,
     fix_NR_perf_event_open_on_ia64.patch, fix_csstoh_on_sparc
   * Change priority from optional to extra, hence the problem on the QA page
     is addressed which states, that there is a override from optional to
     extra.
Checksums-Sha1: 
 8aeb91564d2b3885bb8b3cdee8c79dbab4f71b96 1838 powertop_2.0-0.1.dsc
 ec64a472a4e1539d6dfc9725f6d934e908d5930c 456654 powertop_2.0.orig.tar.bz2
 cfe96f7fdfe84b814ed4f582ca0782846d42fe14 7636 powertop_2.0-0.1.debian.tar.gz
 10dceb81a2a9631352d92b58ae39b7045889e82e 173468 powertop_2.0-0.1_amd64.deb
Checksums-Sha256: 
 fa1b4ef76dbcc5ec1201ef93a8ebb806cc16a5852420c19791ceb3c9b6a3fbed 1838 
powertop_2.0-0.1.dsc
 7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c 456654 
powertop_2.0.orig.tar.bz2
 20216776c93ee70f00f45450a2309d3a528d0b3ecb39f7141f488382f50ee850 7636 
powertop_2.0-0.1.debian.tar.gz
 10917394ab6945badfe7a836ff7fc69be310c4dfa686ffce6784041af4afa841 173468 
powertop_2.0-0.1_amd64.deb
Files: 
 4bad8851324513c7795c0ee0f1f06518 1838 utils extra powertop_2.0-0.1.dsc
 8f27e2b0bf1c68b1f5a9a98294238bb2 456654 utils extra powertop_2.0.orig.tar.bz2
 b2c99dbc65bd0140f2091ad3e9d7fad7 7636 utils extra 
powertop_2.0-0.1.debian.tar.gz
 eb292d710fb83f73f4b9aa9b8f078bb0 173468 utils extra powertop_2.0-0.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJP6ek5AAoJELs6aAGGSaoGcRwQAL96/L23HNUxya4wLt9neVka
8qb1WTKg20sTd3N9xFssWrsPyuxou2cdDWvqh+z+Ty9mcWHk7uqtR/o3DBgX0Wws
FfK8bq0BNpx8PD8g+9Oq7FrIMgwxYTw3eO+yBvJbGWT+MMBxSplQ64HlB48+37cX
NxjZqBOQ69iPTwgqPrSBnlkr2oDWpScnXchES4mV6gfNDxjH/PGw9QTi/Cgerz1C
r+LaE6peL5jI5+/zIMb2Rwf49oNWNFmhcSPdva9MiIsDPj+PWcxNFXJFVpFkgqws
dpOM0x5JE4Fq8aILWxSng0icbTA4ocStLqnBayDHMFpyom33hTtaOKNCw03MmgPT
9Q0/CQOavgGuXASRl2+fZFShh2CFXrxP1bsQ/fQoFOQBSx9DWjogL7+hp0aifZE0
HQZx3u4aS/G75MLutwUbJctP8moJldtlpPmSnEqipAcGriKyLCG1Co3Fen3cPVCR
q4gXXFboAJBqYr8XSypyqPlL8ZOOjlec7JE62QC2N3iDJWRjJpmezg1pKFBuSWaF
UkHR2HBwuzFAq4dJvV8tRi3EVSXOSY/mutV9at/klIPkGBgqvCeBxrjCV0IxORBU
uGdhdvKrScgl1LIIPejQeT+K75FWX+CDbDa5MkdvNxzoiAVRz3cjVcE5NuIyws9O
CypsVpXQIGIopjmUjPzo
=K+4y
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to