Gentoo Archives: gentoo-commits

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/dynamips/, app-emulation/dynamips/files/
Date: Wed, 03 Oct 2018 10:22:04
Message-Id: 1538562096.5348dfdd461a4a7fcd3b58f5aec1311f6612fcbb.pinkbyte@gentoo
1 commit: 5348dfdd461a4a7fcd3b58f5aec1311f6612fcbb
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 3 10:16:35 2018 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 3 10:21:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5348dfdd
7
8 app-emulation/dynamips: version bump
9
10 Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 app-emulation/dynamips/Manifest | 1 +
14 app-emulation/dynamips/dynamips-0.2.18.ebuild | 40 ++++++++++++++++++++++
15 .../dynamips/files/dynamips-0.2.18-docs.patch | 20 +++++++++++
16 3 files changed, 61 insertions(+)
17
18 diff --git a/app-emulation/dynamips/Manifest b/app-emulation/dynamips/Manifest
19 index 3e4504e4962..49458378e13 100644
20 --- a/app-emulation/dynamips/Manifest
21 +++ b/app-emulation/dynamips/Manifest
22 @@ -1 +1,2 @@
23 DIST dynamips-0.2.14-source.zip 961813 BLAKE2B 71da393bfd5624ad47eda578eafd0f5b8b535d9a93c3ebc8902901c0415168098bb27ea44e92cbb230d0cf2ebb904311665978f1b30e6d35c7792b813a5cd8d2 SHA512 8c3d85998a61cae1e3e82501a00e886c954686f9a19a44acb7dee8b13911c0155ce2cdfecbdc41ed5d279266abdf77a5c3f2753fde12217b138313ffa46dabf8
24 +DIST dynamips-0.2.18.tar.gz 833554 BLAKE2B 8152b436e8fc43061c5603a44ceae8feebdd4593649d2fb6a1814ca22cfce2f671f6f98df5f03ee6eeef10cf09fc444d406edd8d3b4a6037a89cf0e8301774ac SHA512 d66e32d72ecc9ebff5232377ac9aa5b966ceb08884cc7f8dc4a8cf3f56305e7cefd677624ba66278f6603a3b275c384bd0ff3905932461b1f8056106cd272a4c
25
26 diff --git a/app-emulation/dynamips/dynamips-0.2.18.ebuild b/app-emulation/dynamips/dynamips-0.2.18.ebuild
27 new file mode 100644
28 index 00000000000..1b58ec9cfda
29 --- /dev/null
30 +++ b/app-emulation/dynamips/dynamips-0.2.18.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit cmake-utils
38 +
39 +DESCRIPTION="Cisco 7200/3600 Simulator"
40 +HOMEPAGE="https://github.com/GNS3/dynamips"
41 +SRC_URI="https://github.com/GNS3/dynamips/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +IUSE="ipv6"
48 +
49 +RDEPEND="dev-libs/elfutils
50 + net-libs/libpcap"
51 +DEPEND="${RDEPEND}
52 + app-arch/unzip"
53 +
54 +DOCS=( ChangeLog README.md RELEASE-NOTES )
55 +
56 +PATCHES=( "${FILESDIR}/${P}-docs.patch" )
57 +
58 +src_prepare() {
59 + # comment out DYNAMIPS_FLAGS to respect CFLAGS
60 + sed -e "s:^set ( DYNAMIPS_FLAGS:#&:" -i cmake/dependencies.cmake || die
61 +
62 + cmake-utils_src_prepare
63 +}
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + -DANY_COMPILER=1
68 + -DENABLE_IPV6="$(usex ipv6)"
69 + )
70 + cmake-utils_src_configure
71 +}
72
73 diff --git a/app-emulation/dynamips/files/dynamips-0.2.18-docs.patch b/app-emulation/dynamips/files/dynamips-0.2.18-docs.patch
74 new file mode 100644
75 index 00000000000..d94da32812b
76 --- /dev/null
77 +++ b/app-emulation/dynamips/files/dynamips-0.2.18-docs.patch
78 @@ -0,0 +1,20 @@
79 +--- a/CMakeLists.txt 2018-09-28 13:12:14 +0300
80 ++++ b/CMakeLists.txt 2018-09-28 13:12:39 +0300
81 +@@ -37,16 +37,6 @@
82 + add_subdirectory ( stable )
83 + add_subdirectory ( unstable )
84 +
85 +-install_docs (
86 +- "ChangeLog"
87 +- "COPYING"
88 +- "MAINTAINERS"
89 +- "README.md"
90 +- "README.hypervisor"
91 +- "RELEASE-NOTES"
92 +- "TODO"
93 +- )
94 +-
95 + # uninstall target - leaves behind any directory created during install
96 + set ( _templatefile "${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" )
97 + set ( _scriptfile "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake" )
98 +