21 |
SRC_URI=( |
SRC_URI=( |
22 |
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/${SRCFILE} |
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/${SRCFILE} |
23 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
24 |
mirror://${PNAME}/${PNAME}-2.16-build-system-fixes.patch |
mirror://${PNAME}/${PNAME}-2.20-build-system-fixes.patch |
25 |
|
mirror://${PNAME}/${PNAME}-2.20-ignore-RAISE_SETFCAP-install-failures.patch |
26 |
) |
) |
27 |
|
|
28 |
UP2DATE="updatecmd http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6 | grep ${PNAME}- | lasttarball gz" |
UP2DATE="updatecmd http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6 | grep ${PNAME}- | lasttarball gz" |
33 |
cd ${SRCDIR} |
cd ${SRCDIR} |
34 |
|
|
35 |
# fixes build issues |
# fixes build issues |
36 |
mpatch ${PNAME}-2.16-build-system-fixes.patch || die |
mpatch ${PNAME}-2.20-build-system-fixes.patch || die |
37 |
|
mpatch ${PNAME}-2.20-ignore-RAISE_SETFCAP-install-failures.patch || die |
38 |
|
|
39 |
# fix libdir |
# fix libdir |
40 |
sed -i "/^lib=/s:=.*:=$(mlibdir):" Make.Rules || die |
sed -i "/^lib=/s:=.*:=$(mlibdir):" Make.Rules || die |