diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /net-dialup/tcpser | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'net-dialup/tcpser')
| -rw-r--r-- | net-dialup/tcpser/Manifest | 1 | ||||
| -rw-r--r-- | net-dialup/tcpser/files/tcpser-1.1.4_dont-hardcode-cflags-and-ldflags.patch | 17 | ||||
| -rw-r--r-- | net-dialup/tcpser/metadata.xml | 22 | ||||
| -rw-r--r-- | net-dialup/tcpser/tcpser-1.1.4.ebuild | 27 |
4 files changed, 67 insertions, 0 deletions
diff --git a/net-dialup/tcpser/Manifest b/net-dialup/tcpser/Manifest new file mode 100644 index 000000000000..982ac4d76bb6 --- /dev/null +++ b/net-dialup/tcpser/Manifest @@ -0,0 +1 @@ +DIST tcpser-1.1.4.tar.gz 111605 BLAKE2B bc45e6c5870f9ba5bd84cb36721c4833d869ec180491cb0f1cbd1c71fff6b0e5fa60a0864ad055f0e6e840bd7b570b99ffe918c166fdf0e79b6ab7964161d3db SHA512 08b80984b30b8a56fe9fb6690e7d82827b3d9d191e13094a040334e20edd9669b0098abad66d5022a1e022ef95bcea236123c791f7f84948420dfca10e449d4a diff --git a/net-dialup/tcpser/files/tcpser-1.1.4_dont-hardcode-cflags-and-ldflags.patch b/net-dialup/tcpser/files/tcpser-1.1.4_dont-hardcode-cflags-and-ldflags.patch new file mode 100644 index 000000000000..14246d31fc33 --- /dev/null +++ b/net-dialup/tcpser/files/tcpser-1.1.4_dont-hardcode-cflags-and-ldflags.patch @@ -0,0 +1,17 @@ +Don’t hardcode CFLAGS and LDFLAGS into Makefile.
+
+From: Seth M. Price <sprice623@aol.com>
+
+--- a/Makefile
++++ b/Makefile
+@@ -3,8 +3,8 @@ SRCS = $(SRC)/bridge.c $(SRC)/debug.c $(SRC)/getcmd.c $(SRC)/ip.c $(SRC)/init.c
+ OBJS = $(SRC)/bridge.o $(SRC)/debug.o $(SRC)/getcmd.o $(SRC)/ip.o $(SRC)/init.o $(SRC)/modem_core.o $(SRC)/nvt.o $(SRC)/serial.o $(SRC)/ip232.o $(SRC)/util.o $(SRC)/phone_book.o $(SRC)/tcpser.o $(SRC)/dce.o $(SRC)/line.o
+ CC ?= gcc
+ DEF =
+-CFLAGS = -O $(DEF) -Wall
+-LDFLAGS = -lpthread
++CFLAGS +=
++LDFLAGS += -lpthread
+ DEPEND = makedepend $(DEF) $(CFLAGS)
+
+ all: tcpser
diff --git a/net-dialup/tcpser/metadata.xml b/net-dialup/tcpser/metadata.xml new file mode 100644 index 000000000000..638cb98495ac --- /dev/null +++ b/net-dialup/tcpser/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Seth M. Price</name> + <email>sprice623@aol.com</email> + </maintainer> + <longdescription lang="en"> + TCPSER turns a PC serial port into an emulated Hayes compatible + modem that uses TCP/IP for incoming and outgoing connections. + It can be used to allow older applications and systems designed + for modem use to operate on the Internet. TCPSER supports all + standard Hayes commands, and understands extended and vendor + proprietary commands (though it does not implement many of + them). TCPSER can be used for both inbound and outbound + connections. + </longdescription> + <upstream> + <bugs-to>https://github.com/go4retro/tcpser/issues</bugs-to> + <remote-id type="github">go4retro/tcpser</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-dialup/tcpser/tcpser-1.1.4.ebuild b/net-dialup/tcpser/tcpser-1.1.4.ebuild new file mode 100644 index 000000000000..405bde7cb86f --- /dev/null +++ b/net-dialup/tcpser/tcpser-1.1.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Hayes Smartmodem emulator over TCP/IP" +HOMEPAGE="https://github.com/go4retro/tcpser" +SRC_URI="https://github.com/go4retro/tcpser/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + # Fix CR-LF incompatibility with patch + eapply --binary "${FILESDIR}/${P}_dont-hardcode-cflags-and-ldflags.patch" + + make all CC=$(tc-getCC) +} + +src_install() { + dobin tcpser + doman man/tcpser.1 + dodoc README.md +} |
