summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-31 13:20:33 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-31 13:20:33 +0000
commit49a41141757e72a0f83d568e8224c77a3bd84e76 (patch)
treed1ce8bfd09b1864ef31702959e857110647dd2e0 /dev-util
parentUse virtual/pager instead of sys-apps/less since any pager should work and th... (diff)
downloadgentoo-2-49a41141757e72a0f83d568e8224c77a3bd84e76.tar.gz
gentoo-2-49a41141757e72a0f83d568e8224c77a3bd84e76.tar.bz2
gentoo-2-49a41141757e72a0f83d568e8224c77a3bd84e76.zip
Drop old
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/duma/ChangeLog9
-rw-r--r--dev-util/duma/duma-2.4.27.ebuild75
-rw-r--r--dev-util/duma/duma-2.5.14-r1.ebuild83
-rw-r--r--dev-util/duma/duma-2.5.8.ebuild85
-rw-r--r--dev-util/duma/files/duma-2.4.27-make.patch51
-rw-r--r--dev-util/duma/files/duma-2.4.27-types.patch33
-rw-r--r--dev-util/duma/files/duma-2.5.8-soname.patch13
7 files changed, 7 insertions, 342 deletions
diff --git a/dev-util/duma/ChangeLog b/dev-util/duma/ChangeLog
index 18b2e32b5db0..64b1856f5af4 100644
--- a/dev-util/duma/ChangeLog
+++ b/dev-util/duma/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/duma
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.14 2010/04/04 07:41:06 nerdboy Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.15 2012/05/31 13:20:33 xarthisius Exp $
+
+ 31 May 2012; Kacper Kowalik <xarthisius@gentoo.org> -duma-2.4.27.ebuild,
+ -duma-2.5.14-r1.ebuild, -duma-2.5.8.ebuild, -files/duma-2.4.27-make.patch,
+ -files/duma-2.4.27-types.patch, -files/duma-2.5.8-soname.patch:
+ Drop old
*duma-2.5.15-r1 (04 Apr 2010)
diff --git a/dev-util/duma/duma-2.4.27.ebuild b/dev-util/duma/duma-2.4.27.ebuild
deleted file mode 100644
index d6c39ad1b221..000000000000
--- a/dev-util/duma/duma-2.4.27.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild,v 1.5 2009/09/23 17:44:31 patrick Exp $
-
-inherit eutils versionator multilib toolchain-funcs
-# flag-o-matic
-
-MY_P="${PN}_$(replace_all_version_separators '_')"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library."
-HOMEPAGE="http://duma.sourceforge.net/"
-
-SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}
- app-shells/bash"
-
-pkg_setup() {
- #DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION"
- DUMA_OPTIONS="-DDUMA_USE_FRAMENO"
- if [ -n "${DUMA_OPTIONS}" ]; then
- ewarn ""
- elog "Custom build options are ${DUMA_OPTIONS}."
- ewarn ""
- else
- ewarn ""
- elog "Custom build options are not set!"
- elog "See the package Makefile for more options."
- ewarn ""
- fi
-}
-
-src_unpack(){
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-types.patch"
- epatch "${FILESDIR}/${P}-make.patch"
-}
-
-src_compile(){
- # filter parallel make, because it generate header and that header needed
- # for next part of compile
- use amd64 && export DUMA_ALIGNMENT=16
- # append-flags doesn't work here (stupid static makefile)
- make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
- || die "emake failed"
-}
-
-src_test() {
- einfo "Control-C now if you want to disable tests..."
- epause 5
-
- cd "${S}"
- use amd64 && export DUMA_ALIGNMENT=16
- make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \
- CC=$(tc-getCC) check || die "make check failed"
-
- einfo "Check output above to verify all tests have passed..."
-}
-
-src_install(){
- make prefix="${D}usr" LIB_INSTALL_DIR="${D}usr/$(get_libdir)" install \
- || die "make install failed"
- insinto /usr/include
- doins duma.h duma_config.h duma_hlp.h dumapp.h noduma.h paging.h print.h \
- sem_inc.h || die " failed install headers"
- dodoc CHANGELOG README
-}
diff --git a/dev-util/duma/duma-2.5.14-r1.ebuild b/dev-util/duma/duma-2.5.14-r1.ebuild
deleted file mode 100644
index 17badea7237b..000000000000
--- a/dev-util/duma/duma-2.5.14-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.14-r1.ebuild,v 1.3 2009/09/23 17:44:31 patrick Exp $
-
-inherit eutils toolchain-funcs versionator
-
-MY_P="${PN}_$(replace_all_version_separators '_')"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library."
-HOMEPAGE="http://duma.sourceforge.net/"
-
-SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- app-shells/bash"
-
-pkg_setup() {
- #DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION"
- DUMA_OPTIONS="-DDUMA_USE_FRAMENO"
- if [ -n "${DUMA_OPTIONS}" ]; then
- ewarn ""
- elog "Custom build options are ${DUMA_OPTIONS}."
- else
- ewarn ""
- elog "Custom build options are not set!"
- fi
- elog "See the package Makefile for for more options (also installed"
- elog "with package docs as Makefile.duma)."
- ewarn ""
-}
-
-src_unpack(){
- unpack ${A}
- cd "${S}"
- sed -i -e "s:(prefix)/lib:(prefix)/$(get_libdir):g" \
- -i -e "s:share/doc/duma:share/doc/${P}:g" \
- Makefile || die "sed failed"
-}
-
-src_compile(){
- use amd64 && export DUMA_ALIGNMENT=16
- # append-flags doesn't work here (stupid static makefile) and neither
- # does distcc or some user-defined CFLAGS. Custom function definitions
- # and all that...
- gmake -j1 CFLAGS="${DUMA_OPTIONS} -O0 -Wall" CC=$(tc-getCC) \
- || die "make failed"
-}
-
-src_test() {
- ewarn "Control-C now if you want to disable tests..."
- epause 5
-
- cd "${S}"
- use amd64 && export DUMA_ALIGNMENT=16
- make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \
- CC=$(tc-getCC) test || die "make test failed"
-
- elog ""
- ewarn "Check output above to verify all tests have passed. Both"
- ewarn "static and dynamic confidence tests should say PASSED."
- elog ""
-}
-
-src_install(){
- # make install fails nicely here on the first file...
- make DESTDIR="${D}" install || die "make install failed"
- dodoc CHANGELOG TODO
- # All the good comments on duma build options are in the Makefile
- newdoc Makefile Makefile.duma
-
- if use examples; then
- insinto /usr/share/doc/${P}/examples
- doins example[1-6].cpp
- doins example_makes/ex6/Makefile
- fi
-}
diff --git a/dev-util/duma/duma-2.5.8.ebuild b/dev-util/duma/duma-2.5.8.ebuild
deleted file mode 100644
index 06e2146a4f8c..000000000000
--- a/dev-util/duma/duma-2.5.8.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.8.ebuild,v 1.3 2009/09/23 17:44:31 patrick Exp $
-
-inherit eutils toolchain-funcs versionator
-
-MY_P="${PN}_$(replace_all_version_separators '_')"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library."
-HOMEPAGE="http://duma.sourceforge.net/"
-
-SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- app-shells/bash"
-
-pkg_setup() {
- #DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION"
- DUMA_OPTIONS="-DDUMA_USE_FRAMENO"
- if [ -n "${DUMA_OPTIONS}" ]; then
- ewarn ""
- elog "Custom build options are ${DUMA_OPTIONS}."
- ewarn ""
- else
- ewarn ""
- elog "Custom build options are not set!"
- elog "See the package Makefile for more options."
- ewarn ""
- fi
-}
-
-src_unpack(){
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-soname.patch"
-}
-
-src_compile(){
- use amd64 && export DUMA_ALIGNMENT=16
- # append-flags doesn't work here (stupid static makefile) and neither
- # does distcc :(
- make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
- || die "emake failed"
-}
-
-src_test() {
- ewarn "Control-C now if you want to disable tests..."
- epause 5
-
- cd "${S}"
- use amd64 && export DUMA_ALIGNMENT=16
- make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \
- CC=$(tc-getCC) check || die "make check failed"
-
- ewarn "Check output above to verify all tests have passed..."
-}
-
-src_install(){
- # make install fails nicely here on the first file...
- newbin duma.sh duma
- dolib.so libduma.so.0.0
- dosym libduma.so.0.0 /usr/$(get_libdir)/libduma.so.0
- dosym libduma.so.0.0 /usr/$(get_libdir)/libduma.so
- dolib.a libduma.a
-
- insinto /usr/include
- doins duma.h dumapp.h sem_inc.h paging.h print.h duma_hlp.h noduma.h \
- || die "failed to install headers"
-
- dodoc CHANGELOG README.txt TODO
- doman duma.3
-
- if use examples; then
- insinto /usr/share/doc/${P}/examples
- doins example[1-6].cpp
- doins example_makes/ex6/Makefile
- fi
-}
diff --git a/dev-util/duma/files/duma-2.4.27-make.patch b/dev-util/duma/files/duma-2.4.27-make.patch
deleted file mode 100644
index 4fffab8f4303..000000000000
--- a/dev-util/duma/files/duma-2.4.27-make.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -urN Makefile Makefile
---- Makefile 2007-01-07 14:38:21.000000000 +0100
-+++ Makefile 2007-01-07 14:38:39.000000000 +0100
-@@ -109,7 +109,7 @@
- prefix=/usr
- BIN_INSTALL_DIR= $(prefix)/bin
- LIB_INSTALL_DIR= $(prefix)/lib
--MAN_INSTALL_DIR= $(prefix)/man/man3
-+MAN_INSTALL_DIR= $(prefix)/share/man/man3
-
-
-
-@@ -123,7 +123,9 @@
-
- SO_OBJECTS = dumapp_so.o duma_so.o sem_inc_so.o print_so.o
-
--all: libduma.a $(DUMASO) tstheap dumatest dumatestpp testoperators tstheap_so dumatestpp_so
-+all: libduma.a $(DUMASO)
-+
-+check: tstheap dumatest dumatestpp testoperators tstheap_so dumatestpp_so
- @ echo "Testing DUMA."
- @ echo "After the last test, it should print that the test has PASSED."
- $(CURPATH)dumatest
-@@ -134,13 +136,16 @@
- @ echo "DUMA confidence test PASSED."
-
- install: libduma.a duma.3 $(DUMASO)
-+ ${INSTALL} -d ${BIN_INSTALL_DIR}
- $(INSTALL) -m 755 duma.sh $(BIN_INSTALL_DIR)/duma
-+ ${INSTALL} -d ${LIB_INSTALL_DIR}
- $(INSTALL) -m 644 libduma.a $(LIB_INSTALL_DIR)
- $(INSTALL) -m 755 $(DUMASO) $(LIB_INSTALL_DIR)
- - rm -f $(LIB_INSTALL_DIR)/$(DUMASO_LINK1)
- ln -s $(DUMASO) $(LIB_INSTALL_DIR)/$(DUMASO_LINK1)
- - rm -f $(LIB_INSTALL_DIR)/$(DUMASO_LINK2)
- ln -s $(DUMASO) $(LIB_INSTALL_DIR)/$(DUMASO_LINK2)
-+ ${INSTALL} -d ${MAN_INSTALL_DIR}
- $(INSTALL) -m 644 duma.3 $(MAN_INSTALL_DIR)/duma.3
-
- clean:
-@@ -201,8 +206,8 @@
- ifneq ($(OS), Windows_NT)
-
- $(DUMASO): duma_config.h $(SO_OBJECTS)
-- $(CXX) -g -shared -Wl,-soname,$(DUMASO) -o $(DUMASO) $(SO_OBJECTS) -lpthread -lc
-- $(CXX) -g -shared -o $(DUMASO) $(SO_OBJECTS) -lpthread -lc
-+ $(CXX) -g -shared -Wl,-soname,$(DUMASO) -o $(DUMASO) $(SO_OBJECTS) -lpthread
-+# $(CXX) -g -shared -o $(DUMASO) $(SO_OBJECTS) -lpthread
-
- endif
-
diff --git a/dev-util/duma/files/duma-2.4.27-types.patch b/dev-util/duma/files/duma-2.4.27-types.patch
deleted file mode 100644
index 902b5407589b..000000000000
--- a/dev-util/duma/files/duma-2.4.27-types.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- duma.c.orig 2007-03-18 20:41:35.000000000 -0700
-+++ duma.c 2007-03-18 20:43:08.000000000 -0700
-@@ -230,7 +230,7 @@
- * so that its name matches the name of the environment variable that is used
- * to set it. This gives the programmer one less name to remember.
- */
--int DUMA_ALIGNMENT = DUMA_MIN_ALIGNMENT;
-+size_t DUMA_ALIGNMENT = DUMA_MIN_ALIGNMENT;
-
- /*
- * DUMA_PROTECT_BELOW is used to modify the behavior of the allocator. When
---- duma.h.orig 2007-03-18 20:41:26.000000000 -0700
-+++ duma.h 2007-03-18 20:44:29.000000000 -0700
-@@ -64,7 +64,7 @@
- #define DUMA_EXTERNS_DECLARED
- /* global DUMA variables */
- DUMA_EXTERN_C int DUMA_PROTECT_BELOW;
--DUMA_EXTERN_C int DUMA_ALIGNMENT;
-+DUMA_EXTERN_C size_t DUMA_ALIGNMENT;
- DUMA_EXTERN_C int DUMA_FILL;
- DUMA_EXTERN_C struct _DUMA_Slot * _duma_allocList;
- #ifndef DUMA_NO_CPP_SUPPORT
---- dumatest.c.orig 2007-03-18 20:51:19.000000000 -0700
-+++ dumatest.c 2007-03-18 20:51:33.000000000 -0700
-@@ -53,7 +53,7 @@
- };
-
- extern int DUMA_PROTECT_BELOW;
--extern int DUMA_ALIGNMENT;
-+extern size_t DUMA_ALIGNMENT;
-
- static jmp_buf env;
-
diff --git a/dev-util/duma/files/duma-2.5.8-soname.patch b/dev-util/duma/files/duma-2.5.8-soname.patch
deleted file mode 100644
index 29af55dc73a6..000000000000
--- a/dev-util/duma/files/duma-2.5.8-soname.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig 2007-10-09 16:34:53.000000000 -0700
-+++ Makefile 2007-10-09 16:54:28.000000000 -0700
-@@ -326,8 +326,8 @@
- else
-
- $(DUMASO): duma_config.h $(SO_OBJECTS)
-- $(CXX) -g -shared -Wl,-soname,$(DUMASO) -o $(DUMASO) $(SO_OBJECTS) -lpthread -lc
-- $(CXX) -g -shared -o $(DUMASO) $(SO_OBJECTS) -lpthread -lc
-+ $(CXX) -g -shared -Wl,-soname -Wl,$(DUMASO) -o $(DUMASO) $(SO_OBJECTS) -lpthread -lc
-+# $(CXX) -g -shared -o $(DUMASO) $(SO_OBJECTS) -lpthread -lc
-
- endif
-