blob: 9e30fda919b0113ab00cb2cb9a91406c056bd80d (
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
27
28
29
30
31
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
DESCRIPTION="TCP/IP traffic logger"
HOMEPAGE="https://ojnk.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/ojnk/${P}.tar.gz"
LICENSE="|| ( GPL-2 FDL-1.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc sparc x86"
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PV}-DLT_LINUX_SSL.patch )
DOCS=( AUTHORS NEWS README TODO example-iplog.conf )
src_compile() {
append-cppflags -D_REENTRANT
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" all
}
src_install() {
default
newinitd "${FILESDIR}"/iplog.rc6 iplog
}
|