debian/0000755000000000000000000000000012261752451007173 5ustar debian/libsys-cpu-perl.lintian-overrides0000644000000000000000000000021312261752451015601 0ustar # blhc doesn't complain, manual inspection is also happy libsys-cpu-perl: hardening-no-fortify-functions usr/lib/perl5/auto/Sys/CPU/CPU.so debian/compat0000644000000000000000000000000212261752451010371 0ustar 9 debian/copyright0000644000000000000000000000214412261752451011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Sys-CPU Upstream-Contact: Marc Koderer Source: https://metacpan.org/release/Sys-CPU/ Files: * Copyright: 2001-2010, MZSanford License: Artistic or GPL-1+ Files: debian/* Copyright: 2004, Isaac Clerencia 2008, Marc 'HE' Brockschmidt 2012-2013, gregor herrmann License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000016712261752451010257 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_test: dh_auto_test -- TEST_VERBOSE=1 TEST_FILES=t/Sys-CPU-Test-More.t debian/watch0000644000000000000000000000015312261752451010223 0ustar version=3 https://metacpan.org/release/Sys-CPU/ .+/Sys-CPU-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/control0000644000000000000000000000141412261752451010576 0ustar Source: libsys-cpu-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: gregor herrmann Build-Depends: debhelper (>= 9.20120312), perl Standards-Version: 3.9.5 Homepage: https://metacpan.org/release/Sys-CPU/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libsys-cpu-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libsys-cpu-perl.git Package: libsys-cpu-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: module for getting CPU information The Sys::CPU Perl offers an API to get the number of CPUs and its speed and type. It reports numbers, type, and clockspeed of CPUs. debian/source/0000755000000000000000000000000012261752451010473 5ustar debian/source/format0000644000000000000000000000001412261752451011701 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012261752451010622 5ustar debian/patches/Test-More.patch0000644000000000000000000000145012261752451013462 0ustar Description: rewrite test with Test::More, mark tests as TODO Origin: vendor Bug-Debian: http://bugs.debian.org/679135 Forwarded: no Author: gregor herrmann Last-Update: 2012-06-30 --- /dev/null +++ b/t/Sys-CPU-Test-More.t @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +use Test::More tests => 4; + +BEGIN { use_ok('Sys::CPU'); } + +$number = &Sys::CPU::cpu_count(); +ok( defined($number), "CPU Count: $number" ); + +TODO: { + local $TODO = "/proc/cpuinfo doesn't always report 'cpu MHz' or 'clock' or 'bogomips' ..."; + $speed = &Sys::CPU::cpu_clock(); + ok( defined($speed), "CPU Speed: $speed" ); +} + +TODO: { + local $TODO = "/proc/cpuinfo doesn't always report 'model name' or 'machine' ..."; + $type = &Sys::CPU::cpu_type(); + ok( defined($type), "CPU Type: $type" ); +} debian/patches/series0000644000000000000000000000002012261752451012027 0ustar Test-More.patch debian/changelog0000644000000000000000000000602512261752451011050 0ustar libsys-cpu-perl (0.61-1) unstable; urgency=medium * Team upload. * Imported Upstream version 0.61 * Drop test-cpu_type.patch patch * Declare compliance with Debian policy 3.9.5 -- Salvatore Bonaccorso Sat, 04 Jan 2014 10:30:25 +0100 libsys-cpu-perl (0.54-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * New upstream release. * Update years of packaging copyright. * Declare compliance with Debian Policy 3.9.4. * Add lintian override (hardening-no-fortify-functions). -- gregor herrmann Fri, 11 Oct 2013 22:26:22 +0200 libsys-cpu-perl (0.52-3) unstable; urgency=low * Test-More.patch: mark another test as TODO. -- gregor herrmann Sat, 30 Jun 2012 03:34:40 +0200 libsys-cpu-perl (0.52-2) unstable; urgency=low * New patch test-cpu_type.patch: fix test number output. * New patch Test-More.patch: rewrite test using Test::More and mark the cpu_type test as TODO, since /proc/cpuinfo doesn't always report the requested information. (Closes: #679135) * debian/rules: override_dh_auto_test to run our own test version. * debian/copyright: update to Copyright-Format 1.0. * Bump Standards-Version to 3.9.3 (no changes). * Use debhelper 9.20120312 to get all hardening flags. -- gregor herrmann Fri, 29 Jun 2012 16:29:11 +0200 libsys-cpu-perl (0.52-1) unstable; urgency=low * Take over for the Debian Perl Group * debian/control: Added: Vcs-Git field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza); ${misc:Depends} to Depends: field. Changed: Maintainer set to Debian Perl Group (was: Isaac Clerencia ). * Add debian/watch. * New upstream release. * Switch to "3.0 (quilt)" source format. * Switch to debhelper compatibility level 9 to pass CFLAGS to Makefile.PL/Build.PL. Use tiny debian/rules. * Install README as upstream changelog. * Add /me to Uploaders. * Bump Standards-Version to 3.9.2 (no further changes). * Add build dependency on perl. * Update long and short description. * debian/copyright: DEP5 format, update copyright years and maintainer info. -- gregor herrmann Thu, 19 Jan 2012 20:48:33 +0100 libsys-cpu-perl (0.40-2.1) unstable; urgency=low * Non-maintainer upload. * debian/{control,rules}: Use dh_perl and the fitting substvar to generate a perlapi dep. (Closes: #463098) -- Marc 'HE' Brockschmidt Thu, 27 Mar 2008 16:15:51 +0100 libsys-cpu-perl (0.40-2) unstable; urgency=low * Fixed debian/dirs which contained bad directories -- Isaac Clerencia Wed, 4 Aug 2004 18:57:20 +0200 libsys-cpu-perl (0.40-1) unstable; urgency=low * Initial release, closes: #263434 -- Isaac Clerencia Wed, 04 Aug 2004 16:41:39 +0100