WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
libcap vs. libcap-ng
« on: June 30, 2017, 06: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: 14516
Re: libcap vs. libcap-ng
« Reply #1 on: June 30, 2017, 06: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...

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: libcap vs. libcap-ng
« Reply #2 on: June 30, 2017, 06: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: 1020
Re: libcap vs. libcap-ng
« Reply #3 on: June 30, 2017, 08: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: 14516
Re: libcap vs. libcap-ng
« Reply #4 on: June 30, 2017, 08:21:29 AM »
Feel free to use whichever one you like  :)