1 DESCRIPTION = "ngrep strives to provide most of GNU grep's \
2 common features, applying them to the network layer."
3 SECTION = "console/network"
5 DEPENDS = "libpcap pcre"
7 SRC_URI = "${SOURCEFORGE_MIRROR}/ngrep/ngrep-${PV}.tar.bz2 \
8 file://use-our-pcre.patch;patch=1"
10 EXTRA_OECONF = "--with-restart --enable-pcre --with-pcap-includes=${STAGING_INCDIR}"
11 EXTRA_OEMAKE = "INCLUDES=${S}"
15 CFLAGS += '-DDROPPRIVS_ONLY_ROOT=0 -DDROPPRIVS_USER=\""nobody\"" -DUSE_DROPPRIVS=1'
18 install -d ${D}${bindir}
19 install -m 0755 ngrep ${D}${bindir}/