[Bug 219036] ports-mgmt/pkg: pkg confused, installs older version over newer
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 3 13:03:27 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219036
Baptiste Daroussin <bapt at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|pkg at FreeBSD.org |freebsd-bugs-ports at FreeBSD.
| |org
--- Comment #2 from Baptiste Daroussin <bapt at FreeBSD.org> ---
this is not a pkg bug, but an infrastructure bug. samba44 is not an older
version of samba46 from pkg point of view this is 2 different software: 2
different names.
the library provided by samba44 and samba46 cannot be replaced on binaries as
they are do not have the same ABI (iirc).
The right solution to avoid such situation is to have a package (only one
providing) the default client part: only libraries might be ok. and the other
samba ports to be installed elsewhere: /usr/local/samba<version> or with a
symlink in /usr/local/bin for all the binaries (suffixed by the version) so
they don't conflict with each others and their binaries using a proper RPATH so
they find their libs in /usr/local/samba<version>/lib before anything else.
That way the user could decide which version of samba they want to install/use
and whatever is the version of the libsmb used by default by other packages.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list