Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/ekopath: ekopath-5.0.5_pre20150226.ebuild ChangeLog
Date: Sat, 28 Feb 2015 21:55:27
Message-Id: 20150228215522.B5BE712C30@oystercatcher.gentoo.org
1 mgorny 15/02/28 21:55:22
2
3 Modified: ChangeLog
4 Added: ekopath-5.0.5_pre20150226.ebuild
5 Log:
6 Version bump. Correct LICENSE.
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.23 dev-lang/ekopath/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 4 Jan 2015 15:29:10 -0000 1.22
24 +++ ChangeLog 28 Feb 2015 21:55:22 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-lang/ekopath
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.22 2015/01/04 15:29:10 anarchy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.23 2015/02/28 21:55:22 mgorny Exp $
30 +
31 +*ekopath-5.0.5_pre20150226 (28 Feb 2015)
32 +
33 + 28 Feb 2015; Michał Górny <mgorny@g.o>
34 + +ekopath-5.0.5_pre20150226.ebuild:
35 + Version bump. Correct LICENSE.
36
37 04 Jan 2015; <anarchy@g.o> ekopath-5.0.1_pre20131115.ebuild:
38 Use XT_PAX for marking the installer as EI_PAX is obsolete and PT_PAX breaks
39
40
41
42 1.1 dev-lang/ekopath/ekopath-5.0.5_pre20150226.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-5.0.5_pre20150226.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-5.0.5_pre20150226.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ekopath-5.0.5_pre20150226.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-5.0.5_pre20150226.ebuild,v 1.1 2015/02/28 21:55:22 mgorny Exp $
52
53 EAPI=5
54
55 inherit versionator multilib pax-utils
56
57 MY_PV=$(get_version_component_range 1-3)
58 DATE=$(get_version_component_range 4)
59 DATE=${DATE/pre}
60 DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
61
62 DESCRIPTION="PathScale EKOPath Compiler Suite"
63 HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
64 SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
65 -> ${P}.run"
66
67 LICENSE="all-rights-reserved"
68 SLOT="0"
69 KEYWORDS="~amd64"
70 IUSE=""
71
72 DEPEND="!!app-arch/rpm"
73 RDEPEND=""
74
75 RESTRICT="mirror"
76
77 QA_PREBUILT="
78 opt/${PN}/lib/${MY_PV}/x8664/*
79 opt/${PN}/bin/*"
80
81 S="${WORKDIR}"
82
83 src_unpack() {
84 cp "${DISTDIR}"/${A} "${S}" || die
85 chmod +x "${S}"/${P}.run
86 }
87
88 src_prepare() {
89 cat > 99${PN} <<-EOF
90 PATH=${EROOT%/}/opt/${PN}/bin
91 ROOTPATH=${EROOT%/}/opt/${PN}/bin
92 LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
93 MANPATH=${EROOT%/}/opt/${PN}/docs/man
94 EOF
95 }
96
97 src_install() {
98 # sad stuff bug #511016
99 # local libdir
100 # for libdir in $(get_all_libdirs); do
101 # addpredict /${libdir}/libpthread.so.0
102 # addpredict /${libdir}/libc.so.6
103 # addpredict /${libdir}/ld-linux-x86-64.so.2
104 # addpredict /usr/${libdir}/libpthread.a
105 # addpredict /usr/${libdir}/libc.a
106 # addpredict /usr/${libdir}/libpthread_nonshared.a
107 # addpredict /usr/${libdir}/libc_nonshared.a
108 # addpredict /usr/${libdir}/libdl.a
109 # addpredict /usr/${libdir}/libm.a
110 # addpredict /usr/${libdir}/libdl.so
111 # addpredict /usr/${libdir}/libm.so
112 # addpredict /usr/${libdir}/crti.o
113 # addpredict /usr/${libdir}/crt1.o
114 # addpredict /usr/${libdir}/crtn.o
115 # done
116
117 # EI_PAX marking is obsolete and PT_PAX breaks the binary.
118 # We must use XT_PAX to run the installer.
119 if [[ ${PAX_MARKINGS} == "XT" ]]; then
120 pax-mark m ${P}.run
121 fi
122
123 ./${P}.run \
124 --prefix "${ED%/}/opt/${PN}" \
125 --mode unattended || die
126
127 # This is a temporary/partial fix to remove a RWX GNU STACK header
128 # from libstl.so. It still leaves libstl.a in bad shape.
129 # The correct fix is in the assembly atomic-cxx.S, which we don't get
130 # See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
131 # Section 6. How to fix the stack (in practice)
132 # scanelf -Xe "${ED}/opt/ekopath/lib/${MY_PV}/x8664/64/libstl.so"
133
134 rm -r "${ED}"/opt/${PN}/uninstall || die
135 doenvd 99${PN}
136 }