diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
commit | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch) | |
tree | 6c418a1546fff5becab5d8b9ed6803323e7f316e /net-dialup/xc | |
parent | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff) |
gentoo resync : 10.09.2021
Diffstat (limited to 'net-dialup/xc')
-rw-r--r-- | net-dialup/xc/Manifest | 7 | ||||
-rw-r--r-- | net-dialup/xc/files/xc-4.3.2-add-115200.patch | 12 | ||||
-rw-r--r-- | net-dialup/xc/files/xc-4.3.2-fix-set_bps-overflow.patch | 14 | ||||
-rw-r--r-- | net-dialup/xc/files/xc-4.3.2-gentoo.patch | 122 | ||||
-rw-r--r-- | net-dialup/xc/files/xc-4.3.2-implicit-decl.patch | 22 | ||||
-rw-r--r-- | net-dialup/xc/metadata.xml | 12 | ||||
-rw-r--r-- | net-dialup/xc/xc-4.3.2-r5.ebuild | 44 |
7 files changed, 0 insertions, 233 deletions
diff --git a/net-dialup/xc/Manifest b/net-dialup/xc/Manifest deleted file mode 100644 index fa54631dfe21..000000000000 --- a/net-dialup/xc/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX xc-4.3.2-add-115200.patch 200 BLAKE2B 362920a325e01d5637ffd3dd22a2d510391cc26a30e0f05e06858a11a11dd2a994186e4b51858b9efb573ba6d40c4954e8edb55362f572423a9def78409b6e82 SHA512 ac693123b6e7f7b65d23878f88eeae2b867ca931383deb40d2c128c6d2e7222c5a3136f07508cb58b275851e2bf04def86fc663edc25d94c564796df1702a2c8 -AUX xc-4.3.2-fix-set_bps-overflow.patch 418 BLAKE2B 15f4bdd51a42a6501ab2953f507627c4958a280c788185660f850a1ac027d79bf6a9c8055edb7a1247efc1543ab8be61b2693ec0fdf81dc3703dd7b20285527e SHA512 639f9b062a174e9217a79d3a17d96869635ebea66bcccb63501f57c5f0b0216311772431a7bf850eb38d14726ec7a02cc2affeac1f4f9fd8a0ccc0a7525beb65 -AUX xc-4.3.2-gentoo.patch 3222 BLAKE2B 43b119862c643f480548cba7822c8d45b6a87ba4c140e5baf23363cd63e82c46cf85d5b2dc797a643831acacf8a54190b282ea2022a84b4d3b6fd8f7b70fdd56 SHA512 543d21ff9b6f37bcfcaf9b7d8e700761cc9e3e92cc229d500275c92d7377640293648b48e8d424716bbc0b7b08ec416a75244e6a661b3d54cee68cbd5d838efc -AUX xc-4.3.2-implicit-decl.patch 434 BLAKE2B 7397c9e2e308093c99454eb22ffaa7f8fc7939500e419c809bfb14ef5369ab6ffcbf4385aa2e2cac141db62fc1d017959d827610307351058bca232fffefc299 SHA512 5c470a0b936576a3c90ca84317f4b1237855e475a5c63b62e94f55f2dc7f1c5561fa512ae1a46fa5b9d9df146abd1e58f04399b6b04c6fadf2a12cd6665855a6 -DIST xc-4.3.2.tar.gz 162098 BLAKE2B d3ce005bea46cff7673d8c9c4c288356cf340a04658917934a3553705f0554ffcc433379a8fdbbe2cb8a456cf15a73c5bcdd1719c0f9f3b7d41623b535b45ee6 SHA512 89de05a82f54ffd89a6950f9cb4aea732573ac1b15a27aaba4e25293a5d0b763052287700e4499f7f2adf9acc952ecea572239c8403c86c5871efd363d68710a -EBUILD xc-4.3.2-r5.ebuild 1049 BLAKE2B 69f23b6649c49b0c79d72bb76bef1c96f78754339a9877b11e9d431a8a0c5597e6be7fdaf8ada2989cec7d001c4a33bf7a6bf275a398a951315c694cd31c411b SHA512 59f00d9e4f9e3fe773c09433f3a5950bb1330a3817bdfea3b9ddf5c6ba9545b7d8e75143c37502d2e02c516b5f4369ccff7d58916f47fd4c8712e3f71fb57a1b -MISC metadata.xml 358 BLAKE2B 3d76b6b9d649f45a1b31f5e1ec3238ed9ef233539d3fefdb07829b4b2845ba67f24ad34987912b92bd93c0566317b6cc381ec3b68f11b7025488b4fc0409d455 SHA512 4d695e92ba66886be964c96cabd894ef44cc93d62f053422f14909b953bf7bcf9321fcb745c33d5af716308f61df3154c1eadb78ce306439463cd2ee6528f6f0 diff --git a/net-dialup/xc/files/xc-4.3.2-add-115200.patch b/net-dialup/xc/files/xc-4.3.2-add-115200.patch deleted file mode 100644 index c8238565ac0b..000000000000 --- a/net-dialup/xc/files/xc-4.3.2-add-115200.patch +++ /dev/null @@ -1,12 +0,0 @@ -add support for 115200 baud - ---- xc-4.3.2/xcport.c -+++ xc-4.3.2/xcport.c -@@ -107,6 +107,7 @@ - {"38400",38400,B38400}, - {"57600",57600,B50}, - #endif -+ {"115200",115200,B115200}, - {"0", 0, B0} - }; - diff --git a/net-dialup/xc/files/xc-4.3.2-fix-set_bps-overflow.patch b/net-dialup/xc/files/xc-4.3.2-fix-set_bps-overflow.patch deleted file mode 100644 index 5934aa2f6d77..000000000000 --- a/net-dialup/xc/files/xc-4.3.2-fix-set_bps-overflow.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naurp xc-4.3.2.orig/xcmain.c xc-4.3.2/xcmain.c ---- xc-4.3.2.orig/xcmain.c 1996-11-24 01:35:41.000000000 -0500 -+++ xc-4.3.2/xcmain.c 2014-04-18 19:58:26.267227496 -0400 -@@ -696,8 +696,8 @@ static void - SET_bps() - { - if (statflag){ -- char br[6]; -- sprintf(br, "%d", mrate( NULL )); -+ char br[11]; -+ snprintf(br, 11, "%d", mrate( NULL )); - fprintf(tfp, statfmt, "bps", "Bits per Second", br); - return; - } diff --git a/net-dialup/xc/files/xc-4.3.2-gentoo.patch b/net-dialup/xc/files/xc-4.3.2-gentoo.patch deleted file mode 100644 index 7c0c559958d9..000000000000 --- a/net-dialup/xc/files/xc-4.3.2-gentoo.patch +++ /dev/null @@ -1,122 +0,0 @@ ---- xc-4.3.2/Makefile -+++ xc-4.3.2/Makefile -@@ -5,21 +5,24 @@ - - SHELL = /bin/sh - -+DESTDIR = -+ - #WARN = -Wall -ansi -pedantic -Wshadow -Wmissing-prototypes - - #machine = -m486 --CC = gcc --GCCOPT = -pipe -O2 -fno-strength-reduce -fomit-frame-pointer $(machine) -+#CC = gcc -+GCCOPT = -fno-strength-reduce - #GCCOPT = -O -g --CDEFS = -D_POSIX_SOURCE=1 -+CDEFS = -D_XOPEN_SOURCE --CFLAGS = $(WARN) $(CDEFS) $(GCCOPT) -+CFLAGS += $(WARN) $(CDEFS) $(GCCOPT) - --prefix = /usr/local -+prefix = /usr - bindir = $(prefix)/bin - libdir = $(prefix)/lib/xc --mandir = /usr/man/man1 -+mandir = /usr/share/man -+man1dir = $(mandir)/man1 - catdir = /var/catman/cat1 --manown = -o root -g man -+manown = -o root -g root - binown = -o root -g root - - export CC CFLAGS manown binown -@@ -37,7 +39,7 @@ - # gs -sDEVICE=ljet4 -dNOPAUSE -sOutputFile=$@ $< - - INSTALL = install --LDFLAGS = -ltermcap editline/libedit.a -+LIBS += -lncurses editline/libedit.a - NROFF = groff -mandoc - - # defines for use with cextract under Linux -@@ -56,7 +58,7 @@ - @echo "Now you may execute 'make install'" - - xc: $(OBJS) eline -- $(CC) $(CFLAGS) $(OBJS) -o xc $(LDFLAGS) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o xc $(LIBS) - - uninstall: - rm -f $(bindir)/xc $(mandir)/xc.1 $(catdir)/xc.1.* -@@ -64,10 +66,9 @@ - - install: ./bin/xc ./bin/crc xc.1 crc.1 - @echo " " -- $(INSTALL) $(binown) -m 755 -s ./bin/xc $(bindir) -- $(INSTALL) $(binown) -m 755 -s ./bin/crc $(bindir) -- $(INSTALL) $(manown) -m 644 xc.1 $(mandir) -- $(INSTALL) $(manown) -m 644 crc.1 $(mandir) -+ $(INSTALL) -d -m755 $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) -+ $(INSTALL) $(binown) -m 755 xc crc $(DESTDIR)$(bindir) -+ $(INSTALL) $(manown) -m 644 xc.1 crc.1 $(DESTDIR)$(man1dir) - @echo " " - @echo " " - @echo "You will want to manually install 'phonelist' and" ---- xc-4.3.2/xcsubs.c -+++ xc-4.3.2/xcsubs.c -@@ -23,7 +23,6 @@ - *tgetstr(), *tgoto(); - int LI, /* One less than screen length in termcap entry */ - CO; /* Screen width */ --speed_t ospeed; /* Used by termcap lib */ - static char tc[LG_BUFF]; /* termcap buffer */ - static char tbuf[LG_BUFF], *CD, *CF, *CL, *CM, *CN, *AE, *SE, *SO, *ME; - char *CE, PC; /* used by termcap -- padding character */ - -limit the 32bit crc to 32bits - -add simple usage - ---- xc-4.3.2/crc.c -+++ xc-4.3.2/crc.c -@@ -152,7 +152,7 @@ char *name; - } - crc32 = oldcrc32; oldcrc = oldcrc32 = ~oldcrc32; - -- printf("%08lx %7ld ", oldcrc, charcnt); -+ printf("%08lx %7ld ", oldcrc & 0xffffffff, charcnt); - if (Block == 128) - printf("%5ld+%3ld ", charcnt/Block, charcnt%Block); - if (Block == 1024) -@@ -170,6 +170,10 @@ char **argv; - { - register errors = 0; - -+ if (argc == 1) { -+ puts("Usage: crc [-x|-k] <files>\n -x pad to 128 bytes\n -k pad to 1024 bytes"); -+ exit(0); -+ } - if (argc > 1) { - if (!strcmp(argv[1], "-x")) { - Block = 128; ---- xc-4.3.2/editline/Makefile.orig 2013-03-02 21:15:29.667344872 +0400 -+++ xc-4.3.2/editline/Makefile 2013-03-02 21:15:38.434344313 +0400 -@@ -34,7 +34,7 @@ - LDFLAGS = -ltermcap - - ## Set ranlib as appropriate: --RANLIB = ranlib -+RANLIB ?= ranlib - #RANLIB = echo - - ## End of configuration. -@@ -70,6 +70,6 @@ - - libedit.a: $(OBJECTS) - @rm -f $@ -- ar r $@ $(OBJECTS) -+ $(AR) r $@ $(OBJECTS) - $(RANLIB) $@ - diff --git a/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch b/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch deleted file mode 100644 index 556392d8b189..000000000000 --- a/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- xc-4.3.2/crc.c -+++ xc-4.3.2/crc.c -@@ -5,6 +5,8 @@ - * Crc - 32 BIT ANSI X3.66 CRC checksum files - */ - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #define OK 0 - #define ERROR (-1) - #define LINT_ARGS ---- xc-4.3.2/xcterm.c -+++ xc-4.3.2/xcterm.c -@@ -4,6 +4,8 @@ - #define XCTERM_C 1 - - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <unistd.h> diff --git a/net-dialup/xc/metadata.xml b/net-dialup/xc/metadata.xml deleted file mode 100644 index 1ee4d878300b..000000000000 --- a/net-dialup/xc/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>kumba@gentoo.org</email> - <name>Joshua Kinard</name> - </maintainer> - <maintainer type="project"> - <email>embedded@gentoo.org</email> - <name>Embedded Gentoo</name> - </maintainer> - </pkgmetadata> diff --git a/net-dialup/xc/xc-4.3.2-r5.ebuild b/net-dialup/xc/xc-4.3.2-r5.ebuild deleted file mode 100644 index ec2eda48fa38..000000000000 --- a/net-dialup/xc/xc-4.3.2-r5.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Modem dialout & serial terminal program" -HOMEPAGE="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/" -SRC_URI="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/${P}.tar.gz" - -LICENSE="xc-radley" -SLOT="0" -KEYWORDS="amd64 ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="" - -RDEPEND="sys-libs/ncurses:=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch - epatch "${FILESDIR}"/${P}-implicit-decl.patch - epatch "${FILESDIR}"/${P}-add-115200.patch - epatch "${FILESDIR}"/${P}-fix-set_bps-overflow.patch - - sed -i \ - -e "/^libdir/s:/lib/:/$(get_libdir)/:" \ - -e "/strip/d" \ - Makefile || die - # bug 459796 - append-libs "$($(tc-getPKG_CONFIG) --libs ncurses)" -} - -src_compile() { - tc-export AR CC RANLIB - emake WARN="" all -} - -src_install() { - default - insinto /usr/$(get_libdir)/xc - doins phonelist xc.init dotfiles/.[a-z]* -} |