diff options
-rw-r--r-- | net-libs/osptoolkit/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/osptoolkit/Manifest | 2 | ||||
-rw-r--r-- | net-libs/osptoolkit/files/digest-osptoolkit-3.3.1 | 1 | ||||
-rw-r--r-- | net-libs/osptoolkit/metadata.xml | 9 | ||||
-rw-r--r-- | net-libs/osptoolkit/osptoolkit-3.3.1.ebuild | 54 |
5 files changed, 76 insertions, 0 deletions
diff --git a/net-libs/osptoolkit/ChangeLog b/net-libs/osptoolkit/ChangeLog new file mode 100644 index 000000000000..d589f8da3b32 --- /dev/null +++ b/net-libs/osptoolkit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-libs/osptoolkit +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.1 2005/08/19 19:29:22 stkn Exp $ + +*osptoolkit-3.3.1 (19 Aug 2005) + + 19 Aug 2005; Stefan Knoblich <stkn@gentoo.org> +metadata.xml, + +osptoolkit-3.3.1.ebuild: + Initial import, work-in-progress. + diff --git a/net-libs/osptoolkit/Manifest b/net-libs/osptoolkit/Manifest new file mode 100644 index 000000000000..de4be1e00e23 --- /dev/null +++ b/net-libs/osptoolkit/Manifest @@ -0,0 +1,2 @@ +MD5 47583e5b1384563e0420ca86f199f596 osptoolkit-3.3.1.ebuild 1206 +MD5 0e71c85746f397e8f45ea39c28533814 files/digest-osptoolkit-3.3.1 68 diff --git a/net-libs/osptoolkit/files/digest-osptoolkit-3.3.1 b/net-libs/osptoolkit/files/digest-osptoolkit-3.3.1 new file mode 100644 index 000000000000..f43a3a9987f1 --- /dev/null +++ b/net-libs/osptoolkit/files/digest-osptoolkit-3.3.1 @@ -0,0 +1 @@ +MD5 72f0adba2a478de48dd516eb37073763 OSPToolkit-3.3.1.tar.gz 411881 diff --git a/net-libs/osptoolkit/metadata.xml b/net-libs/osptoolkit/metadata.xml new file mode 100644 index 000000000000..10f27dc5e06a --- /dev/null +++ b/net-libs/osptoolkit/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>voip</herd> +<maintainer> + <email>stkn@gentoo.org</email> + <name>Stefan Knoblich</name> +</maintainer> +</pkgmetadata> diff --git a/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild b/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild new file mode 100644 index 000000000000..2a95d147d3ce --- /dev/null +++ b/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild,v 1.1 2005/08/19 19:29:22 stkn Exp $ + +DESCRIPTION="OSP (Open Settlement Protocol) library" +HOMEPAGE="http://www.transnexus.com/" +SRC_URI="http://www.transnexus.com/OSP%20Toolkit/Toolkits%20for%20Download/OSPToolkit-3.3.1.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="virtual/libc + dev-libs/openssl" + +S=${WORKDIR}/TK-${PV//./_}-20041213_B + +src_compile() { + cd ${S}/src + emake build || die "emake libosp failed" + + cd ${S}/enroll + emake linux || die "emake enroll failed" + + cd ${S}/test + emake linux || die "emake test failed" +} + +src_install() { + dodir /usr/{lib,include} + + cd ${S}/src + make INSTALL_PATH=${D}/usr install || die "make install failed" + + sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/ssl/openssl.cnf:" \ + -e "s:^\(RANDFILE\).*:\1=/etc/ssl/.rnd:" \ + ${S}/bin/enroll.sh + + dosbin ${S}/bin/enroll* + newbin ${S}/bin/test_app osp_test_app + + cd ${S} + dodoc *.txt + + insinto /usr/share/doc/${PF} + doins bin/test.cfg +} + +pkg_postinst() { + einfo "The OSP test application is located in ${ROOT}usr/bin/osp_test_app" + einfo "See ${ROOT}usr/share/doc/${PF}/test.cfg for a sample test.cfg for osp_test_app" +} |