If, for example, we want to install a copy of a netprobe release so that we can use setcap on the binary we might try to use geneos package install --override probe:7.5.0+setcap and then use a new base version like active_setcap to point to it.
At the moment this is not possible for a number of reasons:
- The check for a suitable version in
archives.go is too strict and limits the version string to d.d.d style
- When checking for latest versions and doing manual version updates with
geneos package update -V 7.5.0 this will match the custom version as the general test for el8 and el9 consumes the custom string
Changes required in addition to addressing the above may also include a way to match exact versions in places -V/--version can be used, which at the moment find the "latest" match. Also, when using --override should the user be required to supply a base version (--base active_setcap) explicitly to protect against clashes?
In early testing it also appears geneos package delete doesn't work with custom versions
If, for example, we want to install a copy of a netprobe release so that we can use
setcapon the binary we might try to usegeneos package install --override probe:7.5.0+setcapand then use a new base version likeactive_setcapto point to it.At the moment this is not possible for a number of reasons:
archives.gois too strict and limits the version string tod.d.dstylegeneos package update -V 7.5.0this will match the custom version as the general test forel8andel9consumes the custom stringChanges required in addition to addressing the above may also include a way to match exact versions in places
-V/--versioncan be used, which at the moment find the "latest" match. Also, when using--overrideshould the user be required to supply a base version (--base active_setcap) explicitly to protect against clashes?In early testing it also appears
geneos package deletedoesn't work with custom versions