Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2022 03:56:34 GMT
From:      Neel Chauhan <nc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e55904be0443 - main - comms/tcpser: Update to 20210425
Message-ID:  <202201250356.20P3uY7w029994@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e55904be04435344f49944a4dc3de6a75635c608

commit e55904be04435344f49944a4dc3de6a75635c608
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-01-25 03:56:33 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-01-25 03:56:33 +0000

    comms/tcpser: Update to 20210425
---
 comms/tcpser/Makefile             | 14 ++++++++------
 comms/tcpser/distinfo             |  5 +++--
 comms/tcpser/files/patch-Makefile | 25 ++++++++++++-------------
 comms/tcpser/pkg-descr            |  2 +-
 4 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/comms/tcpser/Makefile b/comms/tcpser/Makefile
index 9a26ed7ab93f..27696a11a6e7 100644
--- a/comms/tcpser/Makefile
+++ b/comms/tcpser/Makefile
@@ -1,20 +1,22 @@
 # Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
 
 PORTNAME=	tcpser
-DISTVERSION=	1.0rc12
+DISTVERSION=	20210425
 CATEGORIES=	comms
-MASTER_SITES=	http://www.jbrain.com/pub/linux/serial/
 
 MAINTAINER=	nc@FreeBSD.org
 COMMENT=	TCPSER turns serial port into an emulated Hayes compatible modem
 
 LICENSE=	GPLv2+
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	FozzTexx
+GH_TAGNAME=	95f4b51
+
 LDFLAGS+=	-pthread
-USES=		dos2unix gmake
-WRKSRC=		${WRKDIR}/tcpser
+USES=		gmake
 
-PORTDOCS=	README CHANGES
+PORTDOCS=	README.md CHANGES
 PLIST_FILES=	bin/tcpser
 
 OPTIONS_DEFINE=	DOCS
@@ -24,6 +26,6 @@ do-install:
 
 do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/comms/tcpser/distinfo b/comms/tcpser/distinfo
index 429d2a28145c..87b98814309c 100644
--- a/comms/tcpser/distinfo
+++ b/comms/tcpser/distinfo
@@ -1,2 +1,3 @@
-SHA256 (tcpser-1.0rc12.tar.gz) = a64a461c17c030ab31d8efe40c9a96cf0237108d9206cdef4a76ebe1679a5f76
-SIZE (tcpser-1.0rc12.tar.gz) = 50066
+TIMESTAMP = 1643082604
+SHA256 (FozzTexx-tcpser-20210425-95f4b51_GH0.tar.gz) = 98fc2ff2424f1e0bc35532e170f9d766e7242be757b6d55a51ddad3701209701
+SIZE (FozzTexx-tcpser-20210425-95f4b51_GH0.tar.gz) = 26719
diff --git a/comms/tcpser/files/patch-Makefile b/comms/tcpser/files/patch-Makefile
index c98fc15ea037..69c4159f85f7 100644
--- a/comms/tcpser/files/patch-Makefile
+++ b/comms/tcpser/files/patch-Makefile
@@ -1,14 +1,13 @@
---- Makefile.orig	2015-11-09 18:00:33 UTC
+--- Makefile.orig	2022-01-25 03:54:45 UTC
 +++ Makefile
-@@ -1,10 +1,8 @@
- SRC=src
- SRCS = $(SRC)/bridge.c $(SRC)/debug.c $(SRC)/getcmd.c $(SRC)/ip.c $(SRC)/init.c $(SRC)/modem_core.c $(SRC)/nvt.c $(SRC)/serial.c $(SRC)/ip232.c $(SRC)/util.c $(SRC)/phone_book.c $(SRC)/shared.c $(SRC)/tcpser.c $(SRC)/line.c $(SRC)/dce.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)/shared.o $(SRC)/tcpser.o $(SRC)/dce.o $(SRC)/line.o
--CC = gcc
- DEF = 
--CFLAGS = -O $(DEF) -Wall
--LDFLAGS = -lpthread
-+CFLAGS += $(DEF) -Wall
- DEPEND = makedepend $(DEF) $(CFLAGS)
- 
- all:	tcpser
+@@ -1,9 +1,7 @@
+ SRC=src
+ SRCS = $(SRC)/bridge.c $(SRC)/debug.c $(SRC)/getcmd.c $(SRC)/ip.c $(SRC)/init.c $(SRC)/modem_core.c $(SRC)/nvt.c $(SRC)/serial.c $(SRC)/ip232.c $(SRC)/util.c $(SRC)/phone_book.c $(SRC)/shared.c $(SRC)/tcpser.c $(SRC)/line.c $(SRC)/dce.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)/shared.o $(SRC)/tcpser.o $(SRC)/dce.o $(SRC)/line.o
+-CC = gcc
+-DEF = 
+-CFLAGS = -g $(DEF) -Wall
++CFLAGS = -g -Wall
+ LDFLAGS = -lpthread
+ DEPEND = makedepend $(DEF) $(CFLAGS)
+ 
diff --git a/comms/tcpser/pkg-descr b/comms/tcpser/pkg-descr
index 9055c4e0fab8..722498a8c2be 100644
--- a/comms/tcpser/pkg-descr
+++ b/comms/tcpser/pkg-descr
@@ -5,4 +5,4 @@ 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.
 
-WWW: http://www.jbrain.com/pub/linux/serial/
+WWW: https://github.com/FozzTexx/tcpser



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201250356.20P3uY7w029994>