summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/injectso/ChangeLog9
-rw-r--r--dev-util/injectso/injectso-0.2-r1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-util/injectso/ChangeLog b/dev-util/injectso/ChangeLog
index 7d7ce90d88f3..e42661a571ff 100644
--- a/dev-util/injectso/ChangeLog
+++ b/dev-util/injectso/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/injectso
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/injectso/ChangeLog,v 1.10 2008/11/17 21:00:02 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/injectso/ChangeLog,v 1.11 2009/09/01 17:39:24 jer Exp $
+
+*injectso-0.2-r1 (01 Sep 2009)
+
+ 01 Sep 2009; Jeroen Roovers <jer@gentoo.org> +injectso-0.2-r1.ebuild:
+ Respect CC (bug #244006).
17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
files/injectso-0.2-gcc4.patch:
diff --git a/dev-util/injectso/injectso-0.2-r1.ebuild b/dev-util/injectso/injectso-0.2-r1.ebuild
new file mode 100644
index 000000000000..fe89d52693f2
--- /dev/null
+++ b/dev-util/injectso/injectso-0.2-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/injectso/injectso-0.2-r1.ebuild,v 1.1 2009/09/01 17:39:24 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Inject shared libraries into running processes under Solaris and Linux"
+HOMEPAGE="http://www.securereality.com.au/"
+SRC_URI="http://www.securereality.com.au/archives/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc4.patch"
+}
+
+src_configure() {
+ tc-export CC
+ default_src_configure
+}
+
+src_install() {
+ dobin injectso
+
+ dodir /usr/lib/injectso
+ insinto /usr/lib/injectso
+ doins libtest.so libtest.c
+
+ dodoc ChangeLog README.txt
+ dohtml README.html
+}
+
+pkg_postinst() {
+ echo
+ elog "Read the documentation for instructions on how to use this tool."
+ elog "The sample library \"libtest.so\" and its source file \"libtest.c\""
+ elog "be found in /usr/lib/injectso."
+ echo
+}