[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcllib/files/, dev-tcltk/tcllib/

2021-01-02 Thread Alfredo Tupone
commit: c1a100ff591c3d245636af3c3f856af7502f0ae2
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jan  2 12:11:33 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Jan  2 12:11:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a100ff

dev-tcltk/tcllib: remove old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tcllib/Manifest |  1 -
 dev-tcltk/tcllib/files/tcllib-1.19-test.patch | 18 -
 dev-tcltk/tcllib/tcllib-1.19.ebuild   | 58 ---
 3 files changed, 77 deletions(-)

diff --git a/dev-tcltk/tcllib/Manifest b/dev-tcltk/tcllib/Manifest
index 8a4030aab8b..1e734139f5b 100644
--- a/dev-tcltk/tcllib/Manifest
+++ b/dev-tcltk/tcllib/Manifest
@@ -1,2 +1 @@
-DIST tcllib-1.19.tar.xz 6298564 BLAKE2B 
f137227004dd4acded7c8aae6b36fd50fedee67a725ecef0046f1af7abc7bb8e11207a141e15390a6ce3a1a3914b1cd2e5a798035eba631254792b2819383013
 SHA512 
08f549a3513316919c61f015a604aa671a73c0fd59a8a20b916d106e7d7d6f4bd59b485a92307778cfea1b00f78c2972a086b1bf960fe85a26fe273b7ada8d12
 DIST tcllib-1.20.tar.xz 6692664 BLAKE2B 
3e70cf0d0f9e469a20e18f84238f56a53b5b8e36abcf418dc32f64c819728968d24e2999705d91d8341cb608a6bb674a063e86253cddfb51f2693a94d0e070e5
 SHA512 
d2c20642f91cdc7bf3b329025be80eb9288d0919fa439c2066349b52950cf3c343f39c7745b9b08ec28a884ff2f219fe0fb5f47023f1266b6a6de6ae54852412

diff --git a/dev-tcltk/tcllib/files/tcllib-1.19-test.patch 
b/dev-tcltk/tcllib/files/tcllib-1.19-test.patch
deleted file mode 100644
index bdeec3fff19..000
--- a/dev-tcltk/tcllib/files/tcllib-1.19-test.patch
+++ /dev/null
@@ -1,18 +0,0 @@
 a/modules/httpd/httpd.test 2019-11-02 22:36:08.983215578 +0100
-+++ b/modules/httpd/httpd.test 2019-11-02 22:37:04.397309180 +0100
-@@ -448,15 +448,6 @@
- 
- [clock seconds]}]
- 
--test scgi-client-0005 {URL Different output with a different request} {
--set reply [::scgi::test::send 10001 {REQUEST_METHOD POST
--REQUEST_URI /time
--
--THIS ONE ALONE IS MINE}]
--
--::httpd::test::compare $reply $checkreply
--} {}
--
- set fin [open [file join $DEMOROOT pkgIndex.tcl] r]
- set checkfile [read $fin]
- close $fin

