Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 19:23:31 +0100
From:      Alex Samorukov <samm@os2.kiev.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186772: [MAINTAINER] comms/anyremote: update to 6.3.2
Message-ID:  <E1WENQB-000FbI-V6@os2.ru>
Resent-Message-ID: <201402141830.s1EIU0Vi002667@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186772
>Category:       ports
>Synopsis:       [MAINTAINER] comms/anyremote: update to 6.3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 14 18:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Alex Samorukov
>Release:        FreeBSD 9.1-RELEASE i386
>Organization:
NetArt s.r.o.
>Environment:
System: FreeBSD bsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39
>Description:
- Update to 6.3.2
- Remove patches already in the tree

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- anyremote-6.3.2.patch begins here ---
diff -ruN /usr/ports/comms/anyremote/Makefile ./Makefile
--- /usr/ports/comms/anyremote/Makefile	2014-01-28 17:48:22.000000000 +0100
+++ ./Makefile	2014-02-14 19:08:03.000000000 +0100
@@ -2,7 +2,7 @@
 # $FreeBSD: head/comms/anyremote/Makefile 341638 2014-01-28 16:48:22Z miwi $
 
 PORTNAME=	anyremote
-PORTVERSION=	6.3.1
+PORTVERSION=	6.3.2
 CATEGORIES=	comms
 MASTER_SITES=	SF
 
diff -ruN /usr/ports/comms/anyremote/distinfo ./distinfo
--- /usr/ports/comms/anyremote/distinfo	2014-01-22 16:30:13.000000000 +0100
+++ ./distinfo	2014-02-14 19:08:36.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (anyremote-6.3.1.tar.gz) = 0d0a99c12630d462186b4468288a1ba2adef1e70c95bdd35f3165116cb8f4dd6
-SIZE (anyremote-6.3.1.tar.gz) = 2423381
+SHA256 (anyremote-6.3.2.tar.gz) = ab878677e3581ac716ce77bf601a10bfb199a136e605ca02a729428ed6341620
+SIZE (anyremote-6.3.2.tar.gz) = 2424004
diff -ruN /usr/ports/comms/anyremote/files/patch-src_pr_web.c ./files/patch-src_pr_web.c
--- /usr/ports/comms/anyremote/files/patch-src_pr_web.c	2014-01-22 18:40:44.000000000 +0100
+++ ./files/patch-src_pr_web.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,46 +0,0 @@
---- src/pr_web.c	2013-07-10 11:07:03.922188287 +0200
-+++ src/pr_web.c	2013-07-10 11:27:16.319193955 +0200
-@@ -33,7 +33,11 @@
- #include <netinet/in.h>
- #include <netdb.h>
- #include <unistd.h>
-+#ifdef __FreeBSD__
-+#include <sys/uio.h>
-+#else
- #include <sys/sendfile.h>
-+#endif
- 
- #define SERVER     "webserver/1.1"
- #define PROTOCOL   "HTTP/1.1"
-@@ -272,7 +276,7 @@
- static void sendFile(_WebClientConnection* cc, char *path, struct stat *statbuf)
- {
-     int fd = cc->connDescriptor;
--    int bytes_sent;
-+    ssize_t bytes_sent;
- 
-     INFO2("[WS]: sendFile %s",path);
- 
-@@ -293,8 +297,12 @@
-         int length = S_ISREG(statbuf->st_mode) ? statbuf->st_size : -1;
-         sendHeaders(cc, 200, "OK", NULL, get_mime_type(path), length, statbuf->st_mtime);
- 
-+#ifdef __FreeBSD__
-+        int err = sendfile(fdout, fd, 0, length, NULL, &bytes_sent, 0);
-+#else
-         bytes_sent = sendfile(fd,fdout,NULL,length);
--    
-+        int err = 0;
-+#endif
-         /*while ((n = fread(data, 1, sizeof(data), file)) > 0) {
-             //INFO2("read %d bytes from file",n);
- 
-@@ -305,7 +313,7 @@
-             }
-         }*/
-     
--        if (length != bytes_sent) {
-+        if (err || length != bytes_sent) {
-             ERROR2("[WS]: Error on send file %s", path);
-         }
- 
diff -ruN /usr/ports/comms/anyremote/files/patch-src_sys_util.c ./files/patch-src_sys_util.c
--- /usr/ports/comms/anyremote/files/patch-src_sys_util.c	2014-01-22 18:40:44.000000000 +0100
+++ ./files/patch-src_sys_util.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
---- src/sys_util.c	2013-07-10 14:49:42.461289772 +0200
-+++ src/sys_util.c	2013-07-10 14:49:02.000000000 +0200
-@@ -24,13 +24,13 @@
- #include <dirent.h>
- #include <errno.h>
- #include <fcntl.h>
--#include <net/if.h>
- #include <netinet/in.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/ioctl.h>
- #include <sys/socket.h>
-+#include <net/if.h>
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <sys/wait.h>
--- anyremote-6.3.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1WENQB-000FbI-V6>