/[gentoo-x86]/net-misc/tinc/tinc-1.0.24-r1.ebuild
Gentoo

Contents of /net-misc/tinc/tinc-1.0.24-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Sep 27 15:02:09 2014 UTC (5 years, 2 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix bashism, bug #523862

(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.24-r1.ebuild,v 1.1 2014/07/17 05:47:19 dlan Exp $
4
5 EAPI="5"
6 inherit systemd
7
8 DESCRIPTION="tinc is an easy to configure VPN implementation"
9 HOMEPAGE="http://www.tinc-vpn.org/"
10 SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
15 IUSE="+lzo uml vde +zlib"
16
17 DEPEND="dev-libs/openssl
18 lzo? ( dev-libs/lzo:2 )
19 zlib? ( sys-libs/zlib )"
20 RDEPEND="${DEPEND}
21 vde? ( net-misc/vde )"
22
23 src_configure() {
24 econf \
25 --enable-jumbograms \
26 --disable-tunemu \
27 $(use_enable lzo) \
28 $(use_enable uml) \
29 $(use_enable vde) \
30 $(use_enable zlib)
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install
35 dodir /etc/tinc
36 dodoc AUTHORS NEWS README THANKS
37 doconfd "${FILESDIR}"/tinc.networks
38 newconfd "${FILESDIR}"/tincd.conf tincd
39 newinitd "${FILESDIR}"/tincd-r1 tincd
40 systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"
41 }
42
43 pkg_postinst() {
44 elog "This package requires the tun/tap kernel device."
45 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20