Mercurial > hg > portage
changeset 488:093472aabdbc
use a modernized version of the ike source from github
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 09 Oct 2019 08:47:06 +0200 |
parents | 6df6fb0af440 |
children | 42fc528852c9 |
files | net-misc/ike/Manifest net-misc/ike/ike-2.2.1-r2.ebuild net-misc/ike/ike-2.2.1-r4.ebuild |
diffstat | 3 files changed, 53 insertions(+), 51 deletions(-) [+] |
line wrap: on
line diff
--- a/net-misc/ike/Manifest Tue Oct 08 10:06:50 2019 +0200 +++ b/net-misc/ike/Manifest Wed Oct 09 08:47:06 2019 +0200 @@ -1,4 +1,4 @@ AUX iked 243 BLAKE2B e455e506f58ce99c600e782e0cb12130365beeccd3dad2758ccf0885b99bb340b95854683eb12e7e0d735ada9ed39631fe36136b09d8ca2fb9dd992b43d5fa47 SHA512 3bd066ca386f2f956b7d11d551e1f071e9c90d107511b4ab6012470bd1f460e325dc5ea86f896558fc662b99bee31e61b21139d641418f5e6cc77a7cc3135021 DIST ike-2.2.1-release.tgz 843761 BLAKE2B bb43ee14be229015f2ad296c1dfda5ba11a3ba3d836abf3fd6a77dbe2fa445e0242ffa12b801a1e1eaa9609f7e2a07496104ed3ae03032723f0dd41a8a3f1ab8 SHA512 9eb4e8b8aa778b00a098531efc5761a53f39dbb13164e452e0c610e83fc5f23c28360b5baee6e60e0133450291dc0097dfd878a05ac86b5f93d504530411b5ce -EBUILD ike-2.2.1-r2.ebuild 1070 BLAKE2B 1f2f236ce8756c16a53e51e02ca2232031fbb6a416d7af31b561ac455c8a6ba2d0773474b59ab3c0762034729c9d824afdbd17ba896836e7e1c09a8197342356 SHA512 c95751b3c16875346cf7c396a38059c11eaf0809e2855b924d59f9553dc4d11ef237fb8092dac6aacfc8f1f884feaddb1cd00d174cce9e6e8453cc6feec9b374 EBUILD ike-2.2.1-r3.ebuild 1129 BLAKE2B f0eb5c097a978526766bc47e8bdb77f74cf7ba87c5acb235913462e5903533f42d99e7389a34aff5cded8c0cd2149dc656284bf34ff7b91361cccfecb5d9bcde SHA512 b189a4e9228734e9897ce7fb1685accebee43b90c9c8a62caade6ae87b87e9f04140f6665f076555707655925b327b3667b25ce3b5805938f775ed7d574b517d +EBUILD ike-2.2.1-r4.ebuild 1146 BLAKE2B 837be647da3faf763f2dbb0412c76b5ad18ad2787f1b389f565b67cab7062d00418233a762b6293096426ed4c7607857ba8d02c62f65be06fb0274ab96d008c7 SHA512 17da05a7b7d5e2951c5f2886549802ff6466592d565b9a40a0221b075d3442b714bf15c44fb316ded6752c3279c72f53e59aea9232cc08e0dac4af254d31b279
--- a/net-misc/ike/ike-2.2.1-r2.ebuild Tue Oct 08 10:06:50 2019 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -CMAKE_IN_SOURCE_BUILD="1" -inherit cmake-utils linux-info versionator - -MY_PV=$(replace_version_separator 3 '-' ${PV/rc}) -MY_P=${PN}-${PV}-release - -DESCRIPTION="Shrew soft VPN Client" -HOMEPAGE="http://www.shrew.net/" -SRC_URI="https://www.shrew.net/download/${PN}/${MY_P}.tgz" - -LICENSE="shrew" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ldap nat qt4" - -COMMON_DEPEND="dev-libs/libedit - dev-libs/openssl - qt4? ( dev-qt/qtcore:4 ) - ldap? ( net-nds/openldap )" -DEPEND="${COMMON_DEPEND} - dev-util/cmake - >=sys-devel/bison-2.3 - sys-devel/flex" -RDEPEND="${COMMON_DEPEND}" - -DOCS="CONTRIB.TXT README.TXT TODO.TXT" - -CONFIG_CHECK="INET_XFRM_MODE_TRANSPORT INET_XFRM_MODE_TUNNEL" - -S="${WORKDIR}/${PN}" - -src_configure(){ - mycmakeargs+=( $(cmake-utils_use ldap LDAP) - $(cmake-utils_use nat NATT) - $(cmake-utils_use qt4 QTGUI) - "-DMANDIR=/usr/share/man") - - cmake-utils_src_configure -} - -src_install(){ - cmake-utils_src_install - doinitd ${FILESDIR}/iked || die -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/ike/ike-2.2.1-r4.ebuild Wed Oct 09 08:47:06 2019 +0200 @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=7 + +CMAKE_IN_SOURCE_BUILD="1" +inherit cmake-utils git-r3 linux-info + +DESCRIPTION="Shrew soft VPN Client" +HOMEPAGE="http://www.shrew.net/" + +#EGIT_REPO_URI="https://github.com/yrro/${PN}" +#EGIT_OVERRIDE_COMMIT_YRRO_IKE="c3560d24bfe020a27ed886fd987b45387b213f0c" +EGIT_REPO_URI="https://github.com/dpolitis/shrew.net-vpn-openssl1.1.1" + +LICENSE="shrew" +SLOT="0" +KEYWORDS="~amd64" +IUSE="ldap nat qt4" + +COMMON_DEPEND="dev-libs/libedit + dev-libs/openssl + qt4? ( dev-qt/qtcore ) + ldap? ( net-nds/openldap )" +DEPEND="${COMMON_DEPEND} + dev-util/cmake + >=sys-devel/bison-2.3 + sys-devel/flex" +RDEPEND="${COMMON_DEPEND}" + +DOCS="CONTRIB.TXT README.TXT TODO.TXT" + +CONFIG_CHECK="INET_XFRM_TUNNEL" + +S="${WORKDIR}/${P}" + +src_configure(){ + mycmakeargs+=( -DLDAP=$(usex ldap) + -DNATT=$(usex nat) + -DQTGUI=$(usex qt4) + "-DMANDIR=/usr/share/man") + + cmake-utils_src_configure +} + +src_install(){ + cmake-utils_src_install + # multilib strict fix + mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die "mv failed" + doinitd ${FILESDIR}/iked || die +}