diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2016-05-11 14:50:40 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2016-05-11 14:50:40 +0000 |
commit | 7e53a87279cda29599281acec22d5fcdfb522f7d (patch) | |
tree | 20125c9ef601dcbb32dc1900415f352d46d9a6fe /misc/dtach | |
parent | 629db82356ee1575032fa8c4a18758dd36a65fd7 (diff) | |
download | ports-7e53a87279cda29599281acec22d5fcdfb522f7d.tar.gz ports-7e53a87279cda29599281acec22d5fcdfb522f7d.zip |
Upgrade from 0.8 to 0.9. The change-log can be seen here:
http://dtach.sourceforge.net/
Notified by: portscout
Notes
Notes:
svn path=/head/; revision=415000
Diffstat (limited to 'misc/dtach')
-rw-r--r-- | misc/dtach/Makefile | 3 | ||||
-rw-r--r-- | misc/dtach/distinfo | 4 | ||||
-rw-r--r-- | misc/dtach/files/patch-master.c | 24 |
3 files changed, 3 insertions, 28 deletions
diff --git a/misc/dtach/Makefile b/misc/dtach/Makefile index 29115d9622cd..243ae391337d 100644 --- a/misc/dtach/Makefile +++ b/misc/dtach/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dtach -PORTVERSION= 0.8 -PORTREVISION= 1 +PORTVERSION= 0.9 CATEGORIES= misc MASTER_SITES= SF diff --git a/misc/dtach/distinfo b/misc/dtach/distinfo index e6bdbfe5ec67..b1b22f949d1f 100644 --- a/misc/dtach/distinfo +++ b/misc/dtach/distinfo @@ -1,2 +1,2 @@ -SHA256 (dtach-0.8.tar.gz) = 16614ebddf8ab2811d3dc0e7f329c7de88929ac6a9632d4cb4aef7fe11b8f2a9 -SIZE (dtach-0.8.tar.gz) = 55472 +SHA256 (dtach-0.9.tar.gz) = 32e9fd6923c553c443fab4ec9c1f95d83fa47b771e6e1dafb018c567291492f3 +SIZE (dtach-0.9.tar.gz) = 60608 diff --git a/misc/dtach/files/patch-master.c b/misc/dtach/files/patch-master.c index a1674c607d92..acd4b72e9c19 100644 --- a/misc/dtach/files/patch-master.c +++ b/misc/dtach/files/patch-master.c @@ -39,27 +39,3 @@ { close(s); return -1; -@@ -454,6 +470,8 @@ master_process(int s, char **argv, int w - /* Loop forever. */ - while (1) - { -+ int has_attached_client = 0; -+ - /* Re-initialize the file descriptor set for select. */ - FD_ZERO(&readfds); - FD_SET(s, &readfds); -@@ -480,8 +498,14 @@ master_process(int s, char **argv, int w - FD_SET(p->fd, &readfds); - if (p->fd > highest_fd) - highest_fd = p->fd; -+ -+ if (p->attached) { -+ has_attached_client = 1; -+ } - } - -+ check_socket_mode(has_attached_client); -+ - /* Wait for something to happen. */ - if (select(highest_fd + 1, &readfds, NULL, NULL, NULL) < 0) - { |