summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-04-16 07:27:11 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-04-16 07:27:11 +0000
commitea40ea8f2e16c56f70b836ca878ad959eb5bfb83 (patch)
treeb2f6502e79d7bbaf1da7e974bb51184bf48154a0 /sys-apps/dmapi
parentFix wrong md5 sum (diff)
downloadhistorical-ea40ea8f2e16c56f70b836ca878ad959eb5bfb83.tar.gz
historical-ea40ea8f2e16c56f70b836ca878ad959eb5bfb83.tar.bz2
historical-ea40ea8f2e16c56f70b836ca878ad959eb5bfb83.zip
Fixed sanbox issues
Diffstat (limited to 'sys-apps/dmapi')
-rw-r--r--sys-apps/dmapi/ChangeLog5
-rw-r--r--sys-apps/dmapi/dmapi-2.0.5-r1.ebuild18
2 files changed, 16 insertions, 7 deletions
diff --git a/sys-apps/dmapi/ChangeLog b/sys-apps/dmapi/ChangeLog
index 4bc9208392a8..35a49e8c3a3c 100644
--- a/sys-apps/dmapi/ChangeLog
+++ b/sys-apps/dmapi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/dmapi
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.11 2003/02/24 22:34:59 dragon Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.12 2003/04/16 07:27:11 aliz Exp $
+
+ 16 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> dmapi-2.05-r1.ebuild :
+ Fixed sandbox issues.
21 Dec 2002; Daniel Robbins <drobbins@gentoo.org>: 20020330 ->
2.0.1_p20020330 to fix policy violation for the naming of CVS snapshot
diff --git a/sys-apps/dmapi/dmapi-2.0.5-r1.ebuild b/sys-apps/dmapi/dmapi-2.0.5-r1.ebuild
index 8f71c02de88e..0a7a9d6c4829 100644
--- a/sys-apps/dmapi/dmapi-2.0.5-r1.ebuild
+++ b/sys-apps/dmapi/dmapi-2.0.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/dmapi-2.0.5-r1.ebuild,v 1.4 2003/02/24 22:34:59 dragon Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/dmapi-2.0.5-r1.ebuild,v 1.5 2003/04/16 07:27:11 aliz Exp $
S=${WORKDIR}/${P}
@@ -15,6 +15,17 @@ LICENSE="LGPL-2.1"
DEPEND="sys-apps/xfsprogs"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ cp include/builddefs.in include/builddefs.in.orig
+ sed -e 's:^PKG_\(.*\)_DIR[[:space:]]*= \(.*\)$:PKG_\1_DIR = $(DESTDIR)\2:' \
+ -e 's:-O1::' -e 's:../$(INSTALL) -S \(.*\) $(PKG_.*_DIR)/\(.*$\)::' \
+ include/builddefs.in.orig > include/builddefs.in || die
+}
+
src_compile() {
OPTIMIZER="${CFLAGS}"
DEBUG=-DNDEBUG
@@ -27,11 +38,6 @@ src_compile() {
--mandir=/usr/share/man \
--libexecdir=/usr/lib || die
- cp include/builddefs include/builddefs.orig
- sed -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \
- -e 's:-O1::' -e 's:../$(INSTALL) -S \(.*\) $(PKG_.*_DIR)/\(.*$\)::' \
- include/builddefs.orig > include/builddefs || die
-
emake || die
}