summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-26 19:15:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-26 19:15:12 +0000
commitb3e456d42287ef73c7ff48148d18a9ea8fb8debf (patch)
tree1c9ad46437b76c8af060cd54ff3ceb0f8678b6ce /app-text
parent7de40ae3e1ba40671bc9aac9ebbf3f42952a036b (diff)
gentoo auto-resync : 26:11:2022 - 19:15:12
Diffstat (limited to 'app-text')
-rw-r--r--app-text/Manifest.gzbin48912 -> 48912 bytes
-rw-r--r--app-text/uudeview/Manifest4
-rw-r--r--app-text/uudeview/files/uudeview-0.5.20-fix-function-definitions-clang16.patch134
-rw-r--r--app-text/uudeview/files/uudeview-0.5.20-format-string-warning-inews.patch11
-rw-r--r--app-text/uudeview/files/uudeview-0.5.20-string_format_issue.patch24
-rw-r--r--app-text/uudeview/uudeview-0.5.20-r3.ebuild43
-rw-r--r--app-text/xml2rfc/Manifest2
-rw-r--r--app-text/xml2rfc/xml2rfc-3.15.3.ebuild54
8 files changed, 272 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index 6325a69daf5e..28ad85ee0ddd 100644
--- a/app-text/Manifest.gz
+++ b/app-text/Manifest.gz
Binary files differ
diff --git a/app-text/uudeview/Manifest b/app-text/uudeview/Manifest
index 7a2d8a7bb0f1..d112cea405fc 100644
--- a/app-text/uudeview/Manifest
+++ b/app-text/uudeview/Manifest
@@ -2,9 +2,13 @@ AUX uudeview-0.5.20-CVE-2004-2265.patch 1788 BLAKE2B 6ee4cc768f3bab3cb4116c465d1
AUX uudeview-0.5.20-CVE-2008-2266.patch 4595 BLAKE2B dd2ba71e43941812472729575f1481be9d93641f1868952385f7d5f69d6c63991b6856becc967d92c1ced93f0b5a68349af43b011de4ab92adacb93232b226c4 SHA512 fe6ffaf4d55f8a367cf8661ee4599f1224b2bdbf1d3659558c024e7c0d9a6ad043d7eb9631f28e4762b39a5b5e2a417b66be9e98efc7e5caeb9a286e239e486e
AUX uudeview-0.5.20-bugfixes.patch 3575 BLAKE2B 8778f0f08fa8d8c5faabf2721c195505a53369f30d93c494080025e491121a75135f321fe5c0c117e5bfd538a7cb2d82fc64cb5584822dc9f353cd31b168bdf0 SHA512 c5e4126e9457cb94d6f014ba20e2497969a50b84d917bd31529a2a75ae5b1e9990ec946e8f8de7a83ced71e32aea7d62210416d94b765dc860902825ca6b34a3
AUX uudeview-0.5.20-fix-append_signature.patch 893 BLAKE2B deccd364dffe6be50b5985c603a55407fa0ae358fcaa31133607d276d04770eb5e43ed175d8d169f3afabd9dc7a27c55a0273dc946f0e85be48f66922ec1ce91 SHA512 6c84e1276b1bb1f411bb9b1561d32f49312c6969721c4016761d3a2cef388d46b6288e5e5000d2f54a5529ba1bf16d5427ef73f531be5d53d8abcc2300792482
+AUX uudeview-0.5.20-fix-function-definitions-clang16.patch 3242 BLAKE2B 250af757d13ca87cf547e7761a03649c69f8d53e9a0f8d336370e9b5c6ae1af2ac085c868cdbcd8f926c6c68101af52a378ac061c7223593ffb9781c47c7b882 SHA512 5a87898683f1a0e8bb70855533d63578b74e975c6794e19b253439eb540c9dfb1918cd67253b0269116799118e22d0e14c8377728cc6f75bfc465dda27fdf67d
+AUX uudeview-0.5.20-format-string-warning-inews.patch 384 BLAKE2B ff953f6401428c9055f21db08a813d64a275a42fd1ca4065f333826f22bd75b7310f1cc462f52f804acb42386ca91fe1dac22d4e5df8f10d9dfd787da787dfa8 SHA512 082c2892f4f6c6a16e44ab4754e71168346e32f3ee103177de0a7361f36b8ea4f0f612284ea47241beae63ab85c6734990c774e8576ad7cba678929826fde1d5
AUX uudeview-0.5.20-makefile.patch 822 BLAKE2B b7729d04f9b881924205efce8dbb398b12e04ed95aa585f2e19fc79340e36772d8c8eb2c9fa23d2d69fedd44c743d85234578edd406b910f6f6ec70457f220a2 SHA512 69efb3af67aa9a47a4d4155b1c346bda5bcfcec26000e82b170d854dbc29e72ce6a8b21f171a72761f8ea2cc2c6fb65e74700a6134c9cbe107b596b45762a34c
AUX uudeview-0.5.20-man.patch 3246 BLAKE2B 390d89a13080798b1ef0f902d92c82df59c10c6bb5b34eb8655ceadade0e31b0e81c100fc3e8908edf6c482c51c2560b90aaff8156b7ca805908036aa8342b77 SHA512 a940d6663563e7a91b35f5350e05b6cb7939f06d7db8767a8a5483dc82477c796a351cc03be9de49bd55513ca0b2e3203cd82c4b834caa54da9c8aae5750136b
AUX uudeview-0.5.20-rename.patch 1736 BLAKE2B 820e32f9d2fd248ee2748e3f6173994b02074720814ec8adc6a896b72defc29ce24a356626c7bab414c516555547fe04cbaf304a52c9f141b80a836593c8638f SHA512 afb5b72bca70eb7c156584df1b44fa3cbb6cf07da97a79ff6330acb52ff102584b7a382ce779f2f695c9384d017984cabc670d31b243c0e5d916df19c6846439
+AUX uudeview-0.5.20-string_format_issue.patch 907 BLAKE2B a99e9341219e8581cf32ef8423a351ed88217ed8bf3899d6845bdae98d117dadeaa46a72bd2158dd0c73e49c3f946c28d305d534ea63e233da29248432ef860a SHA512 9e8936308e216fef39f5c44ae7a6eab6dec015ee6b6672a0c3a197b126ea9e5d94a7c99ef15b830b852e56c644aa84faba7fa3fb79cb678785234bca7d2b235a
DIST uudeview-0.5.20.tar.gz 261574 BLAKE2B bd345144a87e2322c89e185d0fe5f31f1cd1ff8f73a5c5b6e585b79a0b319fcf349f2bb51f814a6d6a81e0e18271b5c37db827ba414007785b1743c64e5efe46 SHA512 d080e9c3940bad7bacd28457f21133056384a01e33ba014de42502d23f81f2c7f5fa7f6c472ce9f37bec2edb8e18d27135bf18426cf2f23188a3683558e1721c
EBUILD uudeview-0.5.20-r2.ebuild 915 BLAKE2B cb90d99429ff87ae32bb43766ff681eefc2901f577e98deb0151aa7f1d4d72dbd8a76a57083e27acca98f30c7cb8eec64fdc15adc8e7f9c920662c2af459cd00 SHA512 4b159d03eb9ea9621d1a6bdc4e9cb72dfb1412da77d6bb00278af707bc12689f67145fa408c89139c4139bec1e38d19e05312d90699dd4702b5d0cd84f393292
+EBUILD uudeview-0.5.20-r3.ebuild 1078 BLAKE2B 659eed5c73bdea7feb6eb3cd24ddbdba6c612615b3e5973cebef3ff9637b3ce73b33fc6b4d7cfca1e2c12c185e4468a002c92ec30e5cb267d29af7137e923f7b SHA512 cb019c466c990bcad9fd49f796b71cef40ae390da0c59d7feb14614e657b0a36b40e05c19438042c06b4aaee0937112296f8f2e8e178138d9828d756596212c7
MISC metadata.xml 217 BLAKE2B 4c798b28d6d7cb91ce9efa46084d222e24f1f62814b89dc32e8ee4c2d2e761392fa46cb368de68fdaf0c020acc5603a124b3a96edaa8e6ee333ba3f71ea59ad5 SHA512 83aaf1cf450d1a0769b0d5bc9533bb17e683dd88d04d3318da131cd1c8c66492451b9518f9f2b08d144ac0a2ba4113ed09ffaff1b7c4779f6c35bd7bdcabb874
diff --git a/app-text/uudeview/files/uudeview-0.5.20-fix-function-definitions-clang16.patch b/app-text/uudeview/files/uudeview-0.5.20-fix-function-definitions-clang16.patch
new file mode 100644
index 000000000000..2ed3dd572be0
--- /dev/null
+++ b/app-text/uudeview/files/uudeview-0.5.20-fix-function-definitions-clang16.patch
@@ -0,0 +1,134 @@
+Clang16 will not allow implicit function declaration, implicit int etc. by default.
+This patch overhauls the source code to build with clan16 defaults.
+
+Bug: https://bugs.gentoo.org/874960
+
+Original patch by Pascal Jäger <pascal.jaeger@leimstift.de>,
+minor adjustments by Hanno Böck.
+
+diff -Naurp a/inews/clientlib.c b/inews/clientlib.c
+--- a/inews/clientlib.c 1996-06-06 21:41:07.000000000 +0200
++++ b/inews/clientlib.c 2022-11-26 18:32:09.383423565 +0100
+@@ -14,6 +14,7 @@ static char *sccsid = "@(#)clientlib.c 1
+ #include "../config.h"
+ #endif
+
++#include <arpa/inet.h>
+ #include <stdio.h>
+ #ifndef FOR_NN
+ #include <sys/types.h>
+@@ -52,6 +53,7 @@ static char *sccsid = "@(#)clientlib.c 1
+ #endif
+
+ #include "nntp.h"
++#include "clientlib.h"
+
+ FILE *ser_rd_fp = NULL;
+ FILE *ser_wr_fp = NULL;
+@@ -133,7 +135,7 @@ char *file;
+ * for reading and writing to server.
+ */
+
+-server_init(machine)
++int server_init(machine)
+ char *machine;
+ {
+ int sockt_rd, sockt_wr;
+@@ -194,7 +196,7 @@ char *machine;
+ * Errors: Printed via perror.
+ */
+
+-get_tcp_socket(machine)
++int get_tcp_socket(machine)
+ char *machine;
+ {
+ int s;
+@@ -218,7 +220,6 @@ char *machine;
+ * fails.
+ */
+ if( (hp = gethostbyname( machine ) ) == NULL ) {
+- unsigned long inet_addr();
+ static struct hostent def;
+ static struct in_addr defaddr;
+ static char *alist[1];
+@@ -344,7 +345,7 @@ char *machine;
+ * Errors: Printed via nerror.
+ */
+
+-get_dnet_socket(machine)
++int get_dnet_socket(machine)
+ char *machine;
+ {
+ int s, area, node;
+@@ -427,7 +428,7 @@ char *machine;
+ * Side effects: None.
+ */
+
+-handle_server_response(response, server)
++int handle_server_response(response, server)
+ int response;
+ char *server;
+ {
+@@ -502,7 +503,7 @@ char *string;
+ * Side effects: Talks to server, changes contents of "string".
+ */
+
+-get_server(string, size)
++int get_server(string, size)
+ char *string;
+ int size;
+ {
+diff -Naurp a/inews/clientlib.h b/inews/clientlib.h
+--- a/inews/clientlib.h 1996-06-06 21:41:07.000000000 +0200
++++ b/inews/clientlib.h 2022-11-26 18:27:59.711248861 +0100
+@@ -9,3 +9,7 @@ extern int server_init();
+ extern void put_server();
+ extern int get_server();
+ extern void close_server();
++
++extern int get_tcp_socket(char *machine);
++extern int get_server(char *string, int size);
++extern int handle_server_response(int response, char *server);
+diff -Naurp a/inews/inews.c b/inews/inews.c
+--- a/inews/inews.c 2004-01-29 03:14:19.000000000 +0100
++++ b/inews/inews.c 2022-11-26 18:32:26.200435328 +0100
+@@ -39,15 +39,20 @@ static char *sccsid = "@(#)inews.c 1.16
+
+ #include "conf.h"
+ #include "nntp.h"
++#include "clientlib.h"
+
+
+ #define MAX_SIGNATURE 6
+
++int strneql(char *a, char *b, int n);
++void gen_frompath(void);
++int valid_header(register char *h);
++
+ extern FILE *ser_wr_fp;
+
+ char host_name[256];
+
+-main(argc, argv)
++int main(argc, argv)
+ int argc;
+ char *argv[];
+ {
+@@ -254,7 +259,7 @@ append_signature()
+ * a From: line in it.
+ */
+
+-gen_frompath()
++void gen_frompath()
+ {
+ char *full_name;
+ char *cp;
+@@ -330,7 +335,7 @@ gen_frompath()
+ * Side effects: None.
+ */
+
+-strneql(a, b, n)
++int strneql(a, b, n)
+ register char *a, *b;
+ int n;
+ {
diff --git a/app-text/uudeview/files/uudeview-0.5.20-format-string-warning-inews.patch b/app-text/uudeview/files/uudeview-0.5.20-format-string-warning-inews.patch
new file mode 100644
index 000000000000..de53717a3cbe
--- /dev/null
+++ b/app-text/uudeview/files/uudeview-0.5.20-format-string-warning-inews.patch
@@ -0,0 +1,11 @@
+--- a/inews/inews.c 2022-11-26 18:44:03.788039229 +0100
++++ b/inews/inews.c 2022-11-26 18:44:47.376080190 +0100
+@@ -303,7 +303,7 @@
+ putc(*cp, ser_wr_fp);
+ else { /* Stupid & hack. God damn it. */
+ putc(toupper(passwd->pw_name[0]), ser_wr_fp);
+- fprintf(ser_wr_fp, passwd->pw_name+1);
++ fprintf(ser_wr_fp, "%s", passwd->pw_name+1);
+ }
+
+ fprintf(ser_wr_fp, ")\r\n");
diff --git a/app-text/uudeview/files/uudeview-0.5.20-string_format_issue.patch b/app-text/uudeview/files/uudeview-0.5.20-string_format_issue.patch
new file mode 100644
index 000000000000..7cbc584f5b47
--- /dev/null
+++ b/app-text/uudeview/files/uudeview-0.5.20-string_format_issue.patch
@@ -0,0 +1,24 @@
+Description: Fix potential security issue (arbitrary string being passed
+ as a format string to fprintf).
+Author: Andrew Shadura <andrewsh@debian.org>
+
+--- a/unix/uuenview.c
++++ b/unix/uuenview.c
+@@ -310,7 +310,7 @@ SendMkCommand (char **rcptlist, char *to
+ }
+
+ if ((*rcptlist = (char *) malloc (strlen (towhom) + 16)) == NULL) {
+- fprintf (stderr, "error: Out of memory allocating %d bytes\n",
++ fprintf (stderr, "error: Out of memory allocating %zd bytes\n",
+ strlen (towhom)+16);
+ _FP_free (command);
+ return NULL;
+@@ -483,7 +483,7 @@ AttachFiles (char *towhom, char *subject
+ if (_FP_stristr (input, "multipart") != NULL) {
+ /* it is already a multipart posting. grab the boundary */
+ if ((ptr = _FP_stristr (input, "boundary=")) != NULL) {
+- fprintf(thepipe, input);
++ fprintf(thepipe, "%s", input);
+ strcpy (boundary, ParseValue (ptr));
+ hadmulti = 1;
+ }
diff --git a/app-text/uudeview/uudeview-0.5.20-r3.ebuild b/app-text/uudeview/uudeview-0.5.20-r3.ebuild
new file mode 100644
index 000000000000..903bd6b43754
--- /dev/null
+++ b/app-text/uudeview/uudeview-0.5.20-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="uu, xx, base64, binhex decoder"
+HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/"
+SRC_URI="http://www.fpx.de/fp/Software/UUDeview/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-bugfixes.patch
+ "${FILESDIR}"/${P}-CVE-2004-2265.patch
+ "${FILESDIR}"/${P}-CVE-2008-2266.patch
+ "${FILESDIR}"/${P}-man.patch
+ "${FILESDIR}"/${P}-rename.patch
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-fix-append_signature.patch
+ "${FILESDIR}"/${P}-string_format_issue.patch
+ "${FILESDIR}"/${P}-format-string-warning-inews.patch
+ "${FILESDIR}"/${P}-fix-function-definitions-clang16.patch
+)
+
+DOCS=( HISTORY INSTALL README )
+
+src_prepare() {
+ sed -i "s:^\tar r:\t$(tc-getAR) r:" uulib/Makefile.in || die
+
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-tcl \
+ --disable-tk
+}
diff --git a/app-text/xml2rfc/Manifest b/app-text/xml2rfc/Manifest
index 48b845ae317a..63a705338a7b 100644
--- a/app-text/xml2rfc/Manifest
+++ b/app-text/xml2rfc/Manifest
@@ -1,4 +1,6 @@
AUX xml2rfc-Remove-broken-test.patch 3455 BLAKE2B a5faf688b52a7dc34a99e096a56433103e01f28f8c4b4cf75b4816683b1e7fcd60131d2170f5fdf65fc1c4621099694de682e5b017d6d045bc795bf3f8ecbd31 SHA512 9f54ef323f7f89f89b847fc00731115d2ee8302b7352c43549176cbdcafd79edd8a91dcf2e329e690833bb19f0f6ed0fd8ca5ee22e92299df54b505f2af0aaa7
DIST xml2rfc-3.15.2.gh.tar.gz 2849091 BLAKE2B e792d07a2c8123dc32f4c2cfe794420f98db13da1812a4a7e82a4f2a2e2e70fa0e6b7385e189e70eba47c9be7e0ac281d3858437103b828ea8dbaaf8cef73b87 SHA512 5953ae40ad479b0aa6ab90f08f235ceddfa9c7e1edd868ee43bfd261f4c4d0fdfbbe052ff8a3274c39d283efc1105a0be3b4578fa372269f3274a72acdc950e8
+DIST xml2rfc-3.15.3.gh.tar.gz 2857354 BLAKE2B 936c1f0c37d8de85b7a9966b6239da55dca090c3cb3e712a1198683244e436ccf6827fc6d00325e8c13a7be829af6954d311f690e4aa0367f2399c4d5cf9321f SHA512 3022bfc071e9bbef2e8e6b73c9c6539690e18f0935e3d22f99d1fc3faa642b75f998d6dfbd8d8c019f7fc789c38957994e06667870638dff8e907c928578c904
EBUILD xml2rfc-3.15.2.ebuild 1448 BLAKE2B 9bae39e448d758f2cc3e945a934523adff76f241cce9b6805f21752075251ed439e020fa3590d7cd557be10b1e0b6cfbbc6d187239a370c2c7e1506e50998dd0 SHA512 14fe82df07f7e4ec7138a0f5a071af148963934df62ebebdc9bdb1d119b3d47f318d5422e22b9db89136cae3be2af9ffa657d492ee7f5816bef161639cf8749b
+EBUILD xml2rfc-3.15.3.ebuild 1448 BLAKE2B 3c6f94c413df5513645982d1096d9001fb94331e76b0cee66f1c73197ae400e43c88aa8e88a31e1e35dc1b8f9e147b8c7b6752e68ff4b1a310493e0257d0cad9 SHA512 0fabeb6d0e1f77f025e14c12061f9cd6870f5ce4ddd4e96200f2bf21ffb0ccc03ad739a0fc8cbb639783742f51c9c4775bb41defbb649047ff5e57d1f8fa0aec
MISC metadata.xml 374 BLAKE2B 3514fd485c7ca895f1b9f4a809ed97bb55396c1abd6a52ae6602e61b836fac3a0fbcbeec7dcb0789a6510cabb9920a33bfae4dfeb9bfba86ad9d02fbf917a720 SHA512 0e4697e08615993939416355b5d112f5f6ab1aad0bc74a3e33f6d3e7d0178ddf9b5fba70aa50fc6babed1ca27d89d1b0bff53223c1a55e636e82b6c617860cb9
diff --git a/app-text/xml2rfc/xml2rfc-3.15.3.ebuild b/app-text/xml2rfc/xml2rfc-3.15.3.ebuild
new file mode 100644
index 000000000000..1c0c63b13130
--- /dev/null
+++ b/app-text/xml2rfc/xml2rfc-3.15.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Generates RFCs and IETF drafts from document source in XML"
+HOMEPAGE="https://ietf-tools.github.io/xml2rfc/ https://github.com/ietf-tools/xml2rfc"
+SRC_URI="https://github.com/ietf-tools/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+RESTRICT="!test? ( test )"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/PyPDF2[${PYTHON_USEDEP}]
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/dict2xml[${PYTHON_USEDEP}]
+ dev-python/weasyprint[${PYTHON_USEDEP}]
+ media-fonts/noto[cjk]
+ )
+"
+
+RDEPEND="
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ dev-python/ConfigArgParse[${PYTHON_USEDEP}]
+ dev-python/intervaltree[${PYTHON_USEDEP}]
+ dev-python/google-i18n-address[${PYTHON_USEDEP}]
+ >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}]
+ dev-python/pycountry[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/xml2rfc-Remove-broken-test.patch"
+)
+
+distutils_enable_tests setup.py
+
+#src_test() {
+ # https://github.com/ietf-tools/xml2rfc/issues/561
+# emake tests-no-network
+#}