Opened 6 years ago
Last modified 6 years ago
#56897 new request
Create a port for cpulimit
Reported by: | l-g | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | cpulimit |
Description
It would be nice to have https://github.com/opsengine/cpulimit in MacPorts.
Thank you
Attachments (2)
Change History (9)
comment:1 Changed 6 years ago by jmroot (Joshua Root)
Type: | enhancement → request |
---|
Changed 6 years ago by kencu (Ken)
Changed 6 years ago by kencu (Ken)
Attachment: | patch-ifdefs.diff added |
---|
comment:2 Changed 6 years ago by kencu (Ken)
comment:3 Changed 6 years ago by l-g
I was gonna try it on my machine with the latest version of OS X but even after a selfupdate port can't find it. What do I need to do to be able to install it?
comment:4 Changed 6 years ago by kencu (Ken)
some manual steps, until it's worthy of being in the codebase.
create a folder somewhere like /Users/Shared called sysutils. Inside sysutils, create a folder called cppunit. Inside cppunit create a folder called files.
put the patch in files, and the Portfile in cppunit.
then go in cppunit, and do this:
sudo port -v install
Cross your fingers, wink twice, and you should have cppunit installed on your system as a "local" port.
comment:6 Changed 6 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
On 10.13 it appears to work fine
Warning: Line 33 has missing newline (at end of file)
comment:7 Changed 6 years ago by kencu (Ken)
good to know. will take another look. Perhaps there is some floor to the system requirements to be discovered here.
the uploaded Porfile and patch allow it to build, but on the machine I have at hand, 10.7.5, it crashes in actual use with Segmentation Fault 11.