]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
tmux: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 Jun 2014 14:06:26 +0000 (16:06 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 Jun 2014 14:06:26 +0000 (16:06 +0200)
A terminal multiplexer similar to screen.

tmux/patches/tmux-fix-malloc-check-error.patch0 [new file with mode: 0644]
tmux/tmux.nm [new file with mode: 0644]

diff --git a/tmux/patches/tmux-fix-malloc-check-error.patch0 b/tmux/patches/tmux-fix-malloc-check-error.patch0
new file mode 100644 (file)
index 0000000..2ae549d
--- /dev/null
@@ -0,0 +1,12 @@
+--- cmd.c-orig 2014-02-26 09:57:06.441154327 -0300
++++ cmd.c      2014-02-26 09:58:00.631888951 -0300
+@@ -138,6 +138,9 @@
+       size_t  arglen;
+       int     i;
++      if (argc == 0)
++              return (0);
++
+       *buf = '\0';
+       for (i = 0; i < argc; i++) {
+               if (strlcpy(buf, argv[i], len) >= len)
diff --git a/tmux/tmux.nm b/tmux/tmux.nm
new file mode 100644 (file)
index 0000000..7048eeb
--- /dev/null
@@ -0,0 +1,37 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = tmux
+version    = 1.9a
+release    = 1
+
+groups     = Application/System
+url        = http://sourceforge.net/projects/tmux
+license    = ISC and BSD
+summary    = A terminal multiplexer
+
+description
+       tmux is a "terminal multiplexer."  It enables a number of terminals
+       (or windows) to be accessed and controlled from a single terminal.
+       tmux is intended to be a simple, modern, BSD-licensed alternative to
+       programs such as GNU Screen.
+end
+
+source_dl  = http://downloads.sourceforge.net/%{name}/
+
+build
+       requires
+               ncurses-devel
+               libevent-devel
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end