diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-04-16 07:27:11 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-04-16 07:27:11 +0000 |
commit | 287019b2698a9eb5a9f61e8a8089cc5148a7f0b1 (patch) | |
tree | 925d352fd1126365ede60944076ff34be8a436f7 /sys-apps/dmapi | |
parent | Fix wrong md5 sum (diff) | |
download | gentoo-2-287019b2698a9eb5a9f61e8a8089cc5148a7f0b1.tar.gz gentoo-2-287019b2698a9eb5a9f61e8a8089cc5148a7f0b1.tar.bz2 gentoo-2-287019b2698a9eb5a9f61e8a8089cc5148a7f0b1.zip |
Fixed sanbox issues
Diffstat (limited to 'sys-apps/dmapi')
-rw-r--r-- | sys-apps/dmapi/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/dmapi/dmapi-2.0.5-r1.ebuild | 18 |
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 } |