diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/dejagnu | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/dejagnu')
-rw-r--r-- | dev-util/dejagnu/Manifest | 10 | ||||
-rw-r--r-- | dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild | 39 | ||||
-rw-r--r-- | dev-util/dejagnu/dejagnu-1.5.ebuild | 29 | ||||
-rw-r--r-- | dev-util/dejagnu/dejagnu-1.6.ebuild | 28 | ||||
-rw-r--r-- | dev-util/dejagnu/files/dejagnu-1.4.4-rsh-username.patch | 45 | ||||
-rw-r--r-- | dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch | 21 | ||||
-rw-r--r-- | dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch | 23 | ||||
-rw-r--r-- | dev-util/dejagnu/metadata.xml | 8 |
8 files changed, 203 insertions, 0 deletions
diff --git a/dev-util/dejagnu/Manifest b/dev-util/dejagnu/Manifest new file mode 100644 index 000000000000..2904c5c28e5d --- /dev/null +++ b/dev-util/dejagnu/Manifest @@ -0,0 +1,10 @@ +AUX dejagnu-1.4.4-rsh-username.patch 1304 BLAKE2B 58fee39ac991d63c0de7177343428b60fc8f84259107837d92608bb252e3c3876251bdace3ca035e69df6a06a2e65b9bf1a5dfbb1668e79e0be3615f9c3bf36b SHA512 9d1d9c29759f4ffe137da1d9dea535b507b924e95adb1fff35e4755e06bab22a31b0d7cb3d3d2336353c099cc9aa0b639689a58e5226e23e8db4235fa67d4dd4 +AUX dejagnu-1.4.4-testglue-protos.patch 393 BLAKE2B 5bb8b2240a6f0eca3cbd18b073143a005fe73e0812ff8602107b2f93ae9a72e67fd68f3bc9213f93c31e4ef66a646b7557c04a6f32488243bb979110e2d40383 SHA512 5f8ff3f472ec3bfe3b426486a02816f821e089ebb5efaf7a2467a0eb06f6a79e46a56f81f79c9af07958d4ff5e0a1de3593711724f8cdaf88ff0009b73bf169b +AUX dejagnu-ignore-libwarning.patch 1129 BLAKE2B 5fc7cbba3acecd3e51e66dcc68da4d3f3c314c781bd67d69d28c2c59aff94a0354ae00676d94d70120a987927f45c64aa076df0f223d2e2c8a35552a924cb1eb SHA512 e31f5218d29ac648842b93828cb5f3bdb8b3276a9c672efe27a10ba19bcaae1fd026fbf40e516a4639856469972de583b816b7187f8c544523aac37f12f5621e +DIST dejagnu-1.4.4.tar.gz 1080346 BLAKE2B 183566795c2ba9cf4acbc9c39e93a45b50409eefef0ae2039cbdf56135e367552d190e5b01b5bceab4e26b3b05c0ea68e892b7c6bd419bc38bcfc7c5be27645e SHA512 fae08d4801b6a815af8771896e6e5eb12b297b773faa89743eac28d08c7eac6ed7e530921acdba1b9a7903990060c520497d281651d29d98ab0def1dbfab392e +DIST dejagnu-1.5.tar.gz 576269 BLAKE2B df7767e5b8adbad7315e3489d3f8a267043e2bf27ed120ad7e534b9a6dc8c5ae2fa5fdbf7ff6fe530605998af4a09cc3b4b94881837b5f3c6336a9c515b5c7e2 SHA512 a9486e28f7ce25c34b59d00c0e4862bbb4b7a01d8faae0d1f28669b9d3ded9ed233b892aa27c34e1d06911f071d894aba7c1469e2fd0bddaa5611c2383e4974f +DIST dejagnu-1.6.tar.gz 523969 BLAKE2B 1cc9498aacd681570cd8d8834cd2fe0594bb49e6664cfe934b824dba0bd4a6766f977de6a1dc4596095a11d68844873f5687000423f4928f0432981023d26451 SHA512 a494dd5cde8d275b397116049c93e183f5f1731d63660ee8d2f4263b099fc5be7fbddde927fab3ccd5f000c43d50242f94bbb4d95497b915ea53be418bc145bc +EBUILD dejagnu-1.4.4-r3.ebuild 987 BLAKE2B 4691d1c0d8ebb2f3065e257baad8e9f9b098b45072fa055692e07d470599b2c7b19a41694158cfd9983763fd6f89638856ce1975da0d2383b2620ebc911ea027 SHA512 cfff2240532dd13861c68c5e279e55d9466dfe01275fa668700dc573b003305f03256b9ae86553c1e93f181b801cb943f49ddc0de8aca38749eb9cbbbc108673 +EBUILD dejagnu-1.5.ebuild 801 BLAKE2B c0486854835b12c998cd3fd273858f5c3230dadc2071e908c4f1ffdd3b93b8391f0a6830b517c74e1cfc0cb7de86da2af320e55c71921203fba11954b2eaba9f SHA512 809c6ce3913880be91f9efd9a76e26affa5a8269a8047443c87584659ed03b25ecf9f6f5db65a22a82e9000994420699d8ffbd90dacbb6b01ab28d6458bc169a +EBUILD dejagnu-1.6.ebuild 737 BLAKE2B 5bba994236b2cce0e03ce5e2144c955fd0a2f3b22f174279ed958088399bccb1805175383935d70cfbb51ed86c7ea960be6e3d898fa04a1fd9c92086fc58dc07 SHA512 caf18bc683b57ba5f35d332f93300b324cd3fff5a167fde260e11c9df0a0f3d03fc40f486f848b78a9854d143e36fe2bf244e8ee34337f0fd49dcd53d8f41a02 +MISC metadata.xml 257 BLAKE2B 468bd91200194cf2104205cb18f54d629954ed0d86d85a5d3e90af1942eb199d777a0ebc17d1f610f69326d3e0caa686255709f165466f5e0a675380373b30f9 SHA512 fd85d9cf15f6b7db96e4d184e32ae6f1503a5b70cb4cb1ce930ba13a1d5d4c4b24971781e95b7f3f9ead58b31760f84c368bc6fa2a793b4b5baf78259b047ff1 diff --git a/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild b/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild new file mode 100644 index 000000000000..d1e7f9a820b1 --- /dev/null +++ b/dev-util/dejagnu/dejagnu-1.4.4-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit eutils + +DESCRIPTION="framework for testing other programs" +HOMEPAGE="https://www.gnu.org/software/dejagnu/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="doc" + +DEPEND="dev-lang/tcl + dev-tcltk/expect" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/dejagnu-ignore-libwarning.patch + epatch "${FILESDIR}"/${P}-rsh-username.patch + epatch "${FILESDIR}"/${P}-testglue-protos.patch +} + +src_test() { + # if you dont have dejagnu emerged yet, you cant + # run the tests ... crazy aint it :) + type -p runtest || return 0 + emake check || die "check failed :(" +} + +src_install() { + emake -j1 install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README TODO + use doc && dohtml -r doc/html/ +} diff --git a/dev-util/dejagnu/dejagnu-1.5.ebuild b/dev-util/dejagnu/dejagnu-1.5.ebuild new file mode 100644 index 000000000000..5b3deb69ffc5 --- /dev/null +++ b/dev-util/dejagnu/dejagnu-1.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +DESCRIPTION="framework for testing other programs" +HOMEPAGE="https://www.gnu.org/software/dejagnu/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="doc" + +DEPEND="dev-lang/tcl + dev-tcltk/expect" + +src_test() { + # if you dont have dejagnu emerged yet, you cant + # run the tests ... crazy aint it :) + type -p runtest || return 0 + emake check || die "check failed :(" +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README TODO + use doc && dohtml -r doc/html/ +} diff --git a/dev-util/dejagnu/dejagnu-1.6.ebuild b/dev-util/dejagnu/dejagnu-1.6.ebuild new file mode 100644 index 000000000000..331d31f60aee --- /dev/null +++ b/dev-util/dejagnu/dejagnu-1.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Framework for testing other programs" +HOMEPAGE="https://www.gnu.org/software/dejagnu/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="dev-lang/tcl + dev-tcltk/expect" + +src_test() { + # if you dont have dejagnu emerged yet, you cant + # run the tests ... crazy aint it :) + type -p runtest || return 0 + emake check +} + +src_install() { + emake install DESTDIR="${D}" + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/dev-util/dejagnu/files/dejagnu-1.4.4-rsh-username.patch b/dev-util/dejagnu/files/dejagnu-1.4.4-rsh-username.patch new file mode 100644 index 000000000000..ff4e970a4fd4 --- /dev/null +++ b/dev-util/dejagnu/files/dejagnu-1.4.4-rsh-username.patch @@ -0,0 +1,45 @@ +fix from upstream: + +2004-03-05 Daniel Jacobowitz <drow@mvista.com> + + * lib/remote.exp (standard_spawn): Fix rsh username support. + +diff --git a/lib/remote.exp b/lib/remote.exp +index b57276e..cdec0d2 100644 +--- a/lib/remote.exp ++++ b/lib/remote.exp +@@ -860,19 +860,18 @@ proc standard_spawn { dest commandline } { + set RSH [board_info $dest rsh_prog] + } + +- if ![board_info $dest exists username] { +- set rsh_useropts "" +- } else { +- set rsh_useropts "-l $username" +- } +- + if [board_info $dest exists hostname] { + set remote [board_info $dest hostname] + } else { + set remote $dest + } + +- spawn $RSH $rsh_useropts $remote $commandline ++ if ![board_info $dest exists username] { ++ spawn $RSH $remote $commandline ++ } else { ++ spawn $RSH -l [board_info $dest username] $remote $commandline ++ } ++ + set board_info($dest,fileid) $spawn_id + return $spawn_id + } +@@ -1257,6 +1256,8 @@ proc remote_expect { board timeout args } { + } + + if {$code == 1} { ++ if {[info exists string]} {send_user "ERROR OCCURED: $errorInfo $errorCode $string"} ++ + if { $error_sect != "" } { + set code [catch {uplevel $error_sect} string] + } else { diff --git a/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch b/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch new file mode 100644 index 000000000000..4ddaffb1c66d --- /dev/null +++ b/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch @@ -0,0 +1,21 @@ +fix from upstream: + +2004-08-20 Daniel Jacobowitz <dan@debian.org> + + * testglue.c: Prototype abort(3) and exit(3). + +diff --git a/testglue.c b/testglue.c +index 55a7f92..4ede6eb 100644 +--- a/testglue.c ++++ b/testglue.c +@@ -40,6 +40,10 @@ + #define ORIG_ABORT __wrap_abort + #define ORIG_MAIN __wrap_main + #endif ++ ++extern void abort (void); ++extern void exit (int); ++ + #endif + + #ifdef REAL_MAIN diff --git a/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch b/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch new file mode 100644 index 000000000000..f4af06e6ff89 --- /dev/null +++ b/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch @@ -0,0 +1,23 @@ +dejagnu/ChangeLog + * lib/target.exp (prune_warnings): Correct pic/PIC regexp. + Ignore incompatible library warning. + +Index: dejagnu/lib/target.exp +=================================================================== +RCS file: /cvs/src/src/dejagnu/lib/target.exp,v +retrieving revision 1.12 +diff -u -p -r1.12 target.exp +--- dejagnu/lib/target.exp 21 Apr 2002 08:47:07 -0000 1.12 ++++ dejagnu/lib/target.exp 9 Jun 2003 07:34:06 -0000 +@@ -279,7 +279,10 @@ proc prune_warnings { text } { + regsub -all "(^|\n)\[^\n\]*: warning: as it has already been specified\[^\n\]*" $text "" text + + # Cygwin cc1 warns about -fpic and -fPIC +- regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text ++ regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target \[^\n\]*" $text "" text ++ ++ # Ignore linker warning when searching 64bit libraries in /lib. ++ regsub -all "(^|\n)\[^\n\]*: skipping incompatible \[^\n\]* when searching for \[^\n\]*" $text "" text + + # It might be tempting to get carried away and delete blank lines, etc. + # Just delete *exactly* what we're ask to, and that's it. diff --git a/dev-util/dejagnu/metadata.xml b/dev-util/dejagnu/metadata.xml new file mode 100644 index 000000000000..e396f3755977 --- /dev/null +++ b/dev-util/dejagnu/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>toolchain@gentoo.org</email> + <name>Gentoo Toolchain Project</name> +</maintainer> +</pkgmetadata> |