]> git.ipfire.org Git - ipfire-2.x.git/commit
libtirpc: Convert from an addon to a core program - fixes Bug 13015
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 27 Jan 2023 14:30:02 +0000 (15:30 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 3 Feb 2023 16:02:12 +0000 (16:02 +0000)
commit024220e4dfc5993d5d64abfced918340f729fe62
tree7d68417bfba5524fffdd0c676cfd15f65030489b
parent726e227876908e58af35815bc9bfaf049431fa55
libtirpc: Convert from an addon to a core program - fixes Bug 13015

- libtirpc is required for lsof to work from CU172 onwards. rpc.h is no longer available
   from glibc. This would normally cause the lsof build to fail but libtirpc as an addon
   is built before lsof and so is present in the build and lsof is linked to it.
   When running lsof it fails as the linked libtirpc library is not present unless it has
   been installed as an addon.
- This patch converts the libtirpc lfs from an addon to a core program and moves the
   rootfile from the packages directory to the common directory.
- Tested out on my vm testbed. With CU172 lsof fails to run due to the missing libtirpc
   With the build based on this patch installed lsof works normally again.
- Disabled the static library build in the configure options and updated the rootfile

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Fixes: Bug#13015
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
config/rootfiles/common/libtirpc [moved from config/rootfiles/packages/libtirpc with 98% similarity]
lfs/libtirpc