Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909642

Summary: app-portage/aria2c-emerge "Portage utility script: aria2c fetch client for Gentoo"
Product: Gentoo Linux Reporter: jnorthrup <northrup.james>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoo, mgorny, northrup.james
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: an ebuild, using git-r3 for lack of unpack wisdom at this juncture

Description jnorthrup 2023-07-04 16:27:09 UTC
Created attachment 865141 [details]
an ebuild, using git-r3 for lack of unpack  wisdom at this juncture

DESCRIPTION="Portage utility script: aria2c fetch client for Gentoo"

I have been running this as a make.conf hack for maybe a year and got a spur to learn the ebuild process, and try to make it easy for newbs.  I failed at most of those goals but it does work to install a script from a git-repo.

I hear a lot of opinions on how perfect gentoo portage transfers already are, and I wanted to contribute yet more perfection still to the pool of opinions.

Ebuild attached.  git repo in ebuild
Comment 1 jnorthrup 2023-07-05 18:20:26 UTC
Comment on attachment 865141 [details]
an ebuild, using git-r3 for lack of unpack  wisdom at this juncture

my first attempt at an ebuild would integrate this into /etc/make.conf but i noticed that if that was a symlink up the hierarchy that sed -i would derail that symlink;  so now the script has "install" and "remove" shown in the the help which will perform the actions by appending, preserving all prior make.conf entries in either case
Comment 2 jnorthrup 2023-07-05 18:22:54 UTC
(In reply to jnorthrup from comment #1)
> Comment on attachment 865141 [details]
> an ebuild, using git-r3 for lack of unpack  wisdom at this juncture
> 
> my first attempt at an ebuild would integrate this into /etc/make.conf but i
> noticed that if that was a symlink up the hierarchy that sed -i would derail
> that symlink;  so now the script has "install" and "remove" shown in the the
> help which will perform the actions by appending, preserving all prior
> make.conf entries in either case

to be more clear, i removed ebuild-related bad outcomes, putting the make.conf assistance into the script itself for the root user to perform willfully
Comment 3 jnorthrup 2023-07-07 17:52:00 UTC
i will gladly be a maintainer if i could get a once-over from a seasoned hand, and be the torch bearer