[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/, profiles/, www-apache/anyterm/files/

2024-01-26 Thread Petr Vaněk
commit: a60a0f642d16fa785a6e0e4fa247ea7816821493
Author: Petr Vaněk  gentoo  org>
AuthorDate: Fri Jan 26 09:10:16 2024 +
Commit: Petr Vaněk  gentoo  org>
CommitDate: Fri Jan 26 09:15:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60a0f64

www-apache/anyterm: treeclean

Closes: https://bugs.gentoo.org/303339
Closes: https://bugs.gentoo.org/712770
Closes: https://bugs.gentoo.org/732282
Closes: https://bugs.gentoo.org/782907
Closes: https://bugs.gentoo.org/870883
Closes: https://bugs.gentoo.org/898858
Signed-off-by: Petr Vaněk  gentoo.org>

 profiles/package.mask  |   6 -
 www-apache/anyterm/Manifest|   1 -
 www-apache/anyterm/anyterm-1.1.29-r1.ebuild|  55 
 .../files/anyterm-1.1.28-respect-LDFLAGS.patch |  26 
 .../anyterm/files/anyterm-1.1.29-boost-1.50.patch  |  58 
 .../anyterm/files/anyterm-1.1.29-gcc-4.4.patch |  10 --
 www-apache/anyterm/files/anyterm-1.1.29-gcc6.patch | 146 -
 www-apache/anyterm/files/anyterm.conf.d|   7 -
 www-apache/anyterm/files/anyterm.init.d|  20 ---
 www-apache/anyterm/metadata.xml|   5 -
 10 files changed, 334 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 638ffe6ec08c..f5043493ee49 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -218,12 +218,6 @@ net-misc/monmotha
 # Removal on 2024-01-30.  Bug #920659.
 net-firewall/sanewall
 
-# Petr Vaněk  (2023-12-27)
-# Unmaintained package with multiple open bugs. Upstream seems to be inactive.
-# Version bumps are available for 7 years but nobody seems to care.
-# Removal: 2024-01-26.  Bugs #303339, #712770, #732282, #782907, #870883, 
#898858.
-www-apache/anyterm
-
 # Michał Górny  (2023-12-27)
 # Broken with all versions of dev-python/snakeoil.  Archived upstream.
 # No revdeps.

diff --git a/www-apache/anyterm/Manifest b/www-apache/anyterm/Manifest
deleted file mode 100644
index a33f5b49b909..
--- a/www-apache/anyterm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST anyterm-1.1.29.tbz2 178424 BLAKE2B 
33416d5cd4b3bbbaf6cdb65458c0183a9d2fc58a0422b81b293106152f9d11d002a8cc1a9b1d3cd6a6b51c3d9f682f0e156258d35e7a54abf39349ed185d
 SHA512 
119b2b3eae416721bfd7511d5325f8a8b7bdf4438655a5760f3cac2a91c0d41db2b1efd6bc8f3effb99bff646a21d88ab6e670ece0191e69aeb85f093dc5ab75

diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild 
b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
deleted file mode 100644
index 6c0961341495..
--- a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="A terminal anywhere"
-HOMEPAGE="https://anyterm.org/;
-SRC_URI="https://anyterm.org/download/${P}.tbz2;
-
-LICENSE="GPL-2 Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="virtual/ssh"
-DEPEND="${RDEPEND}
-   dev-libs/boost"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.1.28-respect-LDFLAGS.patch"
-   "${FILESDIR}/${P}-gcc-4.4.patch"
-   "${FILESDIR}/${P}-boost-1.50.patch"
-   "${FILESDIR}/${P}-gcc6.patch"
-)
-
-src_prepare() {
-   default
-
-   # Fix underlinking issue caused by recent boost versions
-   # depending on boost::system, Gentoo bug #579522
-   sed -e 's/\($(CXX) -o $@ $(LDFLAGS) $(OBJS) $(BLOBS) $(LINK_FLAGS)\)/\1 
-lboost_system/' \
-   -i common.mk || die
-}
-
-src_compile() {
-   # this package uses `ld -r -b binary` and thus resulting executable 
contains
-   # executable stack
-   append-ldflags -Wl,-z,noexecstack
-   emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
-}
-
-src_install() {
-   dosbin anytermd
-   dodoc CHANGELOG README
-   doman anytermd.1
-   newinitd "${FILESDIR}/anyterm.init.d" anyterm
-   newconfd "${FILESDIR}/anyterm.conf.d" anyterm
-}
-
-pkg_postinst() {
-   elog "To proceed with installation, read the following:"
-   elog "https://anyterm.org/install.html;
-}