diff --git a/dev-tcltk/tcllib/tcllib-1.19.ebuild 
b/dev-tcltk/tcllib/tcllib-1.19.ebuild
deleted file mode 100644
index c889ad4dbbe..000
--- a/dev-tcltk/tcllib/tcllib-1.19.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit virtualx
-
-DESCRIPTION="Tcl Standard Library"
-HOMEPAGE="http://www.tcl.tk/software/tcllib/";
-SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="examples"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-lang/tcl:0=
-   dev-tcltk/tdom
-   "
-DEPEND="${RDEPEND}"
-
-DOCS=(
-   ChangeLog DESCRIPTION.txt README-1.19.txt README.developer
-   devdoc/critcl-tcllib.txt devdoc/dirlayout_install.txt
-   devdoc/indexing.txt devdoc/installation.txt
-)
-HTML_DOCS=( devdoc/devguide.html devdoc/releaseguide.html )
-
-PATCHES=( "${FILESDIR}"/${P}-test.patch )
-
-src_prepare() {
-   default
-   if has_version ">=dev-lang/tcl-8.6.9"; then
-   sed -i \
-   -e "s|::hook::call|call|" \
-   -e "s|::string::token::shell|shell|" \
-   "${S}"/modules/hook/hook.test \
-   "${S}"/modules/string/token_shell.test \
-   || die
-   fi
-}
-
-src_test() {
-   USER= virtx emake test_batch
-}
-
-src_install() {
-   default
-
-   if use examples ; then
-   for f in $(find examples -type f); do
-   docinto $(dirname $f)
-   dodoc $f
-   done
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcllib/files/

2020-08-25 Thread Alfredo Tupone
commit: 1cdd9d1d55ff295d515683e8e7aa36ef9e509ae1
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Aug 25 08:48:14 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Aug 25 08:48:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cdd9d1d

dev-tcltk/tcllib: remove failing test

Closes: https://bugs.gentoo.org/738856
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tcllib/files/tcllib-1.20-test.patch | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/dev-tcltk/tcllib/files/tcllib-1.20-test.patch 
b/dev-tcltk/tcllib/files/tcllib-1.20-test.patch
index 80371c98115..326edcdbc39 100644
--- a/dev-tcltk/tcllib/files/tcllib-1.20-test.patch
+++ b/dev-tcltk/tcllib/files/tcllib-1.20-test.patch
@@ -99,3 +99,34 @@
  tcl8.6.10plus {wrong # args: should be "::string::token::shell ?-indices? 
?-partial? ?--? text"}
  tcl8.6not10   {wrong # args: should be "shell ?-indices? ?-partial? ?--? 
text"}
  tcl8.5minus   {wrong # args: should be "::string::token::shell ?-indices? 
?-partial? ?--? text"}
+--- a/modules/pki/pki.test 2020-08-25 10:17:32.102420666 +0200
 b/modules/pki/pki.test 2020-08-25 10:18:02.445984702 +0200
+@@ -123,28 +123,6 @@
+ unset privkey cakey cacert ca_arr ca password csr
+ } -result [asset-get result/cert-b]
+ 
+-test rsa-verify-certv1-1.0 {verify_cert} -setup {
+-set pubcert [asset-get test-v1.crt]
+-set cacert [asset-get CA.crt]
+-set pubcert [::pki::x509::parse_cert $pubcert]
+-set cacert [::pki::x509::parse_cert $cacert]
+-} -body {
+-::pki::x509::verify_cert $pubcert [list $cacert]
+-} -cleanup {
+-unset pubcert cacert
+-} -result {true}
+-
+-test rsa-verify-certv3-1.0 {verify_cert} -setup {
+-set pubcert [asset-get test-v3.crt]
+-set cacert [asset-get CA.crt]
+-set pubcert [::pki::x509::parse_cert $pubcert]
+-set cacert [::pki::x509::parse_cert $cacert]
+-} -body {
+-::pki::x509::verify_cert $pubcert [list $cacert]
+-} -cleanup {
+-unset pubcert cacert
+-} -result {true}
+-
+ test rsa-verify-badcertv1-1.0 {verify_cert} -setup {
+ set pubcert [asset-get test-v1.crt]
+ set cacert [asset-get test-v1.crt]



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcllib/files/, dev-tcltk/tcllib/

2019-11-02 Thread Alfredo Tupone
commit: ebf94e7aefeceab36a9245b1e91197a4df0ef4b3
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sat Nov  2 21:42:54 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Nov  2 21:43:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf94e7a

dev-tcltk/tcllib: Removing a test dependent on time

Closes: https://bugs.gentoo.org/681234
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tcllib/files/tcllib-1.19-test.patch | 18 ++
 dev-tcltk/tcllib/tcllib-1.19.ebuild   |  2 ++
 2 files changed, 20 insertions(+)

diff --git a/dev-tcltk/tcllib/files/tcllib-1.19-test.patch 
b/dev-tcltk/tcllib/files/tcllib-1.19-test.patch
new file mode 100644
index 000..bdeec3fff19
--- /dev/null
+++ b/dev-tcltk/tcllib/files/tcllib-1.19-test.patch
@@ -0,0 +1,18 @@
+--- a/modules/httpd/httpd.test 2019-11-02 22:36:08.983215578 +0100
 b/modules/httpd/httpd.test 2019-11-02 22:37:04.397309180 +0100
+@@ -448,15 +448,6 @@
+ 
+ [clock seconds]}]
+ 
+-test scgi-client-0005 {URL Different output with a different request} {
+-set reply [::scgi::test::send 10001 {REQUEST_METHOD POST
+-REQUEST_URI /time
+-
+-THIS ONE ALONE IS MINE}]
+-
+-::httpd::test::compare $reply $checkreply
+-} {}
+-
+ set fin [open [file join $DEMOROOT pkgIndex.tcl] r]
+ set checkfile [read $fin]
+ close $fin

diff --git a/dev-tcltk/tcllib/tcllib-1.19.ebuild 
b/dev-tcltk/tcllib/tcllib-1.19.ebuild
index d00b44232ee..4df05cba130 100644
--- a/dev-tcltk/tcllib/tcllib-1.19.ebuild
+++ b/dev-tcltk/tcllib/tcllib-1.19.ebuild
@@ -27,6 +27,8 @@ DOCS=(
 )
 HTML_DOCS=( devdoc/devguide.html devdoc/releaseguide.html )
 
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
 src_prepare() {
default
if has_version ">=dev-lang/tcl-8.6.9"; then



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcllib/files/, dev-tcltk/tcllib/

2017-12-08 Thread Michał Górny
commit: 2714e9a707652692bb0290a1f154768b409f863e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec  8 18:45:42 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec  8 18:47:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2714e9a7

dev-tcltk/tcllib: [QA] Move patches to distfiles

While at it, also collect the currently separate patches into one
tarball.

Closes: https://bugs.gentoo.org/620570

 dev-tcltk/tcllib/Manifest  |   8 +-
 dev-tcltk/tcllib/files/tcllib-1.15-XSS-vuln.patch  | 907 -
 .../tcllib/files/tcllib-1.15-tcl8.6-test.patch | 411 --
 dev-tcltk/tcllib/files/tcllib-1.15-test.patch  |  81 --
 dev-tcltk/tcllib/files/tcllib-1.16-XSS-vuln.patch  | 572 -
 dev-tcltk/tcllib/files/tcllib-1.16-test.patch  |  81 --
 dev-tcltk/tcllib/tcllib-1.15-r2.ebuild |  13 +-
 dev-tcltk/tcllib/tcllib-1.16.ebuild|   7 +-
 8 files changed, 14 insertions(+), 2066 deletions(-)

diff --git a/dev-tcltk/tcllib/Manifest b/dev-tcltk/tcllib/Manifest
index 816a671a73e..0659ab857d3 100644
--- a/dev-tcltk/tcllib/Manifest
+++ b/dev-tcltk/tcllib/Manifest
@@ -1,4 +1,4 @@
-DIST Tcllib-1.16.tar.bz2 6089076 SHA256 
04306d3ffc499c8830d393bf7528227e49c68077b3e9247c4171b15be012 SHA512 
5e0656c178c0fae907c101b5324f04ba1bb5c26f4d1015868194dbb393e88a281ecf66bc4701167db24ddb526b87acfd88223e0e9e6db1f9d0ffb919b3372752
 WHIRLPOOL 
543f5ef8b337eb2c34f90201c829f20cfd3beb0f7dcf146f4d27b66f0b8796bf518d44dad31e2be66857b50a515b5a10ae8e394d6b393e1b202903b6b68f04aa
-DIST tcllib-1.15-manpage-rename.patch.xz 3188 SHA256 
d86f60e98013fe35a1038247e1992a0afc9314462d693ee10ee30ded501e1869 SHA512 
9bcdb6c7dcb492a58e767529a8bb5a2c83912577ae124fec40f3bbd6fb283a4befb2dfc3d7a986b287ba9709bba7261b676d78441c8be0f614f31bc123d81126
 WHIRLPOOL 
1ac9fd5fddba5adab9560cabb0a5df9a3e0c2bafda861cabb6519bcef2a94c54f2dcd2e04e3b3892cda2c374c0186d7e21e4e435f109a8915eaa507019a53db8
-DIST tcllib-1.15-test.patch.xz 3208 SHA256 
16fbf7d564f3b0f338d3f21774199738ca0014e4d689b053bef8840023cf8889 SHA512 
8b9de181cdc39e0f9361694fb1bb9ee42b3fba269d13e91be31643ce3509c34e3e6b74b043e067dda49d75b6f4a009a79361f7a9ecf4613a509decb3eacf8447
 WHIRLPOOL 
1b138a1d742e8b7aeb574ec1eb1d7688b9a7bcf469269b4b27004f23f9d7947b9dd4828322739606bd3a9aecc11202d3712f15cd459448f18f6e9a2896911a12
-DIST tcllib-1.15.tar.bz2 5030648 SHA256 
7a1e27f6d2e625af15d13df6117958815c8482e662a914fc1cbd7f0b0e780e71 SHA512 
544b1193266e860eb59a4c313645376bba8488711b2afc629d99d0e719252db79caae73022ae1dc21dc123f949fa8930f81112c3f80328fc83952b64f93ca3c4
 WHIRLPOOL 
75ef40710859c0f669fdac96ee7ed5d76d6a10081649d890cadc970c21478b2daddd8289853e38239d68ad9aae0dd9ee5ee94827f1bf0e4b5b511134024e062c
+DIST Tcllib-1.16.tar.bz2 6089076 BLAKE2B 
d3b2d439689320e85a2a31f9dcd7bbb23af6d54eec299cb2b4248b961f98de95a878cc20c2bca712f907f6359ae6152d912e849a47d9394910b9278ff748d617
 SHA512 
5e0656c178c0fae907c101b5324f04ba1bb5c26f4d1015868194dbb393e88a281ecf66bc4701167db24ddb526b87acfd88223e0e9e6db1f9d0ffb919b3372752
+DIST tcllib-1.15-patchset.tar.xz 16164 BLAKE2B 
590f6ea38aa2cf98e80011591d5bf06f27d4ca2af03b2e633a2752c184d2c1d78cc22f9b8472a2e5af7052cbb742a22fec0d487974a7599e4d4081bd5e80dcfe
 SHA512 
85507cd00692138ea3c791f88bf4bbdadefa91168a55aebd1da7a89a9de37c3352be27db25bfdb7478dfc90865f906b290fdcbd858be0c01e3502f0446f03262
+DIST tcllib-1.15.tar.bz2 5030648 BLAKE2B 
9731be4282bc3b3b0bb56021c3f0a7943ff4163d04ae397b1e0543cbce0642cbf5f64b66c57348a932d9e29c53273223998f2d8b0b087ff7ac679191e8a35ece
 SHA512 
544b1193266e860eb59a4c313645376bba8488711b2afc629d99d0e719252db79caae73022ae1dc21dc123f949fa8930f81112c3f80328fc83952b64f93ca3c4
+DIST tcllib-1.16-patchset.tar.xz 5484 BLAKE2B 
b7dc4cd1045cc88e7cc85412734cd036a77af276635e20ff7df207bf5296df63f9c4b1374957f2d01ef278daabdb1b7bb5cb1bb9e3d2a4e0100be02d23ddbb2a
 SHA512 
1bb3b7ed698a77502eecc7ae9fe28b0370770d08235994fd083828af4e87aee49f60c529774bf54dc339122b68fc1841acdd05b27f95ef78145934268567fc03

diff --git a/dev-tcltk/tcllib/files/tcllib-1.15-XSS-vuln.patch 
b/dev-tcltk/tcllib/files/tcllib-1.15-XSS-vuln.patch
deleted file mode 100644
index 4b3502dd86f..000
--- a/dev-tcltk/tcllib/files/tcllib-1.15-XSS-vuln.patch
+++ /dev/null
@@ -1,907 +0,0 @@
- modules/html/html.man | 146 +-
- modules/html/html.tcl |  55 +---
- modules/html/html.test| 224 +++---
- modules/html/pkgIndex.tcl |   2 +-
- 4 files changed, 297 insertions(+), 130 deletions(-)
-
-diff --git a/modules/html/html.man b/modules/html/html.man
-index efb41fc..f18cf4b 100644
 a/modules/html/html.man
-+++ b/modules/html/html.man
-@@ -1,10 +1,19 @@
- [comment {-*- tcl -*- doctools manpage}]
--[manpage_begin html n 1.4]
-+[vset HTML_VERSION 1.4.4]
-+[manpage_begin html n [vset HTML_VERSION]]
-+[see_also htmlparse]
-+[see_also ncgi]
-+[keywords checkbox]
-+[keywords checkbutton]
-+[keywords form]
-

[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcllib/files/

2016-10-14 Thread Amy Winston
commit: 7b09fed3fa9eb02da62692c813134de832f3aea3
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Thu Sep 29 16:50:55 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Fri Oct 14 17:34:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b09fed3

dev-tcltk/tcllib: remove unused patch

 dev-tcltk/tcllib/files/tcllib-1.14-test.patch | 39 ---
 1 file changed, 39 deletions(-)

diff --git a/dev-tcltk/tcllib/files/tcllib-1.14-test.patch 
b/dev-tcltk/tcllib/files/tcllib-1.14-test.patch
deleted file mode 100644
index b8c83fd..
--- a/dev-tcltk/tcllib/files/tcllib-1.14-test.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: support/devel/sak/validate/syntax.tcl
-==
 support/devel/sak/validate/syntax.tcl
-+++ support/devel/sak/validate/syntax.tcl
-@@ -192,11 +192,13 @@
-   if {[string equal $c rename]}continue
-   if {[string equal $c namespace]} continue
-   interp eval $ip [list ::rename $c {}]
- }
- 
--interp eval $ip [list ::namespace delete ::tcl]
-+if {![package vsatisfies [package present Tcl] 8.6]} {
-+  interp eval $ip [list ::namespace delete ::tcl]
-+}
- interp eval $ip [list ::rename namespace {}]
- interp eval $ip [list ::rename rename{}]
- 
- foreach m {
-   pcx::register unknown
-
-Index: support/devel/sak/validate/testsuites.tcl
-==
 support/devel/sak/validate/testsuites.tcl
-+++ support/devel/sak/validate/testsuites.tcl
-@@ -137,11 +137,13 @@
-   if {[string equal $c rename]}continue
-   if {[string equal $c namespace]} continue
-   interp eval $ip [list ::rename $c {}]
- }
- 
--interp eval $ip [list ::namespace delete ::tcl]
-+if {![package vsatisfies [package present Tcl] 8.6]} {
-+  interp eval $ip [list ::namespace delete ::tcl]
-+}
- interp eval $ip [list ::rename namespace {}]
- interp eval $ip [list ::rename rename{}]
- 
- foreach m {
-   testing unknown useLocal useLocalKeep useAccel