aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2019-10-08 19:13:02 +0000
committerCy Schubert <cy@FreeBSD.org>2019-10-08 19:13:02 +0000
commit5317b01e06a87d35ae67487abba81d4d78b33cf8 (patch)
treeb948e5215e2f3c3f5cb1da0e866062753d6f0db8 /sysutils/screen
parent50d2c82e016fd176868cdc6e4befa606fa61c50e (diff)
downloadports-5317b01e06a87d35ae67487abba81d4d78b33cf8.tar.gz
ports-5317b01e06a87d35ae67487abba81d4d78b33cf8.zip
Update 4.6.2 --> 4.7.0
Notes
Notes: svn path=/head/; revision=514098
Diffstat (limited to 'sysutils/screen')
-rw-r--r--sysutils/screen/Makefile3
-rw-r--r--sysutils/screen/distinfo6
-rw-r--r--sysutils/screen/files/patch-configure24
-rw-r--r--sysutils/screen/files/patch-os.h11
-rw-r--r--sysutils/screen/files/patch-utmp.c33
5 files changed, 49 insertions, 28 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index e689159f10d9..611f0a2d3d6d 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= screen
-PORTVERSION= 4.6.2
-PORTREVISION= 3
+PORTVERSION= 4.7.0
CATEGORIES= sysutils
MASTER_SITES= GNU \
ftp://ftp.gnu.org/gnu/screen/ \
diff --git a/sysutils/screen/distinfo b/sysutils/screen/distinfo
index 9bde84d128cf..e1af95324881 100644
--- a/sysutils/screen/distinfo
+++ b/sysutils/screen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1508858980
-SHA256 (screen-4.6.2.tar.gz) = 1b6922520e6a0ce5e28768d620b0f640a6631397f95ccb043b70b91bb503fa3a
-SIZE (screen-4.6.2.tar.gz) = 845210
+TIMESTAMP = 1570534280
+SHA256 (screen-4.7.0.tar.gz) = da775328fa783bd2a787d722014dbd99c6093effc11f337827604c2efc5d20c1
+SIZE (screen-4.7.0.tar.gz) = 854192
diff --git a/sysutils/screen/files/patch-configure b/sysutils/screen/files/patch-configure
index 309a2d1789dd..4c1cbb786cfa 100644
--- a/sysutils/screen/files/patch-configure
+++ b/sysutils/screen/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2014-04-26 03:58:46.000000000 -0700
-+++ configure 2017-05-13 09:29:58.991277000 -0700
-@@ -4858,63 +4858,6 @@
+--- configure.orig 2019-10-01 15:27:14.000000000 -0700
++++ configure 2019-10-08 04:39:00.284009000 -0700
+@@ -4756,63 +4756,6 @@
else
olibs="$LIBS"
@@ -64,7 +64,7 @@
LIBS="-lncursesw $olibs"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking libncursesw..." >&5
$as_echo "$as_me: checking libncursesw..." >&6;}
-@@ -4999,15 +4942,6 @@
+@@ -4897,15 +4840,6 @@
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -79,8 +79,8 @@
- conftest$ac_exeext conftest.$ac_ext
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-@@ -5020,7 +4954,8 @@
+ echo "- skipping check because we are cross compiling; assuming terminfo database is used" 1>&6
+@@ -4917,7 +4851,8 @@
main()
{
@@ -90,7 +90,7 @@
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :
-@@ -5067,7 +5002,7 @@
+@@ -4967,7 +4902,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVR4 ptys..." >&5
$as_echo "$as_me: checking for SVR4 ptys..." >&6;}
sysvr4ptys=
@@ -99,7 +99,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-@@ -5178,19 +5113,16 @@
+@@ -5080,19 +5015,17 @@
fi
rm -f conftest*
@@ -118,12 +118,12 @@
+#define PTYRANGE1 "0123456789abcdefghijklmnopqrstuv"
_ACEOF
+ fi
-fi
--
+
# Check whether --with-pty-mode was given.
- if test "${with_pty_mode+set}" = set; then :
-@@ -5417,6 +5349,8 @@
+@@ -5318,6 +5251,8 @@
#if defined(SVR4) && !defined(DGUX)
#include <utmpx.h>
#define utmp utmpx
@@ -132,7 +132,7 @@
#else
#include <utmp.h>
#endif
-@@ -5485,6 +5419,10 @@
+@@ -5386,6 +5321,10 @@
#if defined(SVR4) && !defined(DGUX)
#include <utmpx.h>
#define utmp utmpx
diff --git a/sysutils/screen/files/patch-os.h b/sysutils/screen/files/patch-os.h
index 263ec5724cb8..f0de818390cb 100644
--- a/sysutils/screen/files/patch-os.h
+++ b/sysutils/screen/files/patch-os.h
@@ -1,8 +1,11 @@
---- os.h.orig 2016-06-19 12:41:03.000000000 -0700
-+++ os.h 2016-06-21 04:13:47.509485000 -0700
-@@ -252,7 +252,9 @@
+--- os.h.orig 2019-10-01 15:08:00.000000000 -0700
++++ os.h 2019-10-08 04:49:54.436485000 -0700
+@@ -250,9 +250,11 @@
+ #endif
+
#if defined(UTMPOK) || defined(BUGGYGETLOGIN)
- # if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
+-# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
++# if (defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)) || defined(__FreeBSD_version)
# include <utmpx.h>
-# define UTMPFILE UTMPX_FILE
+# ifdef UTMPX_FILE /* GNU extension */
diff --git a/sysutils/screen/files/patch-utmp.c b/sysutils/screen/files/patch-utmp.c
index 008106464429..0892ad3be256 100644
--- a/sysutils/screen/files/patch-utmp.c
+++ b/sysutils/screen/files/patch-utmp.c
@@ -1,5 +1,5 @@
---- utmp.c.orig 2017-01-17 11:28:29.397404660 -0800
-+++ utmp.c 2017-02-10 16:48:34.902236000 -0800
+--- utmp.c.orig 2019-10-01 15:08:00.000000000 -0700
++++ utmp.c 2019-10-08 12:08:46.535155000 -0700
@@ -26,6 +26,7 @@
****************************************************************
*/
@@ -8,7 +8,26 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-@@ -409,12 +410,6 @@
+@@ -88,6 +89,9 @@
+ static void makedead __P((struct utmp *));
+ static int pututslot __P((slot_t, struct utmp *, char *, struct win *));
+ static struct utmp *getutslot __P((slot_t));
++#ifdef __FreeBSD_version
++#define GETUTENT
++#endif
+ #ifndef GETUTENT
+ static struct utmp *getutent __P((void));
+ static void endutent __P((void));
+@@ -102,7 +106,7 @@
+
+ static int utmpok;
+ static char UtmpName[] = UTMPFILE;
+-#ifndef UTMP_HELPER
++#if !defined(UTMP_HELPER) || defined(__FreeBSD__)
+ static int utmpfd = -1;
+ #endif
+
+@@ -409,12 +413,6 @@
register slot_t slot;
struct utmp u;
int saved_ut;
@@ -21,7 +40,7 @@
wi->w_slot = (slot_t)0;
if (!utmpok || wi->w_type != W_TYPE_PTY)
-@@ -435,51 +430,13 @@
+@@ -435,51 +433,13 @@
makeuser(&u, stripdev(wi->w_tty), LoginName, wi->w_pid);
#ifdef UTHOST
@@ -76,7 +95,7 @@
{
Msg(errno,"Could not write %s", UtmpName);
UT_CLOSE;
-@@ -598,7 +555,7 @@
+@@ -598,7 +558,7 @@
struct utmp *u;
{
u->ut_type = DEAD_PROCESS;
@@ -85,7 +104,7 @@
u->ut_exit.e_termination = 0;
u->ut_exit.e_exit = 0;
#endif
-@@ -631,7 +588,11 @@
+@@ -631,7 +591,11 @@
/* must use temp variable because of NetBSD/sparc64, where
* ut_xtime is long(64) but time_t is int(32) */
(void)time(&now);
@@ -98,7 +117,7 @@
}
static slot_t
-@@ -743,7 +704,11 @@
+@@ -743,7 +707,11 @@
strncpy(u->ut_line, line, sizeof(u->ut_line));
strncpy(u->ut_name, user, sizeof(u->ut_name));
(void)time(&now);