Open foxsouns opened 3 years ago
i wonder if there would be a way to incorporate -BSD's, and Illumos forks in this script. I know FreeBSD has bash, and OpenIndiana as well, but how much is compatible? how would we determine on those systems? not to mention, i've scarcely used either. i figure we'd use the same methods, but it's a matter of a: making the code bloated and b: not up to me, and c: dont even know if it'd work
Should be trivial imo. In theory, the same as the Linux ones and the Mac one.
This script is posix sh, not bash -- so it's a lot more portable.
And the policy is "native sh before coreutils" so there aren't exactly many (if any, lol) GNUisms.
Should be trivial imo.
oh hell yeah, that's good to hear. in that case, i might update the list (although in a different section), and investigate pm's across unix-likes in general.
edit: add unix-likes to main post
We may also be able to support opkg. I don't think there's really a use-case for that, though. I doubt anyone uses it on any desktop system ever.
update: more pm's, new link
update (minor): add pkgsrc to mac, too, because now darwin is forked off in the elifs
@foxsouns Please update the original message to reflect that I have implemented both OpenBSD and FreeBSD's package managers.
i figured there should maybe be a list made for known but yet unimplemented PM's. logically, i've omitted pm's that are unmaintained. if you are working on implementing one of these, let me know and i'll put your username next to the respective PM.
below are all the linux's i know of, and are still maintained:
Sorcery (from Source Mage)- @foxsouns Implemented.lunar (from Lunar Linux)- @foxsouns Implementedpkgutils (from CRUX Linux)- @foxsouns Implemented.bsd's
freebsd ports: pkg (from FreeBSD, DragonflyBSD, GhostBSD)@swindlesmccoop Implimented.openbsd ports: pkg (openbsd)@swindlesmccoop Implimented.illumos'
mac
other unixs
others that seem likely candidates to work:
if anybody else knows of a PM i've missed (and @willeccles: if you have an objection against any of these), please let me know, and i'll update the list. this wikipedia entry on unix-like os' might be useful. this wikipedia entry on package managers, generally is probably moreso