Package: cpufrequtils Version: 008-1 Severity: normal Tags: patch pending Control: tags 793913 pending Control: tags 889895 pending
Dear maintainer, I've prepared an NMU for cpufrequtils (versioned as 008-1.1) and uploaded it to DELAYED/15. Please feel free to tell me if I should delay it longer. Regards. diff -Nru cpufrequtils-008/debian/changelog cpufrequtils-008/debian/changelog --- cpufrequtils-008/debian/changelog 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/changelog 2018-12-30 21:27:23.000000000 +0000 @@ -1,3 +1,26 @@ +cpufrequtils (008-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + + [ Niels Thykier ] + * Set Rules-Requires-Root to "no". + * Replace usage of "dh_clean -k" with "dh_prep". + * Remove redundant/empty postinst and postrm from the packages. + * Bump debhelper compat to 12. + - Pass --no-restart-after-upgrade to dh_installinit to maintain + the previous behaviour of the maintscripts. + - Add Pre-Depends on ${misc:Pre-Depends}. + + [ Breno Leitao ] + * Remove the package binary package for Power architecture, since Power CPU + family uses linux-cpupower to handle the machine Power management unit. + (Closes: #889895) + + [ Helmut Grohne ] + * Fix FTCBFS: pass CROSS= to Makefile. (Closes: #793913) + + -- Niels Thykier <ni...@thykier.net> Sun, 30 Dec 2018 21:27:23 +0000 + cpufrequtils (008-1) unstable; urgency=low * Package the last available upstream vesion of cpufrequtils. Anything @@ -148,7 +171,7 @@ cpufrequtils (002-4) unstable; urgency=low - * Enable by default if cpufreq kernel module is loaded thanks + * Enable by default if cpufreq kernel module is loaded thanks to Peter Reinholdtsen for the base code/idea (Closes: #426138) -- Mattia Dongili <malat...@debian.org> Thu, 31 May 2007 00:29:39 +0900 @@ -231,7 +254,7 @@ * Fix wording in README.Debian (closes: #348549). -- Mattia Dongili <malat...@debian.org> Sun, 12 Feb 2006 14:09:49 +0100 - + cpufrequtils (0.4-1) unstable; urgency=low * New upstream release. @@ -240,20 +263,20 @@ * Upstream applied the po correction (closes: #314134). -- Mattia Dongili <malat...@debian.org> Tue, 20 Dec 2005 21:47:38 +0100 - + cpufrequtils (0.3-2) unstable; urgency=low - * Added init and default scripts to allow the user set a governor + * Added init and default scripts to allow the user set a governor on boot (closes: #311604). -- Mattia Dongili <malat...@debian.org> Sat, 02 Jul 2005 00:27:34 +0200 - + cpufrequtils (0.3-1) unstable; urgency=low * New upstream release. -- Mattia Dongili <malat...@debian.org> Tue, 10 May 2005 19:52:14 +0200 - + cpufrequtils (0.2-1) unstable; urgency=low * New upstream release. @@ -266,4 +289,3 @@ * Initial Release. (closes: #278767) -- Mattia Dongili (ma.d.) <dong...@supereva.it> Sun, 28 Nov 2004 17:26:30 +0100 - diff -Nru cpufrequtils-008/debian/compat cpufrequtils-008/debian/compat --- cpufrequtils-008/debian/compat 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -6 diff -Nru cpufrequtils-008/debian/control cpufrequtils-008/debian/control --- cpufrequtils-008/debian/control 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/control 2018-12-30 21:27:23.000000000 +0000 @@ -2,12 +2,14 @@ Section: admin Priority: optional Maintainer: Mattia Dongili <malat...@debian.org> -Build-Depends: debhelper (>= 6) +Build-Depends: debhelper-compat (= 12) Standards-Version: 3.9.3 +Rules-Requires-Root: no Homepage: http://kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html Package: cpufrequtils -Architecture: any +Architecture: alpha amd64 arm64 armel armhf hppa hurd i386 ia64 kbsd64 kbsd32 m68k mips mips64el mipsel s390x sh4 sparc64 x32 +Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0) Description: utilities to deal with the cpufreq Linux kernel feature This package contains two utilities for inspecting and setting the @@ -20,6 +22,7 @@ Package: libcpufreq0 Architecture: any Section: libs +Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: shared library to deal with the cpufreq Linux kernel feature This library provide an unified method to access the CPUFreq kernel @@ -28,6 +31,7 @@ Package: libcpufreq-dev Architecture: any Section: libdevel +Pre-Depends: ${misc:Pre-Depends} Depends: libcpufreq0 (= ${binary:Version}), ${misc:Depends} Description: development files to deal with the cpufreq Linux kernel feature This package provides everything that is needed for developing own diff -Nru cpufrequtils-008/debian/cpufrequtils.postrm cpufrequtils-008/debian/cpufrequtils.postrm --- cpufrequtils-008/debian/cpufrequtils.postrm 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/cpufrequtils.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -#! /bin/sh -# postrm script for cpufreqd -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge) - - ;; - - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - # do nothing - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -Nru cpufrequtils-008/debian/libcpufreq0.postinst cpufrequtils-008/debian/libcpufreq0.postinst --- cpufrequtils-008/debian/libcpufreq0.postinst 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/libcpufreq0.postinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,42 +0,0 @@ -#! /bin/sh -# postinst script for libcpufreq -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure) - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff -Nru cpufrequtils-008/debian/libcpufreq0.postrm cpufrequtils-008/debian/libcpufreq0.postrm --- cpufrequtils-008/debian/libcpufreq0.postrm 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/libcpufreq0.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,40 +0,0 @@ -#! /bin/sh -# postrm script for libcpufreq -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove) - - ;; - - purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -Nru cpufrequtils-008/debian/rules cpufrequtils-008/debian/rules --- cpufrequtils-008/debian/rules 2012-05-06 06:43:59.000000000 +0000 +++ cpufrequtils-008/debian/rules 2018-12-30 21:27:23.000000000 +0000 @@ -19,7 +19,6 @@ # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g @@ -47,8 +46,7 @@ dh_testdir # compile the package. - # CROSS=$(DEB_BUILD_GNU_TYPE) - $(MAKE) CFLAGS="$(CFLAGS)" DESTDIR="$(CURDIR)/debian/tmp" mandir=/usr/share/man V=1 DEBUG=$(DEBUG) + $(MAKE) CROSS=$(DEB_HOST_GNU_TYPE)- CFLAGS="$(CFLAGS)" DESTDIR="$(CURDIR)/debian/tmp" mandir=/usr/share/man V=1 DEBUG=$(DEBUG) touch build-stamp @@ -61,15 +59,15 @@ # Add here commands to clean up after the build process. $(MAKE) clean - dh_clean + dh_clean install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs - # Add here commands to install the arch part of the package into + # Add here commands to install the arch part of the package into # debian/tmp. $(MAKE) install DESTDIR="$(CURDIR)/debian/tmp" mandir=/usr/share/man V=1 @@ -86,14 +84,14 @@ dh_installdocs dh_installexamples dh_installman - dh_installinit --name loadcpufreq -r -u"start 05 2 3 4 5 ." - dh_installinit -r -u"start 19 2 3 4 5 ." + dh_installinit --name loadcpufreq -r --no-restart-after-upgrade -u"start 05 2 3 4 5 ." + dh_installinit -r --no-restart-after-upgrade -u"start 19 2 3 4 5 ." dh_installdebconf install -D -m644 debian/lintian.overrides \ debian/cpufrequtils/usr/share/lintian/overrides/cpufrequtils dh_link dh_strip - dh_compress + dh_compress dh_fixperms dh_makeshlibs dh_installdeb @@ -103,4 +101,4 @@ dh_builddeb binary: binary-arch binary-indep -.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch