1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00

Remove Debian package (#165)

This commit is contained in:
Xorg 2022-09-03 20:48:12 +02:00 committed by GitHub
parent 660126c55d
commit 11e57e78a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1 additions and 223 deletions

View file

@ -23,9 +23,8 @@ sed -i "s|LIBCPUID_AGE=.*|LIBCPUID_AGE=$(echo $SO_VERSION | cut -d. -f2)|" "$GIT
sed -i "s|LIBCPUID_REVISION=.*|LIBCPUID_REVISION=$(echo $SO_VERSION | cut -d. -f3)|" "$GIT_DIR/configure.ac"
sed -i "s|VERSION \"$OLD_VERSION\"|VERSION \"$NEW_VERSION\"|" "$GIT_DIR/CMakeLists.txt"
sed -i "s|set(SOVERSION .*)|set(SOVERSION $(echo $SO_VERSION | cut -d. -f1))|" "$GIT_DIR/CMakeLists.txt"
sed -i "1s/^/libcpuid \($NEW_VERSION\) unstable; urgency=low\n/" "$GIT_DIR/debian/changelog"
sed -i "s|$OLD_VERSION|$NEW_VERSION|g" "$GIT_DIR/libcpuid/"{Makefile.x64,Makefile.x86,libcpuid.dsp,libcpuid_vc10.vcxproj,libcpuid_vc71.vcproj}
sed -i "s|\\\version $OLD_VERSION|\\\version $NEW_VERSION|" "$GIT_DIR/libcpuid/libcpuid.h"
echo "Model from https://github.com/anrieff/libcpuid/commit/a6123e8139ce73e26b5711c3e119b5b2bc9c9378"
echo -e "Also, make appropriate changes in follow files:\n- ChangeLog\n- debian/changelog\n- configure.ac\n- libcpuid/libcpuid.h"
echo -e "Also, make appropriate changes in follow files:\n- ChangeLog\n- configure.ac\n- libcpuid/libcpuid.h"

91
debian/changelog vendored
View file

@ -1,91 +0,0 @@
libcpuid (0.5.1) unstable; urgency=low
* Convert all python scripts to Python 3
* Support for Kaby Lake Refresh
* Support for Kaby Lake-G
* Support for Comet Lake-U
* Support for Gemini Lake
* Support for Vermeer
* Support for Whiskey Lake-U
* Support for Cezanne
* Support for Milan
* Support for Rocket Lake
-- Georgiev, Veselin <anrieff@gmail.com> Sat, 20 March 2021 17:42:00 +0100
libcpuid (0.5.0) unstable; urgency=low
* A backwards-incompatible change, since the sizeof cpu_raw_data_t and
cpu_id_t are now different.
* Support for Hygon Dhyana (#123)
* Support for Zen 2 (#125, #137)
* Stubs for AArch64 (#127)
* Support for Intel AVX512VNNI detection (#129)
* Typo fixes (#130)
* Support for get_total_cpus on Haiku (#131)
* Fix build on PPC (#132)
* Support for CMake build system (#138) and vcpkg packaging (#140)
* Support for Cannon Lake
* Support for Coffee Lake-U and Coffee Lake Refresh
* Support for Comet Lake
* Support for Ice Lake
* Support for Renoir
* Fix ThreadSanitizer report (#142)
* Better support of L1 intruction cache (--l1i-assoc, --l1i-cacheline)
* Support for Ivy Bridge-E (Xeon)
* Support up to 4 subleaf entries for CPUID leaf 0x8000001D and
fix detection of L3 cache on Zen 2
* Support for RDSEED/ADX/SHA_NI detection (AMD)
* Support for ABM/AVX512VBMI/AVX512VBMI2 detection (Intel)
-- Georgiev, Veselin <anrieff@gmail.com> Sat, 23 May 2020 20:35:00 +0200
libcpuid (0.4.1) unstable; urgency=low
* Better support for Skylake Core i5 (#76)
* Misdiagnosis microarchitecture for i3-3220T (#81)
* Ability to dump MSR values to a file (PR #82)
* AMD Ryzen support (#86)
* Support for Coffee and Kaby Lake (#104)
* Support for Raven Ridge and Threadripper (#106)
* Support for Pinnacle Ridge (#111)
* Fix P-III Celeron misdetection
* Support for Skylake-X (#116)
* Support for Zen+ Threadripper
-- Georgiev, Veselin <anrieff@gmail.com> Tue, 05 Feb 2019 22:36:00 +0200
libcpuid (0.4.0+ubuntu1~1) artful; urgency=low
* built for artful
* got rid of lintian errors
-- Jeffrey Cliff <jeffrey.cliff@gmail.com> Fri, 20 Apr 2018 15:39:37 +0600
libcpuid (0.4.0) unstable; urgency=low
* Better detection of AMD clock multiplier with msrinfo.
* Support for Intel SGX detection
(a backwards-incompatible change since the sizeof
cpu_raw_data_t and cpu_id_t is now different).
-- Georgiev, Veselin <anrieff@gmail.com> Fri, 30 Sep 2016 22:39:37 +0300
libcpuid (0.3.0) unstable; urgency=low
* A backwards-incompatible change, since the sizeof cpu_raw_data_t and
cpu_id_t are now different.
* Support for processors up to Skylake.
* Fix clock detection in cpu_clock_by_ic() for Skylake.
* Support up to 8 subleaf entries for CPUID leaf 04 and detection
of L4 cache.
* MSR functions supported on FreeBSD.
* INFO_VOLTAGE request supported by cpu_msrinfo().
-- eloaders <eloaders@linux.pl> Mon, 22 Aug 2016 17:45:21 +0200
libcpuid (0.2.1) unstable; urgency=low
* Initial release add debian directory for libcpuid.
-- Zhang, Guodong <gdzhang@linx-info.com> Fri, 10 Apr 2015 14:59:27 +0800

1
debian/compat vendored
View file

@ -1 +0,0 @@
9

32
debian/control vendored
View file

@ -1,32 +0,0 @@
Source: libcpuid
Section: libs
Priority: optional
Maintainer: Zhang, Guodong <gdzhang@linx-info.com>
Build-Depends: debhelper (>= 9), autotools-dev, libtool, automake, autoconf, python, doxygen
Standards-Version: 3.9.5
Homepage: https://github.com/anrieff/libcpuid
Package: libcpuid15
Architecture: amd64 i386
Depends: ${shlibs:Depends}, ${misc:Depends}, ${misc:Pre-Depends}
Replaces: libcpuid11, libcpuid13, libcpuid14
Description: small C library for x86/x86_64 CPU detection and feature extraction
For details about the programming API, please see the docs
on the project's site (http://libcpuid.sourceforge.net/)
Package: libcpuid15-dev
Architecture: amd64 i386
Section: libdevel
Depends: ${misc:Depends}
Replaces: libcpuid11-dev, libcpuid13-dev, libcpuid14-dev
Description: Development files for libcpuid
For details about the programming API, please see the docs
on the project's site (http://libcpuid.sourceforge.net/)
Package: cpuidtool
Architecture: amd64 i386
Depends: ${shlibs:Depends}, ${misc:Depends}, ${misc:Pre-Depends}
Replaces: cpuidtool
Description: small C library for x86/x86_64 CPU detection and feature extraction
For details about the programming API, please see the docs
on the project's site (http://libcpuid.sourceforge.net/)

47
debian/copyright vendored
View file

@ -1,47 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libcpuid
Source: http://github.com/anrieff/libcpuid
Files: *
Copyright: 2008-2015 Veselin Georgiev <anrieff@gmail.com>
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: debian/*
Copyright: 2015 Zhang, Guodong <gdzhang@linx-info.com>
License: GPL-2+
This package 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 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

View file

@ -1,2 +0,0 @@
./usr/bin/cpuid_tool
/usr/share/man/man3/cpuid_tool.3

2
debian/docs vendored
View file

@ -1,2 +0,0 @@
NEWS
README

View file

@ -1 +0,0 @@
#DOCS#

View file

@ -1,10 +0,0 @@
/usr/lib/*/lib*.so
/usr/lib/*/lib*.a
/usr/lib/*/lib*.la
/usr/lib/*/pkgconfig/
/usr/include/
/usr/share/man/man3/cpu_id_t.3
/usr/share/man/man3/cpu_list_t.3
/usr/share/man/man3/cpu_mark_t.3
/usr/share/man/man3/cpu_raw_data_t.3
/usr/share/man/man3/libcpuid.3

View file

@ -1 +0,0 @@
/usr/lib/*/lib*.so.*

33
debian/rules vendored
View file

@ -1,33 +0,0 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
#Packagname
plib_bin=libcpuid
plib_dev=libcpuid-dev
# main packaging script based on dh7 syntax
%:
dh $@ --with autotools-dev
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
override_dh_auto_configure:
libtoolize
autoreconf --install
dh_auto_configure

View file

@ -1 +0,0 @@
3.0 (native)