Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question making Pi-hole ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Sat Dec 10, 2022 11:46 pm    Post subject: Question making Pi-hole ebuild Reply with quote

Hello, I want to make an ebuild for pi-hole to run on my Gentoo-rpi3b that I cross-aarch64 compiled. I would say my Gentoo skill level is intermediate but I think I can do it with a little guidance. I want to be that change I'm looking for :)

So I start with the source here right? https://github.com/pi-hole/pi-hole then I need to gather kernel config requirements and package dependencies I guess? Haha I'm not sure.... Any help would be greatly appreciated.

Is this even possible?
_________________
Gentoo is a way of life...
Back to top
View user's profile Send private message
hdcg
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2013
Posts: 120

PostPosted: Sun Dec 11, 2022 12:23 am    Post subject: Reply with quote

Hi,

normally the best way to start, is to understand the build process of the program you would like to install. From what I see, pi-hole is not an easy example to start with (https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh).

However, you can find an existing ebuild for the latest release at the tatsh-overlay (http://gpo.zugaina.org/net-dns/pihole).
Either use this directly or as a starting point.

Also the ebuilds (multiple ones are involved) are not the most easiest ones (as far as my expertise goes).
Feel free to understand and use them. Ask questions, if they come up.

Best Regards,
Holger
Back to top
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Sun Dec 11, 2022 12:29 am    Post subject: Reply with quote

hdcg wrote:
However, you can find an existing ebuild for the latest release at the tatsh-overlay (http://gpo.zugaina.org/net-dns/pihole).


Haha alright then im definitely using that cheers, I think I missed using "-R" with eix because I see it now. Thanks alot!

Just rebuilding the Gentoo-PI in chroot with --empty-tree @system then @world using new GCC 12 with Graphite, LTO & PGO then I will add this pi-hole ebuild. Should only take a few weekss lmao jk (but pretty much)

Thanks again!
_________________
Gentoo is a way of life...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum