Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librelp/, dev-libs/librelp/files/
Date: Sun, 26 Feb 2017 14:11:18
Message-Id: 1488118256.3e1f2442d42c77ed3cedd4c2e2d2c4dd8ebabfc2.whissi@gentoo
1 commit: 3e1f2442d42c77ed3cedd4c2e2d2c4dd8ebabfc2
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 13:56:34 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 14:10:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1f2442
7
8 dev-libs/librelp: Drop old versions for cleanup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-libs/librelp/Manifest | 2 -
13 ...elp-1.2.7-prevent-segfault-with-keepalive.patch | 32 -------------
14 dev-libs/librelp/librelp-1.2.10.ebuild | 56 ----------------------
15 dev-libs/librelp/librelp-1.2.7-r1.ebuild | 44 -----------------
16 4 files changed, 134 deletions(-)
17
18 diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest
19 index 9ff74e1e1b..e8395147e0 100644
20 --- a/dev-libs/librelp/Manifest
21 +++ b/dev-libs/librelp/Manifest
22 @@ -1,3 +1 @@
23 -DIST librelp-1.2.10.tar.gz 415653 SHA256 6c80eed5e29061d2cce35408ae43ddaee354edc27c1076eabec6da4eaecdcc72 SHA512 09f88daa59711449a50b9414f30bc7a217bf3dd7722af53caee024bfe1060e1749f1083d2965c79cbe3c12819359cd3cc262e9dea8ab5ad7bf275f3b61ca907f WHIRLPOOL fd9ec0af4769df65d9631faf0b5739f10b50d55b7ba60bb42f4a41a46bc1e1cf7fbda58b2c3b1fd1f0f7fff3d41ffc0c9cd52d243a599be033c2a5e118db8ca1
24 DIST librelp-1.2.12.tar.gz 437945 SHA256 0355730524f7b20bed1b85697296b6ce57ac593ddc8dddcdca263da71dee7bd7 SHA512 bfc38882404e06c047bdabd203d71beba67bc5a717d2d6733863f15f0a3a09b4a792a628a1653c102c828fde7ff67cc8ade637de785399ab48a68605b23a72ed WHIRLPOOL 0d3193b3f0f21e940793df0f2c53bb46944c1fbfe4f7aee8b0ecbaead3053185f981a695eaae65d6ea1581ea4a8011e83e2ffff0436ab15bdd4f82b9a012f9a3
25 -DIST librelp-1.2.7.tar.gz 410896 SHA256 3a434a1c71772706104cfb1c93ba8e6809d257851d60de29ac2142c60c68d7d1 SHA512 f8a71ad037cb5eaeb807b1bcb942893e2d10bcd57b18764bb13700c8e114d59de37b1b36560288abac18a07b6cb2920b46feaef4ae629aa0b3478ed16723542a WHIRLPOOL 784f291d0318b29be33bcd4bdd41e04c2e0fc8f292c6cb7f5985743559aa65f3c10932680f943e065ebf34e3f62c75bf2ed5500aebe0b7ab2fa7e64ced37cc44
26
27 diff --git a/dev-libs/librelp/files/librelp-1.2.7-prevent-segfault-with-keepalive.patch b/dev-libs/librelp/files/librelp-1.2.7-prevent-segfault-with-keepalive.patch
28 deleted file mode 100644
29 index 2f9803d0d8..0000000000
30 --- a/dev-libs/librelp/files/librelp-1.2.7-prevent-segfault-with-keepalive.patch
31 +++ /dev/null
32 @@ -1,32 +0,0 @@
33 -From 0ca7f807958e8365b2fd2f3fd833814c83594bdc Mon Sep 17 00:00:00 2001
34 -From: Tomas Heinrich <theinric@××××××.com>
35 -Date: Sun, 1 Jun 2014 16:44:59 +0200
36 -Subject: [PATCH] Reorder code, prevent access of uninitialized data
37 -
38 ----
39 - src/tcp.c | 6 +++---
40 - 1 file changed, 3 insertions(+), 3 deletions(-)
41 -
42 -diff --git a/src/tcp.c b/src/tcp.c
43 -index 1e0fd11..e21db51 100644
44 ---- a/src/tcp.c
45 -+++ b/src/tcp.c
46 -@@ -713,12 +713,12 @@ relpTcpAcceptConnReq(relpTcp_t **ppThis, int sock, relpSrv_t *pSrv)
47 - ABORT_FINALIZE(RELP_RET_ACCEPT_ERR);
48 - }
49 -
50 -- if(pSrv->bKeepAlive)
51 -- EnableKeepAlive(pThis, pSrv, iNewSock);
52 --
53 - /* construct our object so that we can use it... */
54 - CHKRet(relpTcpConstruct(&pThis, pEngine, RELP_SRV_CONN, pSrv));
55 -
56 -+ if(pSrv->bKeepAlive)
57 -+ EnableKeepAlive(pThis, pSrv, iNewSock);
58 -+
59 - /* TODO: obtain hostname, normalize (callback?), save it */
60 - CHKRet(relpTcpSetRemHost(pThis, (struct sockaddr*) &addr));
61 - pThis->pEngine->dbgprint("remote host is '%s', ip '%s'\n", pThis->pRemHostName, pThis->pRemHostIP);
62 ---
63 -1.9.3
64 -
65
66 diff --git a/dev-libs/librelp/librelp-1.2.10.ebuild b/dev-libs/librelp/librelp-1.2.10.ebuild
67 deleted file mode 100644
68 index 6acb0c7953..0000000000
69 --- a/dev-libs/librelp/librelp-1.2.10.ebuild
70 +++ /dev/null
71 @@ -1,56 +0,0 @@
72 -# Copyright 1999-2016 Gentoo Foundation
73 -# Distributed under the terms of the GNU General Public License v2
74 -# $Id$
75 -
76 -EAPI=6
77 -
78 -inherit autotools
79 -
80 -DESCRIPTION="An easy to use library for the RELP protocol"
81 -HOMEPAGE="http://www.librelp.com/"
82 -SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
83 -
84 -LICENSE="GPL-3+ doc? ( FDL-1.3 )"
85 -
86 -# subslot = soname version
87 -SLOT="0/0.1.0"
88 -
89 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
90 -IUSE="debug doc +ssl static-libs"
91 -
92 -RDEPEND="
93 - ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
94 -"
95 -
96 -DEPEND="
97 - ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
98 - virtual/pkgconfig
99 -"
100 -
101 -src_prepare() {
102 - sed -i \
103 - -e 's/ -g"/"/g' \
104 - configure.ac || die "sed failed"
105 -
106 - default
107 -
108 - eautoreconf
109 -}
110 -
111 -src_configure() {
112 - local myeconfargs=(
113 - $(use_enable debug)
114 - $(use_enable ssl tls)
115 - $(use_enable static-libs static)
116 - )
117 -
118 - econf "${myeconfargs[@]}"
119 -}
120 -
121 -src_install() {
122 - local DOCS=( ChangeLog )
123 - use doc && local HTML_DOCS=( doc/relp.html )
124 - default
125 -
126 - find "${ED}"usr/lib* -name '*.la' -delete || die
127 -}
128
129 diff --git a/dev-libs/librelp/librelp-1.2.7-r1.ebuild b/dev-libs/librelp/librelp-1.2.7-r1.ebuild
130 deleted file mode 100644
131 index 497f4c9257..0000000000
132 --- a/dev-libs/librelp/librelp-1.2.7-r1.ebuild
133 +++ /dev/null
134 @@ -1,44 +0,0 @@
135 -# Copyright 1999-2016 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -# $Id$
138 -
139 -EAPI=5
140 -
141 -inherit autotools-utils
142 -
143 -DESCRIPTION="An easy to use library for the RELP protocol"
144 -HOMEPAGE="http://www.librelp.com/"
145 -SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
146 -
147 -LICENSE="GPL-3+ doc? ( FDL-1.3 )"
148 -SLOT="0"
149 -KEYWORDS="amd64 ~arm hppa ~sparc x86"
150 -IUSE="debug doc +ssl static-libs"
151 -
152 -RDEPEND="
153 - ssl? ( >=net-libs/gnutls-2.12.23-r1 )
154 -"
155 -
156 -DEPEND="
157 - >=net-libs/gnutls-2.12.23-r1
158 - virtual/pkgconfig
159 -"
160 -
161 -AUTOTOOLS_IN_SOURCE_BUILD=1
162 -
163 -PATCHES=( "${FILESDIR}/${P}-prevent-segfault-with-keepalive.patch" )
164 -
165 -src_configure() {
166 - # gnutls-headers are always required (in src/tcp.h) despite the flag, bug #513754
167 - local myeconfargs=(
168 - $(use_enable debug)
169 - $(use_enable ssl tls)
170 - )
171 -
172 - autotools-utils_src_configure
173 -}
174 -
175 -src_install() {
176 - use doc && HTML_DOCS=( doc/relp.html )
177 - autotools-utils_src_install
178 -}