Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909642 - app-portage/aria2c-emerge "Portage utility script: aria2c fetch client for Gentoo"
Summary: app-portage/aria2c-emerge "Portage utility script: aria2c fetch client for Ge...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2023-07-04 16:27 UTC by jnorthrup
Modified: 2023-07-08 12:28 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
an ebuild, using git-r3 for lack of unpack wisdom at this juncture (aria2c-emerge-1.0.ebuild,537 bytes, text/plain)
2023-07-04 16:27 UTC, jnorthrup
Details

Note You need to log in before you can comment on or make changes to this bug.
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