1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

net/mosh: Update to 1.4.0

This commit is contained in:
Ryan Steinmetz 2022-10-27 11:20:15 -04:00
parent d86c500210
commit 04208eb402
No known key found for this signature in database
GPG Key ID: D2C3D2B2FEF36DD7
3 changed files with 10 additions and 20 deletions

View File

@ -1,9 +1,6 @@
PORTNAME= mosh
PORTVERSION= 1.3.2
PORTREVISION= 20
PORTVERSION= 1.4.0
CATEGORIES= net
MASTER_SITES= https://mosh.org/ \
ZI
MAINTAINER= zi@FreeBSD.org
COMMENT= Mobile terminal that supports intermittent connectivity
@ -13,15 +10,19 @@ LICENSE= GPLv3
LIB_DEPENDS= libprotobuf.so:devel/protobuf
USES= autoreconf compiler:c++11-lang ncurses perl5 pkgconfig ssl
USE_PERL5= run
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-utempter --without-ncurses
CONFIGURE_ENV+= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
CONFIGURE_ENV+= OpenSSL_CFLAGS="-I${OPENSSLINC}" OpenSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
TINFO_CFLAGS="-I/usr/include"
INSTALL_TARGET= install-strip
USES= compiler:c++11-lang ncurses perl5 pkgconfig ssl
USE_CXXSTD= c++11
USE_GITHUB= yes
GH_ACCOUNT= mobile-shell
GH_TAGNAME= ${PORTNAME}-${PORTVERSION}
CONFLICTS_INSTALL= mosh-0.[2-9].*
PLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1500858600
SHA256 (mosh-1.3.2.tar.gz) = da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216
SIZE (mosh-1.3.2.tar.gz) = 359574
TIMESTAMP = 1666882635
SHA256 (mobile-shell-mosh-1.4.0-mosh-1.4.0_GH0.tar.gz) = ae581fbddf038730af9eee4d319a483288395a0722d0c94c7efb7fdbdbb0dbac
SIZE (mobile-shell-mosh-1.4.0-mosh-1.4.0_GH0.tar.gz) = 229899

View File

@ -1,11 +0,0 @@
--- src/network/network.cc.orig 2017-07-22 21:14:53 UTC
+++ src/network/network.cc
@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *a
}
}
- if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
+ if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
set_MTU( local_addr.sa.sa_family );
return true;
} else if ( i == search_high ) { /* last port to search */