From 2a74a52d0ad5f55f0f2fda8128a883832c792cff Mon Sep 17 00:00:00 2001 From: perfect7gentleman Date: Fri, 29 Jul 2016 05:32:28 +0700 Subject: [PATCH] Fri Jul 29 05:32:28 +07 2016 --- net-im/licq/Manifest | 4 - net-im/licq/files/licq-1.3.8-hebrew.patch | 95 ------------------- .../licq/files/licq-1.3.8-memory_leak.patch | 9 -- net-im/licq/licq-9999.ebuild | 77 --------------- net-im/licq/metadata.xml | 15 --- 5 files changed, 200 deletions(-) delete mode 100644 net-im/licq/Manifest delete mode 100644 net-im/licq/files/licq-1.3.8-hebrew.patch delete mode 100644 net-im/licq/files/licq-1.3.8-memory_leak.patch delete mode 100644 net-im/licq/licq-9999.ebuild delete mode 100644 net-im/licq/metadata.xml diff --git a/net-im/licq/Manifest b/net-im/licq/Manifest deleted file mode 100644 index 9995f9582..000000000 --- a/net-im/licq/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX licq-1.3.8-hebrew.patch 2092 SHA256 64b6cceed8cdf7142e692b26ca68df37b9ebda38801c2a014310735447331715 SHA512 17758ef783cab1db6b1f676c73acdd904969359b139900135191ff2434d92aafba0a4bc9d7c487e2fddb757b140a706880c4d43a181ec19ffc786b6bd741a7ff WHIRLPOOL b8bc0f9a411ece1c3f316f00647f4614a657d33fbee39f430ff186bcf70dacdfcbd2a207eb1b4c2a6559fb9ebe6463127d01db71e57238e1339ea07f472c0299 -AUX licq-1.3.8-memory_leak.patch 267 SHA256 a079b61345444ba20e3c8388259fab0e607e03562327f556ffe2037c9a92b92e SHA512 3997609ea9456771ff0578d9a9ad6955d47ce0fc3172aca9c242e275bd8818e27d32511b8aee9b150427b9f9ece1d76b2fe8f0b5a7596c4df819ecf9300d6838 WHIRLPOOL 05c83ab82a5b8c2246eb0dd064f2af815436f1123992319f0f7ee01ad4aa0830cc39fe3313e62ea42e574919e2b024be3060343eccb6f43b1fe9b27bf554ca96 -EBUILD licq-9999.ebuild 1780 SHA256 9c5d39d4b72eb71903bead2c116202cddae9c2b7e12bd37575ee765bf59c7078 SHA512 959947729da794e002899c9066d39bc7f4134202378cdb60c5f22b3316bd973754d34c9c8171b5104659db79896bf8cf70888440cf317900b4235dd6d8e5b6ff WHIRLPOOL eaefbaa8a89702a710f69439e6a2c527b910d1927b4cc117dcbf04cddd7dc539cd8bb92440d7efe8c8ed9f9cd5801a849e8f610f8424d095e816ecd249759cb2 -MISC metadata.xml 517 SHA256 1cbbe00e4e16ecd647078f376d1c6037f2af21ff44520025b27491be6203f76a SHA512 b18acefb324054cb27a1e634d2fdc4e33f637cbbd0d602d90365ca1f504d396616502446a898b527389f40834a160fee65bbe785f5b177268a8d796fa07e95c6 WHIRLPOOL ed98e20b1d436338f43a041a5aebf72ff03d07bbb44dfe3ad3df49b6bf57d7045e12747104b8b79b39c4876702fb4aea40b0ecbe81c35745b0b8ad22451a1de6 diff --git a/net-im/licq/files/licq-1.3.8-hebrew.patch b/net-im/licq/files/licq-1.3.8-hebrew.patch deleted file mode 100644 index a0fdb936b..000000000 --- a/net-im/licq/files/licq-1.3.8-hebrew.patch +++ /dev/null @@ -1,95 +0,0 @@ ---- configure -+++ configure -@@ -3283,7 +3283,7 @@ - - # Check whether --enable-hebrew was given. - if test "${enable_hebrew+set}" = set; then : -- enableval=$enable_hebrew; USE_HEBREW=yes -+ enableval=$enable_hebrew; USE_HEBREW=$enableval - else - USE_HEBREW=no - fi ---- src/hebrev.c -+++ src/hebrev.c -@@ -48,6 +48,7 @@ - short int mode = 0, imode; - const char *hmark = NULL, *lmark, *nmark, *nlmark; - char ch; -+ const char* srcstart = src; - - if (src == NULL) - return NULL; -@@ -69,7 +70,7 @@ - if (*src == 0 || iseng(*src)) - { - lmark = src-1; -- while ((!isheb(*lmark)) && (!ispunct(*lmark))) lmark--; -+ while (lmark > srcstart && !isheb(*lmark) && !ispunct(*lmark)) lmark--; - src = lmark; - imode = 0; - nmark = NULL; -@@ -114,6 +115,7 @@ - hmark = NULL; - mode = 0; - } -+ if (*src == '\0') *dest = '\0'; - } - if (!*src++) - break; -@@ -141,15 +143,16 @@ - char *temp=NULL, *tmp=NULL; - char *arg=NULL, *arg2=NULL; - int i=0; -+ char* saveptr = NULL; - - temp = (char*) malloc(strlen(input)+1); - tmp = temp; - - strcpy(temp, input); - -- arg = strtok(temp, "\n"); -+ arg = strtok_r(temp, "\n", &saveptr); - for(i = 0; (i < index) && (arg!=NULL); i++) -- arg = strtok(NULL, "\n"); -+ arg = strtok_r(NULL, "\n", &saveptr); - - if(arg != NULL) - { -@@ -164,6 +167,7 @@ - { - char* temp_str = NULL; - char* temp = NULL; -+ char* arg = NULL; - int i=0; - int size = 0; - if(src == NULL) -@@ -172,21 +176,23 @@ - if((temp_str = (char*)malloc(strlen(src)+1))== NULL) - return NULL; - -- temp = GetArg(src, i); -- while(temp != NULL) -+ arg = GetArg(src, i); -+ while(arg != NULL) - { - i++; -- temp = hebrew(temp); -+ temp = hebrew(arg); -+ free(arg); - memcpy(temp_str + size , temp, strlen(temp)); - size += strlen(temp) ; - temp_str[size++] = '\n'; - - free(temp); - temp = NULL; -- temp = GetArg(src, i); -+ arg = GetArg(src, i); - } -- free(temp); -- temp_str[size]= '\0'; -+ // Above loop adds a line break after last line that wasn't there in src -+ // replace it with the null terminator -+ temp_str[--size]= '\0'; - return temp_str; - } - diff --git a/net-im/licq/files/licq-1.3.8-memory_leak.patch b/net-im/licq/files/licq-1.3.8-memory_leak.patch deleted file mode 100644 index 38ea9e0da..000000000 --- a/net-im/licq/files/licq-1.3.8-memory_leak.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- src/user.cpp -+++ src/user.cpp -@@ -3631,6 +3631,7 @@ - { - gLog.Error("%sUnable to open picture file (%s):\n%s%s.\n", L_ERRORxSTR, - szFilename, L_BLANKxSTR, strerror(errno)); -+ close(source); - return; - } diff --git a/net-im/licq/licq-9999.ebuild b/net-im/licq/licq-9999.ebuild deleted file mode 100644 index 3fda9c20d..000000000 --- a/net-im/licq/licq-9999.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils eutils flag-o-matic git-r3 - -DESCRIPTION="ICQ Client with v8 support" -HOMEPAGE="http://www.licq.org/" -EGIT_REPO_URI="git://github.com/licq-im/licq.git" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="alpha amd64 ia64 ppc sparc x86" -IUSE="debug doc linguas_he nls socks5 ssl xosd aosd xmpp qt5 msn" - -RDEPEND=">=app-crypt/gpgme-1 - xmpp? ( net-libs/gloox ) - qt5? ( dev-qt/qtgui:5 ) - socks5? ( net-proxy/dante ) - ssl? ( >=dev-libs/openssl-0.9.5a:0= ) - xosd? ( x11-libs/xosd ) - aosd? ( x11-libs/libaosd )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen[dot] ) - nls? ( sys-devel/gettext ) - dev-libs/boost:=" - -src_prepare() { - local licq_plugins="auto-reply icq rms" - use msn && licq_plugins+=" msn" - use xosd && licq_plugins+=" osd" - use aosd && licq_plugins+=" aosd" - use xmpp && licq_plugins+=" jabber" - use qt5 && licq_plugins+=" qt-gui" - - local plugins="" x - for x in ${licq_plugins}; do - plugins+=" ${x}\/CMakeLists.txt" - done - - #sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt -} - -pkg_setup() { - # crutch - append-flags -pthread -} - -src_configure() { - local myopts="-DCMAKE_BUILD_TYPE=$(use debug && echo 'Debug' || echo 'Release')" - mycmakeargs="$myopts - $(cmake-utils_use doc USE_DOXYGEN) - $(cmake-utils_use linguas_he USE_HEBREW) - $(cmake-utils_use nls ENABLE_NLS) - $(cmake-utils_use socks5 USE_SOCKS5) - $(cmake-utils_use ssl USE_OPENSSL) - -DUSE_FIFO=ON - -DBUILD_PLUGINS=ON - -DBUILD_TESTS=OFF" - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc README - - docinto doc - dodoc doc/* - - use ssl && dodoc README.OPENSSL - - exeinto /usr/share/${PN}/upgrade - doexe upgrade/*.pl -} diff --git a/net-im/licq/metadata.xml b/net-im/licq/metadata.xml deleted file mode 100644 index 8c81dd0cd..000000000 --- a/net-im/licq/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - polynomial-c@gentoo.org - Lars Wendler - - Licq is an ICQ clone with an extensive plugin system. - - Build the advanced on screen display plugin. - - - licq - -