Gentoo Archives: gentoo-user

From: Ramon Fischer <Ramon_Fischer@×××××××.de>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] Ebuild: How to deal with external repositories properly (best practise)?
Date: Tue, 28 Jul 2020 04:48:05
Message-Id: AM6P191MB0296A527C75224E0013F9954EF730@AM6P191MB0296.EURP191.PROD.OUTLOOK.COM
1 Hello list,
2
3 I have set up my first ebuild repository[1] with one package
4 "x11-misc/drm_master_util" to run "X" without root privileges. I am
5 still making it to work[2]. The ebuild file accesses an external git
6 repository[3].
7
8 The thing I am concerned about, is, that I am pulling something from an
9 external source, which I am installing on my system and giving it root
10 privileges[4].
11
12 The only best practise I can think of, is, to fork the external
13 repository, linking the ebuild to my fork and updating it on demand, so
14 I have full control over it.
15
16 Would this be the way to do it?
17
18 [1] https://codeberg.org/keks24/gentoo-overlay
19 [2] https://wiki.gentoo.org/wiki/User:Keks24/drafts/Non_root_Xorg
20 [3] https://github.com/gch1p/drm_master_util.git
21 [4] https://wiki.gentoo.org/wiki/Non_root_Xorg#Handling_of_DRM_ioctls

Replies