summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-05-01 09:25:40 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-05-01 09:25:40 +0000
commit341bbf10e09e5c092a0d0fcff036e41ca14b2bc1 (patch)
tree6195d1c40dce665c5e3ae91369ebdf2960f169ef /net-libs/osptoolkit
parentVersion bump (diff)
downloadgentoo-2-341bbf10e09e5c092a0d0fcff036e41ca14b2bc1.tar.gz
gentoo-2-341bbf10e09e5c092a0d0fcff036e41ca14b2bc1.tar.bz2
gentoo-2-341bbf10e09e5c092a0d0fcff036e41ca14b2bc1.zip
version bump
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-libs/osptoolkit')
-rw-r--r--net-libs/osptoolkit/ChangeLog8
-rw-r--r--net-libs/osptoolkit/files/digest-osptoolkit-3.3.63
-rw-r--r--net-libs/osptoolkit/osptoolkit-3.3.6.ebuild58
3 files changed, 68 insertions, 1 deletions
diff --git a/net-libs/osptoolkit/ChangeLog b/net-libs/osptoolkit/ChangeLog
index 09c86db9868f..f2dbc79e92bf 100644
--- a/net-libs/osptoolkit/ChangeLog
+++ b/net-libs/osptoolkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/osptoolkit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.6 2007/01/06 16:09:05 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.7 2007/05/01 09:25:40 genstef Exp $
+
+*osptoolkit-3.3.6 (01 May 2007)
+
+ 01 May 2007; Stefan Schweizer <genstef@gentoo.org>
+ +osptoolkit-3.3.6.ebuild:
+ version bump
06 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> osptoolkit-3.3.4.ebuild:
s/einfo/elog/
diff --git a/net-libs/osptoolkit/files/digest-osptoolkit-3.3.6 b/net-libs/osptoolkit/files/digest-osptoolkit-3.3.6
new file mode 100644
index 000000000000..b162ade95131
--- /dev/null
+++ b/net-libs/osptoolkit/files/digest-osptoolkit-3.3.6
@@ -0,0 +1,3 @@
+MD5 b77f6dd9cd6f84c28433f8dbd7d093a5 OSPToolkit-3.3.6.tar.gz 412164
+RMD160 6bcb32758a7cb03e3dff5de49682092bb51ad23e OSPToolkit-3.3.6.tar.gz 412164
+SHA256 332158e6b037e5b5c08ec8554e8d3834d917759b394412eb45d2c73b791d87ce OSPToolkit-3.3.6.tar.gz 412164
diff --git a/net-libs/osptoolkit/osptoolkit-3.3.6.ebuild b/net-libs/osptoolkit/osptoolkit-3.3.6.ebuild
new file mode 100644
index 000000000000..5020976dcd5c
--- /dev/null
+++ b/net-libs/osptoolkit/osptoolkit-3.3.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.3.6.ebuild,v 1.1 2007/05/01 09:25:40 genstef Exp $
+
+inherit eutils
+
+DESCRIPTION="OSP (Open Settlement Protocol) library"
+HOMEPAGE="http://www.transnexus.com/"
+SRC_URI="http://www.transnexus.com/OSP%20Toolkit/Toolkits%20for%20Download/OSPToolkit-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+RDEPEND="dev-libs/openssl"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/TK-${PV//./_}-20060303
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ sed -i -e "s:\$(INSTALL_PATH)/lib:\$(INSTALL_PATH)/\$(LIBDIR):" \
+ src/Makefile
+}
+
+src_compile() {
+ emake -C src build || die "emake libosp failed"
+ emake -C enroll linux || die "emake enroll failed"
+ emake -C test linux || die "emake test failed"
+}
+
+src_install() {
+ dodir /usr/include /usr/$(get_libdir)
+
+ make -C src INSTALL_PATH="${D}"/usr LIBDIR=$(get_libdir) \
+ install || die "make install failed"
+
+ sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/ssl/openssl.cnf:" \
+ -e "s:^\(RANDFILE\).*:\1=/etc/ssl/.rnd:" \
+ bin/enroll.sh
+
+ dosbin bin/enroll*
+ newbin bin/test_app osp_test_app
+
+ dodoc *.txt
+
+ insinto /usr/share/doc/${PF}
+ doins bin/test.cfg
+}
+
+pkg_postinst() {
+ elog "The OSP test application is located in ${ROOT}usr/bin/osp_test_app"
+ elog "See ${ROOT}usr/share/doc/${PF}/test.cfg for a sample test.cfg for osp_test_app"
+}