[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-04-28 Thread Sam James
commit: 9ed3437fe9e5ebe75866ac565f28bce9f0c29128
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 02:44:33 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 02:44:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed3437f

sys-libs/gpm: update SRC_URI for mirror://gentoo

Reported by zen_desu.

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 3 ++-
 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 738560a07fb2..702c39f8e3ad 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -9,7 +9,8 @@ DESCRIPTION="Console-based mouse driver"
 HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
 SRC_URI="
https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
-   mirror://gentoo/${P}-docs.patch.xz"
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-docs.patch.xz
+"
 
 LICENSE="GPL-2"
 SLOT="0"

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index 3ad21ff8191c..5611d5e58f82 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -9,7 +9,8 @@ DESCRIPTION="Console-based mouse driver"
 HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
 SRC_URI="
https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
-   mirror://gentoo/${P}-docs.patch.xz"
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-docs.patch.xz
+"
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-03-18 Thread Ionen Wolkens
commit: b7fbd8481e1aaabe3fee170365fe20aa03df5578
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Mar 18 17:56:18 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Mar 19 03:42:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7fbd848

sys-libs/gpm: Stabilize 1.20.7-r6 hppa, #925635

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index 23a9cc35677f..3ad21ff8191c 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-03-03 Thread Sam James
commit: f8053356bff675afac1de5c9f8601b952b8690ac
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 23:01:45 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 23:01:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8053356

sys-libs/gpm: Stabilize 1.20.7-r6 sparc, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index fbdf31f5cb95..23a9cc35677f 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-03-02 Thread Sam James
commit: a3e21feab32343d50f7039865dc36e4a78ff0a62
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 02:31:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 02:31:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e21fea

sys-libs/gpm: Stabilize 1.20.7-r6 arm64, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index 9421bc10a089..fbdf31f5cb95 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-03-02 Thread Sam James
commit: ee2c56d4ebc82a4d86ea58ab22dce20bcf53f68c
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  2 22:07:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  2 22:07:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2c56d4

sys-libs/gpm: Stabilize 1.20.7-r6 ppc, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index c72ba0b5be56..9421bc10a089 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-02-27 Thread Sam James
commit: 9a3f37e95b157f644bb2bcae6d11d59dd36c9982
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:24:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:24:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3f37e9

sys-libs/gpm: Stabilize 1.20.7-r6 arm, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index d8e80145b568..c72ba0b5be56 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-02-27 Thread Sam James
commit: a8aa38b8f7fa440f970a1edaab1a7019179e4295
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:03:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:03:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8aa38b8

sys-libs/gpm: Stabilize 1.20.7-r6 x86, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index 24031fd63059..a3ad225c4188 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-02-27 Thread Sam James
commit: 63288c14c7b6bb664e3d87e80591293d4a186e31
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:03:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:03:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63288c14

sys-libs/gpm: Stabilize 1.20.7-r6 amd64, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index a3ad225c4188..d8e80145b568 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-02-27 Thread Sam James
commit: d314767f055abb0a23b61abc92907f7b6122d855
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:03:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:03:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d314767f

sys-libs/gpm: Stabilize 1.20.7-r6 ppc64, #925635

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index 0b380fb52e65..24031fd63059 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-02-07 Thread Sam James
commit: 6b043a3fc58e218b230173047b13038bb33888b9
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Feb  7 06:37:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 19:20:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b043a3f

sys-libs/gpm: prevent LTO, since it is broken

src/headers/daemon.h:175:25: error: type of ‘cinfo’ does not match original 
declaration [-Werror=lto-type-mismatch]

Bug: https://bugs.gentoo.org/885323
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 7a85dd0848ee..738560a07fb2 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools linux-info systemd usr-ldscript multilib-minimal
+inherit autotools flag-o-matic linux-info systemd usr-ldscript multilib-minimal
 
 DESCRIPTION="Console-based mouse driver"
 HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
@@ -71,6 +71,10 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   # bug #885323
+   # src/headers/daemon.h:175:25: error: type of ‘cinfo’ does not match 
original declaration [-Werror=lto-type-mismatch]
+   filter-lto
+
# emacs support disabled due to bug #99533, bug #335900
econf \
--disable-static \



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2024-02-07 Thread Sam James
commit: 073924ff664ad15a746be40280e6f8d10a531bbe
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Feb  7 06:38:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 19:20:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073924ff

sys-libs/gpm: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r6.ebuild | 115 ++
 1 file changed, 115 insertions(+)

diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
new file mode 100644
index ..0b380fb52e65
--- /dev/null
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic linux-info systemd multilib-minimal
+
+DESCRIPTION="Console-based mouse driver"
+HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
+SRC_URI="
+   https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
+   mirror://gentoo/${P}-docs.patch.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="selinux"
+
+RDEPEND="
+   sys-libs/ncurses:=[${MULTILIB_USEDEP}]
+   selinux? ( sec-policy/selinux-gpm )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-arch/xz-utils
+   sys-apps/texinfo
+   app-alternatives/yacc"
+
+CONFIG_CHECK="~INPUT_MOUSEDEV"
+ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose 
mice for GPM)"
+
+pkg_pretend() {
+   check_extra_config
+}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${P}-sysmacros.patch
+
+   # Hack up the docs until we get this sorted upstream.
+   # https://github.com/telmich/gpm/issues/8
+   eapply "${WORKDIR}"/${P}-docs.patch
+   touch -r . doc/* || die
+
+   # bug #629774
+   eapply "${FILESDIR}"/${P}-glibc-2.26.patch
+   # bug #705878
+   eapply "${FILESDIR}"/${P}-gcc-10.patch
+   # bug #829581
+   eapply "${FILESDIR}"/${P}-musl.patch
+   #
+   eapply "${FILESDIR}"/${P}-gcc-include.patch
+   eapply "${FILESDIR}"/${P}-signedness.patch
+   eapply "${FILESDIR}"/${P}-warnings.patch
+
+   eapply_user
+
+   # Fix ABI values
+   sed -i \
+   -e '/^abi_lev=/s:=.*:=1:' \
+   -e '/^abi_age=/s:=.*:=20:' \
+   configure.ac.footer || die
+   # Rebuild autotools since release doesn't include them.
+   # Should be fixed with the next release though.
+   # https://github.com/telmich/gpm/pull/15
+   sed -i -e '/ACLOCAL/,$d' autogen.sh || die
+   ./autogen.sh
+   eautoreconf
+
+   # Out-of-tree builds are broken.
+   # https://github.com/telmich/gpm/issues/16
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   # bug #885323
+   # src/headers/daemon.h:175:25: error: type of ‘cinfo’ does not match 
original declaration [-Werror=lto-type-mismatch]
+   filter-lto
+
+   # emacs support disabled due to bug #99533, bug #335900
+   econf \
+   --disable-static \
+   --sysconfdir="${EPREFIX}"/etc/gpm \
+   emacs="${BROOT}"/bin/false
+}
+
+_emake() {
+   emake \
+   EMACS=: ELISP="" \
+   $(multilib_is_native_abi || echo "PROG= ") \
+   "$@"
+}
+
+multilib_src_compile() {
+   _emake
+}
+
+multilib_src_test() {
+   _emake check
+}
+
+multilib_src_install() {
+   _emake DESTDIR="${D}" install
+
+   dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
+}
+
+multilib_src_install_all() {
+   insinto /etc/gpm
+   doins conf/gpm-*.conf
+
+   dodoc README TODO doc/Announce doc/FAQ doc/README*
+
+   newinitd "${FILESDIR}"/gpm.rc6-2 gpm
+   newconfd "${FILESDIR}"/gpm.conf.d gpm
+   systemd_newunit "${FILESDIR}"/gpm.service-r1 gpm.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-10-28 Thread Sam James
commit: 8b494786e477a409757ed1f5e54d53ccb6c4731a
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:44:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b494786

sys-libs/gpm: drop 1.20.7-r4

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 112 --
 1 file changed, 112 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
deleted file mode 100644
index 9ecf544e9cf2..
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# emacs support disabled due to #99533 #335900
-
-EAPI=7
-
-inherit autotools linux-info systemd usr-ldscript multilib-minimal
-
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
-SRC_URI="
-   https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
-   mirror://gentoo/${P}-docs.patch.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
-IUSE="selinux"
-
-RDEPEND="
-   sys-libs/ncurses:=[${MULTILIB_USEDEP}]
-   selinux? ( sec-policy/selinux-gpm )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   virtual/yacc"
-
-CONFIG_CHECK="~INPUT_MOUSEDEV"
-ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose 
mice for GPM)"
-
-pkg_pretend() {
-   check_extra_config
-}
-
-src_prepare() {
-   eapply "${FILESDIR}"/${P}-sysmacros.patch
-
-   # Hack up the docs until we get this sorted upstream.
-   # https://github.com/telmich/gpm/issues/8
-   eapply "${WORKDIR}"/${P}-docs.patch
-   touch -r . doc/* || die
-
-   # bug #629774
-   eapply "${FILESDIR}"/${P}-glibc-2.26.patch
-   # bug #705878
-   eapply "${FILESDIR}"/${P}-gcc-10.patch
-   # bug #829581
-   eapply "${FILESDIR}"/${P}-musl.patch
-   #
-   eapply "${FILESDIR}"/${P}-gcc-include.patch
-   eapply "${FILESDIR}"/${P}-signedness.patch
-
-   eapply_user
-
-   # fix ABI values
-   sed -i \
-   -e '/^abi_lev=/s:=.*:=1:' \
-   -e '/^abi_age=/s:=.*:=20:' \
-   configure.ac.footer || die
-   # Rebuild autotools since release doesn't include them.
-   # Should be fixed with the next release though.
-   # https://github.com/telmich/gpm/pull/15
-   sed -i -e '/ACLOCAL/,$d' autogen.sh || die
-   ./autogen.sh
-   eautoreconf
-
-   # Out-of-tree builds are broken.
-   # https://github.com/telmich/gpm/issues/16
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   econf \
-   --disable-static \
-   --sysconfdir="${EPREFIX}"/etc/gpm \
-   emacs="${BROOT}"/bin/false
-}
-
-_emake() {
-   emake \
-   EMACS=: ELISP="" \
-   $(multilib_is_native_abi || echo "PROG= ") \
-   "$@"
-}
-
-multilib_src_compile() {
-   _emake
-}
-
-multilib_src_test() {
-   _emake check
-}
-
-multilib_src_install() {
-   _emake DESTDIR="${D}" install
-
-   dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
-   gen_usr_ldscript -a gpm
-}
-
-multilib_src_install_all() {
-   insinto /etc/gpm
-   doins conf/gpm-*.conf
-
-   dodoc README TODO doc/Announce doc/FAQ doc/README*
-
-   newinitd "${FILESDIR}"/gpm.rc6-2 gpm
-   newconfd "${FILESDIR}"/gpm.conf.d gpm
-   systemd_dounit "${FILESDIR}"/gpm.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-25 Thread Arthur Zamarin
commit: 77a2c40526ab83ace27cc7a70aa6a0bb6275ea5f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 26 04:15:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 26 04:15:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a2c405

sys-libs/gpm: Stabilize 1.20.7-r5 hppa, #872731

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index bc8646c9801b..dfc17a6f05f2 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-25 Thread Arthur Zamarin
commit: f92daad8632e1a0ec9b55ed9e3dc9bc4faec37fb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep 25 07:21:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep 25 07:21:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f92daad8

sys-libs/gpm: Stabilize 1.20.7-r5 sparc, #872731

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index a2dfedc63205..bc8646c9801b 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-25 Thread Agostino Sarubbo
commit: c6e601dfd87a20a1f71e0f0b8a10197487ae4f0a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 25 06:25:13 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 25 06:25:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e601df

sys-libs/gpm: Stabilize 1.20.7-r5 ppc64, #872731

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index f8d7ba27a3df..a2dfedc63205 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-25 Thread Agostino Sarubbo
commit: 20db11e6e693fa3d697aca644c37d240a9cda72b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 25 06:23:27 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 25 06:23:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20db11e6

sys-libs/gpm: Stabilize 1.20.7-r5 ppc, #872731

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 747b309cfbfd..f8d7ba27a3df 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-24 Thread Sam James
commit: 8fa2cc10ff58c63ce1b8a2d9f9d3e9b92e77051d
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 04:41:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 04:41:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa2cc10

sys-libs/gpm: Stabilize 1.20.7-r5 arm, #872731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 215d1f5143d6..747b309cfbfd 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-24 Thread Sam James
commit: 65c83003103f4d9c26717b35f6b168c1e8a833e3
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 04:35:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 04:35:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c83003

sys-libs/gpm: Stabilize 1.20.7-r5 arm64, #872731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 2617fc59a69c..215d1f5143d6 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-24 Thread Sam James
commit: dff79d5257c4d51cd5dafb9e5e6e421faedad47d
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 04:34:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 04:34:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff79d52

sys-libs/gpm: Stabilize 1.20.7-r5 x86, #872731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 116828144d30..2617fc59a69c 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-09-24 Thread Sam James
commit: 562442741fa36aae2c6c02c4fd808916c9ff0b14
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 04:33:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 04:33:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56244274

sys-libs/gpm: Stabilize 1.20.7-r5 amd64, #872731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index 63d7c8b10fec..116828144d30 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-07-28 Thread Sam James
commit: 43ae8b6908ea0f2ff2c52b03d3d1c30251acf95d
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 28 12:59:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 28 13:19:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ae8b69

sys-libs/gpm: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/metadata.xml | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sys-libs/gpm/metadata.xml b/sys-libs/gpm/metadata.xml
index 73dda144f9ac..938b813536bf 100644
--- a/sys-libs/gpm/metadata.xml
+++ b/sys-libs/gpm/metadata.xml
@@ -1,8 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   telmich/gpm
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-06-20 Thread Sam James
commit: a65ad985d15ed5a568a663a4c25c263c75fa85c2
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 05:18:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 05:21:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a65ad985

sys-libs/gpm: drop 1.20.7-r3

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 108 --
 1 file changed, 108 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
deleted file mode 100644
index 7554d790cd56..
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# emacs support disabled due to #99533 #335900
-
-EAPI=7
-
-inherit autotools linux-info systemd usr-ldscript multilib-minimal
-
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
-SRC_URI="
-   https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
-   mirror://gentoo/${P}-docs.patch.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE="selinux"
-
-RDEPEND="
-   sys-libs/ncurses:=[${MULTILIB_USEDEP}]
-   selinux? ( sec-policy/selinux-gpm )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   virtual/yacc"
-
-CONFIG_CHECK="~INPUT_MOUSEDEV"
-ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose 
mice for GPM)"
-
-pkg_pretend() {
-   check_extra_config
-}
-
-src_prepare() {
-   eapply "${FILESDIR}"/${P}-sysmacros.patch
-
-   # Hack up the docs until we get this sorted upstream.
-   # https://github.com/telmich/gpm/issues/8
-   eapply "${WORKDIR}"/${P}-docs.patch
-   touch -r . doc/* || die
-
-   # bug #629774
-   eapply "${FILESDIR}"/${P}-glibc-2.26.patch
-
-   # bug #705878
-   eapply "${FILESDIR}"/${P}-gcc-10.patch
-
-   eapply_user
-
-   # fix ABI values
-   sed -i \
-   -e '/^abi_lev=/s:=.*:=1:' \
-   -e '/^abi_age=/s:=.*:=20:' \
-   configure.ac.footer || die
-   # Rebuild autotools since release doesn't include them.
-   # Should be fixed with the next release though.
-   # https://github.com/telmich/gpm/pull/15
-   sed -i -e '/ACLOCAL/,$d' autogen.sh || die
-   ./autogen.sh
-   eautoreconf
-
-   # Out-of-tree builds are broken.
-   # https://github.com/telmich/gpm/issues/16
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   econf \
-   --disable-static \
-   --sysconfdir="${EPREFIX}"/etc/gpm \
-   emacs="${BROOT}"/bin/false
-}
-
-_emake() {
-   emake \
-   EMACS=: ELISP="" \
-   $(multilib_is_native_abi || echo "PROG= ") \
-   "$@"
-}
-
-multilib_src_compile() {
-   _emake
-}
-
-multilib_src_test() {
-   _emake check
-}
-
-multilib_src_install() {
-   _emake DESTDIR="${D}" install
-
-   dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
-   gen_usr_ldscript -a gpm
-}
-
-multilib_src_install_all() {
-   insinto /etc/gpm
-   doins conf/gpm-*.conf
-
-   dodoc README TODO doc/Announce doc/FAQ doc/README*
-
-   newinitd "${FILESDIR}"/gpm.rc6-2 gpm
-   newconfd "${FILESDIR}"/gpm.conf.d gpm
-   systemd_dounit "${FILESDIR}"/gpm.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/, sys-libs/gpm/files/

2022-06-20 Thread Sam James
commit: 5cf9bcd40dcbf6774ee5bb358266a6747ab5
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 05:18:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 05:21:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf9bcd4

sys-libs/gpm: fix -Wformat-security; update systemd unit

Closes: https://bugs.gentoo.org/539320
Closes: https://bugs.gentoo.org/792822
Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/files/gpm-1.20.7-warnings.patch | 202 +++
 sys-libs/gpm/files/gpm.service-r1|  11 ++
 sys-libs/gpm/gpm-1.20.7-r5.ebuild| 112 +++
 3 files changed, 325 insertions(+)

diff --git a/sys-libs/gpm/files/gpm-1.20.7-warnings.patch 
b/sys-libs/gpm/files/gpm-1.20.7-warnings.patch
new file mode 100644
index ..21838ee24bf5
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-warnings.patch
@@ -0,0 +1,202 @@
+https://github.com/telmich/gpm/commit/dbd2e04665da885805a2c3e7dc2ee4b733d3c7cd
+https://github.com/telmich/gpm/pull/10
+https://bugs.gentoo.org/539320
+
+From 7d21d7f469d90c2d55b23926c866bba635aa7e6f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sun, 14 Feb 2016 18:05:49 -0500
+Subject: [PATCH 1/5] report/oops: constify format strings
+
+--- a/src/headers/gpm.h
 b/src/headers/gpm.h
+@@ -280,10 +280,10 @@ int   Gpm_GetSnapshot(Gpm_Event *ePtr);
+ char *Gpm_get_console( void );
+ int Gpm_x_high_y(int base, int pot_y);
+ int Gpm_cnt_digits(int number);
+-void gpm_oops(int line, char *file, char *text, ... );
++void gpm_oops(int line, const char *file, const char *text, ... );
+ 
+ /* report.c / report-lib.c */
+-void gpm_report(int line, char *file, int stat, char *text, ... );
++void gpm_report(int line, const char *file, int stat, const char *text, ... );
+ 
+ #ifdef __cplusplus
+   };
+--- a/src/headers/message.h
 b/src/headers/message.h
