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

Contents of /net-misc/tinc/tinc-1.0.22-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Aug 31 10:17:17 2013 UTC (15 months, 3 weeks ago) by blueness
Branch: MAIN
Fix systemd unit file, bug #479596

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

1 # Copyright 1999-2013 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.22-r1.ebuild,v 1.1 2013/08/30 23:58:02 blueness 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-0.9.7
18 lzo? ( dev-libs/lzo:2 )
19 zlib? ( >=sys-libs/zlib-1.1.4 )"
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 doinitd "${FILESDIR}"/tincd
38 doinitd "${FILESDIR}"/tincd.lo
39 doconfd "${FILESDIR}"/tinc.networks
40 newconfd "${FILESDIR}"/tincd.conf tincd
41 systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"
42 }
43
44 pkg_postinst() {
45 elog "This package requires the tun/tap kernel device."
46 elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20