* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2017-10-26 20:30 Thomas Deutschmann
0 siblings, 0 replies; 10+ messages in thread
From: Thomas Deutschmann @ 2017-10-26 20:30 UTC (permalink / raw
To: gentoo-commits
commit: fafad01e0197bc8c9c781e615eda3f00579e0f08
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 20:28:50 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 20:30:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fafad01e
dev-util/duma: x86 stable (bug #632152)
Package-Manager: Portage-2.3.11, Repoman-2.3.3
dev-util/duma/duma-2.5.15-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
index 57aaca2bdcb..4b6563b69aa 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ppc ~x86"
+KEYWORDS="~amd64 ppc x86"
IUSE="examples"
S=${WORKDIR}/${MY_P}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2023-06-10 10:25 Sam James
0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-06-10 10:25 UTC (permalink / raw
To: gentoo-commits
commit: e4078f4f05e91aad681952dc7d7408b48fc15943
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 3 02:08:51 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 10:23:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4078f4f
dev-util/duma: drop dead prefix targets
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/duma/duma-2.5.15-r2.ebuild | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
index 92aff79a7b79..0a069e304e5d 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -38,14 +38,6 @@ src_configure() {
OS=solaris;;
*-darwin*)
OS=osx;;
- *-freebsd*)
- OS=freebsd;;
- *-netbsd*)
- OS=netbsd;;
- *-cygwin*)
- OS=cygwin;;
- **-irix**)
- OS=irix;;
esac
export OS="${OS}"
elog "Detected OS is: ${OS}"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2021-08-05 1:27 Sam James
0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-08-05 1:27 UTC (permalink / raw
To: gentoo-commits
commit: 72c1def52827d5becfb23b3312754d26468c8e0e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 5 01:26:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 5 01:26:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c1def5
dev-util/duma: workaround GCC 11 build failure for now
Going with this given a new release is coming
which fixes the issue properly anyhow.
Closes: https://bugs.gentoo.org/789708
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/duma/duma-2.5.15-r2.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
index a3293c92f73..92aff79a7b7 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit toolchain-funcs versionator
+inherit flag-o-matic toolchain-funcs versionator
MY_P=${PN}_$(replace_all_version_separators '_')
@@ -28,6 +28,9 @@ src_configure() {
export CFLAGS="-O0 -Wall -Wextra -U_FORTIFY_SOURCE"
tc-export AR CC CXX LD RANLIB
+ # bug #789708
+ append-cxxflags -std=c++14
+
case "${CHOST}" in
*-linux-gnu)
OS=linux;;
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2020-02-09 13:14 David Seifert
0 siblings, 0 replies; 10+ messages in thread
From: David Seifert @ 2020-02-09 13:14 UTC (permalink / raw
To: gentoo-commits
commit: b188081f0c09dd760201dd3ecea59297ca3ef781
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 9 13:13:04 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 13:13:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b188081f
dev-util/duma: [QA] Fix DeprecatedInsinto
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-util/duma/duma-2.5.15-r2.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
index 5f6cbd88a61..411a077e336 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -78,8 +78,8 @@ src_install(){
dodoc CHANGELOG TODO GNUmakefile
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins example[1-6].cpp example_makes/ex6/Makefile
+ docinto examples
+ dodoc example[1-6].cpp example_makes/ex6/Makefile
fi
}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2019-10-04 21:35 Michał Górny
0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2019-10-04 21:35 UTC (permalink / raw
To: gentoo-commits
commit: d19af30991a5d184e7cb1820902211db6b96d5db
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 4 21:14:58 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 4 21:35:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19af309
dev-util/duma: Drop old (EAPI 0)
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-util/duma/Manifest | 1 -
dev-util/duma/duma-2.5.13.ebuild | 86 ----------------------------------------
2 files changed, 87 deletions(-)
diff --git a/dev-util/duma/Manifest b/dev-util/duma/Manifest
index 4ab63517ca0..365fed56aa9 100644
--- a/dev-util/duma/Manifest
+++ b/dev-util/duma/Manifest
@@ -1,3 +1,2 @@
DIST duma-2.5.15-GNUmakefile.patch.bz2 4618 BLAKE2B 506127ce1f8f3d01d0443ab1240c585aa734bf3756ae632ccec8ff88f33fc0ffc5113705d5c3c31c14bf52a2cf3c82132669c2c14d24f0c6df17b8e802c8ef40 SHA512 6d83294897a60c6d0ebac388c8f791adc6a199b2c9838497bcfff39502262014c8437a331e08e3526568d3ef755a7dfdc2557771bdae89c58cd5f714eae70df2
-DIST duma_2_5_13.tar.gz 233157 BLAKE2B 233e9dda882ce380af65311adf21052fdf9d023c654aa50a156f79aafba25d1e2db116bffaa9b39232bf0d0c1ace248505ceaf24a1f7a3f24c4d2f34a7bf5ec0 SHA512 da0f46a697f95cbb17d0dbb3135df779ac347fd9e63c1578d2d732300d5288958d02b5a271e84292a8279c1ebc3dc153f896cbeca916cf18aba8e54788671288
DIST duma_2_5_15.tar.gz 240479 BLAKE2B c79f47ba418e22a65a2ad2d4cbff796c2a620ec5f36743d543fe1260e61ec700c648033ac3c91e71be3f3e1129a1c12e9f83a91277244962cfbd494d9588d681 SHA512 0e2abdb08cfbaf9fd0a6be348c831a83ac4ee86d2297dcd1c4d625ddb4b2c1c73eef05e2b895e291d5b8076b1baea559c89d475f30e409210df4ab69b71b6345
diff --git a/dev-util/duma/duma-2.5.13.ebuild b/dev-util/duma/duma-2.5.13.ebuild
deleted file mode 100644
index 8b98e3cc545..00000000000
--- a/dev-util/duma/duma-2.5.13.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils flag-o-matic multilib toolchain-funcs versionator
-
-MY_P="${PN}_$(replace_all_version_separators '_')"
-
-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"
-
-S="${WORKDIR}/${MY_P}"
-
-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" Makefile
- sed -i -e "s:share/doc/duma:share/doc/${P}:g" Makefile
-}
-
-src_compile(){
- replace-flags O? O0
- append-flags -Wall -Wextra -U_FORTIFY_SOURCE
- tc-export AR CC CXX LD RANLIB
-
- use amd64 && export DUMA_ALIGNMENT=16
-
- make CPPFLAGS="${DUMA_OPTIONS}" reconfig || die "make reconfig failed"
- emake CFLAGS="${CFLAGS}" 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
-}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2017-10-28 13:07 Andreas Hüttel
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Hüttel @ 2017-10-28 13:07 UTC (permalink / raw
To: gentoo-commits
commit: c29ce1fe3ddc319a08d4ed423517c914389b6950
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 13:07:21 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 13:07:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29ce1fe
dev-util/duma: amd64 stable, bug 632152
Closes: https://bugs.gentoo.org/632152
Package-Manager: Portage-2.3.13, Repoman-2.3.4
dev-util/duma/duma-2.5.15-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
index 4b6563b69aa..5f6cbd88a61 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE="examples"
S=${WORKDIR}/${MY_P}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2017-10-22 17:13 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2017-10-22 17:13 UTC (permalink / raw
To: gentoo-commits
commit: c8d1d141491f6cbf4578d33d7b0cfe0b55cc99be
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 17:13:23 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 17:13:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d1d141
dev-util/duma: stable 2.5.15-r2 for ppc, bug #632152
Package-Manager: Portage-2.3.12, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"
dev-util/duma/duma-2.5.15-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
index f44643877e1..57aaca2bdcb 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ppc ~x86"
IUSE="examples"
S=${WORKDIR}/${MY_P}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2016-09-29 17:20 Andrew Savchenko
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Savchenko @ 2016-09-29 17:20 UTC (permalink / raw
To: gentoo-commits
commit: ff277b921fc3cdb1a531522e8424d29f3d243490
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 17:12:56 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 17:20:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff277b92
dev-util/duma: bump to EAPI 6
Package-Manager: portage-2.3.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
dev-util/duma/duma-2.5.15-r2.ebuild | 93 +++++++++++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild b/dev-util/duma/duma-2.5.15-r2.ebuild
new file mode 100644
index 00000000..f789883
--- /dev/null
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs versionator
+
+MY_P=${PN}_$(replace_all_version_separators '_')
+
+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
+ mirror://gentoo/${P}-GNUmakefile.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${WORKDIR}"/${P}-GNUmakefile.patch
+)
+
+src_configure() {
+ # other flags will break duma
+ export CFLAGS="-O0 -Wall -Wextra -U_FORTIFY_SOURCE"
+ tc-export AR CC CXX LD RANLIB
+
+ case "${CHOST}" in
+ *-linux-gnu)
+ OS=linux;;
+ *-solaris*)
+ OS=solaris;;
+ *-darwin*)
+ OS=osx;;
+ *-freebsd*)
+ OS=freebsd;;
+ *-netbsd*)
+ OS=netbsd;;
+ *-cygwin*)
+ OS=cygwin;;
+ **-irix**)
+ OS=irix;;
+ esac
+ export OS="${OS}"
+ elog "Detected OS is: ${OS}"
+
+ if use amd64 && ! [ -n "${DUMA_ALIGNMENT}" ]; then
+ export DUMA_ALIGNMENT=16
+ elog "Exported DUMA_ALIGNMENT=${DUMA_ALIGNMENT} for x86_64,"
+ fi
+
+}
+
+src_compile() {
+ # The below must be run first if distcc is enabled, otherwise
+ # the real build breaks on parallel makes.
+ emake reconfig
+ emake
+}
+
+src_test() {
+ emake test
+
+ elog "Please, see the output above to verify all tests have passed."
+ elog "Both static and dynamic confidence tests should say PASSED."
+}
+
+src_install(){
+ emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" \
+ docdir="${D}/usr/share/doc/${PF}" install
+
+ sed -i "s|LD_PRELOAD=./libduma|LD_PRELOAD=libduma|" "${D}"/usr/bin/duma \
+ || die "sed failed"
+
+ dodoc CHANGELOG TODO GNUmakefile
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins example[1-6].cpp example_makes/ex6/Makefile
+ fi
+}
+
+pkg_postinst() {
+ elog "See the GNUmakefile which will be also installed at"
+ elog "/usr/share/doc/${PF} for more options. You can now export"
+ elog "varibles to the build system easily, e.g.:"
+ elog "# export CPPFLAGS=\"-DFLAG\" (or by using append-cppflags)"
+ elog "# export DUMA_ALIGNMENT=${DUMA_ALIGNMENT} (Default is 16 for x86_64)"
+ elog "See more information about DUMA_ALIGNMENT from Readme.txt"
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2016-09-29 17:20 Andrew Savchenko
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Savchenko @ 2016-09-29 17:20 UTC (permalink / raw
To: gentoo-commits
commit: d5b945cb389b5d51fad09e81a824502cf26f48d3
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 17:20:16 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 17:20:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b945cb
dev-util/duma: drop old
Package-Manager: portage-2.3.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
dev-util/duma/duma-2.5.15-r1.ebuild | 94 -------------------------------------
1 file changed, 94 deletions(-)
diff --git a/dev-util/duma/duma-2.5.15-r1.ebuild b/dev-util/duma/duma-2.5.15-r1.ebuild
deleted file mode 100644
index e295d57..00000000
--- a/dev-util/duma/duma-2.5.15-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=2
-inherit eutils flag-o-matic multilib toolchain-funcs versionator
-
-MY_P=${PN}_$(replace_all_version_separators '_')
-
-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
- mirror://gentoo/${P}-GNUmakefile.patch.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="examples"
-
-RDEPEND="app-shells/bash"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${DISTDIR}"/${P}-GNUmakefile.patch.bz2
-}
-
-src_compile() {
- # strip-flags
- replace-flags O? O0
- append-flags -Wall -Wextra -U_FORTIFY_SOURCE
- tc-export AR CC CXX LD RANLIB
-
- case "${CHOST}" in
- *-linux-gnu)
- OS=linux;;
- *-solaris*)
- OS=solaris;;
- *-darwin*)
- OS=osx;;
- *-freebsd*)
- OS=freebsd;;
- *-netbsd*)
- OS=netbsd;;
- *-cygwin*)
- OS=cygwin;;
- **-irix**)
- OS=irix;;
- esac
- export OS="${OS}"
- elog "Detected OS is: ${OS}"
-
- if use amd64 && ! [ -n "${DUMA_ALIGNMENT}" ]; then
- export DUMA_ALIGNMENT=16
- elog "Exported DUMA_ALIGNMENT=${DUMA_ALIGNMENT} for x86_64,"
- fi
-
- make reconfig || die "make config failed"
- # The above must be run first if distcc is enabled, otherwise
- # the real build breaks on parallel makes.
- emake || die "emake failed"
-}
-
-src_test() {
- emake test || die "emake test failed"
-
- elog "Please, see the output above to verify all tests have passed."
- elog "Both static and dynamic confidence tests should say PASSED."
-}
-
-src_install(){
- emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" \
- docdir="${D}/usr/share/doc/${PF}" install || die "emake install failed"
-
- dosed "s|LD_PRELOAD=./libduma|LD_PRELOAD=libduma|" /usr/bin/duma \
- || die "dosed failed"
-
- dodoc CHANGELOG TODO GNUmakefile
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins example[1-6].cpp example_makes/ex6/Makefile || die "doins failed"
- fi
-}
-
-pkg_postinst() {
- elog "See the GNUmakefile which will be also installed at"
- elog "/usr/share/doc/${PF} for more options. You can now export"
- elog "varibles to the build system easily, e.g.:"
- elog "# export CPPFLAGS=\"-DFLAG\" (or by using append-cppflags)"
- elog "# export DUMA_ALIGNMENT=${DUMA_ALIGNMENT} (Default is 16 for x86_64)"
- elog "See more information about DUMA_ALIGNMENT from Readme.txt"
-}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/
@ 2016-07-04 20:03 Andrew Savchenko
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Savchenko @ 2016-07-04 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 5ab2ecff7187f276723fb4314c3f4bb0c4e6c01c
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 4 19:55:51 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Jul 4 20:03:21 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab2ecff
dev-util/duma: Take an orphaned package
Package-Manager: portage-2.3.0
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
dev-util/duma/metadata.xml | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/dev-util/duma/metadata.xml b/dev-util/duma/metadata.xml
index a63df1d..8e3b12d 100644
--- a/dev-util/duma/metadata.xml
+++ b/dev-util/duma/metadata.xml
@@ -1,13 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
+ <maintainer type="person">
+ <email>bircoph@gentoo.org</email>
+ <name>Andrew Savchenko</name>
+ </maintainer>
+ <longdescription>
DUMA is an open-source library (under GNU General Public License) to
detect buffer overruns and under-runs in C and C++ programs. This
library is a fork of Buce Perens Electric Fence library and adds
some new features to it.</longdescription>
- <upstream>
- <remote-id type="sourceforge">duma</remote-id>
- </upstream>
+ <upstream>
+ <remote-id type="sourceforge">duma</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-06-10 10:25 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-26 20:30 [gentoo-commits] repo/gentoo:master commit in: dev-util/duma/ Thomas Deutschmann
-- strict thread matches above, loose matches on Subject: below --
2023-06-10 10:25 Sam James
2021-08-05 1:27 Sam James
2020-02-09 13:14 David Seifert
2019-10-04 21:35 Michał Górny
2017-10-28 13:07 Andreas Hüttel
2017-10-22 17:13 Sergei Trofimovich
2016-09-29 17:20 Andrew Savchenko
2016-09-29 17:20 Andrew Savchenko
2016-07-04 20:03 Andrew Savchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox