summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-11-12 14:40:28 +0000
committerChristoph Mende <angelos@gentoo.org>2009-11-12 14:40:28 +0000
commit60bae30681c5cb43c564811af786150f7dc56da4 (patch)
treeb3ea96e0e3b6a044502b0501f400ea5468e662af /dev-cpp
parentfix bug 2926611, patch discovered by Aidan Marks <aidan AT cisco DOT com> (diff)
downloadgentoo-2-60bae30681c5cb43c564811af786150f7dc56da4.tar.gz
gentoo-2-60bae30681c5cb43c564811af786150f7dc56da4.tar.bz2
gentoo-2-60bae30681c5cb43c564811af786150f7dc56da4.zip
Fix sandbox access violation (bug #291108)
(Portage version: 2.1.7.4/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libassa/ChangeLog6
-rw-r--r--dev-cpp/libassa/files/libassa-3.5.0-dont-run-ldconfig.patch21
-rw-r--r--dev-cpp/libassa/libassa-3.5.0.ebuild9
3 files changed, 32 insertions, 4 deletions
diff --git a/dev-cpp/libassa/ChangeLog b/dev-cpp/libassa/ChangeLog
index 4cc41b2b6e51..20ed8a4cd4be 100644
--- a/dev-cpp/libassa/ChangeLog
+++ b/dev-cpp/libassa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/libassa
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/ChangeLog,v 1.7 2009/09/04 10:33:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/ChangeLog,v 1.8 2009/11/12 14:40:28 angelos Exp $
+
+ 12 Nov 2009; Christoph Mende <angelos@gentoo.org> libassa-3.5.0.ebuild,
+ +files/libassa-3.5.0-dont-run-ldconfig.patch:
+ Fix sandbox access violation (bug #291108)
04 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> libassa-3.5.0.ebuild,
+files/libassa-3.5.0-gcc44.patch:
diff --git a/dev-cpp/libassa/files/libassa-3.5.0-dont-run-ldconfig.patch b/dev-cpp/libassa/files/libassa-3.5.0-dont-run-ldconfig.patch
new file mode 100644
index 000000000000..fcc6042b057c
--- /dev/null
+++ b/dev-cpp/libassa/files/libassa-3.5.0-dont-run-ldconfig.patch
@@ -0,0 +1,21 @@
+diff --git a/Makefile.am b/Makefile.am
+index 508d13e..2cd704e 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -40,16 +40,3 @@ MAINTAINERCLEANFILES = \
+ *.log core FILE *~ Makefile.in configure config.h.in \
+ config.status aclocal.m4 config.guess config.sub \
+ depcomp install-sh mkinstalldirs missing
+-
+-
+-# Run ldconfig after installing the library:
+-#
+-# '-ldconfig' expands into 'PATH="$PATH:/sbin" ldconfig -n /usr/local/bin'
+-#
+-# Somehow, this doen't work.
+-#
+-install-exec-hook:
+- -ldconfig
+-
+-uninstall-hook:
+- -ldconfig
diff --git a/dev-cpp/libassa/libassa-3.5.0.ebuild b/dev-cpp/libassa/libassa-3.5.0.ebuild
index 3c1be770af93..288c0bb19a8b 100644
--- a/dev-cpp/libassa/libassa-3.5.0.ebuild
+++ b/dev-cpp/libassa/libassa-3.5.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/libassa-3.5.0.ebuild,v 1.4 2009/09/04 10:33:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/libassa-3.5.0.ebuild,v 1.5 2009/11/12 14:40:28 angelos Exp $
EAPI=2
-inherit eutils
+inherit autotools eutils
DESCRIPTION="A networking library based on Adaptive Communication Patterns"
HOMEPAGE="http://libassa.sourceforge.net/"
@@ -15,7 +15,10 @@ KEYWORDS="amd64 ~x86"
IUSE=""
src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc44.patch
+ epatch "${FILESDIR}"/${P}-gcc44.patch \
+ "${FILESDIR}"/${P}-dont-run-ldconfig.patch
+ AT_M4DIR="${S}/macros"
+ eautoreconf
}
src_install() {