FS#11917 - [PATCH] Update libcap from 1.10 to 2.16
Attached to Project:
Arch Linux
Opened by Jacob Myers (jacob) - Wednesday, 29 October 2008, 00:12 GMT
Last edited by Hugo Doria (hdoria) - Saturday, 11 April 2009, 15:51 GMT
Opened by Jacob Myers (jacob) - Wednesday, 29 October 2008, 00:12 GMT
Last edited by Hugo Doria (hdoria) - Saturday, 11 April 2009, 15:51 GMT
|
Details
Description:
libcap has not been updated in a long time (it is a major version behind); the package has been marked outdated but no updates have been forthcoming from the maintainer in a long time. I have updated the PKGBUILD file for it. Additional info: * Update from 1.10 to 2.16 Steps to reproduce: pacman -Ss libcap |
This task depends upon
They can (and probably should) be removed.
$ pacman -Ss libcap
extra/libcap 1.10-2
POSIX 1003.1e capabilities
:p.
Also, i took a look at others distributions and they seem to stay with libcap1. I am checking the reasons.
You can check what soft are using them, with "readelf -s | grep capget" for example
Updating this and recompiling soft fixes the kernel warning message:
warning: `program-name' uses 32-bit capabilities (legacy support in use)
This is maybe is important, because the old legacy capabilities are unmantained.
Also this package maybe needed to be moved from extra to core.
What are the status on this upgrade?
etherape
ettercap
ettercap-gtk
hping
kismet
libnids
ngrep
nmap
ntop
ppp
snort
tcpdump
tcptraceroute
wireshark
I currently finding what pkgs uses the symbol "capget" in extra/community
[core]
syslog-ng-3.0.1
[extra]
[core]
glibc-2.9-4 (this seem to only needed for selinux setups) [ nscd/selinux.h ]
syslog-ng-3.0.1
[extra]
dnsmasq-2.45-1
proftpd-1.3.1-2
squid-2.7.STABLE6-1
Maybe a good idea it to put a makedepends=(libcap...) for these packages.
[community]
will come soon...
Oops...
These are packages that are linked with libcap
[extra]
avahi-0.6.24-1
cdrkit-1.1.9-1
dovecot-1.1.11-1
muse-0.9-1 (NOTE: list libcap as depend but don't use it)
pinentry-0.7.5-3
pure-ftpd-1.0.21-2
samba-3.3.1-1
smbclient-3.3.1-1
vsftpd-2.1.0-1
wireshark-1.0.6-1
[community]
osec-1.2.2cvs20081201-1
pulseaudio-0.9.14-1
I personally used samba, vsftpd, pure-ftpd, proftpd, squid and wireshark on it, there are no problems on it.
Here is the complete list:
-------------------------------------
Packages that have makedepends on libcap (maybe these need to add libcap as makedepends) [uses sys/capability.h when exists]
[core]
syslog-ng-3.0.1
[extra]
dnsmasq-2.45-1
proftpd-1.3.1-2
squid-2.7.STABLE6-1
-------------------------------------
Packages that have depends on libcap
[extra]
avahi-0.6.24-1
cdrkit-1.1.9-1
dovecot-1.1.11-1
muse-0.9-1 (NOTE: list libcap as depend but don't use it)
FS#13756pinentry-0.7.5-3
pure-ftpd-1.0.21-2
samba-3.3.1-1
smbclient-3.3.1-1
vsftpd-2.1.0-1
wireshark-1.0.6-1
[community]
osec-1.2.2cvs20081201-1
pulseaudio-0.9.14-1
--------------------------------------
libcap doesn't work after upgrading to the last version.
Additional info:
* kernel: 2.6.28.7-2
* x86-64 architecture
* testing repository enabled
Steps to reproduce:
Try to run, e.g., 'pinentry-gtk-2'.
I solved with a symbolic link:
ln -s /lib/libcap.so.2 /lib/libcap.so.1
Which pinentry and libcap version are you using? And, please, open a new BR.
pinentry-gtk-2: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
testing/libcap 2.16-2
on Arch64
muse-0.9-1 (NOTE: list libcap as depend but don't use it)
FS#13756so can close this FS entry.Thanks for your work.
I fixed the muse package and the permissions problem of libcap. Thanks again.
Now the only two packages in queue, that needs a rebuild are in community: pulseaudio and osec ;)
Thanks.