public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/pconsole/files/, sys-cluster/pconsole/
@ 2018-08-08  6:38 Andrew Savchenko
  0 siblings, 0 replies; only message in thread
From: Andrew Savchenko @ 2018-08-08  6:38 UTC (permalink / raw
  To: gentoo-commits

commit:     ce75a68d52dfd46fc93551968b8350da6f8e4105
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Jul 11 20:16:43 2018 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Aug  8 06:37:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce75a68d

sys-cluster/pconsole: EAPI7, improve ebuild, add upstream information to
metadata.xml

Bug: https://bugs.gentoo.org/648050

 .../pconsole/files/pconsole-1.0-exit-warn.patch    |  4 +--
 sys-cluster/pconsole/metadata.xml                  |  3 ++
 sys-cluster/pconsole/pconsole-1.0-r4.ebuild        | 32 ++++++++++++++++++++++
 3 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/pconsole/files/pconsole-1.0-exit-warn.patch b/sys-cluster/pconsole/files/pconsole-1.0-exit-warn.patch
index f306d6408ee..f06d46ba6b5 100644
--- a/sys-cluster/pconsole/files/pconsole-1.0-exit-warn.patch
+++ b/sys-cluster/pconsole/files/pconsole-1.0-exit-warn.patch
@@ -1,5 +1,5 @@
---- pconsole.c	2001-04-09 12:51:49.000000000 +0400
-+++ pconsole.c~vox	2004-08-16 11:37:49.606267087 +0400
+--- a/pconsole.c	2001-04-09 12:51:49.000000000 +0400
++++ b/pconsole.c	2004-08-16 11:37:49.606267087 +0400
 @@ -28,6 +28,7 @@
  #include "Conn.h"
  

diff --git a/sys-cluster/pconsole/metadata.xml b/sys-cluster/pconsole/metadata.xml
index 4a09d7ba8d6..e0f52c2e395 100644
--- a/sys-cluster/pconsole/metadata.xml
+++ b/sys-cluster/pconsole/metadata.xml
@@ -5,4 +5,7 @@
 	<email>cluster@gentoo.org</email>
 	<name>Gentoo Cluster Project</name>
 </maintainer>
+<upstream>
+	<remote-id type="github">walterdejong/pconsole</remote-id>
+</upstream>
 </pkgmetadata>

diff --git a/sys-cluster/pconsole/pconsole-1.0-r4.ebuild b/sys-cluster/pconsole/pconsole-1.0-r4.ebuild
new file mode 100644
index 00000000000..1d6ce3d826e
--- /dev/null
+++ b/sys-cluster/pconsole/pconsole-1.0-r4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tool for managing multiple xterms simultaneously"
+HOMEPAGE="https://github.com/walterdejong/pconsole"
+SRC_URI="http://www.xs4all.nl/~walterj/pconsole/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-exit-warn.patch )
+
+src_compile() {
+	emake LFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" \
+		CC="$(tc-getCC)"
+}
+
+src_install() {
+	dobin pconsole
+	fperms 4110 /usr/bin/pconsole
+	dodoc ChangeLog README.pconsole public_html/pconsole.html
+}
+
+pkg_postinst() {
+	ewarn "Warning:"
+	ewarn "pconsole installed with suid root!"
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-09  2:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-08  6:38 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/pconsole/files/, sys-cluster/pconsole/ Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox