View previous topic :: View next topic |
Author |
Message |
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Sat Dec 10, 2022 11:46 pm Post subject: Question making Pi-hole ebuild |
|
|
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 |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 120
|
Posted: Sun Dec 11, 2022 12:23 am Post subject: |
|
|
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 |
|
|
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Sun Dec 11, 2022 12:29 am Post subject: |
|
|
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 |
|
|
|