summaryrefslogtreecommitdiff
path: root/net-misc/grdesktop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/grdesktop
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/grdesktop')
-rw-r--r--net-misc/grdesktop/Manifest7
-rw-r--r--net-misc/grdesktop/files/grdesktop-0.23-desktop.patch19
-rw-r--r--net-misc/grdesktop/files/grdesktop-0.23-format-security.patch25
-rw-r--r--net-misc/grdesktop/grdesktop-0.23-r1.ebuild44
-rw-r--r--net-misc/grdesktop/metadata.xml10
5 files changed, 105 insertions, 0 deletions
diff --git a/net-misc/grdesktop/Manifest b/net-misc/grdesktop/Manifest
new file mode 100644
index 000000000000..740b2089b04b
--- /dev/null
+++ b/net-misc/grdesktop/Manifest
@@ -0,0 +1,7 @@
+AUX grdesktop-0.23-desktop.patch 538 SHA256 ff19348ca9e05702425e35634b903f2e2223ded4866f7cb2212f2e181e223594 SHA512 c228120c40f1c1afa18b120c6804e5bb824256fd5515bdcd05b7fb4a8c964cf8ef6d2a7902645640b5133b513bc9612b2484cce7413af5663d0e16c7e65122fd WHIRLPOOL d75228fb4503cdb1209e35346bac18c2eb76fb5fa0a4a8d0bee12e45d91d6b5bfb47c66d3b6d327d67dd91d98ff9505754699be52c058cf7ee49e96e32193a39
+AUX grdesktop-0.23-format-security.patch 856 SHA256 e2aab1aef56a91fea2eb703f265c0669ea9f6424040caf4fb7903402417731bf SHA512 7754a958a45648cf1194e0840ab22de3025a3eaf0001670c3abe6b5ea0852caa9d27fd9f7db0b4c43a8c93a462a8f297b1c89007755486c9cef9eff26cca6590 WHIRLPOOL 37ada202c538bea31f72f2bb33568a445805f37d7cca8d8431c15678e054320967623d03e211be23317b52d6eccf00d48e96564bb7b4ef0564ca6558adc9e9a0
+DIST grdesktop-0.23.tar.gz 299914 SHA256 a94632ed42273d280ad4f8eec6a803024666ed5c8737ae34585c2d9d2eed5193 SHA512 a0993d7589d0b22b26535de0cf562604c89ce580fede076c15d8d7f2e7a3bd2fd5ec0a35c6a8ec07fcc8f53a0635381fefe9c2e67d9ff75cec7af47cdd25732f WHIRLPOOL 25b29dfd7e0f1b9b09f2cd8f6c92c2c2d09cfee966ca0df480e92e51fdea21c91dd45a68976f139f3f2013c0994aea11fd27664daa81f2cdfb4bf57a1927b0f8
+EBUILD grdesktop-0.23-r1.ebuild 960 SHA256 575f0e29b1670d09b01d3486d14516c734a9cf4387a848fca521fae85df2ec88 SHA512 9f6f8373691f63013d2599b0fc5c12ad3e1267ccd06796f4d13621482b85046ce168fa2804047b2d73a7d02fd01c7df2d0a603681a22bee170f39d426e9ce4c7 WHIRLPOOL 48d5fc2b0d674babcd7e1162efce9187bb31ac82a7ba1aab0fd4eb765150f65e5586c24d7937c29261ca718c3c20a67f1602afa5ad237c3917006bfb2acc7db9
+MISC ChangeLog 2857 SHA256 11967a608e3a25d097898069985a4ae051c259bbc77291923c27ced7f810bd11 SHA512 ed6e2ff977f778bf1ef4ade35bbddad9c354e1c3578ba19d8192ce5124ac5022b18e819e006bc077b81c61cfd7c1fbe7f20b09bb6e7789c0ac518f247f7f190a WHIRLPOOL c6d4f559cb0ac74601e2b823f2fff65e50437cc6880879f6a3cd69c58a6c192e9c3ddf8e3d45a68cb25c873dab0ae121fc5b134a5288a19d3d1074e1e804a6ba
+MISC ChangeLog-2015 4675 SHA256 75f1f96a7d02aaa013b91a79afa5e68b685cb622898161f5e98b11c5d346cfce SHA512 f19d43796b97189029289ab708f987c06424d854d1548382f78f5b38aa1f70681631f62c96151285dd16521ec93dcae32256079975329f4c25df9d3a5aaea467 WHIRLPOOL 2dfa9a8cc9b32605e61730e0726ec4a81de449e3ecbadcb75d51b9ccaad93ce35a534da9c62650778f1286306ea1751a10cd531d4aec1e2cf3dec79eaf0c3e51
+MISC metadata.xml 429 SHA256 eecc98d1eba9fc2f76acab3169c962ea3486ebf4922a125f9e90dbcd07d62162 SHA512 359d469647e065e6b771ce02442ce3789d8e67708679d07b5a3d0cb5fc76a5bd16af0483b37d3a5c593d1660d1e58d4ecc97cbe0c26659cfc6a3b6e7ce863a7d WHIRLPOOL 38706b7abf96d04d7fed05b0f4561cbd795969a39a8b2da9dd4cd4d09bda4827733d96f3a5e6c4d1040b90b25c085d26cd913cd242a319598e09abf588d76dab
diff --git a/net-misc/grdesktop/files/grdesktop-0.23-desktop.patch b/net-misc/grdesktop/files/grdesktop-0.23-desktop.patch
new file mode 100644
index 000000000000..01102b802cd3
--- /dev/null
+++ b/net-misc/grdesktop/files/grdesktop-0.23-desktop.patch
@@ -0,0 +1,19 @@
+--- a/grdesktop.desktop.old 2014-07-08 14:05:45.500537718 +0200
++++ b/grdesktop.desktop 2014-07-08 14:06:27.237420849 +0200
+@@ -4,13 +4,13 @@
+ Comment[de]=Verbindet zu einem entfernten Windows Terminal-Server
+ TryExec=grdesktop
+ Exec=grdesktop
+-Icon=grdesktop.png
++Icon=/usr/share/pixmaps/grdesktop/icon.png
+ Terminal=false
+ Type=Application
+ Version=1.0
+ Actions=Full;
+-Categories=Application;Network;X-Red-Hat-Base;
+-Encoding=UTF-8
++Categories=Network;X-Red-Hat-Base;
+
+ [Desktop Action Full]
++Name=Remotedesktop Client
+ Exec=grdesktop
diff --git a/net-misc/grdesktop/files/grdesktop-0.23-format-security.patch b/net-misc/grdesktop/files/grdesktop-0.23-format-security.patch
new file mode 100644
index 000000000000..b5610efc0c62
--- /dev/null
+++ b/net-misc/grdesktop/files/grdesktop-0.23-format-security.patch
@@ -0,0 +1,25 @@
+--- ./src/run.c.orig 2004-03-30 13:17:53.000000000 +0000
++++ ./src/run.c 2012-05-13 06:33:35.000000000 +0000
+@@ -110,7 +110,7 @@
+ sshcmd = g_strconcat(sshcmd, g_strdup_printf("%s",
+ SHASH("sshhost")), NULL);
+ sshcmd = g_strconcat(sshcmd, g_strdup_printf(" \"%s\"", cmd), NULL);
+- g_warning(sshcmd);
++ g_warning("%s",sshcmd);
+ cmdline = g_strconcat(sshcmd, NULL);
+ } else { /* execute without ssh */
+ cmdline = g_strconcat(cmd, NULL);
+--- ./src/rdpparse.c.orig 2012-05-13 06:36:59.000000000 +0000
++++ ./src/rdpparse.c 2012-05-13 06:37:31.000000000 +0000
+@@ -306,9 +306,9 @@
+ parts = g_strsplit(value, "x", 2);
+
+ if(typ == 'W')
+- return(g_strdup_printf(parts[0]));
++ return(g_strdup_printf("%s",parts[0]));
+ else
+- return(g_strdup_printf(parts[1]));
++ return(g_strdup_printf("%s",parts[1]));
+
+ if(parts != NULL)
+ g_strfreev(parts);
diff --git a/net-misc/grdesktop/grdesktop-0.23-r1.ebuild b/net-misc/grdesktop/grdesktop-0.23-r1.ebuild
new file mode 100644
index 000000000000..39b0acec73ce
--- /dev/null
+++ b/net-misc/grdesktop/grdesktop-0.23-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Gtk2 frontend for rdesktop"
+HOMEPAGE="http://www.nongnu.org/grdesktop/"
+SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ x11-libs/gtk+:2
+ >=gnome-base/libgnomeui-2
+ net-misc/rdesktop
+ gnome-base/gconf:2
+"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Correct icon path. See bug #50295.
+ eapply "${FILESDIR}/${P}-desktop.patch"
+
+ # Fix compilation with format-security, bug #517662
+ eapply "${FILESDIR}/${P}-format-security.patch"
+
+ sed -e 's/\(GETTEXT_PACKAGE = \)@GETTEXT_PACKAGE@/\1grdesktop/g' \
+ -i po/Makefile.in.in || die "sed 2 failed"
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-debug \
+ --with-keymap-path=/usr/share/rdesktop/keymaps/
+}
diff --git a/net-misc/grdesktop/metadata.xml b/net-misc/grdesktop/metadata.xml
new file mode 100644
index 000000000000..97c0fce8f6f8
--- /dev/null
+++ b/net-misc/grdesktop/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+<longdescription>Gtk2 frontend for rdesktop</longdescription>
+<longdescription lang="ja">リモート・デスクトップの GTK2 フロントエンドです。</longdescription>
+</pkgmetadata>