ToeiRei / crowdsec-overlay

Gentoo Overlay providing (some) crowdsec ebuilds
GNU General Public License v2.0
6 stars 2 forks source link

Create crowdsec-bin-1.4.6.ebuild_ #3

Closed necrose99 closed 1 year ago

necrose99 commented 1 year ago

-bin template for ebuild using prebuilt debian/debs

preferred Croudsec would tweak Goreleaseer , ie new linux variants crowsec-release-static-arm64..... etc... while they have amd64 as is .. dev-lang/GHC use binaries to least jumpstart it... future USE="SRC binary" if bin ... URL/S = , unpack and cp bins as if golang compiler is done else build src's and as is..

intended for gentoo on IoT or quite legacy hardware .low ram .. ie https://github.com/GenPi64 6-36 hour grinds sux... on iot in some cases it can drag on 4 or less gigs of ram etc...

ppl also tend to let security lag on home iot so better to have than not...

SRC is preferred but ....
while not yet vetted fully

RDEPS added !net-analyzer/crowdsec soft blocker

to net-analyzer/crowdsec can add !net-analyzer/crowdsec-bin

ToeiRei commented 1 year ago

Would you mind naming the ebuild correctly?

necrose99 commented 1 year ago

done dyslexia moment fixed..

ToeiRei commented 1 year ago

No offense - but did you test your ebuilds? Would you mind hitting me up on the crowdsec discord and we'll go through your ebuild together to fix it?

necrose99 commented 1 year ago

this is of draft quality sure ... cell phone wont quit nagging . w/./o phone ringing i've added the croudsec discord server , haven't had a few to open vmware to debug.. seems vmware is forcing upgrades to 17.x by fire .. i dont have 200 atm to plunk on upgrade lic... car repairs and inspection plates - 1200 USD... with pt Temp job since the IT gig fried out/layoffs its bit harder of a blow. porting vmware tester build over to vbox atm wich since docker or BOINC use runs about half the speed or response of vmware w/oth rebooting and using a gentoo docker/chroot

debugging this template is on my to-do list.. as is making other variants

Crowdsec dose not at this time have arm64 or etc tarball builds... as i would just use them if they were.. they at present have but only static-amd64 not /arm7hf x86 binaries on github. as these would be the most preferred .. go-releaser of theirs's would need updates..

debian dose have static builds the same dep on app-misc/jq the same... long term no... for now why not.. some gentoo packages in /gentoo are infect deb/rpm though rarely .. typically to Bootstrap ... Yes its not my first choice... but no resources its rather simple to use unpacker.eclass n call it a day... it is a choice to offer either... using debs dose come with some known caveats...

this dose for us mere mortals/enthusiasts/Tinkerers NON-DEVS
ruining out of disk space or lack the will of the RUBE-GOLDBERG setups .... crossdev ci/cd or other complex... Asprin-laydened .... or have dev accounts on arm servers or 3500 for a shinny Apree devbox or care to wait hours upon hours on embedded boxes ... offer a hopefully quick less painful option ... many tend to not keep their IOT as updated..

with IT layoffs and scant resources .... one has to get bit more creative... bit broke atm .. being dyslexic ebuilds are more work... than for some..

hopefully in the morning

ToeiRei commented 1 year ago

I see. I'll write it myself then.

necrose99 commented 1 year ago

https://github.com/Necrohol/crowdsec-overlay/blob/main/net-analyzer/crowdsec-bin/crowdsec-bin-1.4.6.ebuild_

already refactored it https://chat.openai.com/chat quite useful https://github.com/Necrohol/crowdsec-overlay/tree/main/net-firewall/cs-haproxy-bouncer https://github.com/Necrohol/crowdsec-overlay/tree/main/net-firewall/php-cs-bouncer

ToeiRei commented 1 year ago

you still have the name wrong and anything. Please repoen this pull request once it's actually tested and working