Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/keyutils/
Date: Wed, 30 Mar 2016 23:49:00
Message-Id: 1459381663.4d6b7d9a0b6af944a91d125862d6f90401eddb91.vapier@gentoo
1 commit: 4d6b7d9a0b6af944a91d125862d6f90401eddb91
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 23:10:07 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 30 23:47:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6b7d9a
7
8 sys-apps/keyutils: drop old <1.5.9-r1 versions
9
10 sys-apps/keyutils/Manifest | 2 -
11 sys-apps/keyutils/keyutils-1.5.5.ebuild | 69 ---------------------------------
12 sys-apps/keyutils/keyutils-1.5.8.ebuild | 69 ---------------------------------
13 sys-apps/keyutils/keyutils-1.5.9.ebuild | 69 ---------------------------------
14 4 files changed, 209 deletions(-)
15
16 diff --git a/sys-apps/keyutils/Manifest b/sys-apps/keyutils/Manifest
17 index f984f80..08c5655 100644
18 --- a/sys-apps/keyutils/Manifest
19 +++ b/sys-apps/keyutils/Manifest
20 @@ -1,3 +1 @@
21 -DIST keyutils-1.5.5.tar.bz2 63397 SHA256 8fab781fb2d1450b2112a7fbfe6629522ae5a6b901f875a74a201012025a3fc5 SHA512 372a4881ca5cd679de0e6baa4e0e8c61ec8163b9259b018e1eb4db51fca68c0326d82a745abce96d22de367e88c88fa13b8afe438acfb38af799893630d3ba75 WHIRLPOOL 15c03983e18471b97e10f378d97c6e7e9ac7045c1f4721382f500cd8796f4a55575420b515b870ef94714bfb3dc62cb954e66efb2835fcb671c98d2f9ab33ae9
22 -DIST keyutils-1.5.8.tar.bz2 64880 SHA256 6c7da37272eb39abc2ebafc9ba4a580d7cf8725b61e1db21e508de7ab24b819c SHA512 f69b1acd3bff2a821ce31c6a772eea68dfbe57bb1d6128fa344ab9688c9110733b1432176e42b67648ff3a01200f4adbb92e4577132539b4c4af817027ed8f19 WHIRLPOOL e4c8d18c8ea48346a759f0e379a2bb3e6faf30f9c4a4b794485a612e25bbe86a81833e68e28b2def668faa4ff41d476ed5a6cbf105ef76bb31a02169b879f9b6
23 DIST keyutils-1.5.9.tar.bz2 74683 SHA256 4da2c5552c688b65ab14d4fd40fbdf720c8b396d8ece643e040cf6e707e083ae SHA512 d4ee1dabb87844e18bfd8d094a5bc9ce792c96720b71e77961b6c36bb1addb9acea2a7004ddfba1d09b167af908368162312e5c3656b22a6266955bb57b887e2 WHIRLPOOL 0509cce076a32d2f319f596506d4aaeb83e1853ee6337e6a3041e6957e9098f4482ae56a9c6455605b72b3f34701a890e9be666b6fdd752ff14a3d3564dcba19
24
25 diff --git a/sys-apps/keyutils/keyutils-1.5.5.ebuild b/sys-apps/keyutils/keyutils-1.5.5.ebuild
26 deleted file mode 100644
27 index 29ab4b9..0000000
28 --- a/sys-apps/keyutils/keyutils-1.5.5.ebuild
29 +++ /dev/null
30 @@ -1,69 +0,0 @@
31 -# Copyright 1999-2014 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI="3"
36 -
37 -inherit multilib eutils toolchain-funcs linux-info
38 -
39 -DESCRIPTION="Linux Key Management Utilities"
40 -HOMEPAGE="https://people.redhat.com/dhowells/keyutils/"
41 -SRC_URI="https://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
42 -
43 -LICENSE="GPL-2 LGPL-2.1"
44 -SLOT="0"
45 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
46 -IUSE="test"
47 -
48 -DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
49 -
50 -pkg_setup() {
51 - CONFIG_CHECK="~KEYS"
52 - use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
53 - ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
54 - ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
55 - linux-info_pkg_setup
56 -}
57 -
58 -src_prepare() {
59 - epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
60 - sed -i \
61 - -e '1iRPATH=' \
62 - -e '/^C.*FLAGS/s|:=|+=|' \
63 - -e 's:-Werror::' \
64 - -e '/^BUILDFOR/s:=.*:=:' \
65 - -e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
66 - -e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
67 - Makefile || die
68 -
69 - # The lsb check is useless, so avoid spurious command not found messages.
70 - sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
71 - # All the test files are bash, but try to execute via `sh`.
72 - sed -i -r \
73 - -e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
74 - tests/{Makefile*,*.sh} || die
75 - find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
76 - # Some tests call the kernel which calls userspace, but that will
77 - # run the install keyutils rather than the locally compiled one,
78 - # so disable round trip tests.
79 - rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
80 -}
81 -
82 -src_configure() {
83 - tc-export CC
84 - tc-export AR
85 -}
86 -
87 -src_test() {
88 - # Execute the locally compiled code rather than the
89 - # older versions already installed in the system.
90 - LD_LIBRARY_PATH=${S} \
91 - PATH="${S}:${PATH}" \
92 - emake test || die
93 -}
94 -
95 -src_install() {
96 - emake DESTDIR="${ED}" install || die
97 - dodoc README
98 - gen_usr_ldscript -a keyutils
99 -}
100
101 diff --git a/sys-apps/keyutils/keyutils-1.5.8.ebuild b/sys-apps/keyutils/keyutils-1.5.8.ebuild
102 deleted file mode 100644
103 index 5ac75dc..0000000
104 --- a/sys-apps/keyutils/keyutils-1.5.8.ebuild
105 +++ /dev/null
106 @@ -1,69 +0,0 @@
107 -# Copyright 1999-2014 Gentoo Foundation
108 -# Distributed under the terms of the GNU General Public License v2
109 -# $Id$
110 -
111 -EAPI="5"
112 -
113 -inherit multilib eutils toolchain-funcs linux-info
114 -
115 -DESCRIPTION="Linux Key Management Utilities"
116 -HOMEPAGE="https://people.redhat.com/dhowells/keyutils/"
117 -SRC_URI="https://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
118 -
119 -LICENSE="GPL-2 LGPL-2.1"
120 -SLOT="0"
121 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
122 -IUSE="test"
123 -
124 -DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
125 -
126 -pkg_setup() {
127 - CONFIG_CHECK="~KEYS"
128 - use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
129 - ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
130 - ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
131 - linux-info_pkg_setup
132 -}
133 -
134 -src_prepare() {
135 - epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
136 - sed -i \
137 - -e '1iRPATH=' \
138 - -e '/^C.*FLAGS/s|:=|+=|' \
139 - -e 's:-Werror::' \
140 - -e '/^BUILDFOR/s:=.*:=:' \
141 - -e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
142 - -e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
143 - Makefile || die
144 -
145 - # The lsb check is useless, so avoid spurious command not found messages.
146 - sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
147 - # All the test files are bash, but try to execute via `sh`.
148 - sed -i -r \
149 - -e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
150 - tests/{Makefile*,*.sh} || die
151 - find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
152 - # Some tests call the kernel which calls userspace, but that will
153 - # run the install keyutils rather than the locally compiled one,
154 - # so disable round trip tests.
155 - rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
156 -}
157 -
158 -src_configure() {
159 - tc-export CC
160 - tc-export AR
161 -}
162 -
163 -src_test() {
164 - # Execute the locally compiled code rather than the
165 - # older versions already installed in the system.
166 - LD_LIBRARY_PATH=${S} \
167 - PATH="${S}:${PATH}" \
168 - emake test || die
169 -}
170 -
171 -src_install() {
172 - emake DESTDIR="${ED}" install || die
173 - dodoc README
174 - gen_usr_ldscript -a keyutils
175 -}
176
177 diff --git a/sys-apps/keyutils/keyutils-1.5.9.ebuild b/sys-apps/keyutils/keyutils-1.5.9.ebuild
178 deleted file mode 100644
179 index 4457f56..0000000
180 --- a/sys-apps/keyutils/keyutils-1.5.9.ebuild
181 +++ /dev/null
182 @@ -1,69 +0,0 @@
183 -# Copyright 1999-2014 Gentoo Foundation
184 -# Distributed under the terms of the GNU General Public License v2
185 -# $Id$
186 -
187 -EAPI="5"
188 -
189 -inherit multilib eutils toolchain-funcs linux-info
190 -
191 -DESCRIPTION="Linux Key Management Utilities"
192 -HOMEPAGE="https://people.redhat.com/dhowells/keyutils/"
193 -SRC_URI="https://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
194 -
195 -LICENSE="GPL-2 LGPL-2.1"
196 -SLOT="0"
197 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
198 -IUSE="test"
199 -
200 -DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
201 -
202 -pkg_setup() {
203 - CONFIG_CHECK="~KEYS"
204 - use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
205 - ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
206 - ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
207 - linux-info_pkg_setup
208 -}
209 -
210 -src_prepare() {
211 - epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
212 - sed -i \
213 - -e '1iRPATH=' \
214 - -e '/^C.*FLAGS/s|:=|+=|' \
215 - -e 's:-Werror::' \
216 - -e '/^BUILDFOR/s:=.*:=:' \
217 - -e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
218 - -e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
219 - Makefile || die
220 -
221 - # The lsb check is useless, so avoid spurious command not found messages.
222 - sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
223 - # All the test files are bash, but try to execute via `sh`.
224 - sed -i -r \
225 - -e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
226 - tests/{Makefile*,*.sh} || die
227 - find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
228 - # Some tests call the kernel which calls userspace, but that will
229 - # run the install keyutils rather than the locally compiled one,
230 - # so disable round trip tests.
231 - rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
232 -}
233 -
234 -src_configure() {
235 - tc-export CC
236 - tc-export AR
237 -}
238 -
239 -src_test() {
240 - # Execute the locally compiled code rather than the
241 - # older versions already installed in the system.
242 - LD_LIBRARY_PATH=${S} \
243 - PATH="${S}:${PATH}" \
244 - emake test
245 -}
246 -
247 -src_install() {
248 - emake DESTDIR="${ED}" install
249 - dodoc README
250 - gen_usr_ldscript -a keyutils
251 -}