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

Contents of /net-misc/tinc/tinc-1.0.25.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jul 6 13:58:35 2015 UTC (4 years, 6 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Version bump.  Clean up older versions.  Add subslot deps for openssl and readline.

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

1 blueness 1.2 # Copyright 1999-2015 Gentoo Foundation
2 blueness 1.1 # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.25.ebuild,v 1.1 2014/12/22 18:55:28 blueness Exp $
4 blueness 1.1
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 blueness 1.2 DEPEND="dev-libs/openssl:=
18 blueness 1.1 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