diff --git a/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch 
b/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch
deleted file mode 100644
index ef27604d87e0..
--- a/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-=== modified file 'common.mk'
 anyterm-1.1.29/common.mk   2009-01-24 12:40:55 +
-+++ anyterm-1.1.29/common.mk   2009-01-24 14:02:19 +
-@@ -71,7 +71,7 @@
- OBJS=$(addsuffix .o,$(notdir $(basename $(CC_SRCS
- 
- %.o: %.cc
--  $(CXX) $(CC_COMPILE_FLAGS) -c $<
-+  $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(CC_COMPILE_FLAGS) -c $<
- 
- ifdef HAVE_GNU_LD
- %.blob.o: ../browser/%
-@@ -87,10 +87,10 @@
- 
- 
- anytermd: $(OBJS) $(BLOBS) $(LIBPBE_LIB)
--  $(CXX) -o $@ $(OBJS) $(BLOBS) $(LINK_FLAGS)
-+  $(CXX) -o $@ 

[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/

2022-09-04 Thread David Seifert
commit: 7a75aed576468ced48221e80bc0936c931049528
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 13:03:37 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 13:03:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a75aed5

www-apache/anyterm: remove stale boost lower bounds

Closes: https://github.com/gentoo/gentoo/pull/27137
Signed-off-by: David Seifert  gentoo.org>

 www-apache/anyterm/anyterm-1.1.29-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild 
b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
index 7a3008eebbd2..6c0961341495 100644
--- a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
+++ b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ IUSE=""
 
 RDEPEND="virtual/ssh"
 DEPEND="${RDEPEND}
-   >=dev-libs/boost-1.34.1"
+   dev-libs/boost"
 
 PATCHES=(
"${FILESDIR}/${PN}-1.1.28-respect-LDFLAGS.patch"



[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/

2021-04-14 Thread Jonas Stein
commit: 5c587b58562a77753fcb4afef1a5f2181d3d54e6
Author: Jonas Stein  gentoo  org>
AuthorDate: Thu Apr 15 01:33:57 2021 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Thu Apr 15 01:34:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c587b58

www-apache/anyterm: Drop maintainer web-apps

web-apps does not maintain this package.
Drop was acked by jmbsvicetto via IRC

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Jonas Stein  gentoo.org>

 www-apache/anyterm/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www-apache/anyterm/metadata.xml b/www-apache/anyterm/metadata.xml
index 2b9b44f7349..7a38bb90096 100644
--- a/www-apache/anyterm/metadata.xml
+++ b/www-apache/anyterm/metadata.xml
@@ -1,8 +1,5 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   web-a...@gentoo.org
-   Gentoo Webapps
-   
+   
 



[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/

2018-02-07 Thread Andreas Sturmlechner
commit: fc8d6a1bbf54375f7b429be7f4ecebb58fab3b22
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Feb  4 11:55:41 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Feb  8 00:01:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8d6a1b

www-apache/anyterm: remove old

Closes: https://github.com/gentoo/gentoo/pull/7060

 www-apache/anyterm/anyterm-1.1.29.ebuild | 45 
 1 file changed, 45 deletions(-)

diff --git a/www-apache/anyterm/anyterm-1.1.29.ebuild 
b/www-apache/anyterm/anyterm-1.1.29.ebuild
deleted file mode 100644
index 0c499ce28ee..000
--- a/www-apache/anyterm/anyterm-1.1.29.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="A terminal anywhere"
-HOMEPAGE="https://anyterm.org/;
-SRC_URI="https://anyterm.org/download/${P}.tbz2;
-
-LICENSE="GPL-2 Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="virtual/ssh"
-DEPEND="${RDEPEND}
-   >=dev-libs/boost-1.34.1"
-
-src_prepare() {
-   epatch "${FILESDIR}/${PN}-1.1.28-respect-LDFLAGS.patch"
-   epatch "${FILESDIR}/${P}-gcc-4.4.patch"
-   epatch "${FILESDIR}/${P}-boost-1.50.patch"
-}
-
-src_compile() {
-   # this package uses `ld -r -b binary` and thus resulting executable 
contains
-   # executable stack
-   append-ldflags -Wl,-z,noexecstack
-   emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
-}
-
-src_install() {
-   dosbin anytermd || die
-   dodoc CHANGELOG README || die
-   doman anytermd.1 || die
-   newinitd "${FILESDIR}/anyterm.init.d" anyterm || die
-   newconfd "${FILESDIR}/anyterm.conf.d" anyterm || die
-}
-
-pkg_postinst() {
-   elog "To proceed installation, read following:"
-   elog "https://anyterm.org/install.html;
-}



[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/

2017-08-22 Thread Michał Górny
commit: 8774aded5739ff20c1e7508baf415b9026bea2f2
Author: David Hicks  hicks  id  au>
AuthorDate: Tue Aug 22 12:08:31 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 22 21:39:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8774aded

www-apache/anyterm: HOMEPAGE and SRC_URI 301 redirect to HTTPS

* SRC_URI is dead, no suitable replacement found (appears that SVN
checkout is the preferred upstream download method now)

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 www-apache/anyterm/anyterm-1.1.29-r1.ebuild | 6 +++---
 www-apache/anyterm/anyterm-1.1.29.ebuild| 8 
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild 
b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
index b1cdf260df9..7a3008eebbd 100644
--- a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
+++ b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A terminal anywhere"
-HOMEPAGE="http://anyterm.org/;
-SRC_URI="http://anyterm.org/download/${P}.tbz2;
+HOMEPAGE="https://anyterm.org/;
+SRC_URI="https://anyterm.org/download/${P}.tbz2;
 
 LICENSE="GPL-2 Boost-1.0"
 SLOT="0"
@@ -51,5 +51,5 @@ src_install() {
 
 pkg_postinst() {
elog "To proceed with installation, read the following:"
-   elog "http://anyterm.org/1.1/install.html;
+   elog "https://anyterm.org/install.html;
 }

diff --git a/www-apache/anyterm/anyterm-1.1.29.ebuild 
b/www-apache/anyterm/anyterm-1.1.29.ebuild
index 6c15d1bb806..0c499ce28ee 100644
--- a/www-apache/anyterm/anyterm-1.1.29.ebuild
+++ b/www-apache/anyterm/anyterm-1.1.29.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="2"
@@ -6,8 +6,8 @@ EAPI="2"
 inherit eutils flag-o-matic
 
 DESCRIPTION="A terminal anywhere"
-HOMEPAGE="http://anyterm.org/;
-SRC_URI="http://anyterm.org/download/${P}.tbz2;
+HOMEPAGE="https://anyterm.org/;
+SRC_URI="https://anyterm.org/download/${P}.tbz2;
 
 LICENSE="GPL-2 Boost-1.0"
 SLOT="0"
@@ -41,5 +41,5 @@ src_install() {
 
 pkg_postinst() {
elog "To proceed installation, read following:"
-   elog "http://anyterm.org/1.1/install.html;
+   elog "https://anyterm.org/install.html;
 }



[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/files/, www-apache/anyterm/

2017-06-25 Thread David Seifert
commit: fe2b1e25018bdd29679e926562d7485c739cbc1c
Author: Peter Levine  gmail  com>
AuthorDate: Thu Jun 22 09:10:34 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 25 17:01:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2b1e25

www-apache/anyterm: Fix building with GCC-6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=594920
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4970

 www-apache/anyterm/anyterm-1.1.29-r1.ebuild|   3 +-
 www-apache/anyterm/files/anyterm-1.1.29-gcc6.patch | 146 +
 2 files changed, 148 insertions(+), 1 deletion(-)

diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild 
b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
index b3044a3f110..b1cdf260df9 100644
--- a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
+++ b/www-apache/anyterm/anyterm-1.1.29-r1.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
 
 EAPI=6
@@ -22,6 +22,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.1.28-respect-LDFLAGS.patch"
"${FILESDIR}/${P}-gcc-4.4.patch"
"${FILESDIR}/${P}-boost-1.50.patch"
+   "${FILESDIR}/${P}-gcc6.patch"
 )
 
 src_prepare() {

diff --git a/www-apache/anyterm/files/anyterm-1.1.29-gcc6.patch 
b/www-apache/anyterm/files/anyterm-1.1.29-gcc6.patch
new file mode 100644
index 000..bbd443a6271
--- /dev/null
+++ b/www-apache/anyterm/files/anyterm-1.1.29-gcc6.patch
@@ -0,0 +1,146 @@
+--- a/src/html.cc
 b/src/html.cc
+@@ -50,16 +50,16 @@
+   }
+   classes += L'i'+fg;
+ }
+-h += L"";
++h += UCS4STR("");
+ return true;
+   }
+   return false;
+ }
+ 
+-static const ucs4_char* attr_end= L"";
++static const ucs4_char* attr_end= UCS4STR("");
+ 
+-static const ucs4_char* cursor_start = L"";
+-static const ucs4_char* cursor_end   = L"";
++static const ucs4_char* cursor_start = UCS4STR("");
++static const ucs4_char* cursor_end   = UCS4STR("");
+ 
+ 
+ ucs4_string htmlify_screen(const Screen& screen)
+@@ -97,9 +97,9 @@
+ h+=cursor_start;
+   }
+ switch (ch) {
+-  case '<':  h+=L""; break;
+-  case '>':  h+=L""; break;
+-  case '&':  h+=L""; break;
++  case '<':  h+=UCS4STR(""); break;
++  case '>':  h+=UCS4STR(""); break;
++  case '&':  h+=UCS4STR(""); break;
+   case ' ':  h+=L'\u00A0'; break;
+   default:   h+=ch; break;
+ }
+@@ -111,7 +111,7 @@
+ if (styled) {
+   h+=attr_end;
+ }
+-h+=L"";
++h+=UCS4STR("");
+   }
+ 
+   return h;
+--- a/src/editscript.cc
 b/src/editscript.cc
+@@ -95,7 +95,7 @@
+   simplify_editscript(e,simp_e);
+ 
+   ucs4_string editscript;
+-  ucs4_string editscript_r = L"R";
++  ucs4_string editscript_r = UCS4STR("R");
+   bool any_common = false;
+   bool any_change = false;
+ 
+@@ -127,7 +127,7 @@
+   }
+ 
+   if (!any_change) {
+-return L"n";
++return UCS4STR("n");
+   } else if (any_common) {
+ return editscript;
+   } else {
+--- a/src/unicode.hh
 b/src/unicode.hh
+@@ -30,7 +30,16 @@
+ #define UCS4_NATIVE "UCS-4BE"
+ #endif
+ 
++// char32_t is built-in in C++11.  Pre C++11, use wchar_t.
++// Define a macro UCS4STR() to declare a string literal as L"..." or U"...".
++
++#if __cplusplus < 201100L
+ typedef wchar_t char32_t;
++#define UCS4STR(s) L##s
++#else
++#define UCS4STR(s) U##s
++#endif
++
+ typedef char32_t ucs4_char;
+ typedef std::basic_string ucs4_string;
+ 
+--- a/libpbe/include/charset/char_t.hh
 b/libpbe/include/charset/char_t.hh
+@@ -63,9 +63,15 @@
+ };
+ 
+ typedef char_t<8>::type  char8_t;
++
++#define HAVE_BUILTIN_CHAR_T __cplusplus >= 201100L
++#if ! HAVE_BUILTIN_CHAR_T
++
+ typedef char_t<16>::type char16_t;
+ typedef char_t<32>::type char32_t;
+ 
++#endif
++
+ 
+ };
+ 
+--- a/libpbe/src/generated/iso8859_tables_body.cc
 b/libpbe/src/generated/iso8859_tables_body.cc
+@@ -2,22 +2,22 @@
+   // ISO-8859-2
+   { 0x0104, 0x02D8, 0x0141, 0x00A4, 0x013D, 0x015A, 0x00A7, 0x00A8, 0x0160, 
0x015E, 0x0164, 0x0179, 0x00AD, 0x017D, 0x017B, 0x00B0, 0x0105, 0x02DB, 0x0142, 
0x00B4, 0x013E, 0x015B, 0x02C7, 0x00B8, 0x0161, 0x015F, 0x0165, 0x017A, 0x02DD, 
0x017E, 0x017C, 0x0154, 0x00C1, 0x00C2, 0x0102, 0x00C4, 0x0139, 0x0106, 0x00C7, 
0x010C, 0x00C9, 0x0118, 0x00CB, 0x011A, 0x00CD, 0x00CE, 0x010E, 0x0110, 0x0143, 
0x0147, 0x00D3, 0x00D4, 0x0150, 0x00D6, 0x00D7, 0x0158, 0x016E, 0x00DA, 0x0170, 
0x00DC, 0x00DD, 0x0162, 0x00DF, 0x0155, 0x00E1, 0x00E2, 0x0103, 0x00E4, 0x013A, 
0x0107, 0x00E7, 0x010D, 0x00E9, 0x0119, 0x00EB, 0x011B, 0x00ED, 0x00EE, 0x010F, 
0x0111, 0x0144, 0x0148, 0x00F3, 0x00F4, 0x0151, 0x00F6, 0x00F7, 0x0159, 0x016F, 
0x00FA, 0x0171, 0x00FC, 0x00FD, 0x0163, 0x02D9,},
+   // ISO-8859-3
+-  { 0x0126, 0x02D8, 0x00A3, 0x00A4, -1, 0x0124, 0x00A7, 0x00A8, 0x0130, 
0x015E, 0x011E, 0x0134, 0x00AD, -1, 0x017B, 0x00B0, 0x0127, 

[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/, www-apache/anyterm/files/

2016-04-13 Thread David Seifert
commit: 760e6538395d889c5481876a772a384fea67fdd5
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 13 20:07:16 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 13 20:07:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760e6538

www-apache/anyterm: Fix boost::system underlinking

Gentoo-Bug: 579522
* EAPI=6
* Remove unnecessary '|| die' on Gentoo helper functions
* Add missing 'toolchain-funcs' inherit
* Make all patches -p1 compliant for eapply

Package-Manager: portage-2.2.28

 www-apache/anyterm/anyterm-1.1.29-r1.ebuild| 27 +-
 .../files/anyterm-1.1.28-respect-LDFLAGS.patch |  4 ++--
 .../anyterm/files/anyterm-1.1.29-boost-1.50.patch  |  8 +++
 .../anyterm/files/anyterm-1.1.29-gcc-4.4.patch |  4 ++--
 4 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild 
b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
index 88c80e5..a627d7c 100644
--- a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
+++ b/www-apache/anyterm/anyterm-1.1.29-r1.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$
 
-EAPI="5"
+EAPI=6
 
-inherit eutils flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A terminal anywhere"
 HOMEPAGE="http://anyterm.org/;
@@ -26,25 +26,30 @@ PATCHES=(
 )
 
 src_prepare() {
-   epatch "${PATCHES[@]}"
+   default
+
+   # Fix underlinking issue caused by recent boost versions
+   # depending on boost::system, Gentoo bug #579522
+   sed -e 's/\($(CXX) -o $@ $(LDFLAGS) $(OBJS) $(BLOBS) $(LINK_FLAGS)\)/\1 
-lboost_system/' \
+   -i common.mk || die
 }
 
 src_compile() {
# this package uses `ld -r -b binary` and thus resulting executable 
contains
# executable stack
append-ldflags -Wl,-z,noexecstack
-   emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
+   emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
 }
 
 src_install() {
-   dosbin anytermd || die
-   dodoc CHANGELOG README || die
-   doman anytermd.1 || die
-   newinitd "${FILESDIR}/anyterm.init.d" anyterm || die
-   newconfd "${FILESDIR}/anyterm.conf.d" anyterm || die
+   dosbin anytermd
+   dodoc CHANGELOG README
+   doman anytermd.1
+   newinitd "${FILESDIR}/anyterm.init.d" anyterm
+   newconfd "${FILESDIR}/anyterm.conf.d" anyterm
 }
 
 pkg_postinst() {
-   elog "To proceed installation, read following:"
+   elog "To proceed with installation, read the following:"
elog "http://anyterm.org/1.1/install.html;
 }

diff --git a/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch 
b/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch
index 25a12e7..ef27604 100644
--- a/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch
+++ b/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch
@@ -1,6 +1,6 @@
 === modified file 'common.mk'
 common.mk  2009-01-24 12:40:55 +
-+++ common.mk  2009-01-24 14:02:19 +
+--- anyterm-1.1.29/common.mk   2009-01-24 12:40:55 +
 anyterm-1.1.29/common.mk   2009-01-24 14:02:19 +
 @@ -71,7 +71,7 @@
  OBJS=$(addsuffix .o,$(notdir $(basename $(CC_SRCS
  

diff --git a/www-apache/anyterm/files/anyterm-1.1.29-boost-1.50.patch 
b/www-apache/anyterm/files/anyterm-1.1.29-boost-1.50.patch
index b0648a9..c335724 100644
--- a/www-apache/anyterm/files/anyterm-1.1.29-boost-1.50.patch
+++ b/www-apache/anyterm/files/anyterm-1.1.29-boost-1.50.patch
@@ -1,7 +1,7 @@
 Patch by Arfrever; sent to upstream developer.
 
 libpbe/src/parse_http_request.cc
-+++ libpbe/src/parse_http_request.cc
+--- anyterm-1.1.29/libpbe/src/parse_http_request.cc
 anyterm-1.1.29/libpbe/src/parse_http_request.cc
 @@ -18,11 +18,11 @@
  
  #include "parse_http_request.hh"
@@ -28,8 +28,8 @@ Patch by Arfrever; sent to upstream developer.
  
  
  namespace pbe {
 libpbe/src/URI.cc
-+++ libpbe/src/URI.cc
+--- anyterm-1.1.29/libpbe/src/URI.cc
 anyterm-1.1.29/libpbe/src/URI.cc
 @@ -18,11 +18,11 @@
  
  #include "URI.hh"

diff --git a/www-apache/anyterm/files/anyterm-1.1.29-gcc-4.4.patch 
b/www-apache/anyterm/files/anyterm-1.1.29-gcc-4.4.patch
index 3809f5a..c6fd2e6 100644
--- a/www-apache/anyterm/files/anyterm-1.1.29-gcc-4.4.patch
+++ b/www-apache/anyterm/files/anyterm-1.1.29-gcc-4.4.patch
@@ -1,5 +1,5 @@
 libpbe/src/SmtpClient.cc
-+++ libpbe/src/SmtpClient.cc
+--- anyterm-1.1.29/libpbe/src/SmtpClient.cc
 anyterm-1.1.29/libpbe/src/SmtpClient.cc
 @@ -20,6 +20,7 @@
  #include "ip.hh"
  #include "select.hh"



[gentoo-commits] repo/gentoo:master commit in: www-apache/anyterm/

2015-11-07 Thread Patrice Clement
commit: d51ff1b1847d8b1960cee3382e4d3becbb73e4b5
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Nov  7 14:01:05 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Nov  7 14:53:08 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d51ff1b1

www-apache/anyterm: EAPI 5 bump.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement  gentoo.org>

 www-apache/anyterm/anyterm-1.1.29-r1.ebuild | 50 +
 1 file changed, 50 insertions(+)

diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild 
b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
new file mode 100644
index 000..88c80e5
--- /dev/null
+++ b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="A terminal anywhere"
+HOMEPAGE="http://anyterm.org/;
+SRC_URI="http://anyterm.org/download/${P}.tbz2;
+
+LICENSE="GPL-2 Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/ssh"
+DEPEND="${RDEPEND}
+   >=dev-libs/boost-1.34.1"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.1.28-respect-LDFLAGS.patch"
+   "${FILESDIR}/${P}-gcc-4.4.patch"
+   "${FILESDIR}/${P}-boost-1.50.patch"
+)
+
+src_prepare() {
+   epatch "${PATCHES[@]}"
+}
+
+src_compile() {
+   # this package uses `ld -r -b binary` and thus resulting executable 
contains
+   # executable stack
+   append-ldflags -Wl,-z,noexecstack
+   emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
+}
+
+src_install() {
+   dosbin anytermd || die
+   dodoc CHANGELOG README || die
+   doman anytermd.1 || die
+   newinitd "${FILESDIR}/anyterm.init.d" anyterm || die
+   newconfd "${FILESDIR}/anyterm.conf.d" anyterm || die
+}
+
+pkg_postinst() {
+   elog "To proceed installation, read following:"
+   elog "http://anyterm.org/1.1/install.html;
+}