Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/siproxd/
Date: Wed, 04 May 2016 01:02:48
Message-Id: 1462322928.002d11e0f28a1b6b55d5ed71e6b07da43d9901aa.wizardedit@gentoo
1 commit: 002d11e0f28a1b6b55d5ed71e6b07da43d9901aa
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:48:48 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:48:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002d11e0
7
8 net-misc/siproxd: remove old versions
9
10 Package-Manager: portage-2.2.26
11
12 net-misc/siproxd/siproxd-0.8.0-r2.ebuild | 108 ------------------------------
13 net-misc/siproxd/siproxd-0.8.1-r1.ebuild | 110 -------------------------------
14 2 files changed, 218 deletions(-)
15
16 diff --git a/net-misc/siproxd/siproxd-0.8.0-r2.ebuild b/net-misc/siproxd/siproxd-0.8.0-r2.ebuild
17 deleted file mode 100644
18 index 3d507c8..0000000
19 --- a/net-misc/siproxd/siproxd-0.8.0-r2.ebuild
20 +++ /dev/null
21 @@ -1,108 +0,0 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI="2"
27 -
28 -inherit eutils autotools user
29 -
30 -DESCRIPTION="A proxy/masquerading daemon for the SIP protocol"
31 -HOMEPAGE="http://siproxd.sourceforge.net/"
32 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
33 -
34 -LICENSE="GPL-2"
35 -SLOT="0"
36 -KEYWORDS="amd64 x86"
37 -IUSE="examples doc static"
38 -# TODO: debug can be used but dmalloc is breaking the build
39 -# upstream has been contacted, see bug 2649238 in their bugtracker
40 -
41 -RDEPEND=">=net-libs/libosip-3.0.0
42 - <net-libs/libosip-4.0.0"
43 -# debug? ( dev-libs/dmalloc[threads] )"
44 -DEPEND="${RDEPEND}
45 - >=sys-devel/libtool-2.4
46 - doc? ( app-text/docbook-sgml-utils
47 - app-text/docbook-sgml-dtd:4.2 )"
48 -# docbook-sgml-utils is for building doc
49 -# docbook-sgml-dtd is for the doc dtd even if docbook-sgml-utils depends on it
50 -
51 -pkg_setup() {
52 - enewgroup siproxd
53 - enewuser siproxd -1 -1 /dev/null siproxd
54 -}
55 -
56 -src_prepare() {
57 - # make the daemon run as user 'siproxd' by default
58 - sed -i -e "s:nobody:siproxd:" doc/siproxd.conf.example \
59 - || die "patching doc/siproxd.conf.example failed"
60 - # do not fail when building with external libltdl
61 - sed -i 's/libltdl //' Makefile.am || die "patching Makefile failed"
62 - epatch "${FILESDIR}/${PN}-libtool-2.4.patch"
63 - # do not crash when building with external libltdl, bug 308495
64 - sed -i 's|"../libltdl/ltdl.h"|<ltdl.h>|' src/plugins.h || die "patching plugins.h failed"
65 -
66 - eautoreconf
67 -}
68 -
69 -src_configure() {
70 - # static-libosip2 make it link statically against libosip2
71 - # static build static version of plugins, forced to true
72 - econf \
73 - $(use_enable doc) \
74 - $(use_enable static static-libosip2) \
75 - --enable-static
76 - #$(use debug && use_enable debug dmalloc) \
77 -
78 - # statically linked plugins to libosip2 causes a shared lib linking with
79 - # static lib (gcc seems not to like it : portable issue it says).
80 - # there was also DT_TEXREL issue and stripping of static plugins failed
81 - # so shared lib has to be used for plugins
82 - # upstream has been contacted, see bug 2649351 in their bugtracker
83 - if use static; then
84 - sed -i -r -e \
85 - "s:LIBS =(.*)( \/[^ ]*libosip[^ ]*\.a)( \/[^ ]*libosip[^ ]*\.a)(.*):LIBS_STATIC =\1\2\3\4\nLIBS = \1\4 -losip2 -losipparser2:" \
86 - src/Makefile || die "patching src/Makefile failed"
87 - sed -i -e \
88 - "s:\$(siproxd_LDADD) \$(LIBS):\$(siproxd_LDADD) \$(LIBS_STATIC):" \
89 - src/Makefile || die "patching src/Makefile failed"
90 - fi
91 -}
92 -
93 -src_install() {
94 - einstall || die "einstall failed"
95 -
96 - newinitd "${FILESDIR}"/${PN}.rc6 ${PN} || die "newinitd failed"
97 -
98 - dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO \
99 - doc/FAQ doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS \
100 - || die "dodoc failed"
101 -
102 - if use doc; then
103 - dodoc doc/RFC3261_compliance.txt || die "dodoc failed"
104 - # auto-generated doc is not auto-installed
105 - # upstream has been contacted, see bug 2649333 in their bugtracker
106 - dohtml -r doc/html/ || die "dohtml failed"
107 - # pdf is not build all the time
108 - if has_version app-text/docbook-sgml-utils[jadetex]; then
109 - dodoc doc/pdf/*.pdf || die "dodoc failed"
110 - fi
111 - fi
112 -
113 - if use examples; then
114 - docinto examples
115 - dodoc doc/sample_*.txt || die "dodoc failed"
116 - fi
117 -
118 - # set up siproxd directories
119 - keepdir /var/{lib,run}/${PN} || die "keepdir failed"
120 - fowners siproxd:siproxd /var/{lib,run}/${PN} || die "fowners failed"
121 -}
122 -
123 -pkg_postinst() {
124 - if use static; then
125 - elog "static USE flag does not build a _fully_ statically linked binary"
126 - elog "only libosip2 and libosipparser2 are statically linked"
127 - elog "In addition, plugins are dynamically linked with those libs"
128 - fi
129 -}
130
131 diff --git a/net-misc/siproxd/siproxd-0.8.1-r1.ebuild b/net-misc/siproxd/siproxd-0.8.1-r1.ebuild
132 deleted file mode 100644
133 index 80f74e5..0000000
134 --- a/net-misc/siproxd/siproxd-0.8.1-r1.ebuild
135 +++ /dev/null
136 @@ -1,110 +0,0 @@
137 -# Copyright 1999-2014 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -# $Id$
140 -
141 -EAPI=5
142 -
143 -inherit eutils autotools user
144 -
145 -DESCRIPTION="A proxy/masquerading daemon for the SIP protocol"
146 -HOMEPAGE="http://siproxd.sourceforge.net/"
147 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
148 -
149 -LICENSE="GPL-2"
150 -SLOT="0"
151 -KEYWORDS="~amd64 ~x86"
152 -IUSE="examples doc static"
153 -# TODO: debug can be used but dmalloc is breaking the build
154 -# upstream has been contacted, see bug 2649238 in their bugtracker
155 -
156 -RDEPEND=">=net-libs/libosip-3.0.0
157 - <net-libs/libosip-4.0.0"
158 -# debug? ( dev-libs/dmalloc[threads] )"
159 -DEPEND="${RDEPEND}
160 - >=sys-devel/libtool-2.4
161 - doc? ( app-text/docbook-sgml-utils
162 - app-text/docbook-sgml-dtd:4.2 )"
163 -# docbook-sgml-utils is for building doc
164 -# docbook-sgml-dtd is for the doc dtd even if docbook-sgml-utils depends on it
165 -
166 -pkg_setup() {
167 - enewgroup siproxd
168 - enewuser siproxd -1 -1 /dev/null siproxd
169 -}
170 -
171 -src_prepare() {
172 - # make the daemon run as user 'siproxd' by default
173 - sed -i -e "s:nobody:siproxd:" doc/siproxd.conf.example \
174 - || die "patching doc/siproxd.conf.example failed"
175 - # do not fail when building with external libltdl
176 - sed -i 's/libltdl //' Makefile.am || die "patching Makefile failed"
177 - epatch "${FILESDIR}/${PN}-libtool-2.4.patch"
178 - # do not crash when building with external libltdl, bug 308495
179 - sed -i 's|"../libltdl/ltdl.h"|<ltdl.h>|' src/plugins.h || die "patching plugins.h failed"
180 -
181 - epatch "${FILESDIR}/${PN}-0.8.1-amd64_static_build.patch" #380835
182 -
183 - eautoreconf
184 -}
185 -
186 -src_configure() {
187 - # static-libosip2 make it link statically against libosip2
188 - # static build static version of plugins, forced to true
189 - econf \
190 - $(use_enable doc) \
191 - $(use_enable static static-libosip2) \
192 - $(use_enable !static shared) \
193 - --enable-static
194 - #$(use debug && use_enable debug dmalloc) \
195 -
196 - # statically linked plugins to libosip2 causes a shared lib linking with
197 - # static lib (gcc seems not to like it : portable issue it says).
198 - # there was also DT_TEXREL issue and stripping of static plugins failed
199 - # so shared lib has to be used for plugins
200 - # upstream has been contacted, see bug 2649351 in their bugtracker
201 - if use static; then
202 - sed -i -r -e \
203 - "s:LIBS =(.*)( \/[^ ]*libosip[^ ]*\.a)( \/[^ ]*libosip[^ ]*\.a)(.*):LIBS_STATIC =\1\2\3\4\nLIBS = \1\4 -losip2 -losipparser2:" \
204 - src/Makefile || die "patching src/Makefile failed"
205 - sed -i -e \
206 - "s:\$(siproxd_LDADD) \$(LIBS):\$(siproxd_LDADD) \$(LIBS_STATIC):" \
207 - src/Makefile || die "patching src/Makefile failed"
208 - fi
209 -}
210 -
211 -src_install() {
212 - default
213 -
214 - newinitd "${FILESDIR}"/${PN}.rc8 ${PN}
215 -
216 - dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO \
217 - doc/FAQ doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS
218 -
219 - if use doc; then
220 - dodoc doc/RFC3261_compliance.txt
221 - # auto-generated doc is not auto-installed
222 - # upstream has been contacted, see bug 2649333 in their bugtracker
223 - dohtml -r doc/html/
224 - # pdf is not build all the time
225 - if has_version 'app-text/docbook-sgml-utils[jadetex]' ; then
226 - dodoc doc/pdf/*.pdf
227 - fi
228 - fi
229 -
230 - if use examples; then
231 - docinto examples
232 - dodoc doc/sample_*.txt
233 - fi
234 -
235 - # set up siproxd directories
236 - keepdir /var/lib/${PN}
237 - fowners siproxd:siproxd /var/lib/${PN}
238 -}
239 -
240 -pkg_postinst() {
241 - if use static; then
242 - elog "static USE flag does not build a _fully_ statically linked binary"
243 - elog "only libosip2 and libosipparser2 are statically linked"
244 - elog "In addition, plugins are dynamically linked with those libs"
245 - fi
246 -}