WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libcap vs. libcap-ng  (Read 4802 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
libcap vs. libcap-ng
« on: June 30, 2017, 09:20:00 AM »
There are two libcap's in the 8.x 64-bit repo. Does it matter which I use for extensions? What's the difference anyway?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: libcap vs. libcap-ng
« Reply #1 on: June 30, 2017, 09:29:48 AM »
libcap is the kernel.org version and libcap-ng is redhat's fork.

I don't really know the difference between them or if one is better than the other, some apps will only work with one and not the other...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: libcap vs. libcap-ng
« Reply #2 on: June 30, 2017, 09:33:22 AM »
Hi andyj
Quote
What's the difference anyway?
From the  libcap-ng.tcz.info  file:
Quote
library to make programming with posix capabilities easier than the traditional libcap library

Quote
Does it matter which I use for extensions?
The extensions dependency file will call out the one it needs.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: libcap vs. libcap-ng
« Reply #3 on: June 30, 2017, 11:15:05 AM »
If I'm building extensions for the repo does it matter? It looks like it only it only affects BIND in my list. Do we have a direction?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: libcap vs. libcap-ng
« Reply #4 on: June 30, 2017, 11:21:29 AM »
Feel free to use whichever one you like  :)