Lines 1-4
Link Here
|
1 |
# Copyright 1999-2016 Gentoo Foundation |
1 |
# Copyright 1999-2017 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=5 |
4 |
EAPI=5 |
Lines 11-21
SRC_URI="${HOMEPAGE}dev/${P/_rc/.rc.}.tar.gz"
Link Here
|
11 |
LICENSE="GPL-3" |
11 |
LICENSE="GPL-3" |
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
13 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
14 |
IUSE="debug sasl tcpd" |
14 |
IUSE="debug +libtirpc sasl tcpd" |
15 |
|
15 |
|
16 |
RDEPEND=" |
16 |
RDEPEND=" |
17 |
net-libs/libpcap |
17 |
net-libs/libpcap |
18 |
sys-libs/zlib |
18 |
sys-libs/zlib |
|
|
19 |
!libtirpc? ( sys-libs/glibc[rpc(-)] ) |
20 |
libtirpc? ( net-libs/libtirpc ) |
19 |
sasl? ( dev-libs/cyrus-sasl ) |
21 |
sasl? ( dev-libs/cyrus-sasl ) |
20 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
22 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
21 |
" |
23 |
" |
Lines 43-55
src_prepare() {
Link Here
|
43 |
epatch \ |
45 |
epatch \ |
44 |
"${FILESDIR}"/${PN}-3.0.8.1-disable-tcp-wrappers-automagic.patch \ |
46 |
"${FILESDIR}"/${PN}-3.0.8.1-disable-tcp-wrappers-automagic.patch \ |
45 |
"${FILESDIR}"/${PN}-3.0.5-Makefile.patch \ |
47 |
"${FILESDIR}"/${PN}-3.0.5-Makefile.patch \ |
46 |
"${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch |
48 |
"${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch \ |
|
|
49 |
"${FILESDIR}"/${PN}-3.0.8.2-rpc.patch |
50 |
|
51 |
epatch_user |
47 |
eautoreconf |
52 |
eautoreconf |
48 |
} |
53 |
} |
49 |
|
54 |
|
50 |
src_configure() { |
55 |
src_configure() { |
51 |
use debug && touch .debug # enable debugging |
56 |
use debug && touch .debug # enable debugging |
52 |
econf $(use_with tcpd wrappers) $(use_with sasl) |
57 |
econf $(use_with libtirpc) $(use_with tcpd wrappers) $(use_with sasl) |
53 |
} |
58 |
} |
54 |
|
59 |
|
55 |
src_compile() { |
60 |
src_compile() { |