blob: fe5bf33c8c5d7d7388c9a24c3be4f22fa18cafde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
DESCRIPTION = "snort - a free lightweight network intrusion detection system for UNIX and Windows."
HOMEPAGE = "http://www.snort.org/"
LICENSE = "GPL"
DEPENDS = "libpcap libnet libpcre"
RDEPENDS_${PN} = "libpcap libnet libpcre barnyard"
PR = "r1"
SRC_URI = " http://dl.snort.org/snort-current/${P}.tar.gz;name=tarball \
file://snort.fix.configure.in.HACK;apply=yes \
"
SRC_URI[tarball.md5sum] = "ef02aaad54746603f2cb3236fe962128"
SRC_URI[tarball.sha256sum] = "a7d9eb16427514d00926e9892c4a92b6ff1fd0f79555d8f8dce91dfa14112e6a"
S = "${WORKDIR}/${P}"
#snort does not like parallel make!
PARALLEL_MAKE = ""
inherit autotools pkgconfig
#fix path of pc file
do_install_prepend() {
sed -i -e 's:-Wl,-rpath-link,${STAGING_LIBDIR}::g' -e 's:-isystem${STAGING_INCDIR}::g' snort.pc
}
|