Difference between revisions of "Libcap"
From CBLFS
Jump to navigationJump to search (Update dependencies) |
|||
Line 3: | Line 3: | ||
!Download Source: | !Download Source: | ||
| http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-{{libcap-Version}}.tar.gz | | http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-{{libcap-Version}}.tar.gz | ||
− | |} | + | |- |
+ | !Required Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/libcap/libcap-{{libcap-Version}}-build_fix-1.patch | ||
+ | |-|} | ||
---- | ---- | ||
Line 16: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | + | patch -Np1 -i ../libcap-{{libcap-Version}}-build_fix-1.patch && | |
make | make | ||
Line 30: | Line 33: | ||
Compile the package: | Compile the package: | ||
− | + | patch -Np1 -i ../libcap-{{libcap-Version}}-build_fix-1.patch && | |
+ | mmake CC="gcc ${BUILD32}" LD="gcc -shared ${BUILD32}" | ||
Install the package | Install the package | ||
− | make | + | make install && |
chmod -v 755 /lib/libcap.so.{{libcap-Version}} | chmod -v 755 /lib/libcap.so.{{libcap-Version}} | ||
Line 41: | Line 45: | ||
Compile the package: | Compile the package: | ||
− | make CC="gcc ${BUILDN32} | + | patch -Np1 -i ../libcap-{{libcap-Version}}-build_fix-1.patch && |
+ | sed -i "/^lib=/s:=.*:=lib32:" Make.Rules && | ||
+ | make CC="gcc ${BUILDN32}" LD="gcc -shared ${BUILDN32}" | ||
Install the package | Install the package | ||
− | make | + | make install && |
chmod -v 755 /lib32/libcap.so.{{libcap-Version}} | chmod -v 755 /lib32/libcap.so.{{libcap-Version}} | ||
+ | |||
=== 64Bit === | === 64Bit === | ||
Compile the package: | Compile the package: | ||
− | make CC="gcc ${BUILD64} | + | patch -Np1 -i ../libcap-{{libcap-Version}}-build_fix-1.patch && |
+ | sed -i "/^lib=/s:=.*:=lib64:" Make.Rules && | ||
+ | make CC="gcc ${BUILD64}" LD="gcc -shared ${BUILD64}" | ||
Install the package | Install the package | ||
− | make | + | make install && |
chmod -v 755 /lib64/libcap.so.{{libcap-Version}} | chmod -v 755 /lib64/libcap.so.{{libcap-Version}} | ||
[[Category:General Libs]] | [[Category:General Libs]] |
Revision as of 18:39, 27 April 2009
Dependencies
Required
Non-Multilib
Compile the package:
patch -Np1 -i ../libcap-2.22-build_fix-1.patch && make
Install the package
make install && chmod -v 755 /lib/libcap.so.2.22
Multilib
32Bit
Compile the package:
patch -Np1 -i ../libcap-2.22-build_fix-1.patch && mmake CC="gcc ${BUILD32}" LD="gcc -shared ${BUILD32}"
Install the package
make install && chmod -v 755 /lib/libcap.so.2.22
N32
Compile the package:
patch -Np1 -i ../libcap-2.22-build_fix-1.patch && sed -i "/^lib=/s:=.*:=lib32:" Make.Rules && make CC="gcc ${BUILDN32}" LD="gcc -shared ${BUILDN32}"
Install the package
make install && chmod -v 755 /lib32/libcap.so.2.22
64Bit
Compile the package:
patch -Np1 -i ../libcap-2.22-build_fix-1.patch && sed -i "/^lib=/s:=.*:=lib64:" Make.Rules && make CC="gcc ${BUILD64}" LD="gcc -shared ${BUILD64}"
Install the package
make install && chmod -v 755 /lib64/libcap.so.2.22
Download Source: | http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.22.tar.gz |
---|---|
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/libcap/libcap-2.22-build_fix-1.patch |