* [gentoo-commits] gentoo-x86 commit in net-libs/osptoolkit: osptoolkit-3.4.2.ebuild ChangeLog
@ 2009-04-20 4:01 Mounir Lamouri (volkmar)
0 siblings, 0 replies; 2+ messages in thread
From: Mounir Lamouri (volkmar) @ 2009-04-20 4:01 UTC (permalink / raw
To: gentoo-commits
volkmar 09/04/20 04:01:42
Modified: ChangeLog
Added: osptoolkit-3.4.2.ebuild
Log:
version bump to 3.4.2 with major rewrite, bug 259311
(Portage version: 2.1.6.7/cvs/Linux ppc)
Revision Changes Path
1.12 net-libs/osptoolkit/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/ChangeLog?r1=1.11&r2=1.12
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog 15 Apr 2009 00:27:47 -0000 1.11
+++ ChangeLog 20 Apr 2009 04:01:42 -0000 1.12
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/osptoolkit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.11 2009/04/15 00:27:47 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.12 2009/04/20 04:01:42 volkmar Exp $
+
+*osptoolkit-3.4.2 (20 Apr 2009)
+
+ 20 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> +osptoolkit-3.4.2.ebuild:
+ Version bump to 3.4.2 with major rewrite. See bug 259311.
15 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> -osptoolkit-3.3.4.ebuild:
Remove the older ebuild which is suffering from bug 241034
1.1 net-libs/osptoolkit/osptoolkit-3.4.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild?rev=1.1&content-type=text/plain
Index: osptoolkit-3.4.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild,v 1.1 2009/04/20 04:01:41 volkmar Exp $
EAPI="2"
inherit eutils multilib toolchain-funcs
S_DATE="20071227"
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
mirror://sourceforge/osp-toolkit/${PN}_${PV}-1.diff.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="dev-libs/openssl"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/TK-${PV//./_}-${S_DATE}
# TODO:
# LDFLAGS are not used
# generate a shared lib
# create a main Makefile
# => a gentoo-patch ?
# NOTES:
# debian patch is used atm but will surely not for further versions
# osptest is not a test that can be used for src_test()
# install it only when test is enabled ?
src_prepare() {
# applying debian patches
epatch "${WORKDIR}"/${PN}_${PV}-1.diff
# change enroll path from debian paches
sed -i -e "s:^\(ospdir\).*:\1=/usr/lib/${PN}:" \
bin/enroll.sh || die "patching bin/enroll.sh failed"
# 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"
# 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/ssl/openssl.cnf:" \
-e "s:^\(RANDFILE\).*:\1=\/etc/${PN}/.rnd:" \
bin/enroll.sh || die "patching bin/enroll.sh failed"
}
src_compile() {
local my_cc=$(tc-getCC)
emake -C src CC="${my_cc}" build || die "emake libosp failed"
emake -C enroll CC="${my_cc}" linux || die "emake enroll failed"
emake -C test CC="${my_cc}" linux || die "emake test failed"
}
src_install() {
local ospdir="/usr/$(get_libdir)/${PN}"
emake -C src INSTALL_PATH="${D}"/usr install || die "emake install failed"
insinto /etc/${PN}
doins bin/test.cfg bin/.rnd || die "doins failed"
# install enroll and enroll.sh in lib dir to prevent executing them
dodir ${ospdir}
exeinto ${ospdir}
doexe bin/enroll bin/enroll.sh || die "doexe failed"
# use the symlink to execute enroll.sh
dosym ${ospdir}/enroll.sh /usr/bin/ospenroll || die "dosym failed"
newbin bin/test_app osptest || die "newbin failed"
dodoc README.txt RELNOTES.txt || die "dodoc failed"
}
pkg_postinst() {
elog "OSP test application is now available with 'osptest' command"
elog "OSP enroll application is now available with 'ospenroll' command"
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-libs/osptoolkit: osptoolkit-3.4.2.ebuild ChangeLog
@ 2009-04-20 17:06 Mounir Lamouri (volkmar)
0 siblings, 0 replies; 2+ messages in thread
From: Mounir Lamouri (volkmar) @ 2009-04-20 17:06 UTC (permalink / raw
To: gentoo-commits
volkmar 09/04/20 17:06:55
Modified: osptoolkit-3.4.2.ebuild ChangeLog
Log:
use users ldflags
(Portage version: 2.1.6.7/cvs/Linux ppc)
Revision Changes Path
1.2 net-libs/osptoolkit/osptoolkit-3.4.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild?r1=1.1&r2=1.2
Index: osptoolkit-3.4.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- osptoolkit-3.4.2.ebuild 20 Apr 2009 04:01:41 -0000 1.1
+++ osptoolkit-3.4.2.ebuild 20 Apr 2009 17:06:55 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild,v 1.1 2009/04/20 04:01:41 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.4.2.ebuild,v 1.2 2009/04/20 17:06:55 volkmar Exp $
EAPI="2"
@@ -24,15 +24,11 @@
S="${WORKDIR}"/TK-${PV//./_}-${S_DATE}
# TODO:
-# LDFLAGS are not used
# generate a shared lib
-# create a main Makefile
-# => a gentoo-patch ?
# NOTES:
# debian patch is used atm but will surely not for further versions
-# osptest is not a test that can be used for src_test()
-# install it only when test is enabled ?
+# osptest isn't a test that can be used for src_test, it's part of the toolkit
src_prepare() {
# applying debian patches
@@ -46,6 +42,12 @@
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"
@@ -66,6 +68,7 @@
emake -C src CC="${my_cc}" build || die "emake libosp failed"
emake -C enroll CC="${my_cc}" linux || die "emake enroll failed"
+ # line above doesn't build tests but osptest (see NOTES)
emake -C test CC="${my_cc}" linux || die "emake test failed"
}
1.14 net-libs/osptoolkit/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/osptoolkit/ChangeLog?r1=1.13&r2=1.14
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog 20 Apr 2009 16:54:30 -0000 1.13
+++ ChangeLog 20 Apr 2009 17:06:55 -0000 1.14
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/osptoolkit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.13 2009/04/20 16:54:30 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.14 2009/04/20 17:06:55 volkmar Exp $
+
+ 20 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> osptoolkit-3.4.2.ebuild:
+ Use users LDFLAGS.
*osptoolkit-3.5.0 (20 Apr 2009)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-20 17:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-20 4:01 [gentoo-commits] gentoo-x86 commit in net-libs/osptoolkit: osptoolkit-3.4.2.ebuild ChangeLog Mounir Lamouri (volkmar)
-- strict thread matches above, loose matches on Subject: below --
2009-04-20 17:06 Mounir Lamouri (volkmar)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox