svn commit: r329649 - in head/sysutils: . wemux wemux/files
Carlo Strub
cs at FreeBSD.org
Mon Oct 7 04:46:54 UTC 2013
Author: cs
Date: Mon Oct 7 04:46:52 2013
New Revision: 329649
URL: http://svnweb.freebsd.org/changeset/ports/329649
Log:
wemux enhances tmux to make multi-user terminal multiplexing both easier and
more powerful. It allows users to host a wemux server and have clients join in
either:
* Mirror Mode gives clients (another SSH user on your machine) read-only access
to the session, allowing them to see you work, or
* Pair Mode allows the client and yourself to work in the same terminal (shared
cursor)
* Rogue Mode allows the client to pair or work independently in another window
(separate cursors) in the same tmux session.
It features multi-server support as well as user listing and notifications when
users attach/detach.
WWW: https://github.com/zolrath/wemux
Added:
head/sysutils/wemux/
head/sysutils/wemux/Makefile (contents, props changed)
head/sysutils/wemux/distinfo (contents, props changed)
head/sysutils/wemux/files/
head/sysutils/wemux/files/patch-wemux (contents, props changed)
head/sysutils/wemux/pkg-descr (contents, props changed)
head/sysutils/wemux/pkg-plist (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Mon Oct 7 03:48:16 2013 (r329648)
+++ head/sysutils/Makefile Mon Oct 7 04:46:52 2013 (r329649)
@@ -990,6 +990,7 @@
SUBDIR += webjob
SUBDIR += webmin
SUBDIR += weedit
+ SUBDIR += wemux
SUBDIR += whatpix
SUBDIR += whowatch
SUBDIR += wiimms
Added: head/sysutils/wemux/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/wemux/Makefile Mon Oct 7 04:46:52 2013 (r329649)
@@ -0,0 +1,30 @@
+# Created by: Carlo Strub
+# $FreeBSD$
+
+PORTNAME= wemux
+PORTVERSION= 2.2.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.c-s.li/ports/
+
+MAINTAINER= gahr at FreeBSD.org
+COMMENT= Enhances tmux to make multi-user terminal multiplexing easier
+
+LICENSE= MIT
+
+RUN_DEPENDS= tmux:${PORTSDIR}/sysutils/tmux \
+ bash:${PORTSDIR}/shells/bash
+
+NO_BUILD= yes
+USE_GITHUB= yes
+GH_ACCOUNT= zolrath
+GH_TAGNAME= dfd964792a859ebc24b4210c53c9a0ceb9bb29e6
+WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-dfd9647
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${PORTNAME}
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/wemux ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_DATA} ${WRKSRC}/wemux.conf.example ${STAGEDIR}${PREFIX}/etc/wemux.conf.example
+
+.include <bsd.port.mk>
Added: head/sysutils/wemux/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/wemux/distinfo Mon Oct 7 04:46:52 2013 (r329649)
@@ -0,0 +1,2 @@
+SHA256 (wemux-2.2.0.tar.gz) = 9940cd5e83c3623aebdb53dc129bb3578df409f3744827f3737b474f9d6a19dd
+SIZE (wemux-2.2.0.tar.gz) = 9851
Added: head/sysutils/wemux/files/patch-wemux
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/wemux/files/patch-wemux Mon Oct 7 04:46:52 2013 (r329649)
@@ -0,0 +1,40 @@
+--- wemux.orig 2012-03-29 02:17:10.000000000 +0200
++++ wemux 2013-10-06 14:54:20.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!%%PREFIX%%/bin/bash
+ # wemux by Matt Furden @zolrath
+ # version 2.2.0
+ #
+@@ -7,8 +7,9 @@
+ # or pairing, which will allow them to edit your file (shared cursor) or work
+ # in another window (separate cursors) in the hosts tmux session.
+ #
+-# To set a user as host add their username to the host_list in /etc/wemux.conf
+-# Other configuations options are also located in /etc/wemux.conf
++# To set a user as host add their username to the host_list in
++# %%PREFIX%%/etc/wemux.conf
++# Other configuations options are also located in %%PREFIX%%/etc/wemux.conf
+ #
+ # For environments with multiple hosts running their own independent sessions
+ # on the same machine wemux can join different sessions with the wemux join
+@@ -42,7 +43,7 @@
+ version="2.2.0"
+
+ # Setup and Configuration Files.
+-# Default settings, modify them in the /etc/wemux.conf file:
++# Default settings, modify them in the %%PREFIX%%/etc/wemux.conf file:
+ host_list=(root)
+ socket_prefix="/tmp/wemux"
+ options="-u"
+@@ -60,8 +61,8 @@
+ # Set $EDITOR default to vi if not configured on host machine.
+ editor=${EDITOR:="vi"}
+
+-# Load configuration options from /etc/wemux.conf
+-[ -f /etc/wemux.conf ] && . /etc/wemux.conf
++# Load configuration options from %%PREFIX%%/etc/wemux.conf
++[ -f %%PREFIX%%/etc/wemux.conf ] && . %%PREFIX%%/etc/wemux.conf
+
+ # Sanitize session name, replace spaces and underscores with dashes.
+ # Remove all non alpha-numeric characters, convert to lowercase.
Added: head/sysutils/wemux/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/wemux/pkg-descr Mon Oct 7 04:46:52 2013 (r329649)
@@ -0,0 +1,15 @@
+wemux enhances tmux to make multi-user terminal multiplexing both easier and
+more powerful. It allows users to host a wemux server and have clients join in
+either:
+
+ * Mirror Mode gives clients (another SSH user on your machine) read-only access
+ to the session, allowing them to see you work, or
+ * Pair Mode allows the client and yourself to work in the same terminal (shared
+ cursor)
+ * Rogue Mode allows the client to pair or work independently in another window
+ (separate cursors) in the same tmux session.
+
+It features multi-server support as well as user listing and notifications when
+users attach/detach.
+
+WWW: https://github.com/zolrath/wemux
Added: head/sysutils/wemux/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/wemux/pkg-plist Mon Oct 7 04:46:52 2013 (r329649)
@@ -0,0 +1,4 @@
+bin/wemux
+ at unexec if cmp -s %D/etc/wemux.conf %D/etc/wemux.conf.example ; then rm -f %D/etc/wemux.conf ; fi
+etc/wemux.conf.example
+ at exec if [ ! -f %D/etc/wemux.conf ]; then cp -p %D/%F %B/wemux.conf; fi
More information about the svn-ports-all
mailing list