1 |
hasufell 13/11/21 21:07:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: badvpn-1.999.128.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.16 net-misc/badvpn/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/ChangeLog?rev=1.16&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/ChangeLog?rev=1.16&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/ChangeLog?r1=1.15&r2=1.16 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v |
20 |
retrieving revision 1.15 |
21 |
retrieving revision 1.16 |
22 |
diff -u -r1.15 -r1.16 |
23 |
--- ChangeLog 26 Jun 2013 12:00:44 -0000 1.15 |
24 |
+++ ChangeLog 21 Nov 2013 21:07:48 -0000 1.16 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/badvpn |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v 1.15 2013/06/26 12:00:44 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v 1.16 2013/11/21 21:07:48 hasufell Exp $ |
30 |
+ |
31 |
+*badvpn-1.999.128 (21 Nov 2013) |
32 |
+ |
33 |
+ 21 Nov 2013; Julian Ospald <hasufell@g.o> +badvpn-1.999.128.ebuild: |
34 |
+ version bump |
35 |
|
36 |
26 Jun 2013; Agostino Sarubbo <ago@g.o> badvpn-1.999.127.ebuild: |
37 |
Stable for arm, wrt bug #474404 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/badvpn/badvpn-1.999.128.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/badvpn-1.999.128.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/badvpn/badvpn-1.999.128.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: badvpn-1.999.128.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.128.ebuild,v 1.1 2013/11/21 21:07:48 hasufell Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit eutils cmake-utils user toolchain-funcs systemd |
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}-1.999.127-ncd.init ${PN}-ncd |
137 |
newconfd "${FILESDIR}"/${PN}-ncd.conf ${PN}-ncd |
138 |
systemd_dounit "${FILESDIR}"/badvpn-ncd.service |
139 |
fi |
140 |
} |