23 |
SRC_URI=( |
SRC_URI=( |
24 |
gnu://${PNAME}/${SRCFILE} |
gnu://${PNAME}/${SRCFILE} |
25 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch |
|
26 |
) |
) |
27 |
|
|
28 |
UP2DATE="updatecmd_gnu ${PNAME} gz" |
UP2DATE="updatecmd_gnu ${PNAME} gz" |
29 |
|
|
|
src_prepare() |
|
|
{ |
|
|
munpack ${SRCFILE} || die |
|
|
cd ${SRCDIR} |
|
|
|
|
|
# fix ftbfs against newer glibc (>=2.16) |
|
|
mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die |
|
|
|
|
|
# fix missing include |
|
|
sed -i "1i\#include <stdlib.h>" libicmp/icmp_timestamp.c || die |
|
|
} |
|
|
|
|
30 |
src_compile() |
src_compile() |
31 |
{ |
{ |
32 |
cd ${SRCDIR} |
cd ${SRCDIR} |
33 |
|
|
34 |
# NOTE: |
# NOTE: |
35 |
# we want use inet; later it will be xinet; |
# we want use inet; later it will be xinet; decprecated by systemd |
36 |
# we also use ifconfig from net-tools |
# we also use ifconfig from net-tools |
37 |
# and disable all other (insecure) servers; |
# and disable all other (insecure) servers; |
38 |
# whois and logger also disabled (too old); |
# whois and logger also disabled (too old); |