Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/osptoolkit/
Date: Sun, 12 Feb 2017 11:32:39
Message-Id: 1486899124.7bf5750ecf710d2c2a7fab98934dc752a04ff368.soap@gentoo
1 commit: 7bf5750ecf710d2c2a7fab98934dc752a04ff368
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 12 10:12:07 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 12 11:32:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf5750e
7
8 net-libs/osptoolkit: Remove old
9
10 Bug: https://bugs.gentoo.org/show_bug.cgi?id=581058
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13 Closes: https://github.com/gentoo/gentoo/pull/3928
14
15 net-libs/osptoolkit/Manifest | 2 -
16 net-libs/osptoolkit/osptoolkit-3.5.0.ebuild | 94 -----------------------------
17 net-libs/osptoolkit/osptoolkit-4.1.5.ebuild | 94 -----------------------------
18 3 files changed, 190 deletions(-)
19
20 diff --git a/net-libs/osptoolkit/Manifest b/net-libs/osptoolkit/Manifest
21 index 0a5720a2d8..9b7734221f 100644
22 --- a/net-libs/osptoolkit/Manifest
23 +++ b/net-libs/osptoolkit/Manifest
24 @@ -1,3 +1 @@
25 -DIST OSPToolkit-3.5.0.tar.gz 393788 SHA256 b15e2b8deec032c1e12dcbf28e2fe2b3f964ebab647e0705ec051bf17932d7b1 SHA512 2687bed2a8d67c7571c1b5a854b8204120e19b0105af16cbdfed58ac2462cf6d5805760dc23a4565d696fef5b9b5207ae9ae3489797f5cf2cfdf0a46af9fa82e WHIRLPOOL 34c303097d70d91e23a4e0ac4d1a8638915d42db9999de2367543934571675e0546ca81940b9a597e482d4da5cccea3f314ecb9329d6ce97a7422c8ad62dbf16
26 -DIST OSPToolkit-4.1.5.tar.gz 408481 SHA256 a0bf3247494375e63a75b4520c5c9aaaa0ed1423df54a013598c83a95846fccf SHA512 cc6244c0a62167ce90c85e646b13c991cac6d3663888ca4738666675f3c6c4904463e8502de376eab40cfd89e1d5c3d208d4ccaa58a95ed7a5895d74ea31aecc WHIRLPOOL 86111ab57301cf056a0ae9da56ce6a3bf2bbfcdd3c590f2447985420f204321a7e92ae747d2abae8e27d80e500f364f4982395311547c903de00eeaf1eef1d91
27 DIST OSPToolkit-4.13.0.tar.gz 422064 SHA256 e12771340b5c33f22d006a7cc03c952be8a11e9af1d531136ecadcfa2a8d2483 SHA512 35e54350cdecf0367af47986a7c3eddfcdf924b0d6e7c52ccccdecd96d3d64ba7f8d8d266cc4d26708f0741e40eeff80db4690272702c35d4e5bafba745776bf WHIRLPOOL ab918e6f054038802dbf1220c5e698a3b64815b6326a23fa6a9114ffe5376b19ac2779acfcda0c44967374e08355d20f7d75e0794b123ad1aa7e4fd55595ba25
28
29 diff --git a/net-libs/osptoolkit/osptoolkit-3.5.0.ebuild b/net-libs/osptoolkit/osptoolkit-3.5.0.ebuild
30 deleted file mode 100644
31 index b19794eb3d..0000000000
32 --- a/net-libs/osptoolkit/osptoolkit-3.5.0.ebuild
33 +++ /dev/null
34 @@ -1,94 +0,0 @@
35 -# Copyright 1999-2011 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI="2"
40 -
41 -inherit eutils multilib toolchain-funcs
42 -
43 -S_DATE="20090302"
44 -
45 -DESCRIPTION="Open Settlement Protocol development kit"
46 -HOMEPAGE="http://www.transnexus.com/OSP%20Toolkit/OSP%20Toolkit%20Documents/OSP%20Toolkit%20Documents.htm"
47 -SRC_URI="mirror://sourceforge/osp-toolkit/OSPToolkit-${PV}.tar.gz"
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -KEYWORDS="amd64 x86"
52 -IUSE=""
53 -
54 -RDEPEND="dev-libs/openssl"
55 -DEPEND="${RDEPEND}"
56 -
57 -S="${WORKDIR}"/TK-${PV//./_}-${S_DATE}
58 -
59 -# TODO:
60 -# generate a shared lib
61 -
62 -# NOTES:
63 -# osptest isn't a test that can be used for src_test, it's part of the toolkit
64 -
65 -src_prepare() {
66 - # remove -O and use users CFLAGS, see bug 241034
67 - sed -i -e "s/ -O//" -e "s/^CFLAGS =/CFLAGS +=/" src/Makefile test/Makefile \
68 - enroll/Makefile || die "patching Makefiles failed"
69 -
70 - # use users LDFLAGS
71 - sed -i -e "s:LFLAGS:LDFLAGS:" test/Makefile \
72 - || die "patching test/Makefile failed"
73 - sed -i -e "s:\(\$(LIBS\):\$(LDFLAGS) \1:" enroll/Makefile \
74 - || die "patching enroll/Makefile failed"
75 -
76 - # change lib dir to $(get_libdir)
77 - sed -i -e "s:\$(INSTALL_PATH)/lib:\$(INSTALL_PATH)/$(get_libdir):" \
78 - src/Makefile || die "patching src/Makefile failed"
79 -
80 - # test.cfg is located in /etc/${PN}/test.cfg
81 - sed -i -e \
82 - "s:\(^#define CONFIG_FILENAME.*\"\).*\(test.cfg\"\):\1/etc/${PN}/\2:" \
83 - test/test_app.c || die "patching test/test_app.c failed"
84 -
85 - # configure enroll.sh
86 - sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/${PN}/openssl.cnf:" \
87 - -e "s:^\(RANDFILE\).*:\1=\/etc/${PN}/.rnd:" \
88 - bin/enroll.sh || die "patching bin/enroll.sh failed"
89 -
90 - # change enroll path
91 - sed -i -e "s:^\(enroll\):/usr/lib/${PN}/\1:" \
92 - bin/enroll.sh || die "patching bin/enroll.sh failed"
93 -}
94 -
95 -src_compile() {
96 - local my_cc=$(tc-getCC)
97 -
98 - emake -C src CC="${my_cc}" build || die "emake libosp failed"
99 - emake -C enroll CC="${my_cc}" linux || die "emake enroll failed"
100 - emake -C test CC="${my_cc}" linux || die "emake test failed"
101 -}
102 -
103 -src_install() {
104 - local ospdir="/usr/$(get_libdir)/${PN}"
105 -
106 - emake -C src INSTALL_PATH="${D}"/usr install || die "emake install failed"
107 -
108 - insinto /etc/${PN}
109 - doins bin/test.cfg bin/.rnd bin/openssl.cnf || die "doins failed"
110 -
111 - # install enroll and enroll.sh in lib dir to prevent executing them
112 - dodir ${ospdir}
113 - exeinto ${ospdir}
114 - doexe bin/enroll bin/enroll.sh || die "doexe failed"
115 -
116 - # use the symlink to execute enroll.sh
117 - dosym ${ospdir}/enroll.sh /usr/bin/ospenroll || die "dosym failed"
118 -
119 - newbin bin/test_app osptest || die "newbin failed"
120 -
121 - dodoc README.txt RELNOTES.txt || die "dodoc failed"
122 -}
123 -
124 -pkg_postinst() {
125 - elog "OSP test application is now available with 'osptest' command"
126 - elog "OSP enroll application is now available with 'ospenroll' command"
127 - elog "ospenroll is using /etc/${PN}/openssl.cnf as an openssl configuration"
128 -}
129
130 diff --git a/net-libs/osptoolkit/osptoolkit-4.1.5.ebuild b/net-libs/osptoolkit/osptoolkit-4.1.5.ebuild
131 deleted file mode 100644
132 index c97becdbf4..0000000000
133 --- a/net-libs/osptoolkit/osptoolkit-4.1.5.ebuild
134 +++ /dev/null
135 @@ -1,94 +0,0 @@
136 -# Copyright 1999-2013 Gentoo Foundation
137 -# Distributed under the terms of the GNU General Public License v2
138 -# $Id$
139 -
140 -EAPI="5"
141 -
142 -inherit eutils multilib toolchain-funcs
143 -
144 -S_DATE="20130819"
145 -
146 -DESCRIPTION="Open Settlement Protocol development kit"
147 -HOMEPAGE="http://www.transnexus.com/OSP%20Toolkit/OSP%20Toolkit%20Documents/OSP%20Toolkit%20Documents.htm"
148 -SRC_URI="mirror://sourceforge/osp-toolkit/OSPToolkit-${PV}.tar.gz"
149 -
150 -LICENSE="BSD"
151 -SLOT="0"
152 -KEYWORDS="~amd64 ~x86"
153 -IUSE=""
154 -
155 -RDEPEND="dev-libs/openssl"
156 -DEPEND="${RDEPEND}"
157 -
158 -S="${WORKDIR}"/TK-${PV//./_}-${S_DATE}
159 -
160 -# TODO:
161 -# generate a shared lib
162 -
163 -# NOTES:
164 -# osptest isn't a test that can be used for src_test, it's part of the toolkit
165 -
166 -src_prepare() {
167 - # remove -O and use users CFLAGS, see bug 241034
168 - sed -i -e "s/ -O//" -e "s/^CFLAGS =/CFLAGS +=/" src/Makefile test/Makefile \
169 - enroll/Makefile || die "patching Makefiles failed"
170 -
171 - # use users LDFLAGS
172 - sed -i -e "s:LFLAGS:LDFLAGS:" test/Makefile \
173 - || die "patching test/Makefile failed"
174 - sed -i -e "s:\(\$(LIBS\):\$(LDFLAGS) \1:" enroll/Makefile \
175 - || die "patching enroll/Makefile failed"
176 -
177 - # change lib dir to $(get_libdir)
178 - sed -i -e "s:\$(INSTALL_PATH)/lib:\$(INSTALL_PATH)/$(get_libdir):" \
179 - src/Makefile || die "patching src/Makefile failed"
180 -
181 - # test.cfg is located in /etc/${PN}/test.cfg
182 - sed -i -e \
183 - "s:\(^#define CONFIG_FILENAME.*\"\).*\(test.cfg\"\):\1/etc/${PN}/\2:" \
184 - test/test_app.c || die "patching test/test_app.c failed"
185 -
186 - # configure enroll.sh
187 - sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/${PN}/openssl.cnf:" \
188 - -e "s:^\(RANDFILE\).*:\1=\/etc/${PN}/.rnd:" \
189 - bin/enroll.sh || die "patching bin/enroll.sh failed"
190 -
191 - # change enroll path
192 - sed -i -e "s:^\(enroll\):/usr/lib/${PN}/\1:" \
193 - bin/enroll.sh || die "patching bin/enroll.sh failed"
194 -}
195 -
196 -src_compile() {
197 - local my_cc=$(tc-getCC)
198 -
199 - emake -C src CC="${my_cc}" build || die "emake libosp failed"
200 - emake -C enroll CC="${my_cc}" linux || die "emake enroll failed"
201 - emake -C test CC="${my_cc}" linux || die "emake test failed"
202 -}
203 -
204 -src_install() {
205 - local ospdir="/usr/$(get_libdir)/${PN}"
206 -
207 - emake -C src INSTALL_PATH="${D}"/usr install || die "emake install failed"
208 -
209 - insinto /etc/${PN}
210 - doins bin/test.cfg bin/.rnd bin/openssl.cnf || die "doins failed"
211 -
212 - # install enroll and enroll.sh in lib dir to prevent executing them
213 - dodir ${ospdir}
214 - exeinto ${ospdir}
215 - doexe bin/enroll bin/enroll.sh || die "doexe failed"
216 -
217 - # use the symlink to execute enroll.sh
218 - dosym ${ospdir}/enroll.sh /usr/bin/ospenroll || die "dosym failed"
219 -
220 - newbin bin/test_app osptest || die "newbin failed"
221 -
222 - dodoc README.txt RELNOTES.txt || die "dodoc failed"
223 -}
224 -
225 -pkg_postinst() {
226 - elog "OSP test application is now available with 'osptest' command"
227 - elog "OSP enroll application is now available with 'ospenroll' command"
228 - elog "ospenroll is using /etc/${PN}/openssl.cnf as an openssl configuration"
229 -}