mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-dialup/tcpser: new package, add 1.1.4
Signed-off-by: Seth Price <sprice623@aol.com>
This commit is contained in:
1
net-dialup/tcpser/Manifest
Normal file
1
net-dialup/tcpser/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tcpser-1.1.4.tar.gz 111605 BLAKE2B bc45e6c5870f9ba5bd84cb36721c4833d869ec180491cb0f1cbd1c71fff6b0e5fa60a0864ad055f0e6e840bd7b570b99ffe918c166fdf0e79b6ab7964161d3db SHA512 08b80984b30b8a56fe9fb6690e7d82827b3d9d191e13094a040334e20edd9669b0098abad66d5022a1e022ef95bcea236123c791f7f84948420dfca10e449d4a
|
||||
@@ -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
|
||||
22
net-dialup/tcpser/metadata.xml
Normal file
22
net-dialup/tcpser/metadata.xml
Normal file
@@ -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>
|
||||
27
net-dialup/tcpser/tcpser-1.1.4.ebuild
Normal file
27
net-dialup/tcpser/tcpser-1.1.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user