* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2016-01-10 10:47 Justin Lecher
0 siblings, 0 replies; 8+ messages in thread
From: Justin Lecher @ 2016-01-10 10:47 UTC (permalink / raw
To: gentoo-commits
commit: 6d92bbe44d0a4f19290abcdd63d5a4c9b776ba96
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 10:47:31 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 10:47:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d92bbe4
app-misc/tmux: Drop versions vulnerable to 'Out of bounds heap read'
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564400
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
app-misc/tmux/Manifest | 2 -
app-misc/tmux/files/tmux-1.9a-flags.patch | 28 ----------
app-misc/tmux/metadata.xml | 2 +-
app-misc/tmux/tmux-1.9a-r2.ebuild | 85 ------------------------------
app-misc/tmux/tmux-2.0-r4.ebuild | 87 -------------------------------
5 files changed, 1 insertion(+), 203 deletions(-)
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
index 30c394a..c34e47a 100644
--- a/app-misc/tmux/Manifest
+++ b/app-misc/tmux/Manifest
@@ -1,3 +1 @@
-DIST tmux-1.9a.tar.gz 447938 SHA256 c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 SHA512 842984638dc1f7364c03393187379598f35679d535d911d5df4016944d6032e61a1bf840d7d339c6e99b30c55581d470acca85ab6ee5799b8927d18c0e9a91df WHIRLPOOL eca5cd48a263e25d24b7e2865f76bb30267e20590e9b2a905637498d7992389b9c7e0253c992780b1a6458869204cffcf93f4dba09efdfeb2f803a0f95f6553e
-DIST tmux-2.0.tar.gz 455754 SHA256 795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362 SHA512 8a4be40ceb9b371a91107173de08348c4379b103454fa397ee326506f78a5fda1034dc7148c090c687221eddb8a2fc0c3aeb85da57841df6bcd74fb5f4f5f53d WHIRLPOOL d5c9570aafed049b1404e9243e0339202bfa33e8ca2874f304cb9a7c764b7878db19f87aa5f6b9a9476038bc3702e5d11784c8ca83eb731e61763ecb08a39fec
DIST tmux-2.1.tar.gz 462965 SHA256 31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176 SHA512 0faa0a60a84b777ca3cf572cf741d0e4f82a9f32d27dfeddfda41bad57830823a6d5f2323f27ba794b86e194d9f7db7028c94dc6a15bb4ac5a18508f890bdaa4 WHIRLPOOL 983024886bdb868bb69ccedc18e9fd62cc5a8f147d647ea43b6f20e297b9b3c45a061e542bcb590ab50cf5d3db43d22015c3a8f18bee33d9c76552bfe13424ed
diff --git a/app-misc/tmux/files/tmux-1.9a-flags.patch b/app-misc/tmux/files/tmux-1.9a-flags.patch
deleted file mode 100644
index 8bf21d8..0000000
--- a/app-misc/tmux/files/tmux-1.9a-flags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- tmux-1.9a/Makefile.am
-+++ tmux-1.9a/Makefile.am
-@@ -27,23 +27,20 @@
- if IS_GCC
- CFLAGS += -std=gnu99
- if IS_DEBUG
--CFLAGS += -O0 -g
- CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
- CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
- CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
- CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
- CFLAGS += -Wdeclaration-after-statement
- CPPFLAGS += -DDEBUG
--else
--CFLAGS += -O2
- endif
- if IS_GCC4
--CPPFLAGS += -iquote. -I/usr/local/include
-+CPPFLAGS += -iquote.
- if IS_DEBUG
- CFLAGS += -Wno-pointer-sign
- endif
- else
--CPPFLAGS += -I. -I- -I/usr/local/include
-+CPPFLAGS += -I. -I-
- endif
- endif
-
diff --git a/app-misc/tmux/metadata.xml b/app-misc/tmux/metadata.xml
index 8813ec2..e9b1261 100644
--- a/app-misc/tmux/metadata.xml
+++ b/app-misc/tmux/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>shell-tools</herd>
diff --git a/app-misc/tmux/tmux-1.9a-r2.ebuild b/app-misc/tmux/tmux-1.9a-r2.ebuild
deleted file mode 100644
index 7fd1b54..0000000
--- a/app-misc/tmux/tmux-1.9a-r2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils bash-completion-r1 flag-o-matic
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux vim-syntax"
-
-COMMON_DEPEND="
- =dev-libs/libevent-2.0*
- sys-libs/ncurses"
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? ( || (
- app-editors/vim
- app-editors/gvim ) )"
-
-DOCS=( CHANGES FAQ README TODO )
-
-PATCHES=( "${FILESDIR}"/${P}-flags.patch )
-
-pkg_setup() {
- if has_version "<app-misc/tmux-1.9a"; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- # remove generated files
- rm -r compat/.{dirstamp,deps} || die
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --sysconfdir="${EPREFIX}"/etc
- $(use_enable debug)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- newbashcomp examples/bash_completion_tmux.sh ${PN}
-
- docinto examples
- dodoc examples/*.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins examples/tmux.vim
-
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
-}
diff --git a/app-misc/tmux/tmux-2.0-r4.ebuild b/app-misc/tmux/tmux-2.0-r4.ebuild
deleted file mode 100644
index 8696d53..0000000
--- a/app-misc/tmux/tmux-2.0-r4.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils bash-completion-r1 flag-o-matic
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux vim-syntax"
-
-CDEPEND="
- || ( =dev-libs/libevent-2.0*
- >=dev-libs/libevent-2.1.5-r4 )
- !sys-apps/utempter
- sys-libs/ncurses"
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? ( || (
- app-editors/vim
- app-editors/gvim ) )"
-
-DOCS=( CHANGES FAQ README TODO )
-
-PATCHES=( "${FILESDIR}"/${P}-flags.patch )
-
-pkg_setup() {
- if has_version "<app-misc/tmux-1.9a"; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- # remove generated files
- rm -r compat/.{dirstamp,deps} || die
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --sysconfdir="${EPREFIX}"/etc
- $(use_enable debug)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- newbashcomp examples/bash_completion_tmux.sh ${PN}
-
- docinto examples
- dodoc examples/*.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins examples/tmux.vim
-
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
-}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2016-05-18 20:06 Mike Gilbert
0 siblings, 0 replies; 8+ messages in thread
From: Mike Gilbert @ 2016-05-18 20:06 UTC (permalink / raw
To: gentoo-commits
commit: 113eb83384588cade6be59957e22b9b70be5af20
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 20:05:45 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed May 18 20:05:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113eb833
Revert "app-misc/tmux: Add 2.1-r1 and ship terminfo file."
This reverts commit baec651ecb38580f8b39c79b16e4d6a13cdbe061.
The terminfo files collide with >=sys-libs/ncurses-6.0.
Bug: https://bugs.gentoo.org/583428
app-misc/tmux/files/tmux.terminfo.in | 6 --
app-misc/tmux/tmux-2.1-r1.ebuild | 103 -----------------------------------
2 files changed, 109 deletions(-)
diff --git a/app-misc/tmux/files/tmux.terminfo.in b/app-misc/tmux/files/tmux.terminfo.in
deleted file mode 100644
index d335c47..0000000
--- a/app-misc/tmux/files/tmux.terminfo.in
+++ /dev/null
@@ -1,6 +0,0 @@
-tmux|tmux terminal multiplexer,
- ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
- use=xterm+tmux, use=screen,
-
-tmux-256color|tmux with 256 colors,
- use=xterm+256setaf, use=tmux,
diff --git a/app-misc/tmux/tmux-2.1-r1.ebuild b/app-misc/tmux/tmux-2.1-r1.ebuild
deleted file mode 100644
index f448b3a..0000000
--- a/app-misc/tmux/tmux-2.1-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils bash-completion-r1 flag-o-matic versionator
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux vim-syntax kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- || (
- =dev-libs/libevent-2.0*
- >=dev-libs/libevent-2.1.5-r4
- )
- kernel_linux? ( sys-libs/libutempter )
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
- sys-libs/ncurses:0="
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )"
-
-DOCS=( CHANGES FAQ README TODO )
-
-PATCHES=( "${FILESDIR}"/${PN}-2.0-flags.patch )
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --sysconfdir="${EPREFIX}"/etc
- $(use_enable debug)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- newbashcomp examples/bash_completion_tmux.sh ${PN}
-
- docinto examples
- dodoc examples/*.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins examples/tmux.vim
-
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
- # Make a tmux{,-256color} terminfo entry. It will not be used unless the
- # user adds this to their .tmux.conf:
- #
- # set-option -g default-terminal "tmux-256color"
- #
- # Content of the terminfo entry is from here:
- # https://github.com/ThomasAdam/tmux/blob/master/FAQ#L355
- mkdir terminfo/ || die
- tic -x "${FILESDIR}/tmux.terminfo.in" -o terminfo/ || die
- insinto /usr/share/terminfo/t
- doins terminfo/t/tmux
- doins terminfo/t/tmux-256color
-}
-
-pkg_postinst() {
- if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2016-09-30 7:32 Lars Wendler
0 siblings, 0 replies; 8+ messages in thread
From: Lars Wendler @ 2016-09-30 7:32 UTC (permalink / raw
To: gentoo-commits
commit: fbbae198eb8921ee2bc0b7c0bb2447fffff309c1
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 07:32:17 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 07:32:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbae198
app-misc/tmux: Bump to version 2.3
Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-misc/tmux/Manifest | 1 +
app-misc/tmux/files/tmux-2.3-flags.patch | 15 ++++++
app-misc/tmux/tmux-2.3.ebuild | 89 ++++++++++++++++++++++++++++++++
3 files changed, 105 insertions(+)
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
index 0eea5ba..6ede0c3 100644
--- a/app-misc/tmux/Manifest
+++ b/app-misc/tmux/Manifest
@@ -1,4 +1,5 @@
DIST tmux-2.1.tar.gz 462965 SHA256 31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176 SHA512 0faa0a60a84b777ca3cf572cf741d0e4f82a9f32d27dfeddfda41bad57830823a6d5f2323f27ba794b86e194d9f7db7028c94dc6a15bb4ac5a18508f890bdaa4 WHIRLPOOL 983024886bdb868bb69ccedc18e9fd62cc5a8f147d647ea43b6f20e297b9b3c45a061e542bcb590ab50cf5d3db43d22015c3a8f18bee33d9c76552bfe13424ed
DIST tmux-2.2.tar.gz 466852 SHA256 bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf WHIRLPOOL 2e44582b994f3fe919f4ee7543f25e3fb02cc975d053b0c63bcd858a54fe3125ffe192cf6f8c7ae0345d90e8086d86930d668b29becdb4e0376579ef02e7034f
+DIST tmux-2.3.tar.gz 473944 SHA256 55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b SHA512 521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af WHIRLPOOL de482076dfdb15e5ef2dcaebf60e05069bf847a30162a098bf11573f09cc996e35b9ffcd3a2784331b6fc59ae0b9bc58cbe80360a7dd844eb94ff25e546eacf2
DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 SHA256 a0905c595fec7f0258fba5466315d42d67eca3bd2d3b12f4af8936d7f168b6c6 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 WHIRLPOOL aa83ea77c084e643f2cbf74ddf10bf6e43304b0a7c1f6af24b153844ad01732af8f45de0d8a39093f11be19ff9af20116f4aa7b9c750f3452525fcd7b31a3d8a
DIST tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca 5626 SHA256 040cbb7ce19f5a256ae400061d310e0f64f58cbc525402043708b59546af2462 SHA512 956b2c1ca08e3c92aa39c9df54fbe1c661d0e076c91628c4b88f81f97104241b6505412fa0e21a681adc231eb2e6e7feee850474d4277812d186548bbb05f6d1 WHIRLPOOL 3eaa20479fccf7e20dbd7ccb8669bd8c47da90f7218fdb386fcd150c1223cc7300d68f880baa706bbdb7abf54394d44fd80479ba3fae934de9b53f40acc6286a
diff --git a/app-misc/tmux/files/tmux-2.3-flags.patch b/app-misc/tmux/files/tmux-2.3-flags.patch
new file mode 100644
index 00000000..6fa66b5
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.3-flags.patch
@@ -0,0 +1,15 @@
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+--- tmux-2.3/Makefile.am
++++ tmux-2.3/Makefile.am
+@@ -23,9 +23,8 @@
+
+ # Set flags for gcc.
+ if IS_GCC
+-CFLAGS += -std=gnu99 -O2
++CFLAGS += -std=gnu99
+ if IS_DEBUG
+-CFLAGS += -g
+ CFLAGS += -Wno-long-long -Wall -W -Wformat=2
+ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
+ CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
diff --git a/app-misc/tmux/tmux-2.3.ebuild b/app-misc/tmux/tmux-2.3.ebuild
new file mode 100644
index 00000000..5fdd741
--- /dev/null
+++ b/app-misc/tmux/tmux-2.3.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ || (
+ =dev-libs/libevent-2.0*
+ >=dev-libs/libevent-2.1.5-r4
+ )
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+ sys-libs/ncurses:0="
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+DOCS=( CHANGES FAQ README TODO )
+
+PATCHES=( "${FILESDIR}"/${PN}-2.3-flags.patch )
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug) \
+ $(use_enable utempter)
+}
+
+src_install() {
+ default
+
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/tmux.vim
+ fi
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2018-01-26 21:48 Patrice Clement
0 siblings, 0 replies; 8+ messages in thread
From: Patrice Clement @ 2018-01-26 21:48 UTC (permalink / raw
To: gentoo-commits
commit: db7583610d5078d645d7f55ca80b181763c43273
Author: Juanjie Xi <strangemk3 <AT> gmail <DOT> com>
AuthorDate: Fri Dec 22 02:09:18 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 21:47:58 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db758361
app-misc/tmux: add patch against the pipe-pane unreliable bug.
Closes: https://bugs.gentoo.org/640228
Closes: https://github.com/gentoo/gentoo/pull/6596
Package-Manager: Portage-2.3.13
app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch | 9 +++
app-misc/tmux/tmux-2.3-r2.ebuild | 91 ++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch b/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch
new file mode 100644
index 00000000000..65dd2f3c1bc
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch
@@ -0,0 +1,9 @@
+--- a/window.c 2016-09-29 05:31:24.000000000 +0800
++++ b/window.c 2017-12-22 09:38:43.709617000 +0800
+@@ -981,7 +981,7 @@
+
+ input_parse(wp);
+
+- wp->pipe_off = size;
++ wp->pipe_off = EVBUFFER_LENGTH(evb);
+ }
diff --git a/app-misc/tmux/tmux-2.3-r2.ebuild b/app-misc/tmux/tmux-2.3-r2.ebuild
new file mode 100644
index 00000000000..3bed9128b2f
--- /dev/null
+++ b/app-misc/tmux/tmux-2.3-r2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ >=dev-libs/libevent-2.1.5-r4:=
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+ sys-libs/ncurses:0="
+
+DEPEND="
+ ${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="
+ ${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3-flags.patch
+
+ # usptream fixes (can be removed with next version bump)
+ "${FILESDIR}"/${P}-screen_write_copy-fix.patch
+ "${FILESDIR}"/${P}-pipe_pane-fix.patch
+)
+
+src_prepare() {
+ default
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug) \
+ $(use_enable utempter)
+}
+
+src_install() {
+ default
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/tmux.vim
+ fi
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ ewarn
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2018-04-13 19:21 Lars Wendler
0 siblings, 0 replies; 8+ messages in thread
From: Lars Wendler @ 2018-04-13 19:21 UTC (permalink / raw
To: gentoo-commits
commit: eadbf99e1da48ae7ec3b1a6fb4f6e1b24b8bdb28
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 19:21:33 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 19:21:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eadbf99e
app-misc/tmux: Removed old.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
app-misc/tmux/Manifest | 3 -
app-misc/tmux/files/tmux-2.0-flags.patch | 18 -----
app-misc/tmux/files/tmux-2.3-flags.patch | 15 ----
app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch | 9 ---
.../files/tmux-2.3-screen_write_copy-fix.patch | 63 ---------------
app-misc/tmux/files/tmux.vim | 1 -
app-misc/tmux/tmux-2.2.ebuild | 85 --------------------
app-misc/tmux/tmux-2.3-r1.ebuild | 90 ---------------------
app-misc/tmux/tmux-2.3-r2.ebuild | 91 ---------------------
app-misc/tmux/tmux-2.5-r2.ebuild | 83 -------------------
app-misc/tmux/tmux-2.5.ebuild | 93 ----------------------
11 files changed, 551 deletions(-)
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
index 077cc9d2edd..2871890799a 100644
--- a/app-misc/tmux/Manifest
+++ b/app-misc/tmux/Manifest
@@ -1,6 +1,3 @@
-DIST tmux-2.2.tar.gz 466852 BLAKE2B 78bc503955686a1b8aa80c0686aa2b05c32bb54078c0dd5c3bcf0c3e2ac8ff0383ceb63218974b2da688506bd44e8ebfd48a05a66ba9322b446cc44c11952932 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf
-DIST tmux-2.3.tar.gz 473944 BLAKE2B 348bb0492332d2c52d11be2aa128552ca374feb8ac2cf91d395fe5896d1fd791e62c3a526df7c744ef888eaaa1aa91ffa110dcc5626b72169aac7dc7f7293dd2 SHA512 521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af
-DIST tmux-2.5.tar.gz 475717 BLAKE2B c702949c7490b637ca99dc6b98d92af917e437374159153c6b955821d056fcbe676441974f42cb271db4dc69746765bb83e5a86a7d51e35d900a1a4f77e60ead SHA512 c0e8365a553d034e347f2f7a0d64f04e2be4307a75a9f72c8218fc56b72e531f3f37fe4a8f0e8d70801f5f62ee250ab7e9978abd6d101d273f76b4a1a92b08e0
DIST tmux-2.6.tar.gz 481000 BLAKE2B adbd276261f3f4be9d67c6c0fbad28a90eabbecfa68ebbc104fe56acaa9b7bd005060b854ce0a0e669fdf41dd058bfa8450a85a78f71f7248a44d25458f7d3bc SHA512 20a1ae8b8494c5b42757902322f3877731c2cc330c9c00f097a317785d25252b7ebaa8bbab9fc17843299e80cb2914aaac0a664715a85c50f7ea489d23753832
DIST tmux-2.7.tar.gz 487585 BLAKE2B 9c56da03bd12b358fcbed82def9680c34e1e485f906cf9b90a501e53b109c43d1ee843972d26e677de2c34830e599edee022dc1c17e1e5c935ed232caacb2b01 SHA512 7839ef748ea55df8c02c727047f65bd235b5e3b8ab23157246071e1b9954fa269594da9fbd0fabf6a850e3b5dfda962a0a067c1507411c92a84d1db2666ecf37
DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979
diff --git a/app-misc/tmux/files/tmux-2.0-flags.patch b/app-misc/tmux/files/tmux-2.0-flags.patch
deleted file mode 100644
index d2c40e04b78..00000000000
--- a/app-misc/tmux/files/tmux-2.0-flags.patch
+++ /dev/null
@@ -1,18 +0,0 @@
- Makefile.am | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 63e20b1..a2fec1e 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -25,9 +25,8 @@ endif
- # Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
- # different flags.
- if IS_GCC
--CFLAGS += -std=gnu99 -O2
-+CFLAGS += -std=gnu99
- if IS_DEBUG
--CFLAGS += -g
- CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
- CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
- CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
diff --git a/app-misc/tmux/files/tmux-2.3-flags.patch b/app-misc/tmux/files/tmux-2.3-flags.patch
deleted file mode 100644
index 6fa66b50833..00000000000
--- a/app-misc/tmux/files/tmux-2.3-flags.patch
+++ /dev/null
@@ -1,15 +0,0 @@
- Makefile.am | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
---- tmux-2.3/Makefile.am
-+++ tmux-2.3/Makefile.am
-@@ -23,9 +23,8 @@
-
- # Set flags for gcc.
- if IS_GCC
--CFLAGS += -std=gnu99 -O2
-+CFLAGS += -std=gnu99
- if IS_DEBUG
--CFLAGS += -g
- CFLAGS += -Wno-long-long -Wall -W -Wformat=2
- CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
- CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
diff --git a/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch b/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch
deleted file mode 100644
index 65dd2f3c1bc..00000000000
--- a/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/window.c 2016-09-29 05:31:24.000000000 +0800
-+++ b/window.c 2017-12-22 09:38:43.709617000 +0800
-@@ -981,7 +981,7 @@
-
- input_parse(wp);
-
-- wp->pipe_off = size;
-+ wp->pipe_off = EVBUFFER_LENGTH(evb);
- }
diff --git a/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch b/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch
deleted file mode 100644
index b8383274da2..00000000000
--- a/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 30086e504c8a5389b96b72b81ac8dbefe19e0cf1 Mon Sep 17 00:00:00 2001
-From: nicm <nicm>
-Date: Wed, 5 Oct 2016 22:00:29 +0000
-Subject: [PATCH] screen_write_copy tried to be clever and clear the line if it
- reached the end of the source, but it was wrong and causes problems that are
- only showing up now we are more aggressive about skipping redundant screen
- updates. Remove the optimization entirely as more trouble than it is worth to
- fix (and it'll have to go when BCE is done anyway).
-
----
- screen-write.c | 34 +++++++---------------------------
- 1 file changed, 7 insertions(+), 27 deletions(-)
-
-diff --git a/screen-write.c b/screen-write.c
-index 3977517..3a1fc8c 100644
---- a/screen-write.c
-+++ b/screen-write.c
-@@ -394,38 +394,18 @@ screen_write_copy(struct screen_write_ctx *ctx, struct screen *src, u_int px,
- {
- struct screen *s = ctx->s;
- struct grid *gd = src->grid;
-- struct grid_line *gl;
- struct grid_cell gc;
-- u_int xx, yy, cx, cy, ax, bx;
-+ u_int xx, yy, cx, cy;
-
- cx = s->cx;
- cy = s->cy;
-+
- for (yy = py; yy < py + ny; yy++) {
-- gl = &gd->linedata[yy];
-- if (yy < gd->hsize + gd->sy) {
-- /*
-- * Find start and end position and copy between
-- * them. Limit to the real end of the line then use a
-- * clear EOL only if copying to the end, otherwise
-- * could overwrite whatever is there already.
-- */
-- if (px > gl->cellsize)
-- ax = gl->cellsize;
-- else
-- ax = px;
-- if (px + nx == gd->sx && px + nx > gl->cellsize)
-- bx = gl->cellsize;
-- else
-- bx = px + nx;
--
-- for (xx = ax; xx < bx; xx++) {
-- grid_get_cell(gd, xx, yy, &gc);
-- screen_write_cell(ctx, &gc);
-- }
-- if (px + nx == gd->sx && px + nx > gl->cellsize)
-- screen_write_clearendofline(ctx);
-- } else
-- screen_write_clearline(ctx);
-+ for (xx = px; xx < px + nx; xx++) {
-+ grid_get_cell(gd, xx, yy, &gc);
-+ screen_write_cell(ctx, &gc);
-+ }
-+
- cy++;
- screen_write_cursormove(ctx, cx, cy);
- }
diff --git a/app-misc/tmux/files/tmux.vim b/app-misc/tmux/files/tmux.vim
deleted file mode 100644
index baac50adab1..00000000000
--- a/app-misc/tmux/files/tmux.vim
+++ /dev/null
@@ -1 +0,0 @@
-au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
diff --git a/app-misc/tmux/tmux-2.2.ebuild b/app-misc/tmux/tmux-2.2.ebuild
deleted file mode 100644
index fdc80fec999..00000000000
--- a/app-misc/tmux/tmux-2.2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic versionator
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- >=dev-libs/libevent-2.1.5-r4:=
- utempter? (
- kernel_linux? ( sys-libs/libutempter )
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
- )
- sys-libs/ncurses:0="
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )"
-
-DOCS=( CHANGES FAQ README TODO )
-
-PATCHES=( "${FILESDIR}"/${PN}-2.0-flags.patch )
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --sysconfdir="${EPREFIX}"/etc \
- $(use_enable debug) \
- $(use_enable utempter)
-}
-
-src_install() {
- default
-
- einstalldocs
-
- dodoc example_tmux.conf
- docompress -x /usr/share/doc/${PF}/example_tmux.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
-}
-
-pkg_postinst() {
- if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
diff --git a/app-misc/tmux/tmux-2.3-r1.ebuild b/app-misc/tmux/tmux-2.3-r1.ebuild
deleted file mode 100644
index 1c3c6889b8b..00000000000
--- a/app-misc/tmux/tmux-2.3-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic versionator
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- >=dev-libs/libevent-2.1.5-r4:=
- utempter? (
- kernel_linux? ( sys-libs/libutempter )
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
- )
- sys-libs/ncurses:0="
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )"
-
-DOCS=( CHANGES FAQ README TODO )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.3-flags.patch
-
- # usptream fixes (can be removed with next version bump)
- "${FILESDIR}"/${P}-screen_write_copy-fix.patch
-)
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --sysconfdir="${EPREFIX}"/etc \
- $(use_enable debug) \
- $(use_enable utempter)
-}
-
-src_install() {
- default
-
- einstalldocs
-
- dodoc example_tmux.conf
- docompress -x /usr/share/doc/${PF}/example_tmux.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
-}
-
-pkg_postinst() {
- if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
diff --git a/app-misc/tmux/tmux-2.3-r2.ebuild b/app-misc/tmux/tmux-2.3-r2.ebuild
deleted file mode 100644
index 3bed9128b2f..00000000000
--- a/app-misc/tmux/tmux-2.3-r2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic versionator
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- >=dev-libs/libevent-2.1.5-r4:=
- utempter? (
- kernel_linux? ( sys-libs/libutempter )
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
- )
- sys-libs/ncurses:0="
-
-DEPEND="
- ${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="
- ${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.3-flags.patch
-
- # usptream fixes (can be removed with next version bump)
- "${FILESDIR}"/${P}-screen_write_copy-fix.patch
- "${FILESDIR}"/${P}-pipe_pane-fix.patch
-)
-
-src_prepare() {
- default
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- eautoreconf
-}
-
-src_configure() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- econf \
- --sysconfdir="${EPREFIX}"/etc \
- $(use_enable debug) \
- $(use_enable utempter)
-}
-
-src_install() {
- default
-
- dodoc example_tmux.conf
- docompress -x /usr/share/doc/${PF}/example_tmux.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
-}
-
-pkg_postinst() {
- if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
- ewarn
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- ewarn
- fi
-}
diff --git a/app-misc/tmux/tmux-2.5-r2.ebuild b/app-misc/tmux/tmux-2.5-r2.ebuild
deleted file mode 100644
index 092a05aeac5..00000000000
--- a/app-misc/tmux/tmux-2.5-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic versionator
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- dev-libs/libevent:0=
- sys-libs/ncurses:0=
- utempter? (
- kernel_linux? ( sys-libs/libutempter )
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
- )"
-
-DEPEND="
- ${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="
- ${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- app-vim/vim-tmux
- )"
-
-DOCS=( CHANGES FAQ README TODO example_tmux.conf )
-
-PATCHES=(
- # usptream fixes (can be removed with next version bump)
- "${FILESDIR}/${PN}-2.4-flags.patch"
-)
-
-S="${WORKDIR}/${P/_/-}"
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm -v aclocal.m4 || die
-
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sysconfdir="${EPREFIX}"/etc
- $(use_enable debug)
- $(use_enable utempter)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-pkg_postinst() {
- if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
diff --git a/app-misc/tmux/tmux-2.5.ebuild b/app-misc/tmux/tmux-2.5.ebuild
deleted file mode 100644
index 021ab3b915f..00000000000
--- a/app-misc/tmux/tmux-2.5.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic versionator
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="http://tmux.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- >=dev-libs/libevent-2.1.5-r4
- utempter? (
- kernel_linux? ( sys-libs/libutempter )
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
- )
- sys-libs/ncurses:0="
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )"
-
-DOCS=( CHANGES FAQ README TODO )
-
-S="${WORKDIR}/${P/_/-}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.4-flags.patch
-
- # usptream fixes (can be removed with next version bump)
-)
-
-src_prepare() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- # regenerate aclocal.m4 to support earlier automake versions
- rm aclocal.m4 || die
-
- default
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sysconfdir="${EPREFIX}"/etc
- $(use_enable debug)
- $(use_enable utempter)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- einstalldocs
-
- dodoc example_tmux.conf
- docompress -x /usr/share/doc/${PF}/example_tmux.conf
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
-}
-
-pkg_postinst() {
- if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
- echo
- ewarn "Some configuration options changed in this release."
- ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
- ewarn
- ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
- ewarn "older, running tmux server instances. You'll have to use an existing client to"
- ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
- ewarn "to temporarily downgrade to access them."
- echo
- fi
-}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2024-06-01 20:17 Mike Gilbert
0 siblings, 0 replies; 8+ messages in thread
From: Mike Gilbert @ 2024-06-01 20:17 UTC (permalink / raw
To: gentoo-commits
commit: f74d350f6a5a95c647ca173ce7bb9007c3433fcf
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 20:11:33 2024 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 20:17:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74d350f
app-misc/tmux: install a basic systemd user service/socket
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
app-misc/tmux/files/tmux.service | 9 +++++++++
app-misc/tmux/files/tmux.socket | 8 ++++++++
app-misc/tmux/{tmux-3.4.ebuild => tmux-3.4-r1.ebuild} | 7 ++++++-
app-misc/tmux/tmux-9999.ebuild | 7 ++++++-
4 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/app-misc/tmux/files/tmux.service b/app-misc/tmux/files/tmux.service
new file mode 100644
index 000000000000..d6eed0eb5bcd
--- /dev/null
+++ b/app-misc/tmux/files/tmux.service
@@ -0,0 +1,9 @@
+[Unit]
+Requires=tmux@%i.socket
+
+[Service]
+ExecStart=/usr/bin/tmux -D
+
+[Install]
+Also=tmux@%i.socket
+DefaultInstance=default
diff --git a/app-misc/tmux/files/tmux.socket b/app-misc/tmux/files/tmux.socket
new file mode 100644
index 000000000000..9b94d4235efb
--- /dev/null
+++ b/app-misc/tmux/files/tmux.socket
@@ -0,0 +1,8 @@
+[Socket]
+ListenStream=/tmp/tmux-%U/%i
+DirectoryMode=0700
+SocketMode=0660
+
+[Install]
+WantedBy=sockets.target
+DefaultInstance=default
diff --git a/app-misc/tmux/tmux-3.4.ebuild b/app-misc/tmux/tmux-3.4-r1.ebuild
similarity index 91%
rename from app-misc/tmux/tmux-3.4.ebuild
rename to app-misc/tmux/tmux-3.4-r1.ebuild
index fd74496420c5..d90d053355f5 100644
--- a/app-misc/tmux/tmux-3.4.ebuild
+++ b/app-misc/tmux/tmux-3.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools flag-o-matic
+inherit autotools flag-o-matic systemd
DESCRIPTION="Terminal multiplexer"
HOMEPAGE="https://tmux.github.io/"
@@ -83,4 +83,9 @@ src_install() {
dodoc example_tmux.conf
docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use systemd; then
+ systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service
+ systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket
+ fi
}
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
index c213890ee26b..3f3b9e9bf1a6 100644
--- a/app-misc/tmux/tmux-9999.ebuild
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools flag-o-matic
+inherit autotools flag-o-matic systemd
DESCRIPTION="Terminal multiplexer"
HOMEPAGE="https://tmux.github.io/"
@@ -83,4 +83,9 @@ src_install() {
dodoc example_tmux.conf
docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use systemd; then
+ systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service
+ systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket
+ fi
}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2024-10-18 19:30 Arthur Zamarin
0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2024-10-18 19:30 UTC (permalink / raw
To: gentoo-commits
commit: 41ffaf555975bb44a4f6bd8e406e55ef954bedcd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 19:29:01 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 19:29:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ffaf55
app-misc/tmux: add fix for TERM=xterm
Triaged-by: Sam James <sam <AT> gentoo.org>
Closes: https://bugs.gentoo.org/941713
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch | 38 ++++++++++++++++++++++
.../tmux/{tmux-3.5.ebuild => tmux-3.5-r1.ebuild} | 1 +
2 files changed, 39 insertions(+)
diff --git a/app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch b/app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch
new file mode 100644
index 000000000000..17d56664bcad
--- /dev/null
+++ b/app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch
@@ -0,0 +1,38 @@
+https://github.com/tmux/tmux/commit/934035db7197d4510b330df8d8963f78e9c8756d
+
+From: nicm <nicm>
+Date: Mon, 14 Oct 2024 20:26:45 +0000
+Subject: [PATCH] Set ACS flag for REP. Reported by Romain Francoise, GitHub
+ issue 4182.
+
+--- a/input.c
++++ b/input.c
+@@ -1145,7 +1145,6 @@ input_print(struct input_ctx *ictx)
+ ictx->cell.cell.attr |= GRID_ATTR_CHARSET;
+ else
+ ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
+-
+ utf8_set(&ictx->cell.cell.data, ictx->ch);
+ screen_write_collect_add(sctx, &ictx->cell.cell);
+
+@@ -1349,7 +1348,7 @@ input_csi_dispatch(struct input_ctx *ictx)
+ struct screen_write_ctx *sctx = &ictx->ctx;
+ struct screen *s = sctx->s;
+ struct input_table_entry *entry;
+- int i, n, m, ek;
++ int i, n, m, ek, set;
+ u_int cx, bg = ictx->cell.cell.bg;
+
+ if (ictx->flags & INPUT_DISCARD)
+@@ -1592,6 +1591,11 @@ input_csi_dispatch(struct input_ctx *ictx)
+ if (~ictx->flags & INPUT_LAST)
+ break;
+
++ set = ictx->cell.set == 0 ? ictx->cell.g0set : ictx->cell.g1set;
++ if (set == 1)
++ ictx->cell.cell.attr |= GRID_ATTR_CHARSET;
++ else
++ ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
+ utf8_copy(&ictx->cell.cell.data, &ictx->last);
+ for (i = 0; i < n; i++)
+ screen_write_collect_add(sctx, &ictx->cell.cell);
diff --git a/app-misc/tmux/tmux-3.5.ebuild b/app-misc/tmux/tmux-3.5-r1.ebuild
similarity index 97%
rename from app-misc/tmux/tmux-3.5.ebuild
rename to app-misc/tmux/tmux-3.5-r1.ebuild
index 4678ac49407e..1be48e6b4f30 100644
--- a/app-misc/tmux/tmux-3.5.ebuild
+++ b/app-misc/tmux/tmux-3.5-r1.ebuild
@@ -54,6 +54,7 @@ DOCS=( CHANGES README )
PATCHES=(
"${FILESDIR}"/${PN}-2.4-flags.patch
+ "${FILESDIR}"/${P}-fix-xterm-sym.patch # merged upstream
)
src_prepare() {
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/
@ 2024-11-03 17:01 Andreas K. Hüttel
0 siblings, 0 replies; 8+ messages in thread
From: Andreas K. Hüttel @ 2024-11-03 17:01 UTC (permalink / raw
To: gentoo-commits
commit: a07aaeb69e11d9881bde14bbb34d7c588486206b
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 3 16:44:46 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Nov 3 16:44:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a07aaeb6
app-misc/tmux: drop 3.3a-r1
Bug: https://bugs.gentoo.org/900368
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-misc/tmux/Manifest | 1 -
app-misc/tmux/files/tmux-3.3a-clang.patch | 59 ----------------------
app-misc/tmux/tmux-3.3a-r1.ebuild | 84 -------------------------------
3 files changed, 144 deletions(-)
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
index f4c797e34a89..39ab58c13e52 100644
--- a/app-misc/tmux/Manifest
+++ b/app-misc/tmux/Manifest
@@ -1,4 +1,3 @@
-DIST tmux-3.3a.tar.gz 677448 BLAKE2B e835ce0f136175521035a684419f221864edb0a9506d7d68cbc0239b1349e78949ebd96573a9d8651a2df6d99acb433075d6e0c20d7394a53fe6b44bd9e56069 SHA512 29a846df7d93601c42a22f84f606931dc65da1f70b67d351d0425f77ea3affe3e8218b2940d42cd3dadf3cd1aa95032daad3ecb14fbff0f69939d1beae0498c7
DIST tmux-3.4.tar.gz 707213 BLAKE2B 2b1990b95d7439702e9287402d9828d4ecab573202c099aa482969c047b540d4b899f79d87587fc712e727d9cebf5fa7393512087e469fc355b4a30b1894e229 SHA512 bd3880211d99d8ee15947000abf8a1832fdfa48b29b2df81b66d5969cf3f4e64e746f984f6139bfc57e3ebee7fe8dc7cbb6bccb779307607de6c376969fecbff
DIST tmux-3.5.tar.gz 715322 BLAKE2B 6c257e7c3b2f49ae2a54dd28c8d89d4832ad1eb3a49e800ff83a03fd4e620bdee695845b1c272cff25f0805502c1309e9d14faae6ca3fb4d4f050d9abf4aeae9 SHA512 bb3ca1ae8b330c3efc8fcbe8a65a40f78beadaf08c79265f6377c4187d26028e485e5404b832bbea16b170fd9bbdf2f1554d67dd3b1289e183fca19df460b695
DIST tmux-3.5a.tar.gz 715619 BLAKE2B 2314bc127f805071c9f2fe28be549b0948042a153aa68d997efc1dc0d6eba198b04aa16932d0a84b03250567100fb81c464919fcc8ba98660d3d0750ff5fe879 SHA512 2383e99aec2dcdb1d899793d5ecab40a68b921194f84770d3f4d19712bfc85590657a99d2a9a7bec36d4ba5ab39fa713f13937b0acad3b61cd9b2302dba61d43
diff --git a/app-misc/tmux/files/tmux-3.3a-clang.patch b/app-misc/tmux/files/tmux-3.3a-clang.patch
deleted file mode 100644
index e292e698f310..000000000000
--- a/app-misc/tmux/files/tmux-3.3a-clang.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-https://github.com/tmux/tmux/pull/3332
-
-From 1b4c87de0249242309f10684761698aa880b80a5 Mon Sep 17 00:00:00 2001
-From: Marvin Schmidt <marv@exherbo.org>
-Date: Tue, 13 Sep 2022 03:25:00 +0200
-Subject: [PATCH 1/2] compat/systemd: Include <string.h> for strerror
-
-Recent compilers are getting stricter about function declarations being
-known during compilation and e.g. clang-15 now errors out if a function
-signature is not found:
-
-> compat/systemd.c:56:49: error: call to undeclared library function 'strerror' with type 'char *(int)'; ISO C99 and
-> later do not support implicit function declarations [-Wimplicit-function-declaration]
-> xasprintf(cause, "systemd socket error (%s)", strerror(errno));
-> ^
-> compat/systemd.c:56:49: note: include the header <string.h> or explicitly provide a declaration for 'strerror'
-> 1 warning and 1 error generated.
-
-Provide the declaration of `strerror` by including `<string.h>` to fix
-this
---- a/compat/systemd.c
-+++ b/compat/systemd.c
-@@ -16,6 +16,7 @@
- * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-+#include <string.h>
- #include <sys/types.h>
- #include <sys/un.h>
-
-
-From 1e7ef02c52f2f8a67ab05d8a1c3fec9f4ccb7ea0 Mon Sep 17 00:00:00 2001
-From: Marvin Schmidt <marv@exherbo.org>
-Date: Tue, 13 Sep 2022 03:34:01 +0200
-Subject: [PATCH 2/2] compat/systemd: Use socklen_t instead of int to fix
- warning
-
-clang-15 warns about the pointer passed to `getsockname()` being of
-different signedness then the parameter declaration:
-
-> compat/systemd.c:46:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *')
-> converts between pointers to integer types with different sign [-Wpointer-sign]
-> if (getsockname(fd, (struct sockaddr *)&sa, &addrlen) == -1)
-> ^~~~~~~~
-> /usr/x86_64-pc-linux-musl/include/sys/socket.h:391:73: note: passing argument to parameter here
-> int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
-> ^
---- a/compat/systemd.c
-+++ b/compat/systemd.c
-@@ -30,7 +30,7 @@ systemd_create_socket(int flags, char **cause)
- int fds;
- int fd;
- struct sockaddr_un sa;
-- int addrlen = sizeof sa;
-+ socklen_t addrlen = sizeof sa;
-
- fds = sd_listen_fds(0);
- if (fds > 1) { /* too many file descriptors */
-
diff --git a/app-misc/tmux/tmux-3.3a-r1.ebuild b/app-misc/tmux/tmux-3.3a-r1.ebuild
deleted file mode 100644
index 3c45540fcfa4..000000000000
--- a/app-misc/tmux/tmux-3.3a-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Terminal multiplexer"
-HOMEPAGE="https://tmux.github.io/"
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b"
- EGIT_REPO_URI="https://github.com/tmux/tmux.git"
-else
- SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz"
- if [[ ${PV} != *_rc* ]] ; then
- KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
- fi
- S="${WORKDIR}/${P/_/-}"
-fi
-
-LICENSE="ISC"
-SLOT="0"
-IUSE="debug selinux systemd utempter vim-syntax"
-
-DEPEND="
- dev-libs/libevent:=
- sys-libs/ncurses:=
- systemd? ( sys-apps/systemd:= )
- utempter? ( sys-libs/libutempter )
- kernel_Darwin? ( dev-libs/libutf8proc:= )
-"
-
-BDEPEND="
- virtual/pkgconfig
- app-alternatives/yacc
-"
-
-RDEPEND="
- ${DEPEND}
- selinux? ( sec-policy/selinux-screen )
- vim-syntax? ( app-vim/vim-tmux )
-"
-
-DOCS=( CHANGES README )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.4-flags.patch
- "${FILESDIR}"/${P}-clang.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # bug 438558
- # 1.7 segfaults when entering copy mode if compiled with -Os
- replace-flags -Os -O2
-
- local myeconfargs=(
- --sysconfdir="${EPREFIX}"/etc
- $(use_enable debug)
- $(use_enable systemd)
- $(use_enable utempter)
-
- # For now, we only expose this for macOS, because
- # upstream strongly encourage it. I'm not sure it's
- # needed on Linux right now.
- $(use_enable kernel_Darwin utf8proc)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- einstalldocs
-
- dodoc example_tmux.conf
- docompress -x /usr/share/doc/${PF}/example_tmux.conf
-}
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-11-03 17:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-13 19:21 [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/files/, app-misc/tmux/ Lars Wendler
-- strict thread matches above, loose matches on Subject: below --
2024-11-03 17:01 Andreas K. Hüttel
2024-10-18 19:30 Arthur Zamarin
2024-06-01 20:17 Mike Gilbert
2018-01-26 21:48 Patrice Clement
2016-09-30 7:32 Lars Wendler
2016-05-18 20:06 Mike Gilbert
2016-01-10 10:47 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox