summaryrefslogtreecommitdiff
path: root/net-analyzer/tcpreen
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/tcpreen')
-rw-r--r--net-analyzer/tcpreen/Manifest3
-rw-r--r--net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch13
-rw-r--r--net-analyzer/tcpreen/tcpreen-1.4.4.ebuild13
3 files changed, 23 insertions, 6 deletions
diff --git a/net-analyzer/tcpreen/Manifest b/net-analyzer/tcpreen/Manifest
index 017587768d0f..f29322512b45 100644
--- a/net-analyzer/tcpreen/Manifest
+++ b/net-analyzer/tcpreen/Manifest
@@ -1,3 +1,4 @@
+AUX tcpreen-1.4.4-literal-suffix.patch 498 BLAKE2B 3380254c7dcb97958ec8ddeb9aa2e93fac39643088dd6b5daf686b657764bd8e9cbac442c3b6e2084ae75ca1286ab78e4fe5df3689d08e3eecdbcdf8c6660e0e SHA512 542de59ab2129093b2e4dd56d370e595a82f54eea70c70f764c7f1aced308864f4f594dde37575ec64076d9da76fd7ecf7fd8bf7fb7572c1b978160f220b14c6
DIST tcpreen-1.4.4.tar.bz2 187979 BLAKE2B ef76c7757c5e630a8b0019ede74314bdf7b0e1e48af00091c8b1a28075499b1e0411b5a7ff8bd01bd54ebb347dfc2169b5efe54d36ef12e6ce31f54c4d278d70 SHA512 94496bbb21218b5acc9e76dd4377f92e35b17e03a2d10a7c42177ba5ccbb6aea1b0b54f49d52c5a97456f8cf77685e1c90c27773f4237c33e95f648d4258b786
-EBUILD tcpreen-1.4.4.ebuild 523 BLAKE2B a38a2ec393aab6a888c709f3590d448e07296af1c430b16c5661d2f2e91da66d543fa37d1386cec34a0c835779de6fdd448bc1807a226f0e45b3d12024aeec00 SHA512 16b80817ab65fd0e627de74d7b062675adb155719784477fbde4872b2af1af7f05d32666f5abcb4e43b0cc62067de8c72dce16922552639fa996152f29f180fc
+EBUILD tcpreen-1.4.4.ebuild 577 BLAKE2B 5bf67b5375465141fd8d6d393655ab483555d393d834337efd0b8c180fd5d6ec320d7b4943ad83b9baad1991120972b4d23091aa9a08ff9b4562f2eaf27b2fcf SHA512 5445c292d9145776236b227e5d98a7c8f03034a2501c8f6a851475745d7fa55920cea723e3813d47a47caa208fb6ccc275b9db675c2b3f32cc8756321e0ce1f3
MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250
diff --git a/net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch b/net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch
new file mode 100644
index 000000000000..1808a54f8875
--- /dev/null
+++ b/net-analyzer/tcpreen/files/tcpreen-1.4.4-literal-suffix.patch
@@ -0,0 +1,13 @@
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -108,8 +108,8 @@
+ # define VERSION "unknown version"
+ #endif
+ puts (
+-"TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n"
+-" built "__DATE__" on "PACKAGE_BUILD_HOSTNAME" ("PACKAGE_BUILD")\n"
++"TCP re-engineering tool " VERSION " (" PACKAGE_HOST ")\n"
++" built " __DATE__ " on " PACKAGE_BUILD_HOSTNAME " (" PACKAGE_BUILD ")\n"
+ "Copyright (C) 2002-2004 Remi Denis-Courmont");
+ puts (_(
+ "This is free software; see the source for copying conditions.\n"
diff --git a/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild b/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild
index a2cc20e37a9d..4a5d1fc11656 100644
--- a/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild
+++ b/net-analyzer/tcpreen/tcpreen-1.4.4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit toolchain-funcs
DESCRIPTION="TCP network re-engineering tool"
@@ -12,10 +12,13 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="nls"
-
-DEPEND="nls? ( sys-devel/gettext )"
-
+DEPEND="
+ nls? ( sys-devel/gettext )
+"
DOCS=( AUTHORS NEWS README THANKS TODO )
+PATCHES=(
+ "${FILESDIR}"/${P}-literal-suffix.patch
+)
src_configure() {
econf $(use_enable nls)