From 538b624eb881b53e6f16465fb15743991748cc04 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 5 May 2019 09:01:29 +0000 Subject: [PATCH] - Add LICENSE - Pet portlint - Regenerate patches - Update WWW Approved by: portmgr blanket --- emulators/parallels-tools/Makefile | 4 +++- .../parallels-tools/files/patch-pvmnet-if_pvmnet.c | 10 +++++----- emulators/parallels-tools/pkg-descr | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/emulators/parallels-tools/Makefile b/emulators/parallels-tools/Makefile index 06ff9a407194..0dae1c756a0b 100644 --- a/emulators/parallels-tools/Makefile +++ b/emulators/parallels-tools/Makefile @@ -10,10 +10,12 @@ MASTER_SITES= LOCAL/bland MAINTAINER= bland@FreeBSD.org COMMENT= Parallels Desktop Tools for FreeBSD -USES= kmod tar:bzip2 uidfix +LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 i386 +USES= kmod tar:bzip2 uidfix + PLIST_FILES= ${KMODDIR}/if_pvmnet.ko .include diff --git a/emulators/parallels-tools/files/patch-pvmnet-if_pvmnet.c b/emulators/parallels-tools/files/patch-pvmnet-if_pvmnet.c index 7245abf6e8af..bd79032b44b2 100644 --- a/emulators/parallels-tools/files/patch-pvmnet-if_pvmnet.c +++ b/emulators/parallels-tools/files/patch-pvmnet-if_pvmnet.c @@ -1,6 +1,6 @@ ---- pvmnet/if_pvmnet.c.orig 2014-10-02 22:19:21.000000000 +0400 -+++ pvmnet/if_pvmnet.c 2014-10-02 22:21:10.000000000 +0400 -@@ -364,12 +364,20 @@ +--- pvmnet/if_pvmnet.c.orig 2014-02-14 14:09:06 UTC ++++ pvmnet/if_pvmnet.c +@@ -364,12 +364,20 @@ pvmnetintr(void *arg) for (offset = io_get_rcv_offset(sc); (size = io_get_packet_size(sc, offset)); offset += FULL_PACKET_SIZE(size)) { if (size > ETHER_MAX_LEN) { @@ -21,7 +21,7 @@ continue; } m->m_pkthdr.rcvif = ifp; -@@ -379,7 +387,11 @@ +@@ -379,7 +387,11 @@ pvmnetintr(void *arg) m->m_pkthdr.len = m->m_len = size; io_read_data(sc, offset, m); @@ -33,7 +33,7 @@ PVMNET_UNLOCK(sc); (*ifp->if_input)(ifp, m); -@@ -538,7 +550,11 @@ +@@ -538,7 +550,11 @@ pvmnet_start_locked(struct ifnet *ifp) io_notify_sndbuf_full(sc); break; } diff --git a/emulators/parallels-tools/pkg-descr b/emulators/parallels-tools/pkg-descr index 4ba1e83d02d0..88e03f889f93 100644 --- a/emulators/parallels-tools/pkg-descr +++ b/emulators/parallels-tools/pkg-descr @@ -1,3 +1,3 @@ This is a port of Parallels Desktop Tools for the FreeBSD. -WWW: http://www.parallels.com/products/desktop/ +WWW: https://www.parallels.com/products/desktop/