diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-29 02:06:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-29 02:06:03 +0000 |
commit | 2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (patch) | |
tree | 67ecd2d13b251a03c4834bdec638d301818901eb /app-admin/cpulimit | |
parent | a2148b9fab4c83209816a49f091d70873b19881d (diff) |
gentoo auto-resync : 29:11:2024 - 02:06:03
Diffstat (limited to 'app-admin/cpulimit')
-rw-r--r-- | app-admin/cpulimit/Manifest | 4 | ||||
-rw-r--r-- | app-admin/cpulimit/cpulimit-2.8.ebuild | 28 | ||||
-rw-r--r-- | app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch | 11 | ||||
-rw-r--r-- | app-admin/cpulimit/files/cpulimit-2.8-makefile.patch | 25 |
4 files changed, 0 insertions, 68 deletions
diff --git a/app-admin/cpulimit/Manifest b/app-admin/cpulimit/Manifest index ce5ac9ac21a4..d531e7d1b450 100644 --- a/app-admin/cpulimit/Manifest +++ b/app-admin/cpulimit/Manifest @@ -1,8 +1,4 @@ -AUX cpulimit-2.8-inline-func.patch 454 BLAKE2B 282733b42c9e1ec1e7d39e28b4830912be9b636734086e78a32e5c8490fb906f9e88ac4edec3891d926e7a8f8227f0384811f1849c228fab39a620cafaec3e8b SHA512 727d548964e4ce3d81131ed113067666c4c6dc21306e9698efb6d7b6f2aceb6079a09ddbe6c6f9c10b40593dc6f769850bf2d9df6aac0bd3b8a4a3fa6c42d873 -AUX cpulimit-2.8-makefile.patch 599 BLAKE2B 2b0f138ee0a30ce8a1e84b15c949c4c7176703968da326801672d98851b1ad4185ce5b6c9a6259a67e0de57b0b29b95fe96daf6e354b6c73cdf9b78fd5689ca2 SHA512 2d25fdbfa47f37d98592b1197f3877de6bbbbd40b975fa18163aa2d23ec32d13efe311736df0c68a8510219423d4673ef6e123a932300ae79d476efa119a0dca AUX cpulimit-3.1-makefile.patch 599 BLAKE2B 2b0f138ee0a30ce8a1e84b15c949c4c7176703968da326801672d98851b1ad4185ce5b6c9a6259a67e0de57b0b29b95fe96daf6e354b6c73cdf9b78fd5689ca2 SHA512 2d25fdbfa47f37d98592b1197f3877de6bbbbd40b975fa18163aa2d23ec32d13efe311736df0c68a8510219423d4673ef6e123a932300ae79d476efa119a0dca -DIST cpulimit-2.8.tar.gz 24860 BLAKE2B 6d4002d2cbc46da9ce102da77b701e6a99c2e7d16e2e7989baa1e07ef335b126a8c717c4779d121aee1e580ebf057a16b4f83c1bc6a29c904a7532debc4c490a SHA512 aeb121739a5dc9f94c6ddb0905ed05eb7d146c9d0e71c34ba46aad798bda2c30b7ccc548338b4c468f9885f09d97a4565c00199c8df6af74dc9b6f23940c540e DIST cpulimit-3.1.tar.gz 25446 BLAKE2B 77a7ca7dfbcb49f1db481e937607bfa3e287b944d741409033e0a93d2ec788024c30e4de0dc9270645dbd91a66b88db3ddc8763b41f2117b4176bb0f9c2aed5d SHA512 d4c8a2598535ba1221e2089c21576062eff47fe7e842f021e1db83ebdf7ad98ba7d6b216d4f2a93697d4e0adc54c281d24eded7d67bb83134ce06510e1389cda -EBUILD cpulimit-2.8.ebuild 592 BLAKE2B 4b05a800de3dc11ab5175d8171839047d65c6bdd2378cd5f346a932c1f368c86ae65a2bb3916a9993a4e0627f7df748944ed296d5f1fd10d7a6cab6371f3fdff SHA512 71567b23e1129c065889fc4b4e120368324bb755111e8df0884f9901e3031d84b9e718cff8991d49280aca5e22aba42eeecb1a96876f7fcce0a84e8ee118e60c EBUILD cpulimit-3.1.ebuild 540 BLAKE2B 2a4affa03e7f0d53396fcc3a115e86ec76a69355709d8a3a46ff5dac55078fd8c180b005021937e547df342a2279a2c67b3dcbfff0f544864844a7027b12ad53 SHA512 87afe6ea025eef6442188427322c03128c169b53ffe25b0f105fb22debdf3d2af044bc321969121b3416da61a6f5f18fe5a97215c82941b3bbf4ae19e9df2c39 MISC metadata.xml 246 BLAKE2B f8eaf18c2348bc96406ed9c74b65064db04104fda3d02be7c4263042d973d0cd5b4aa34f7fa71217ab29ce1759feaf015fcfa886add91fc26b372c9071afb6a7 SHA512 6895874d4b7df644a526fc2919b75ac1786e3efbba42127b05af21f8e1fa3fa496def26e4ccb461d669ff6fa539a92c618cba4f7acda1f7bed43dcb11a11ba56 diff --git a/app-admin/cpulimit/cpulimit-2.8.ebuild b/app-admin/cpulimit/cpulimit-2.8.ebuild deleted file mode 100644 index 1229deee0b00..000000000000 --- a/app-admin/cpulimit/cpulimit-2.8.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Limits the CPU usage of a process" -HOMEPAGE="https://cpulimit.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/limitcpu/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~riscv x86" - -PATCHES=( - "${FILESDIR}/${P}-makefile.patch" - "${FILESDIR}/${P}-inline-func.patch" # Bug #686528 -) - -src_compile() { - emake CC=$(tc-getCC) -} - -src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install - dodoc CHANGELOG README -} diff --git a/app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch b/app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch deleted file mode 100644 index 12b516223a01..000000000000 --- a/app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/cpulimit.c 2023-02-06 19:07:19.450894524 +0300 -+++ b/cpulimit.c 2023-02-06 19:07:28.834337797 +0300 -@@ -125,7 +125,7 @@ - - - //return ta-tb in microseconds (no overflow checks!) --inline long timediff(const struct timespec *ta,const struct timespec *tb) { -+static long timediff(const struct timespec *ta,const struct timespec *tb) { - unsigned long us = (ta->tv_sec-tb->tv_sec)*1000000 + (ta->tv_nsec/1000 - tb->tv_nsec/1000); - return us; - } diff --git a/app-admin/cpulimit/files/cpulimit-2.8-makefile.patch b/app-admin/cpulimit/files/cpulimit-2.8-makefile.patch deleted file mode 100644 index 7daf8a7092ab..000000000000 --- a/app-admin/cpulimit/files/cpulimit-2.8-makefile.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/Makefile 2023-02-06 18:47:21.311693323 +0300 -+++ b/Makefile 2023-02-06 18:48:23.392517904 +0300 -@@ -2,6 +2,7 @@ - PREFIX?=/usr - CFLAGS?=-Wall -O2 - CC?=clang -+DESTDIR= - - all: cpulimit - -@@ -21,10 +22,10 @@ - $(MAKE) -C test - - install: cpulimit -- mkdir -p ${PREFIX}/bin -- mkdir -p ${PREFIX}/share/man/man1 -- cp cpulimit ${PREFIX}/bin -- cp cpulimit.1 ${PREFIX}/share/man/man1 -+ mkdir -p ${DESTDIR}/${PREFIX}/bin -+ mkdir -p ${DESTDIR}/${PREFIX}/share/man/man1 -+ cp cpulimit ${DESTDIR}/${PREFIX}/bin -+ cp cpulimit.1 ${DESTDIR}/${PREFIX}/share/man/man1 - - deinstall: - rm -f ${PREFIX}/bin/cpulimit |