pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vmware-sercons: Import vmware-sercons-0 as comms/vmware-sercons



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Thu Jan 4 09:17:53 2018 +0000
Changeset:	f2df59a47248655b420f7ef2547c0bbda16934d6

Modified Files:
	Makefile
Added Files:
	vmware-sercons/DESCR
	vmware-sercons/Makefile
	vmware-sercons/PLIST
	vmware-sercons/distinfo
	vmware-sercons/patches/patch-Makefile

Log Message:
vmware-sercons: Import vmware-sercons-0 as comms/vmware-sercons

Tool for attaching simply to VMware Fusion Serial
(and VirtualBox) Consoles.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f2df59a47248655b420f7ef2547c0bbda16934d6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                              |  1 +
 vmware-sercons/DESCR                  |  8 ++++++++
 vmware-sercons/Makefile               | 26 ++++++++++++++++++++++++++
 vmware-sercons/PLIST                  |  2 ++
 vmware-sercons/distinfo               |  7 +++++++
 vmware-sercons/patches/patch-Makefile | 16 ++++++++++++++++
 6 files changed, 60 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 405d912a5c..9d493b7772 100644
--- a/Makefile
+++ b/Makefile
@@ -4516,6 +4516,7 @@ SUBDIR+=	vkeybd
 SUBDIR+=	vlevel
 SUBDIR+=	vm-pop3d
 SUBDIR+=	vmsbackup
+SUBDIR+=	vmware-sercons
 SUBDIR+=	vncselector
 SUBDIR+=	vpnc
 SUBDIR+=	vpr
diff --git a/vmware-sercons/DESCR b/vmware-sercons/DESCR
new file mode 100644
index 0000000000..0d047634b1
--- /dev/null
+++ b/vmware-sercons/DESCR
@@ -0,0 +1,8 @@
+Tool for attaching simply to VMware Fusion Serial Consoles.
+
+VMware Fusion will, if appropriately coerced, emulate UARTs in
+guests and expose them to the host as UNIX domain sockets. This
+tool allows you to attach your terminal emulator directly to one
+of those sockets without having to lark about with socat and screen.
+
+Also works well with a VirtualBox host and a NetBSD guest.
diff --git a/vmware-sercons/Makefile b/vmware-sercons/Makefile
new file mode 100644
index 0000000000..96f3bbe2e2
--- /dev/null
+++ b/vmware-sercons/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+PKGNAME=	vmware-sercons-0
+CATEGORIES=	comms
+GHCOMMIT=	216095b5d16748e63223b44c0f12bbb0d16a6e66
+DISTNAME=	${GHCOMMIT}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jclulow/vmware-sercons/archive/}
+DIST_SUBDIR=	vmware-sercons
+WRKSRC=		${WRKDIR}/vmware-sercons-${GHCOMMIT}
+
+MAINTAINER=	tr%vispaul.me@localhost
+HOMEPAGE=	https://github.com/jclulow/vmware-sercons
+COMMENT=	Tool for attaching simply to VMware Fusion Serial Consoles
+LICENSE=	mit
+
+NO_CONFIGURE=		yes
+INSTALLATION_DIRS=	bin
+USE_TOOLS+=		gmake
+
+do-build:
+	cd ${WRKSRC} && gmake sercons
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/sercons ${DESTDIR}${PREFIX}/bin
+
+.include	"../../mk/bsd.pkg.mk"
diff --git a/vmware-sercons/PLIST b/vmware-sercons/PLIST
new file mode 100644
index 0000000000..23a011d020
--- /dev/null
+++ b/vmware-sercons/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/sercons
diff --git a/vmware-sercons/distinfo b/vmware-sercons/distinfo
new file mode 100644
index 0000000000..1da5fdd2c7
--- /dev/null
+++ b/vmware-sercons/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (vmware-sercons/216095b5d16748e63223b44c0f12bbb0d16a6e66.tar.gz) = 0cf76c133fd9a8a6db0cfdce8833f38c4cfe90af
+RMD160 (vmware-sercons/216095b5d16748e63223b44c0f12bbb0d16a6e66.tar.gz) = 78551e5f29931889c36e6267e1f9356c8389fe8c
+SHA512 (vmware-sercons/216095b5d16748e63223b44c0f12bbb0d16a6e66.tar.gz) = 260fe3aa88cb2a231ccf10afdbfa4c0f704c417d918e15a8fb6acc84a98331d8e96650b4b50c384902ff559cade53060611c16911fbc98a9c28d3f776dec5fdf
+Size (vmware-sercons/216095b5d16748e63223b44c0f12bbb0d16a6e66.tar.gz) = 3945 bytes
+SHA1 (patch-Makefile) = e2e57bbc5ef50777dd48016f07af327e04ec1a30
diff --git a/vmware-sercons/patches/patch-Makefile b/vmware-sercons/patches/patch-Makefile
new file mode 100644
index 0000000000..ba0e372197
--- /dev/null
+++ b/vmware-sercons/patches/patch-Makefile
@@ -0,0 +1,16 @@
+$NetBSD$
+
+NetBSD needs -pthread to build.
+
+--- Makefile.orig	2017-12-11 19:03:21.000000000 +0000
++++ Makefile
+@@ -10,6 +10,9 @@ ifeq ($(OS),SunOS)
+ CFLAGS += -m32
+ CFLAGS += -lnsl -lsocket
+ endif
++ifeq ($(OS),NetBSD)
++CFLAGS += -pthread
++endif
+ 
+ PROG = sercons
+ 


Home | Main Index | Thread Index | Old Index