Mercurial > hg > portage
annotate net-misc/ike/ike-2.2.1-r4.ebuild @ 553:c1392389cf02
Remove old kernels
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Fri, 28 May 2021 07:42:57 +0200 |
parents | 093472aabdbc |
children |
rev | line source |
---|---|
488
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # Copyright 1999-2010 Gentoo Foundation |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 # $Header: $ |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 EAPI=7 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 CMAKE_IN_SOURCE_BUILD="1" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 inherit cmake-utils git-r3 linux-info |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 DESCRIPTION="Shrew soft VPN Client" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 HOMEPAGE="http://www.shrew.net/" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 #EGIT_REPO_URI="https://github.com/yrro/${PN}" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 #EGIT_OVERRIDE_COMMIT_YRRO_IKE="c3560d24bfe020a27ed886fd987b45387b213f0c" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 EGIT_REPO_URI="https://github.com/dpolitis/shrew.net-vpn-openssl1.1.1" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 LICENSE="shrew" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 SLOT="0" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 KEYWORDS="~amd64" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 IUSE="ldap nat qt4" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 COMMON_DEPEND="dev-libs/libedit |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 dev-libs/openssl |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 qt4? ( dev-qt/qtcore ) |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 ldap? ( net-nds/openldap )" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 DEPEND="${COMMON_DEPEND} |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 dev-util/cmake |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 >=sys-devel/bison-2.3 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 sys-devel/flex" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 RDEPEND="${COMMON_DEPEND}" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 DOCS="CONTRIB.TXT README.TXT TODO.TXT" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 CONFIG_CHECK="INET_XFRM_TUNNEL" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 S="${WORKDIR}/${P}" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 src_configure(){ |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 mycmakeargs+=( -DLDAP=$(usex ldap) |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 -DNATT=$(usex nat) |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 -DQTGUI=$(usex qt4) |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 "-DMANDIR=/usr/share/man") |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 cmake-utils_src_configure |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
45 } |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
46 |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
47 src_install(){ |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
48 cmake-utils_src_install |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
49 # multilib strict fix |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
50 mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die "mv failed" |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
51 doinitd ${FILESDIR}/iked || die |
093472aabdbc
use a modernized version of the ike source from github
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
52 } |