From 994fe442814c4d169bb0f1ee9745604928006b39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 May 2024 00:07:28 +0100 Subject: gentoo auto-resync : 26:05:2024 - 00:07:27 --- sys-process/Manifest.gz | Bin 10145 -> 10143 bytes sys-process/glances/Manifest | 11 +-- .../files/glances-3.2.5-disable-update-check.patch | 31 ------- .../files/glances-4.0.6-disable-update-check.patch | 36 ++++++++ .../files/glances-4.0.6-doc-install-path.patch | 20 +++++ sys-process/glances/glances-3.3.0-r1.ebuild | 96 --------------------- sys-process/glances/glances-3.4.0.3.ebuild | 1 - sys-process/glances/glances-3.4.0.5.ebuild | 1 - sys-process/glances/glances-4.0.6.ebuild | 62 +++++++++++++ sys-process/pkill-darwin/Manifest | 2 +- .../pkill-darwin/pkill-darwin-1.0-r1.ebuild | 36 ++++++++ sys-process/pkill-darwin/pkill-darwin-1.0.ebuild | 38 -------- 12 files changed, 161 insertions(+), 173 deletions(-) delete mode 100644 sys-process/glances/files/glances-3.2.5-disable-update-check.patch create mode 100644 sys-process/glances/files/glances-4.0.6-disable-update-check.patch create mode 100644 sys-process/glances/files/glances-4.0.6-doc-install-path.patch delete mode 100644 sys-process/glances/glances-3.3.0-r1.ebuild create mode 100644 sys-process/glances/glances-4.0.6.ebuild create mode 100644 sys-process/pkill-darwin/pkill-darwin-1.0-r1.ebuild delete mode 100644 sys-process/pkill-darwin/pkill-darwin-1.0.ebuild (limited to 'sys-process') diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz index 8dff48e5b585..8f6ab24b9c22 100644 Binary files a/sys-process/Manifest.gz and b/sys-process/Manifest.gz differ diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 0138054f64f7..96d30d4dc4b2 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -1,9 +1,10 @@ -AUX glances-3.2.5-disable-update-check.patch 1049 BLAKE2B ae9e4e94dd7d9d096c6c5c94c7d0faf916cba6e53eacce34098aacf24a761b7c0ffaf18cb0e3f730c243d70e0dc58bd8f1547f7cae44076067fc0d1aa77bcb1d SHA512 7cfc2a0f8034cc746e024b6cd57944a2c4430fedb82efa1df669d4234ad002a4e2a4a32bbabe64a5145ffee335ddd2b2b2ca05cb7db109cf392eb1bd708b804b AUX glances-3.4.0.3-disable-update-check.patch 1520 BLAKE2B 070fa7fce954451b318f9291bfb3f1e46d0fbcd9297587811d361f3584e745c1d4d889d201fe75c6c9fb21e2d8eda470da215bbe8e8cbcd22d553379a489ea22 SHA512 7c24f3ca744792ff9bcfc963c1ea03345d54eb8fb48d2d02fb13b14a3eb23c2ba25f0c0fe744b598f60b4c6dd197f7a7b08fc569662add04a0a9ef1415b84776 -DIST glances-3.3.0.gh.tar.gz 6143830 BLAKE2B 022a8bfc93f73f2c728af21553ca36535340129cc5fb6f539d6f282e9ffc7a2b88878c04345a47479241447c0f1329123f804677383688fa5857dd1a9978dc65 SHA512 ee238e39e69dce3e46df560f7be1287a87a0c9002242d7b381bc971e627a4c23f6102519d7f6864998adcc9be7cf8e68461579f2a88d15db86ad75878015a843 +AUX glances-4.0.6-disable-update-check.patch 1379 BLAKE2B ca1b269e272ca0160a022599b3a464a3f6747955b5795a33057df65055fceaa3ebb84abf184a3c4278ab1f8be1d84d68e17185e85bc899634947c2d32de174c7 SHA512 3bc5cefa22b55d9b9e26208c6424672964e5d959940343c6dec823a7abb1cd32d0380c7774cd4becb44436bac2a487e0f8c8689fa7d5e837e0789788f3767241 +AUX glances-4.0.6-doc-install-path.patch 691 BLAKE2B 447b2a7f570f46d66aa4bddbc07ac264eb704dc7c77cfdea82787ff99e3c2f73a06bf67f07191bfb89fffef672d6f63de4bb26991ad074d02cc93de96c389d25 SHA512 c64c8ca54b2c614d1b53149d66936270059a62e6b75f16a09fd7777c0098d65877ed0b2d8b689c2e6a292fc4c6b6d52df8c71e7474c2d637d3ccce282da244c2 DIST glances-3.4.0.3.gh.tar.gz 6472143 BLAKE2B 5437d3daefd4d36e9b84481543cf8189964006d566a77506099bfe7748d37409d5fb2a3a8eb52c8eeef0efa469c2ca92db7a37a44625969aec822d1adf46dbb3 SHA512 f4960d7d23b52e249069b41fd9b20a4d6f56006a6998b1bfd341ef00628fa92c14503885ebbea6adeee6f926a6c6fb440c288e2c772d4536b2c2b49e4124a7a0 DIST glances-3.4.0.5.gh.tar.gz 6473711 BLAKE2B 510f379946eec914998cba32ffd66c6037bd85246cdae059d336b4a3330ba6e521aa3fef2099d88f08dbf3ed7e7c8537235850ad8f6882840fb811bcd8a82147 SHA512 aca140fedc2acc97ae4901722e0406acb8bea6eac5295d95499860a522e74d29ecbc4cfb28fecfd4a2879f4ee44175bd4efd2429b9d7e302b4a182caabd6a5f8 -EBUILD glances-3.3.0-r1.ebuild 2848 BLAKE2B 1a679d17c5ddc54570ded2daaba628981472da33c8838380e163abb1d665c15d9960d3c88950062d694377516bfd45561c21dd2225a43f65341d18d2d1e390f3 SHA512 1f502c0502ac139a55df68b47fd3b57cfc95c9532ef9c62787dc8b4feeb707904a5212e306b09169749b56326346c89c08d54809bf6cfb500c035292e6363e9a -EBUILD glances-3.4.0.3.ebuild 2889 BLAKE2B 147ce0e09160c0cdd2b4846cef45cf82a29fd93b967751b1ce108af8b6f03e788ba1b27a9bc944f32f49163f352d6eb7208d22cbb7e7d7ea94ba8f764746e452 SHA512 7c7a960bc39a834c51b5926789e4462036adb859732a83552abff65d113fb26808680bdd6ccaa45f46179145d2faf5fe5058d831e9002ffbbd720fc89712c69c -EBUILD glances-3.4.0.5.ebuild 2894 BLAKE2B 1b64c9f6e10aa3a5cccbca7d5d2172e979b983a98fe9c2f3285789a6e686de53ca050053b0da68d39b1caaa471f41636dc7c6e7ceca0ce1322aadbaebd46ecb6 SHA512 6b5791e756a87457762c50c7b21019a67d1525cfbfed9f7f53813d6bcb448994fbd3cb66b947814acfff106e563afab6963e1dead8822273c8ee38a31866de40 +DIST glances-4.0.6.gh.tar.gz 6622650 BLAKE2B 82290999d94ea46bb5671a6eb2959cbb4246dd231fddbb6ad72108d7270faf5a3da5f73f25d1bdb8987a6db79d7a07eb05581fa7b4d7406df97cffb274e20387 SHA512 d5bb804aff6dbc5147a185cb613ca9f402b43fc2d9bef1e80dfd90db3fe11f445aade0d73e987a9a3665c4bf4f210dd3d1a98e9b53e028ef4e49a9111b527f0d +EBUILD glances-3.4.0.3.ebuild 2860 BLAKE2B c981375963346db80bd1430ae80923b96ae9ee6853468627eddd495969dddec477089b37dbdc9123bbfa2ddf6a07aa56401f195f1dc2f8c561665e39ed4736d2 SHA512 1105967eeafbdfc175f074d7c586f3b355e32b552f6a1dfd20a5d292abb9cf5fd87ac96488a0067f6ca21ff41ea6e61d2e98c069979f869aeef988a48fb364c2 +EBUILD glances-3.4.0.5.ebuild 2865 BLAKE2B dde77cec4fc4ffcaf0867ccff6e009940ac885e2f17ffab23a5286d32d2f0715aaa303a1b3a5ad24a68b273474d07b32f29dfe89d773f417a44aaef261950179 SHA512 0cb41656dd71f1e015fe6a6f0d5817fc3140086377191d5a9627bef031197479441bdd3600b3cb83483020c5375294c6e8f5891270516094b115be2217c9feed +EBUILD glances-4.0.6.ebuild 1721 BLAKE2B bd6b6e5e06d0f243722713ec8855ba8fdb43e38aa60174c7223a4756644a50b9467f3a1f241facaade4f371e286a049d7a6c0c6d622f643f77d6a887c5e80702 SHA512 d61b0cb57f2b2ef6212b338b8bc931ab4127af921d248a767ec2344a7411ee9165004358273527956c965a73be495805e7083714a976350728028c7c04dc9833 MISC metadata.xml 854 BLAKE2B 2490007fac08af17714511646730b34390bcbffe42db3cb1fe39ab5f4dd3f7e5979e58732d26863194c9ca3ef1daafb5242184a432eb08d70590a4dea9761be5 SHA512 8de66d9b8bc3c603f95ab355869bd0f6720652711462021af5efbda012fbefeacc155f2c29613fe33095edc9b2699e28a692284fca14bfd4166c329dfa78138a diff --git a/sys-process/glances/files/glances-3.2.5-disable-update-check.patch b/sys-process/glances/files/glances-3.2.5-disable-update-check.patch deleted file mode 100644 index da12729eefd4..000000000000 --- a/sys-process/glances/files/glances-3.2.5-disable-update-check.patch +++ /dev/null @@ -1,31 +0,0 @@ -Description: Disable nagging suggestion to upgrade using pip -Author: Sebastien Badia -Bug-Debian: https://bugs.debian.org/877127 -Forwarded: not-needed -Last-Update: 2022-04-16 - ---- a/glances/standalone.py -+++ b/glances/standalone.py -@@ -107,9 +107,6 @@ - # Init screen - self.screen = GlancesCursesStandalone(config=config, args=args) - -- # Check the latest Glances version -- self.outdated = Outdated(config=config, args=args) -- - @property - def quiet(self): - return self._quiet -@@ -188,12 +185,3 @@ - - # Exit from export modules - self.stats.end() -- -- # Check Glances version versus PyPI one -- if self.outdated.is_outdated(): -- print( -- "You are using Glances version {}, however version {} is available.".format( -- self.outdated.installed_version(), self.outdated.latest_version() -- ) -- ) -- print("You should consider upgrading using: pip install --upgrade glances") diff --git a/sys-process/glances/files/glances-4.0.6-disable-update-check.patch b/sys-process/glances/files/glances-4.0.6-disable-update-check.patch new file mode 100644 index 000000000000..aa8fbfc569bd --- /dev/null +++ b/sys-process/glances/files/glances-4.0.6-disable-update-check.patch @@ -0,0 +1,36 @@ +From: John Helmert III +Date: Sat, 25 May 2024 14:01:10 -0700 +Subject: [PATCH] disable runtime out-of-date check + +Signed-off-by: John Helmert III +--- a/glances/standalone.py ++++ b/glances/standalone.py +@@ -112,9 +112,6 @@ class GlancesStandalone: + # It is done in the screen.init function + self._quiet = args.quiet + +- # Check the latest Glances version +- self.outdated = Outdated(config=config, args=args) +- + @property + def quiet(self): + return self._quiet +@@ -192,15 +189,3 @@ class GlancesStandalone: + + # Exit from export modules + self.stats.end() +- +- # Check Glances version versus PyPI one +- if self.outdated.is_outdated(): +- latest_version = self.outdated.latest_version() +- installed_version = self.outdated.installed_version() +- print(f"You are using Glances version {installed_version}, however version {latest_version} is available.") +- print("You should consider upgrading using: pip install --upgrade glances") +- print("Disable this warning temporarily using: glances --disable-check-update") +- print( +- "To disable it permanently, refer config reference at " +- "https://glances.readthedocs.io/en/latest/config.html#syntax" +- ) +-- +2.45.1 + diff --git a/sys-process/glances/files/glances-4.0.6-doc-install-path.patch b/sys-process/glances/files/glances-4.0.6-doc-install-path.patch new file mode 100644 index 000000000000..077cd0924c4b --- /dev/null +++ b/sys-process/glances/files/glances-4.0.6-doc-install-path.patch @@ -0,0 +1,20 @@ +From b90ce653b99f4efa15e27f4a71a4e251d0b34d2c Mon Sep 17 00:00:00 2001 +From: John Helmert III +Date: Sat, 25 May 2024 14:21:50 -0700 +Subject: [PATCH] setup.py: install docs to versioned directory + +Signed-off-by: John Helmert III +--- a/setup.py ++++ b/setup.py +@@ -31,7 +31,7 @@ with builtins.open('README.rst', encoding='utf-8') as f: + def get_data_files(): + return [ + ( +- 'share/doc/glances', ++ f'share/doc/glances-{version}', + ['AUTHORS', 'COPYING', 'NEWS.rst', 'README.rst', "SECURITY.md", 'CONTRIBUTING.md', 'conf/glances.conf'], + ), + ('share/man/man1', ['docs/man/glances.1']), +-- +2.45.1 + diff --git a/sys-process/glances/glances-3.3.0-r1.ebuild b/sys-process/glances/glances-3.3.0-r1.ebuild deleted file mode 100644 index 7b155a7902b5..000000000000 --- a/sys-process/glances/glances-3.3.0-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( pypy3 python3_{9..11} ) -PYTHON_REQ_USE="ncurses" -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 linux-info optfeature - -DESCRIPTION="CLI curses based monitoring tool" -HOMEPAGE="https://github.com/nicolargo/glances" -SRC_URI="https://github.com/nicolargo/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}] - ') -" - -# PYTHON_USEDEP omitted on purpose -BDEPEND="doc? ( dev-python/sphinx-rtd-theme )" - -CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" - -PATCHES=( - "${FILESDIR}/${PN}-3.2.5-disable-update-check.patch" -) - -distutils_enable_tests unittest -distutils_enable_sphinx docs --no-autodoc - -pkg_setup() { - linux-info_pkg_setup - python-single-r1_pkg_setup -} - -python_prepare_all() { - # Remove duplicate entries of a prebuilt doc build and - # ensure install of the file glances.conf in /etc/${PN} - sed \ - -e '/share\/doc\/glances/d' \ - -e "s/'CONTRIBUTING.md',//" \ - -e "s:'conf/glances.conf':('${EPREFIX}/etc/glances', ['conf/glances.conf':g" \ - -i setup.py || die - sed -i "s/, 'irq']/]/" unitest.py || die - distutils-r1_python_prepare_all -} - -python_test() { - "${EPYTHON}" unitest.py || die "tests failed with ${EPYTHON}" -} - -python_install_all() { - # add an intended file from original data set from setup.py to DOCS - local DOCS=( README.rst CONTRIBUTING.md conf/glances.conf ) - distutils-r1_python_install_all -} - -pkg_postinst() { - #optfeature "Action script feature" dev-python/pystache - optfeature "Autodiscover mode" dev-python/zeroconf - optfeature "Cloud support" dev-python/requests - optfeature "Docker monitoring support" dev-python/docker - #optfeature "Export module" \ - # unpackaged/bernhard \ - # unpackaged/cassandra-driver \ - # unpackaged/potsdb \ - # dev-python/couchdb-python \ - # dev-python/elasticsearch-py \ - # dev-python/influxdb \ - # dev-python/kafka-python \ - # dev-python/pika \ - # dev-python/paho-mqtt \ - # dev-python/prometheus-client \ - # dev-python/pyzmq \ - # dev-python/statsd - #optfeature "Nvidia GPU monitoring" unpackaged/nvidia-ml-py3 - optfeature "SVG graph support" dev-python/pygal - optfeature "IP plugin" dev-python/netifaces - optfeature "RAID monitoring" dev-python/pymdstat - #optfeature "SMART support" unpackaged/pySMART.smartx - optfeature "RAID support" dev-python/pymdstat - optfeature "SNMP support" dev-python/pysnmp - #optfeature "sparklines plugin" unpackaged/sparklines - optfeature "Web server mode" dev-python/bottle dev-python/requests - optfeature "WIFI plugin" net-wireless/python-wifi -} diff --git a/sys-process/glances/glances-3.4.0.3.ebuild b/sys-process/glances/glances-3.4.0.3.ebuild index 917da0b9f60e..454c939d0c47 100644 --- a/sys-process/glances/glances-3.4.0.3.ebuild +++ b/sys-process/glances/glances-3.4.0.3.ebuild @@ -78,7 +78,6 @@ pkg_postinst() { # dev-python/couchdb-python \ # dev-python/elasticsearch-py \ # dev-python/influxdb \ - # dev-python/kafka-python \ # dev-python/pika \ # dev-python/paho-mqtt \ # dev-python/prometheus-client \ diff --git a/sys-process/glances/glances-3.4.0.5.ebuild b/sys-process/glances/glances-3.4.0.5.ebuild index 001ce5a5ce63..532fd4e5dbc8 100644 --- a/sys-process/glances/glances-3.4.0.5.ebuild +++ b/sys-process/glances/glances-3.4.0.5.ebuild @@ -78,7 +78,6 @@ pkg_postinst() { # dev-python/couchdb-python \ # dev-python/elasticsearch-py \ # dev-python/influxdb \ - # dev-python/kafka-python \ # dev-python/pika \ # dev-python/paho-mqtt \ # dev-python/prometheus-client \ diff --git a/sys-process/glances/glances-4.0.6.ebuild b/sys-process/glances/glances-4.0.6.ebuild new file mode 100644 index 000000000000..2988ea7d7c95 --- /dev/null +++ b/sys-process/glances/glances-4.0.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 linux-info optfeature + +DESCRIPTION="CLI curses based monitoring tool" +HOMEPAGE="https://github.com/nicolargo/glances" +SRC_URI="https://github.com/nicolargo/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ') +" + +# PYTHON_USEDEP omitted on purpose +BDEPEND="doc? ( dev-python/sphinx-rtd-theme )" + +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" + +PATCHES=( + "${FILESDIR}/${PN}-4.0.6-disable-update-check.patch" + "${FILESDIR}/${PN}-4.0.6-doc-install-path.patch" +) + +distutils_enable_tests unittest +distutils_enable_sphinx docs --no-autodoc + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +python_test() { + "${EPYTHON}" unittest-core.py || echo "tests failed with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "Autodiscover mode" dev-python/zeroconf + optfeature "Cloud support" dev-python/requests + optfeature "Docker monitoring support" dev-python/docker + optfeature "SVG graph support" dev-python/pygal + optfeature "IP plugin" dev-python/netifaces + optfeature "RAID monitoring" dev-python/pymdstat + optfeature "RAID support" dev-python/pymdstat + optfeature "SNMP support" dev-python/pysnmp + optfeature "WIFI plugin" net-wireless/python-wifi +} diff --git a/sys-process/pkill-darwin/Manifest b/sys-process/pkill-darwin/Manifest index 7a0d4b1aa6c3..a0ddc715c614 100644 --- a/sys-process/pkill-darwin/Manifest +++ b/sys-process/pkill-darwin/Manifest @@ -1,3 +1,3 @@ DIST pkill-darwin-1.0.tar.xz 8232 BLAKE2B 283c49e125d55de6994013ca002225ddc728fc837029fafbddf4d9c4e0574761a220cc347f62d95b49d4e430b4d53c20a712e73b497700272c7f022a913e0f16 SHA512 18ced350664b6dcd07acb33e1872726857a6f762311f91ca2d30323153712a436017b232efd34f8cd0055e10f1036d4a84a06f37ef104722701a172a40d3575a -EBUILD pkill-darwin-1.0.ebuild 1084 BLAKE2B ee26095ddb577de6e986c9e3c8f9db8991375770d8cc32c68b7d6d46f7c86208907c83ef78fc88988dfb4071473f9d7606441d0ac7009340fff7988dda0df8c5 SHA512 2d11620eeb92fea6bbff87353ed6c0fe8ea0e8a66af283d29966e98f7423024aff5b05e7eafdc8e8fe1d75e6b352f680c3ae6cc8aa46610e84dd6615d5875388 +EBUILD pkill-darwin-1.0-r1.ebuild 1021 BLAKE2B 8021e91cede61a005e3036ecb6bf3e40d627ec304b1812e8795d203cdb1499df4e3a1373a02962d7a2691e90685db1ea49fe297ecd3727b2c03904dec4ea773f SHA512 c96767d496c4ad22723dc90eaeb867347a0e7d550720e9cf92f709c417938276788847473c26a4b5eca50fee0731a52a3439319595f33e30e9c30f534742d49d MISC metadata.xml 254 BLAKE2B a9286f3fc430caa6275f03922e751f715f0f40b280a287b94b223dc132ded7e0d52a9e9b7d60ec49e51241816f2e902555f0225cd989a24274c6c1308fc3b069 SHA512 87bf08a79b46585f8b0a0ec3b465e6e9442fde5d4dc94dcc39e7ad74749b2e3cfd3411226dd9cf209e96cbedf3e3e704aa966a0ca8ad1505412eb70d00baa2f2 diff --git a/sys-process/pkill-darwin/pkill-darwin-1.0-r1.ebuild b/sys-process/pkill-darwin/pkill-darwin-1.0-r1.ebuild new file mode 100644 index 000000000000..6adbd78f04cb --- /dev/null +++ b/sys-process/pkill-darwin/pkill-darwin-1.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +DESCRIPTION="pgrep(1) and pkill(1) for Darwin" +HOMEPAGE="https://sourceforge.net/p/pkilldarwin/code/ci/default/tree/" +SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~arm64-macos ~ppc-macos ~x64-macos" + +src_compile() { + edo $(tc-getCC) ${CFLAGS} -o pkill ${LDFLAGS} pkill.c + # don't link, such that the suid trick described below won't make people + # suid their pkill too + cp pkill pgrep || die + ln -s pkill.1 pgrep.1 || die +} + +src_install() { + into /usr + dobin pkill pgrep + doman pkill.1 pgrep.1 +} + +pkg_postinst() { + einfo "If you you want pgrep to be able to show and match on the arguments" + einfo "of all processes, you will have to make pgrep suid root. To do so" + einfo "you have to perform the following steps:" + einfo " % sudo chown root ${EPREFIX}/usr/bin/pgrep" + einfo " % sudo chmod u+s ${EPREFIX}/usr/bin/pgrep" +} diff --git a/sys-process/pkill-darwin/pkill-darwin-1.0.ebuild b/sys-process/pkill-darwin/pkill-darwin-1.0.ebuild deleted file mode 100644 index 4cf240fc54b6..000000000000 --- a/sys-process/pkill-darwin/pkill-darwin-1.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="pgrep(1) and pkill(1) for Darwin" -HOMEPAGE="https://sourceforge.net/p/pkilldarwin/code/ci/default/tree/" -SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~arm64-macos ~ppc-macos ~x64-macos" -IUSE="" - -src_compile() { - echo $(tc-getCC) ${CFLAGS} -o pkill ${LDFLAGS} pkill.c - $(tc-getCC) ${CFLAGS} -o pkill ${LDFLAGS} pkill.c || die - # don't link, such that the suid trick described below won't make people - # suid their pkill too - cp pkill pgrep || die - ln -s pkill.1 pgrep.1 || die -} - -src_install() { - into /usr - dobin pkill pgrep - doman pkill.1 pgrep.1 -} - -pkg_postinst() { - einfo "If you you want pgrep to be able to show and match on the arguments" - einfo "of all processes, you will have to make pgrep suid root. To do so" - einfo "you have to perform the following steps:" - einfo " % sudo chown root ${EPREFIX}/usr/bin/pgrep" - einfo " % sudo chmod u+s ${EPREFIX}/usr/bin/prgep" -} -- cgit v1.2.3