annotate net-misc/ike/ike-2.2.1-r2.ebuild @ 505:cf7ebc4098d5

Automated merge with https://localhost/hg/portage
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 01 Feb 2019 04:59:35 +0100
parents 6bfdb5107178
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2010 Gentoo Foundation
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: $
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
444
20f79c3e04b5 update ike ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 443
diff changeset
5 EAPI=5
420
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 CMAKE_IN_SOURCE_BUILD="1"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 inherit cmake-utils linux-info versionator
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 MY_PV=$(replace_version_separator 3 '-' ${PV/rc})
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 MY_P=${PN}-${PV}-release
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 DESCRIPTION="Shrew soft VPN Client"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 HOMEPAGE="http://www.shrew.net/"
444
20f79c3e04b5 update ike ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 443
diff changeset
15 SRC_URI="https://www.shrew.net/download/${PN}/${MY_P}.tgz"
420
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 LICENSE="shrew"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 SLOT="0"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 KEYWORDS="~amd64 ~x86"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 IUSE="ldap nat qt4"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 COMMON_DEPEND="dev-libs/libedit
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 dev-libs/openssl
460
6bfdb5107178 fix the qt4 dependency
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 444
diff changeset
24 qt4? ( dev-qt/qtcore:4 )
420
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 ldap? ( net-nds/openldap )"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 DEPEND="${COMMON_DEPEND}
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 dev-util/cmake
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 >=sys-devel/bison-2.3
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 sys-devel/flex"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 RDEPEND="${COMMON_DEPEND}"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 DOCS="CONTRIB.TXT README.TXT TODO.TXT"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 CONFIG_CHECK="INET_XFRM_MODE_TRANSPORT INET_XFRM_MODE_TUNNEL"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 S="${WORKDIR}/${PN}"
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 src_configure(){
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 mycmakeargs+=( $(cmake-utils_use ldap LDAP)
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 $(cmake-utils_use nat NATT)
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 $(cmake-utils_use qt4 QTGUI)
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 "-DMANDIR=/usr/share/man")
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 cmake-utils_src_configure
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 }
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 src_install(){
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 cmake-utils_src_install
421
c46da1a0f7c2 remove the -r1 ebuild, update the init script in place
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 420
diff changeset
49 doinitd ${FILESDIR}/iked || die
420
a298747fa05d use openrc-run instead of runscript in the init script
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 }