From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/badvpn: ChangeLog badvpn-1.999.126.ebuild |
Date: | Wed, 26 Dec 2012 02:22:37 |
Message-Id: | 20121226022200.5DF7D2171E@flycatcher.gentoo.org |
1 | hasufell 12/12/26 02:22:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: badvpn-1.999.126.ebuild |
5 | Log: |
6 | version bump by Ambroz Bizjak wrt #448226 |
7 | |
8 | (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 | |
10 | Revision Changes Path |
11 | 1.10 net-misc/badvpn/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/ChangeLog?rev=1.10&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/ChangeLog?rev=1.10&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/ChangeLog?r1=1.9&r2=1.10 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v |
20 | retrieving revision 1.9 |
21 | retrieving revision 1.10 |
22 | diff -u -r1.9 -r1.10 |
23 | --- ChangeLog 11 Dec 2012 16:56:32 -0000 1.9 |
24 | +++ ChangeLog 26 Dec 2012 02:22:00 -0000 1.10 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-misc/badvpn |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v 1.9 2012/12/11 16:56:32 axs Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v 1.10 2012/12/26 02:22:00 hasufell Exp $ |
30 | + |
31 | +*badvpn-1.999.126 (26 Dec 2012) |
32 | + |
33 | + 26 Dec 2012; Julian Ospald <hasufell@g.o> +badvpn-1.999.126.ebuild: |
34 | + version bump by Ambroz Bizjak wrt #448226 |
35 | |
36 | 11 Dec 2012; Ian Stakenvicius <axs@g.o> badvpn-1.999.123-r3.ebuild: |
37 | virtualize udev dependency |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/badvpn/badvpn-1.999.126.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/badvpn-1.999.126.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/badvpn-1.999.126.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: badvpn-1.999.126.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/badvpn-1.999.126.ebuild,v 1.1 2012/12/26 02:22:00 hasufell Exp $ |
51 | |
52 | EAPI=5 |
53 | inherit eutils cmake-utils user toolchain-funcs |
54 | |
55 | MY_P=${PN}-${PV/_rc/rc} |
56 | DESCRIPTION="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier" |
57 | HOMEPAGE="http://code.google.com/p/badvpn/" |
58 | SRC_URI="http://badvpn.googlecode.com/files/${MY_P}.tar.bz2" |
59 | |
60 | LICENSE="BSD" |
61 | KEYWORDS="~amd64 ~arm ~x86" |
62 | SLOT="0" |
63 | TARGETS="+client +ncd +server +tun2socks +udpgw" |
64 | IUSE="${TARGETS} debug" |
65 | # tests are only ncd related |
66 | RESTRICT="!ncd? ( test )" |
67 | |
68 | COMMON_DEPEND=" |
69 | client? ( |
70 | dev-libs/nspr |
71 | dev-libs/nss |
72 | dev-libs/openssl |
73 | ) |
74 | server? ( |
75 | dev-libs/nspr |
76 | dev-libs/nss |
77 | dev-libs/openssl |
78 | ) |
79 | ncd? ( |
80 | dev-libs/openssl |
81 | )" |
82 | RDEPEND="${COMMON_DEPEND} |
83 | ncd? ( |
84 | sys-apps/iproute2 |
85 | >=virtual/udev-171 |
86 | )" |
87 | DEPEND="${COMMON_DEPEND} |
88 | virtual/pkgconfig" |
89 | # we need at least one target |
90 | REQUIRED_USE="|| ( ${TARGETS//+/} )" |
91 | |
92 | S=${WORKDIR}/${MY_P} |
93 | |
94 | pkg_setup() { |
95 | enewuser ${PN} |
96 | } |
97 | |
98 | src_prepare() { |
99 | # allow user to easily apply patches |
100 | epatch_user |
101 | } |
102 | |
103 | src_configure() { |
104 | local mycmakeargs=( |
105 | -DBUILD_NOTHING_BY_DEFAULT=1 |
106 | $(cmake-utils_use_build client CLIENT) |
107 | $(cmake-utils_use_build server SERVER) |
108 | $(cmake-utils_use_build ncd NCD) |
109 | $(cmake-utils_use_build tun2socks TUN2SOCKS) |
110 | $(cmake-utils_use_build udpgw UDPGW) |
111 | ) |
112 | |
113 | cmake-utils_src_configure |
114 | } |
115 | |
116 | src_test() { |
117 | # OOHMSA: do this on portage level? |
118 | tc-is-cross-compiler && die "these tests do not work when cross compiling!" |
119 | |
120 | einfo "Running NCD tests" |
121 | cd "${S}"/ncd/tests || die |
122 | bash ./run_tests "${CMAKE_BUILD_DIR}/ncd/badvpn-ncd" \ |
123 | || die "one or more tests failed" |
124 | } |
125 | |
126 | src_install() { |
127 | cmake-utils_src_install |
128 | dodoc ChangeLog |
129 | |
130 | if use server; then |
131 | newinitd "${FILESDIR}"/${PN}-server.init ${PN}-server |
132 | newconfd "${FILESDIR}"/${PN}-server.conf ${PN}-server |
133 | fi |
134 | |
135 | if use ncd; then |
136 | newinitd "${FILESDIR}"/${PN}-ncd.init ${PN}-ncd |
137 | newconfd "${FILESDIR}"/${PN}-ncd.conf ${PN}-ncd |
138 | fi |
139 | } |