Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 371357 | Differences between
and this patch

Collapse All | Expand All

(-)a/tinc-1.0.16.ebuild (-3 / +9 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2011 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
# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16.ebuild,v 1.1 2011/09/23 18:51:26 blueness Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16.ebuild,v 1.2
4
4
5
EAPI=4
5
EAPI=4
6
6
Lines 11-21 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
13
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
14
IUSE="+lzo +zlib"
14
IUSE="+lzo +zlib +syslog"
15
15
16
DEPEND=">=dev-libs/openssl-0.9.7c
16
DEPEND=">=dev-libs/openssl-0.9.7c
17
	lzo? ( dev-libs/lzo:2 )
17
	lzo? ( dev-libs/lzo:2 )
18
	zlib? ( >=sys-libs/zlib-1.1.4-r2 )"
18
	zlib? ( >=sys-libs/zlib-1.1.4-r2 )
19
	syslog? ( app-admin/syslog-ng )"
19
20
20
src_configure() {
21
src_configure() {
21
	econf  --enable-jumbograms $(use_enable lzo) $(use_enable zlib)  || die
22
	econf  --enable-jumbograms $(use_enable lzo) $(use_enable zlib)  || die
Lines 26-31 Link Here
26
	dodir /etc/tinc
27
	dodir /etc/tinc
27
	dodoc AUTHORS NEWS README THANKS
28
	dodoc AUTHORS NEWS README THANKS
28
	doinitd "${FILESDIR}"/tincd{,.lo}
29
	doinitd "${FILESDIR}"/tincd{,.lo}
30
	if use syslog; then
31
		newinitd "${FILESDIR}"/tincdsyslog tincd || die "newinitd failed!"
32
	else
33
		newinitd "${FILESDIR}"/tincdnosyslog tincd || die "newinitd failed!"
34
	fi
29
	doconfd "${FILESDIR}"/tinc.networks
35
	doconfd "${FILESDIR}"/tinc.networks
30
	newconfd "${FILESDIR}"/tincd.conf tincd
36
	newconfd "${FILESDIR}"/tincd.conf tincd
31
}
37
}

Return to bug 371357