+@@ -226,7 +226,7 @@
+ /* #define GPM_MESS_   "" */
+ 
+ /* functions */
+-void gpm_report(int line, char *file, int stat, char *text, ... );
++void gpm_report(int line, const char *file, int stat, const char *text, ... );
+ 
+ /* rest of wd.h */
+ #ifdef HAVE_SYSLOG_H
+--- a/src/lib/report-lib.c
 b/src/lib/report-lib.c
+@@ -24,9 +24,9 @@
+ 
+ #include "headers/message.h"
+ 
+-void gpm_report(int line, char *file, int stat, char *text, ... )
++void gpm_report(int line, const char *file, int stat, const char *text, ... )
+ {
+-   char *string = NULL;
++   const char *string = NULL;
+int log_level;
+va_list ap;
+ 
+--- a/src/prog/mouse-test.c
 b/src/prog/mouse-test.c
+@@ -182,7 +182,7 @@ Gpm_Type *(*I_serial)(int fd, unsigned short flags, struct 
Gpm_Type *type,
+ 
/*- 
+Place the description here.
+  
-*/
+-int mousereopen(int oldfd, char *name, Gpm_Type *type)
++int mousereopen(int oldfd, const char *name, Gpm_Type *type)
+ {
+int fd;
+if (!type) type=mice+1; /* ms */
+--- a/src/report.c
 b/src/report.c
+@@ -69,7 +69,7 @@
+  *
+  */
+ 
+-void gpm_report(int line, char *file, int stat, char *text, ... )
++void gpm_report(int line, const char *file, int stat, const char *text, ...)
+ {
+FILE *console = NULL;
+va_list ap, ap3;
+
+From 7ba518ff8b5e5c06d0a74b1fecf3b682f14c631c Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sun, 14 Feb 2016 18:07:46 -0500
+Subject: [PATCH 2/5] report: avoid -Wformat-security warnings
+
+Some functions warn when you pass a string to a printf style function
+that is a dynamic buffer as its contents cannot be verified.  Since we
+don't want to support that here, just use %s.
+--- a/src/lib/report-lib.c
 b/src/lib/report-lib.c
+@@ -47,7 +47,7 @@ void gpm_report(int line, const char *file, int stat, const 
char *text, ... )
+log_level = LOG_CRIT; break;
+}
+ #ifdef HAVE_VSYSLOG
+-   syslog(log_level, string);
++   syslog(log_level, "%s", string);
+vsyslog(log_level, text, ap);
+ #else
+fprintf(stderr,"%s[%s(%d)]:\n",string,file,line);
+--- a/src/prog/mouse-test.c
 b/src/prog/mouse-test.c
+@@ -189,7 +189,7 @@ int mousereopen(int oldfd, const char *name, Gpm_Type 
*type)
+close(oldfd);
+usleep(10);
+fd=open(name,O_RDWR);
+-   if (fd < 0) gpm_report(GPM_PR_OOPS,name);
++   if (fd < 0) gpm_report(GPM_PR_OOPS, "%s", name);
+(*I_serial)(fd,type->flags,type,1,>name); /* ms initialization */
+return fd;
+ }
+
+From c3717d54b67133fd14ce4f2166f61e529a1dcfe4 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sun, 14 Feb 2016 18:08:54 -0500
+Subject: [PATCH 3/5] update ignored file list
+
+--- a/.gitignore
 b/.gitignore
+@@ -11,6 +11,7 @@ Makefile
+ Makefile.include
+ /aclocal.m4
+ /autom4te.cache
++/config.cache
+ /config.log
+ /config.status
+ /configure
+@@ -29,7 +30,7 @@ Makefile.include
+ /src/gpm
+ /src/gpm2/tmp
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-05-19 Thread WANG Xuerui
commit: c15110bf1b27f8a22739248c71cf08425329e04f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 07:27:28 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 07:28:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15110bf

sys-libs/gpm: keyword 1.20.7-r4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index c658f09ef995..9ecf544e9cf2 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-05-03 Thread Arthur Zamarin
commit: fa889fc9903e99b836273015035ec67273631a21
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 18:47:39 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 18:47:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa889fc9

sys-libs/gpm: Stabilize 1.20.7-r4 arm64, #841563

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index 60eccfe437f6..c658f09ef995 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-05-03 Thread Arthur Zamarin
commit: aa1ef2ba01a6c561c9bafc35f6b68963dc94f340
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 18:16:11 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 18:16:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1ef2ba

sys-libs/gpm: Stabilize 1.20.7-r4 arm, #841563

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index 9261f11bf090..60eccfe437f6 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-05-03 Thread Arthur Zamarin
commit: 07b66cd2441bd4e419eace358d0990a6f37256ff
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 17:45:11 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 17:45:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b66cd2

sys-libs/gpm: Stabilize 1.20.7-r4 sparc, #841563

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index 8f71460fd9df..9261f11bf090 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-04-29 Thread Sam James
commit: 7a433326d811564658b6ea6756c3da88bf7acee4
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 19:20:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 19:20:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a433326

sys-libs/gpm: Stabilize 1.20.7-r4 ppc64, #841563

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index ff7aac2ca700..8f71460fd9df 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-04-29 Thread Sam James
commit: 955164f99a9dc105cf7e30be09774bf095fd3ef2
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 19:19:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 19:19:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955164f9

sys-libs/gpm: Stabilize 1.20.7-r4 ppc, #841563

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index 1ef1b3c40e90..ff7aac2ca700 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-04-29 Thread Sam James
commit: 5f01ec315f6897c718f92ab713ac247a41ce2257
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 09:09:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 09:09:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f01ec31

sys-libs/gpm: Stabilize 1.20.7-r4 hppa, #841563

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index fd7bd319c5ee..1ef1b3c40e90 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-04-29 Thread Jakov Smolić
commit: f5ff942907c140dcf1a9b2d5d8a024cd8773955e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Apr 29 08:29:24 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Apr 29 08:29:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ff9429

sys-libs/gpm: Stabilize 1.20.7-r4 x86, #841563

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index 815c79448b27..fd7bd319c5ee 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2022-04-29 Thread Jakov Smolić
commit: a32daccb6dfc19a38e65fb3d707f7e3a5824d031
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Apr 29 08:28:17 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Apr 29 08:28:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32daccb

sys-libs/gpm: Stabilize 1.20.7-r4 amd64, #841563

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r4.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
index d554df614508..815c79448b27 100644
--- a/sys-libs/gpm/gpm-1.20.7-r4.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/

2022-01-27 Thread Sam James
commit: 77c6aa5ac90ebe5ef18bf7f6afe44833b383c974
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 28 02:30:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 02:30:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c6aa5a

sys-libs/gpm: fix build with musl, misc upstream backports

- Backport musl patches
- Backport include path fix
- Backport signedness fix

Closes: https://bugs.gentoo.org/829581
Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/files/gpm-1.20.7-gcc-include.patch |  18 +++
 sys-libs/gpm/files/gpm-1.20.7-musl.patch| 143 
 sys-libs/gpm/files/gpm-1.20.7-signedness.patch  |  20 
 sys-libs/gpm/gpm-1.20.7-r4.ebuild   | 112 +++
 4 files changed, 293 insertions(+)

diff --git a/sys-libs/gpm/files/gpm-1.20.7-gcc-include.patch 
b/sys-libs/gpm/files/gpm-1.20.7-gcc-include.patch
new file mode 100644
index ..51d047c465cc
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-gcc-include.patch
@@ -0,0 +1,18 @@
+https://github.com/telmich/gpm/commit/80cac2a2bd7eed7e80626559f792f37319030729
+
+From: "Desmond O. Chang" 
+Date: Wed, 13 Apr 2016 21:17:48 +0800
+Subject: [PATCH] Add gcc include path
+
+Close #13
+--- a/src/Makefile.in
 b/src/Makefile.in
+@@ -96,7 +96,7 @@ $(DEPFILE) dep: prog/gpm-root.c
+ 
+   # create dependencies
+   for DEPS in `echo *.c */*.c`; do \
+-  $(CC) -I. -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \
++  $(CC) -I. -I $(srcdir) -I $(srcdir)/headers -M @CPPFLAGS@ $(CPPFLAGS) 
$$DEPS | \
+   $(SED) 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done
+ 
+ ### INSTALL

diff --git a/sys-libs/gpm/files/gpm-1.20.7-musl.patch 
b/sys-libs/gpm/files/gpm-1.20.7-musl.patch
new file mode 100644
index ..37f8542a87aa
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-musl.patch
@@ -0,0 +1,143 @@
+https://github.com/telmich/gpm/commit/d88fb1de5803c366ab62f7de9ee5d83207fb2afe
+https://github.com/telmich/gpm/commit/4a938233fbe6de7af05aabc74891b68d4bae40f8
+https://bugs.gentoo.org/829581
+
+From: Dima Krasner 
+Date: Wed, 12 Nov 2014 23:06:46 +0200
+Subject: [PATCH] Added musl support to libgpm and the daemon.
+
+--- a/src/daemon/open_console.c
 b/src/daemon/open_console.c
+@@ -21,6 +21,7 @@
+ 
+ #include   /* open and co.  */
+ #include/* stat()*/
++#include   /* major()   */
+ #include   /* ioctl */
+ 
+ /* Linux specific (to be outsourced in gpm2 */
+--- a/src/prog/display-buttons.c
 b/src/prog/display-buttons.c
+@@ -36,6 +36,7 @@
+ #include /* printf() */
+ #include  /* time()   */
+ #include /* errno*/
++#include/* fd_set and FD_*  */
+ #include   /* gpm information  */
+ 
+ /* display resulting data */
+--- a/src/prog/display-coords.c
 b/src/prog/display-coords.c
+@@ -38,6 +38,7 @@
+ #include /* printf() */
+ #include  /* time()   */
+ #include /* errno*/
++#include/* fd_set and FD_*  */
+ #include   /* gpm information  */
+ 
+ /* display resulting data */
+--- a/src/prog/gpm-root.y
 b/src/prog/gpm-root.y
+@@ -1199,9 +1199,9 @@ int main(int argc, char **argv)
+ #if defined(__GLIBC__)
+__sigemptyset(_mask);
+ #else /* __GLIBC__ */
+-   childaction.sa_mask=0;
++   sigemptyset(_mask);
+ #endif /* __GLIBC__ */
+-   childaction.sa_flags=SA_INTERRUPT; /* need to break the select() call */
++   childaction.sa_flags=0;
+sigaction(SIGCHLD,,NULL);
+ 
+/*... Connect and get your buffer */
+
+From: Kurt Nalty <46026992+kurtna...@users.noreply.github.com>
+Date: Sat, 29 Dec 2018 23:44:24 -0600
+Subject: [PATCH 1/4] Update gpm.c
+
+--- a/src/daemon/gpm.c
 b/src/daemon/gpm.c
+@@ -29,7 +29,7 @@
+ #include /* SIGPIPE */
+ #include   /* time() */
+ #include 
+-#include  /* O_RDONLY */
++#include  /* O_RDONLY */
+ #include   /* wait()   */
+ #include   /* mkdir()  */
+ #include   /* timeval */
+
+From: Kurt Nalty <46026992+kurtna...@users.noreply.github.com>
+Date: Sat, 29 Dec 2018 23:47:17 -0600
+Subject: [PATCH 2/4] Add include 
+
+Added
+ line 28, #include  /* strcpy, bzero */
+for musl compilation
+--- a/src/daemon/old_main.c
 b/src/daemon/old_main.c
+@@ -25,6 +25,7 @@
+ #include  /* guess again   */
+ #include   /* guess again   */
+ #include  /* unlink*/
++#include  /* strcpy, bzero */
+ #include/* chmod */
+ 
+ #include/* linux hd* */
+
+From: Kurt Nalty <46026992+kurtna...@users.noreply.github.com>
+Date: Sat, 29 Dec 2018 23:52:58 -0600
+Subject: [PATCH 3/4] 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-14 Thread David Seifert
commit: b97714981dc43da022fe9e406ae2c16613931d57
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 15 00:07:13 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 15 00:07:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9771498

sys-libs/gpm: drop 1.20.7-r2

Signed-off-by: David Seifert  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 99 ---
 1 file changed, 99 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
deleted file mode 100644
index 15121136759..000
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# emacs support disabled due to #99533 #335900
-
-EAPI=5
-
-inherit epatch systemd autotools multilib-minimal usr-ldscript
-
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
-SRC_URI="https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
-   mirror://gentoo/${P}-docs.patch.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE="selinux static-libs"
-
-RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}]
-   selinux? ( sec-policy/selinux-gpm )"
-DEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}]
-   app-arch/xz-utils
-   sys-apps/texinfo
-   virtual/yacc"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-sysmacros.patch
-
-   # Hack up the docs until we get this sorted upstream.
-   # https://github.com/telmich/gpm/issues/8
-   epatch "${WORKDIR}"/${P}-docs.patch
-   touch -r . doc/* || die
-
-   # bug #629774
-   epatch "${FILESDIR}"/${P}-glibc-2.26.patch
-
-   # bug #705878
-   epatch "${FILESDIR}"/${P}-gcc-10.patch
-
-   epatch_user
-
-   # fix ABI values
-   sed -i \
-   -e '/^abi_lev=/s:=.*:=1:' \
-   -e '/^abi_age=/s:=.*:=20:' \
-   configure.ac.footer || die
-   # Rebuild autotools since release doesn't include them.
-   # Should be fixed with the next release though.
-   # https://github.com/telmich/gpm/pull/15
-   sed -i -e '/ACLOCAL/,$d' autogen.sh || die
-   ./autogen.sh
-   eautoreconf
-
-   # Out-of-tree builds are broken.
-   # https://github.com/telmich/gpm/issues/16
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   econf \
-   --sysconfdir=/etc/gpm \
-   $(use_enable static-libs static) \
-   emacs=/bin/false
-}
-
-_emake() {
-   emake \
-   EMACS=: ELISP="" \
-   $(multilib_is_native_abi || echo "PROG= ") \
-   "$@"
-}
-
-multilib_src_compile() {
-   _emake
-}
-
-multilib_src_test() {
-   _emake check
-}
-
-multilib_src_install() {
-   _emake DESTDIR="${D}" install
-
-   dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
-   gen_usr_ldscript -a gpm
-}
-
-multilib_src_install_all() {
-   insinto /etc/gpm
-   doins conf/gpm-*.conf
-
-   dodoc README TODO
-   dodoc doc/Announce doc/FAQ doc/README*
-
-   newinitd "${FILESDIR}"/gpm.rc6-2 gpm
-   newconfd "${FILESDIR}"/gpm.conf.d gpm
-   systemd_dounit "${FILESDIR}"/gpm.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-14 Thread Sergei Trofimovich
commit: 26905c4eefba0aab28d8d43983fe201b309e9582
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri May 14 20:15:36 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri May 14 20:34:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26905c4e

sys-libs/gpm: stable 1.20.7-r3 for hppa, bug #789915

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index c90d13679d0..7554d790cd5 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-14 Thread Agostino Sarubbo
commit: 6701985c102aa8d135a8e00d937ef3508c52d580
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:33:43 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:33:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6701985c

sys-libs/gpm: sparc stable wrt bug #789915

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index 833ae17a8f8..c90d13679d0 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-13 Thread Sam James
commit: 9b29ae37d60e5c6536cc3bf3b259b205cf89e4ec
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 18:57:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 18:57:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b29ae37

sys-libs/gpm: Stabilize 1.20.7-r3 ppc, #789915

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index cb12ec748c9..833ae17a8f8 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-13 Thread Sam James
commit: 489ce00d72d49e1cbc900595eb283b5c58fceab9
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 18:55:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 18:55:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489ce00d

sys-libs/gpm: Stabilize 1.20.7-r3 x86, #789915

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index 05073696ef4..cb12ec748c9 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-13 Thread Sam James
commit: c890c709170484839169d3b6e194a899aac92b36
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 17:53:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 17:53:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c890c709

sys-libs/gpm: Stabilize 1.20.7-r3 ppc64, #789915

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index 5f85ed6e526..05073696ef4 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-13 Thread Sam James
commit: 35dff037f3cf229ea86e176a3877c0239161d050
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 16:58:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 16:58:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35dff037

sys-libs/gpm: Stabilize 1.20.7-r3 amd64, #789915

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index 3c8b1adf94e..5f85ed6e526 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-05-13 Thread Sam James
commit: 00382b3b27d6beabf27dabe6f37c004b8a1c6700
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 16:21:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 16:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00382b3b

sys-libs/gpm: Stabilize 1.20.7-r3 arm, #789915

Signed-off-by: Sam James  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index 9aba0ab2de8..3c8b1adf94e 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-04-11 Thread David Seifert
commit: 8a8bc44c12ae69dd00a29e6695a205675b9cda87
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 11 21:15:11 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 11 21:15:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a8bc44c

sys-libs/gpm: make CONFIG_INPUT_MOUSEDEV check non-fatal

Thanks-to: kurly
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
index bb7b8679025..22f9f5d1a4a 100644
--- a/sys-libs/gpm/gpm-1.20.7-r3.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
sys-apps/texinfo
virtual/yacc"
 
-CONFIG_CHECK="INPUT_MOUSEDEV"
+CONFIG_CHECK="~INPUT_MOUSEDEV"
 ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose 
mice for GPM)"
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2021-04-11 Thread David Seifert
commit: 38220e8acee091c30031564564ec49f456d65bf9
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 11 10:40:26 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 11 10:40:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38220e8a

sys-libs/gpm: Port to EAPI 7

Bug: https://bugs.gentoo.org/673700
Bug: https://bugs.gentoo.org/781959
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r3.ebuild | 108 ++
 1 file changed, 108 insertions(+)

diff --git a/sys-libs/gpm/gpm-1.20.7-r3.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
new file mode 100644
index 000..bb7b8679025
--- /dev/null
+++ b/sys-libs/gpm/gpm-1.20.7-r3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# emacs support disabled due to #99533 #335900
+
+EAPI=7
+
+inherit autotools linux-info systemd usr-ldscript multilib-minimal
+
+DESCRIPTION="Console-based mouse driver"
+HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
+SRC_URI="
+   https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
+   mirror://gentoo/${P}-docs.patch.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+IUSE="selinux"
+
+RDEPEND="
+   sys-libs/ncurses:=[${MULTILIB_USEDEP}]
+   selinux? ( sec-policy/selinux-gpm )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-arch/xz-utils
+   sys-apps/texinfo
+   virtual/yacc"
+
+CONFIG_CHECK="INPUT_MOUSEDEV"
+ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose 
mice for GPM)"
+
+pkg_pretend() {
+   check_extra_config
+}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${P}-sysmacros.patch
+
+   # Hack up the docs until we get this sorted upstream.
+   # https://github.com/telmich/gpm/issues/8
+   eapply "${WORKDIR}"/${P}-docs.patch
+   touch -r . doc/* || die
+
+   # bug #629774
+   eapply "${FILESDIR}"/${P}-glibc-2.26.patch
+
+   # bug #705878
+   eapply "${FILESDIR}"/${P}-gcc-10.patch
+
+   eapply_user
+
+   # fix ABI values
+   sed -i \
+   -e '/^abi_lev=/s:=.*:=1:' \
+   -e '/^abi_age=/s:=.*:=20:' \
+   configure.ac.footer || die
+   # Rebuild autotools since release doesn't include them.
+   # Should be fixed with the next release though.
+   # https://github.com/telmich/gpm/pull/15
+   sed -i -e '/ACLOCAL/,$d' autogen.sh || die
+   ./autogen.sh
+   eautoreconf
+
+   # Out-of-tree builds are broken.
+   # https://github.com/telmich/gpm/issues/16
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   econf \
+   --disable-static \
+   --sysconfdir="${EPREFIX}"/etc/gpm \
+   emacs="${BROOT}"/bin/false
+}
+
+_emake() {
+   emake \
+   EMACS=: ELISP="" \
+   $(multilib_is_native_abi || echo "PROG= ") \
+   "$@"
+}
+
+multilib_src_compile() {
+   _emake
+}
+
+multilib_src_test() {
+   _emake check
+}
+
+multilib_src_install() {
+   _emake DESTDIR="${D}" install
+
+   dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
+   gen_usr_ldscript -a gpm
+}
+
+multilib_src_install_all() {
+   insinto /etc/gpm
+   doins conf/gpm-*.conf
+
+   dodoc README TODO doc/Announce doc/FAQ doc/README*
+
+   newinitd "${FILESDIR}"/gpm.rc6-2 gpm
+   newconfd "${FILESDIR}"/gpm.conf.d gpm
+   systemd_dounit "${FILESDIR}"/gpm.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/

2020-02-03 Thread Sergei Trofimovich
commit: 8f7e2ac82fc5a1847c132057fb7de1a996d66c76
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Feb  3 22:55:06 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Feb  3 23:07:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e2ac8

sys-libs/gpm: tweak for gcc-10, bug #705878

Closes: https://bugs.gentoo.org/705878
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch | 14 ++
 sys-libs/gpm/gpm-1.20.7-r2.ebuild  |  5 -
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch 
b/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch
new file mode 100644
index 000..a55c44fae55
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/705878
+https://github.com/telmich/gpm/pull/37
+
+--- a/src/headers/daemon.h
 b/src/headers/daemon.h
+@@ -180,7 +180,7 @@ extern struct mouse_features  mouse_table[3],
+ extern Gpm_Type mice[];
+ extern Gpm_Type *repeated_type;
+ 
+-time_t  last_selection_time;
++extern time_t   last_selection_time;
+ 
+ 
+ 

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index c550f3ee116..df485bea459 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # emacs support disabled due to #99533 #335900
@@ -35,6 +35,9 @@ src_prepare() {
# bug #629774
epatch "${FILESDIR}"/${P}-glibc-2.26.patch
 
+   # bug #705878
+   epatch "${FILESDIR}"/${P}-gcc-10.patch
+
epatch_user
 
# fix ABI values



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2019-05-03 Thread Mikle Kolyada
commit: ead2b3e2d25339393a2ef10a5aeb4f88fb5c6519
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri May  3 23:09:56 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri May  3 23:09:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ead2b3e2

sys-libs/gpm: Add ~riscv keyword

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index 7b6bff92c95..e7d0c6b08f9 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # emacs support disabled due to #99533 #335900
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86"
 IUSE="selinux static-libs"
 
 RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/

2019-04-02 Thread Lars Wendler
commit: 237a9ca4aa1c01d61b73df7f5c2fb28f4a0ee595
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Mar 31 05:55:07 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Apr  2 06:50:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=237a9ca4

sys-libs/gpm: Avoid legacy path in PIDFile in gpm.service.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Closes: https://bugs.gentoo.org/682092
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/gpm/files/gpm.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/files/gpm.service b/sys-libs/gpm/files/gpm.service
index 966ad80060f..b241b2e14cd 100644
--- a/sys-libs/gpm/files/gpm.service
+++ b/sys-libs/gpm/files/gpm.service
@@ -6,7 +6,7 @@ After=syslog.target
 ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
 StandardOutput=syslog
 Type=forking
-PIDFile=/var/run/gpm.pid
+PIDFile=/run/gpm.pid
 
 [Install]
 WantedBy=multi-user.target



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2018-04-21 Thread Aaron Bauman
commit: 7740d0514bcb20edc89c75310cd50bc0efac006d
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Apr 21 08:50:58 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Apr 22 01:28:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7740d051

sys-libs/gpm: use HTTPS

 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index 4cef2cfe09f..7b6bff92c95 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # emacs support disabled due to #99533 #335900
@@ -8,8 +8,8 @@ EAPI=5
 inherit eutils systemd toolchain-funcs autotools multilib-minimal
 
 DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="http://www.nico.schottelius.org/software/gpm/;
-SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
+HOMEPAGE="https://www.nico.schottelius.org/software/gpm/;
+SRC_URI="https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
mirror://gentoo/${P}-docs.patch.xz"
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/

2017-09-19 Thread Sergei Trofimovich
commit: 1618968c56caf7f8c08823908d88dc49bb8f7649
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Sep 19 21:34:32 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep 19 21:34:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1618968c

sys-libs/gpm: tweak for glibc-2.26, bug #629774

Reported-by: Philipp Psurek
Fix-by: cyrillic
Closes: https://bugs.gentoo.org/629774
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-libs/gpm/files/gpm-1.20.7-glibc-2.26.patch | 12 
 sys-libs/gpm/gpm-1.20.7-r2.ebuild  |  7 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/sys-libs/gpm/files/gpm-1.20.7-glibc-2.26.patch 
b/sys-libs/gpm/files/gpm-1.20.7-glibc-2.26.patch
new file mode 100644
index 000..ef2de01a6d6
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-glibc-2.26.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/629774
+--- a/src/prog/gpm-root.y  2012-10-26 17:21:38.0 -0400
 b/src/prog/gpm-root.y  2017-09-07 20:39:51.933264063 -0400
+@@ -1197,7 +1197,7 @@
+/* reap your zombies */
+childaction.sa_handler=reap_children;
+ #if defined(__GLIBC__)
+-   __sigemptyset(_mask);
++   sigemptyset(_mask);
+ #else /* __GLIBC__ */
+childaction.sa_mask=0;
+ #endif /* __GLIBC__ */

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index bfb8982b46e..943ef06732c 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # emacs support disabled due to #99533 #335900
@@ -36,6 +36,11 @@ src_prepare() {
epatch "${WORKDIR}"/${P}-docs.patch
touch -r . doc/* || die
 
+   # bug #629774
+   epatch "${FILESDIR}"/${P}-glibc-2.26.patch
+
+   epatch_user
+
# fix ABI values
sed -i \
-e '/^abi_lev=/s:=.*:=1:' \



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2016-12-06 Thread Mike Frysinger
commit: 1afc4da94c40f9fe5c1f5d09edc4048ede4e4f3e
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Dec  7 07:50:22 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Dec  7 07:50:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afc4da9

sys-libs/gpm: disable EMACS/ELISP at all build steps #586880

 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 19 +--
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index ebfc8a7..5fe58f8 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -61,16 +61,23 @@ multilib_src_configure() {
emacs=/bin/false
 }
 
+_emake() {
+   emake \
+   EMACS=: ELISP="" \
+   $(multilib_is_native_abi || echo "PROG= ") \
+   "$@"
+}
+
 multilib_src_compile() {
-   emake EMACS=: $(multilib_is_native_abi || echo "PROG= ")
+   _emake
+}
+
+multilib_src_test() {
+   _emake check
 }
 
 multilib_src_install() {
-   emake \
-   DESTDIR="${D}" \
-   EMACS=: ELISP="" \
-   $(multilib_is_native_abi || echo "PROG= ") \
-   install
+   _emake DESTDIR="${D}" install
 
dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
gen_usr_ldscript -a gpm



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2016-10-07 Thread Lars Wendler
commit: 125939bb8fcaddf00a26150815403b17e2a8b92f
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Oct  7 07:33:33 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Oct  7 07:33:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125939bb

sys-libs/gpm: Added sub-slot dependency on sys-libs/ncurses (bug #596378).

Bumped ebuild to EAPI-5.

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index 58415ad..ebfc8a7 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 # emacs support disabled due to #99533 #335900
 
-EAPI="4"
+EAPI=5
 
 inherit eutils systemd toolchain-funcs autotools multilib-minimal
 
@@ -18,13 +18,13 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86"
 IUSE="selinux static-libs"
 
-RDEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]
+RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}]
selinux? ( sec-policy/selinux-gpm )
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20130224-r12
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
-DEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]
+DEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}]
app-arch/xz-utils
sys-apps/texinfo
virtual/yacc"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2016-06-06 Thread Mike Frysinger
commit: 2cbf041b6cf2fea23d2a706521ee35b948201174
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Jun  6 18:57:35 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Jun  6 18:58:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbf041b

sys-libs/gpm: include compiled docs to avoid texinfo dep #585094

Rather than require texinfo all the time (just to generate the info
page), build them by hand and ship them as an addon patch.  Ideally
this would be in upstream, but we're working on that already.  Let's
fix stable until that happens.

 sys-libs/gpm/Manifest |  1 +
 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 17 ++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/sys-libs/gpm/Manifest b/sys-libs/gpm/Manifest
index afdac3e..b637cdc 100644
--- a/sys-libs/gpm/Manifest
+++ b/sys-libs/gpm/Manifest
@@ -1 +1,2 @@
+DIST gpm-1.20.7-docs.patch.xz 41668 SHA256 
a1b73e8916d1ae5e336a6c366c2be51b668176d743bb137a53c623f5a634faf6 SHA512 
6cdcad70d0a77a56cb507330ff8409155de11255b5e61fb92ee439c1e117932c346df475f4187abb0e348ee4c28fa235a9693883b1c36913e91404662df272f4
 WHIRLPOOL 
f6832979bc5b3ca1c61f150ab8795f744dc3d44fa404038dd5de97c4fd939e2e1fb4b40bcb27daf5cb81846a0841954dbfa5b8d6e37e341b834d9dce6382dcf1
 DIST gpm-1.20.7.tar.lzma 789691 SHA256 
a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c SHA512 
a502741e2f457b47e41c6d155b1f7ef7c95384fd394503f82ddacf80cde9cdc286c906c77be12b6af8565ef1c3ab24d226379c1dcebcfcd15d64bcf3e94b63b9
 WHIRLPOOL 
d3d142c3aa385e2ef4b16c96e0f94c04b3666376d893c516d439737c2f3016a12fff7884a8f18b5e6b58e4ba21d82379204b18621a2f338d8ab6d478e4e1ec1a

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index ee9f5a7..58415ad 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -10,7 +10,8 @@ inherit eutils systemd toolchain-funcs autotools 
multilib-minimal
 
 DESCRIPTION="Console-based mouse driver"
 HOMEPAGE="http://www.nico.schottelius.org/software/gpm/;
-SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma;
+SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma
+   mirror://gentoo/${P}-docs.patch.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -30,14 +31,26 @@ DEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]
 
 src_prepare() {
epatch "${FILESDIR}"/${P}-sysmacros.patch
+
+   # Hack up the docs until we get this sorted upstream.
+   # https://github.com/telmich/gpm/issues/8
+   epatch "${WORKDIR}"/${P}-docs.patch
+   touch -r . doc/* || die
+
# fix ABI values
sed -i \
-e '/^abi_lev=/s:=.*:=1:' \
-e '/^abi_age=/s:=.*:=20:' \
configure.ac.footer || die
+   # Rebuild autotools since release doesn't include them.
+   # Should be fixed with the next release though.
+   # https://github.com/telmich/gpm/pull/15
sed -i -e '/ACLOCAL/,$d' autogen.sh || die
./autogen.sh
eautoreconf
+
+   # Out-of-tree builds are broken.
+   # https://github.com/telmich/gpm/issues/16
multilib_copy_sources
 }
 
@@ -49,8 +62,6 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
-   # make sure nothing compiled is left
-   emake clean
emake EMACS=: $(multilib_is_native_abi || echo "PROG= ")
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/

2016-03-14 Thread Mike Frysinger
commit: dcd2860118fdc2618738bca23c8c0aa65255a4ab
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar 14 19:42:36 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar 15 02:31:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd28601

sys-libs/gpm: fix build w/newer glibc

 sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch | 30 +++
 sys-libs/gpm/gpm-1.20.7-r2.ebuild |  1 +
 2 files changed, 31 insertions(+)

diff --git a/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch 
b/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch
new file mode 100644
index 000..d8ab2d1
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch
@@ -0,0 +1,30 @@
+From b350aee4ea5785a75cb6ad770f6b768c506ebb70 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Mon, 14 Mar 2016 15:39:54 -0400
+Subject: [PATCH] fix building w/newer glibc
+
+Linux C libraries are looking to disentangle sysmacros.h from the
+sys/types.h include, so make sure we pull in the header when it is
+found.
+---
+ src/daemon/open_console.c | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/daemon/open_console.c b/src/daemon/open_console.c
+index 4d6c0af..6dd43e6 100644
+--- a/src/daemon/open_console.c
 b/src/daemon/open_console.c
+@@ -24,6 +24,10 @@
+ #include   /* major()   */
+ #include   /* ioctl */
+ 
++#ifdef HAVE_SYS_SYSMACROS_H
++#include   /* major() w/newer glibc */
++#endif
++
+ /* Linux specific (to be outsourced in gpm2 */
+ #include/* for serial console check */
+ #include /* for serial console check */
+-- 
+2.6.2
+

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index af8bb4a..8a191dd 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -29,6 +29,7 @@ DEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]
virtual/yacc"
 
 src_prepare() {
+   epatch "${FILESDIR}"/${P}-sysmacros.patch
# fix ABI values
sed -i \
-e '/^abi_lev=/s:=.*:=1:' \



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/

2016-02-14 Thread Mike Frysinger
commit: 0c49473cf3c23074402a6ceedbc0d5b1f893e031
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Feb 14 22:33:54 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Feb 15 02:12:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c49473c

sys-libs/gpm: mark m68k/sh 1.20.7-r2 stable

 sys-libs/gpm/gpm-1.20.7-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index a041ff2..af8bb4a 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc 
x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86"
 IUSE="selinux static-libs"
 
 RDEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/

2016-02-14 Thread Mike Frysinger
commit: 78b7654d0916f43fd973a3ecfe3726267e0f13b7
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Feb 15 02:11:09 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Feb 15 02:12:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b7654d

sys-libs/gpm: delete old <1.20.7-r2 versions

 sys-libs/gpm/Manifest  |  1 -
 .../0001-daemon-use-sys-ioctl.h-for-ioctl.patch| 31 --
 sys-libs/gpm/files/0001-fixup-make-warnings.patch  | 35 ---
 sys-libs/gpm/files/gpm-1.20.5-abi.patch| 13 
 sys-libs/gpm/files/gpm-1.20.6-disablestatic.patch  | 66 
 sys-libs/gpm/files/gpm.rc6 | 38 
 sys-libs/gpm/gpm-1.20.6-r1.ebuild  | 71 --
 sys-libs/gpm/gpm-1.20.6.ebuild | 60 --
 sys-libs/gpm/gpm-1.20.7-r1.ebuild  | 65 
 sys-libs/gpm/gpm-1.20.7.ebuild | 64 ---
 10 files changed, 444 deletions(-)

diff --git a/sys-libs/gpm/Manifest b/sys-libs/gpm/Manifest
index 5a1f854..afdac3e 100644
--- a/sys-libs/gpm/Manifest
+++ b/sys-libs/gpm/Manifest
@@ -1,2 +1 @@
-DIST gpm-1.20.6.tar.lzma 1280871 SHA256 
27abb8a9142d3f7c31aeade2f2f1ed4b76bc760e181f552c504a7a9be00a868f SHA512 
6f12d49cb690506ed116251376f0a2c946d86d323e93e11b9c71e7c40212fcc25b9ed364cd4dca3e5f0666fc7d9c38f1c3cdf6e80924cc68aef8623b39c0e623
 WHIRLPOOL 
05bee4c9156bbde78ea6ee06d7c4afba39899d2877a90a72e60bdab8c921fca9041cbebe5fa0afcc055a1cec2b0674392bcb9b3f1712103f236172e54e15b3b9
 DIST gpm-1.20.7.tar.lzma 789691 SHA256 
a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c SHA512 
a502741e2f457b47e41c6d155b1f7ef7c95384fd394503f82ddacf80cde9cdc286c906c77be12b6af8565ef1c3ab24d226379c1dcebcfcd15d64bcf3e94b63b9
 WHIRLPOOL 
d3d142c3aa385e2ef4b16c96e0f94c04b3666376d893c516d439737c2f3016a12fff7884a8f18b5e6b58e4ba21d82379204b18621a2f338d8ab6d478e4e1ec1a

diff --git a/sys-libs/gpm/files/0001-daemon-use-sys-ioctl.h-for-ioctl.patch 
b/sys-libs/gpm/files/0001-daemon-use-sys-ioctl.h-for-ioctl.patch
deleted file mode 100644
index b6c7809..000
--- a/sys-libs/gpm/files/0001-daemon-use-sys-ioctl.h-for-ioctl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From b184152761d8a4dbf73adcffaddac85709949c2f Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Sun, 15 Feb 2009 16:16:51 -0500
-Subject: [PATCH] daemon: use sys/ioctl.h for ioctl()
-
-Including stropts.h for the ioctl() prototype is weird and breaks some
-systems that do not implement stropts.h.  Use sys/ioctl.h like normal.
-
-URL: http://bugs.gentoo.org/222099
-Signed-off-by: Mike Frysinger 
-Reported-by: Sergey Dryabzhinsky 

- src/daemon/open_console.c |2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/daemon/open_console.c b/src/daemon/open_console.c
-index 27b62e2..98297c9 100644
 a/src/daemon/open_console.c
-+++ b/src/daemon/open_console.c
-@@ -21,7 +21,7 @@
- 
- #include   /* open and co.  */
- #include/* stat()*/
--#include /* ioctl */
-+#include   /* ioctl */
- 
- /* Linux specific (to be outsourced in gpm2 */
- #include/* for serial console check */
--- 
-1.6.1.3
-

diff --git a/sys-libs/gpm/files/0001-fixup-make-warnings.patch 
b/sys-libs/gpm/files/0001-fixup-make-warnings.patch
deleted file mode 100644
index c55d2f8..000
--- a/sys-libs/gpm/files/0001-fixup-make-warnings.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 1bee81778e7355e6b902986b6e0fc5750546444a Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Mon, 16 Feb 2009 15:43:40 -0500
-Subject: [PATCH] fixup make warnings
-
-Split the toplevel dep target to use normal make dependencies and use the
-$(MAKE) var rather than hardcoding `make`.
-
-Signed-off-by: Mike Frysinger 

- Makefile.in |8 +---
- 1 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 90b92d0..89cbb5e 100644
 a/Makefile.in
-+++ b/Makefile.in
-@@ -26,9 +26,11 @@ SUBDIRS = src doc contrib
- 
- all: do-all
- 
--dep:
--  touch src/$(DEPFILE) # to prevent unecessary warnings
--  make -C src dep
-+src/$(DEPFILE):
-+  touch $@ # to prevent unecessary warnings
-+
-+dep: src/$(DEPFILE)
-+  $(MAKE) -C src dep
- 
- check: all
- 
--- 
-1.7.3.1
-

diff --git a/sys-libs/gpm/files/gpm-1.20.5-abi.patch 
b/sys-libs/gpm/files/gpm-1.20.5-abi.patch
deleted file mode 100644
index 2898015..000
--- a/sys-libs/gpm/files/gpm-1.20.5-abi.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-the SONAME upstream was bumped to try and sort out the 1.19.x/1.20.x mess, but
-since we've always had 1.20.x in our tree, we dont care about that breakage.
-
-http://lists.linux.it/pipermail/gpm/2008-June/001026.html