summaryrefslogtreecommitdiff
path: root/net-libs/osptoolkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-libs/osptoolkit
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'net-libs/osptoolkit')
-rw-r--r--net-libs/osptoolkit/Manifest4
-rw-r--r--net-libs/osptoolkit/files/osptoolkit-4.13.0-gcc5.patch17
-rw-r--r--net-libs/osptoolkit/metadata.xml11
-rw-r--r--net-libs/osptoolkit/osptoolkit-4.13.0.ebuild97
4 files changed, 0 insertions, 129 deletions
diff --git a/net-libs/osptoolkit/Manifest b/net-libs/osptoolkit/Manifest
deleted file mode 100644
index 45cc5cb07876..000000000000
--- a/net-libs/osptoolkit/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX osptoolkit-4.13.0-gcc5.patch 768 BLAKE2B 778d117c7bf5d4bd6ccb3690c341d5cc828edf67c84160beba7c910ac957fc3fbe507ff4ccfca9a6283b6a47ee05dbcc1eaa901382c3d1a63cc5608adbaf6590 SHA512 4f2d11e32b958ca5621321ed0258d3b8544528c16bb9418eb5ddd7c1929b24d42ec0ec6d714c658905df249a8356efb4cc13309a0ccc70521425faad306136fd
-DIST OSPToolkit-4.13.0.tar.gz 422064 BLAKE2B 13afe4d30a96b7cd59cf4be6116f35f5edf30b70046a7a203e89140bd0b7f338b8d1478fe6a90a7a17b6f93b0c6a8579f43b209119a8c6fdb08dff26e5c13262 SHA512 35e54350cdecf0367af47986a7c3eddfcdf924b0d6e7c52ccccdecd96d3d64ba7f8d8d266cc4d26708f0741e40eeff80db4690272702c35d4e5bafba745776bf
-EBUILD osptoolkit-4.13.0.ebuild 2720 BLAKE2B 7f63e5fded0891e0aba284175ba1152604ccdc4f56252f6a48bb2f0c8db074e20c04012e1dfd7d41b47963485ec732838bb6f4a7fecb9d318ad2aa58211f2c41 SHA512 bdee9975b225101cd0712cbbadac13d43ded13d99c319e3592b81637156d644c7cae31cee6bdd29e8d8244eba95275073dcc42762ad627dbe7d851c3d6ccaa7c
-MISC metadata.xml 336 BLAKE2B e499cd7595c1fa197432bd158c3a7f08a7d9d99496ac9911e38702918a9b35a9088a8168c6a7222acbec3134005674dff3040dd0c2b5177e7df72167f1c1fd84 SHA512 09152b4aecb17930c71dfe645780e61205a9f13c6ade1fd8f16298a7f982e36d802f2b8744a9de95c48b41a28ebafbc8e76a7f0262721c5fa41a61bffef5a5dc
diff --git a/net-libs/osptoolkit/files/osptoolkit-4.13.0-gcc5.patch b/net-libs/osptoolkit/files/osptoolkit-4.13.0-gcc5.patch
deleted file mode 100644
index a06ffeecc91a..000000000000
--- a/net-libs/osptoolkit/files/osptoolkit-4.13.0-gcc5.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Starting with GCC 5, the __builtin_isnan() fucntion requires proper overloaded types, even in C:
-* osptransapi.c:1040:13: error: non-floating-point argument in call to function ‘__builtin_isnan’
-* OSPM_ISNAN(metrics.mean, tnisnan);
-See also:
-https://bugs.gentoo.org/show_bug.cgi?id=581058
-
---- a/src/osptransapi.c
-+++ b/src/osptransapi.c
-@@ -983,7 +983,7 @@
- /* sample mean - have to cast Samples to a float to get some precision on the mean */
- mean = ((metrics.mean * currnumber) + (ospvMean * ospvSamples)) / (float)metrics.samples;
-
-- OSPM_ISNAN(metrics.mean, tnisnan);
-+ OSPM_ISNAN((double)metrics.mean, tnisnan);
-
- if (tnisnan) {
- errcode = OSPC_ERR_TRAN_INVALID_CALC;
diff --git a/net-libs/osptoolkit/metadata.xml b/net-libs/osptoolkit/metadata.xml
deleted file mode 100644
index 8e8837dfca6a..000000000000
--- a/net-libs/osptoolkit/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>chainsaw@gentoo.org</email>
- <name>Tony Vroon</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">osp-toolkit</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-libs/osptoolkit/osptoolkit-4.13.0.ebuild b/net-libs/osptoolkit/osptoolkit-4.13.0.ebuild
deleted file mode 100644
index 2c1dd1459dbf..000000000000
--- a/net-libs/osptoolkit/osptoolkit-4.13.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-S_DATE="20161107"
-
-DESCRIPTION="Open Settlement Protocol development kit"
-HOMEPAGE="http://www.transnexus.com/OSP%20Toolkit/OSP%20Toolkit%20Documents/OSP%20Toolkit%20Documents.htm"
-SRC_URI="mirror://sourceforge/osp-toolkit/OSPToolkit-${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="dev-libs/openssl:0="
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/TK-${PV//./_}-${S_DATE}
-
-# TODO:
-# generate a shared lib
-
-# NOTES:
-# osptest isn't a test that can be used for src_test, it's part of the toolkit
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.13.0-gcc5.patch
-)
-
-src_prepare() {
- default
-
- # remove -O and use users CFLAGS, see bug 241034
- sed -i -e "s/ -O//" -e "s/^CFLAGS =/CFLAGS +=/" src/Makefile test/Makefile \
- enroll/Makefile || die "patching Makefiles failed"
-
- # use users LDFLAGS
- sed -i -e "s:LFLAGS:LDFLAGS:" test/Makefile \
- || die "patching test/Makefile failed"
- sed -i -e "s:\(\$(LIBS\):\$(LDFLAGS) \1:" enroll/Makefile \
- || die "patching enroll/Makefile failed"
-
- # change lib dir to $(get_libdir)
- sed -i -e "s:\$(INSTALL_PATH)/lib:\$(INSTALL_PATH)/$(get_libdir):" \
- src/Makefile || die "patching src/Makefile failed"
-
- # test.cfg is located in /etc/${PN}/test.cfg
- sed -i -e \
- "s:\(^#define CONFIG_FILENAME.*\"\).*\(test.cfg\"\):\1/etc/${PN}/\2:" \
- test/test_app.c || die "patching test/test_app.c failed"
-
- # configure enroll.sh
- sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/${PN}/openssl.cnf:" \
- -e "s:^\(RANDFILE\).*:\1=\/etc/${PN}/.rnd:" \
- bin/enroll.sh || die "patching bin/enroll.sh failed"
-
- # change enroll path
- sed -i -e "s:^\(enroll\):/usr/lib/${PN}/\1:" \
- bin/enroll.sh || die "patching bin/enroll.sh failed"
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" AR="$(tc-getAR)" -C src build
- emake CC="$(tc-getCC)" AR="$(tc-getAR)" -C enroll linux
- emake CC="$(tc-getCC)" AR="$(tc-getAR)" -C test linux
-}
-
-src_install() {
- emake -C src INSTALL_PATH="${ED%/}"/usr install
-
- local DOCS=( README.txt RELNOTES.txt )
- einstalldocs
-
- insinto /etc/${PN}
- doins bin/test.cfg bin/.rnd bin/openssl.cnf
-
- # install enroll and enroll.sh in lib dir to prevent executing them
- local ospdir=/usr/$(get_libdir)/${PN}
- dodir ${ospdir}
- exeinto ${ospdir}
- doexe bin/enroll bin/enroll.sh
-
- # use the symlink to execute enroll.sh
- dosym ${ospdir}/enroll.sh /usr/bin/ospenroll
-
- newbin bin/test_app osptest
-}
-
-pkg_postinst() {
- elog "OSP test application is now available with 'osptest' command"
- elog "OSP enroll application is now available with 'ospenroll' command"
- elog "ospenroll is using /etc/${PN}/openssl.cnf as an openssl configuration"
-}