1 |
chithanh 10/02/28 21:14:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: siproxd-0.8.0.ebuild |
5 |
Log: |
6 |
siproxd-0.8.0 version bump |
7 |
(Portage version: 2.2_rc63/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.14 net-misc/siproxd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/siproxd/ChangeLog?rev=1.14&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/siproxd/ChangeLog?rev=1.14&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/siproxd/ChangeLog?r1=1.13&r2=1.14 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v |
19 |
retrieving revision 1.13 |
20 |
retrieving revision 1.14 |
21 |
diff -u -r1.13 -r1.14 |
22 |
--- ChangeLog 1 Mar 2009 02:32:31 -0000 1.13 |
23 |
+++ ChangeLog 28 Feb 2010 21:14:02 -0000 1.14 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/siproxd |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v 1.13 2009/03/01 02:32:31 darkside Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v 1.14 2010/02/28 21:14:02 chithanh Exp $ |
30 |
+ |
31 |
+*siproxd-0.8.0 (28 Feb 2010) |
32 |
+ |
33 |
+ 28 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
34 |
+ +siproxd-0.8.0.ebuild: |
35 |
+ version bump for bug #299419 and bug #303697 |
36 |
|
37 |
*siproxd-0.7.1 (01 Mar 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/siproxd/siproxd-0.8.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/siproxd/siproxd-0.8.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/siproxd/siproxd-0.8.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: siproxd-0.8.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/siproxd-0.8.0.ebuild,v 1.1 2010/02/28 21:14:02 chithanh Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="A proxy/masquerading daemon for the SIP protocol" |
58 |
HOMEPAGE="http://siproxd.sourceforge.net/" |
59 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="examples doc static" |
65 |
# TODO: debug can be used but dmalloc is breaking the build |
66 |
# upstream has been contacted, see bug 2649238 in their bugtracker |
67 |
|
68 |
RDEPEND=">=net-libs/libosip-3.0.0" |
69 |
# debug? ( dev-libs/dmalloc[threads] )" |
70 |
DEPEND="${RDEPEND} |
71 |
doc? ( app-text/docbook-sgml-utils |
72 |
app-text/docbook-sgml-dtd:4.2 )" |
73 |
# docbook-sgml-utils is for building doc |
74 |
# docbook-sgml-dtd is for the doc dtd even if docbook-sgml-utils depends on it |
75 |
|
76 |
pkg_setup() { |
77 |
enewgroup siproxd |
78 |
enewuser siproxd -1 -1 /dev/null siproxd |
79 |
} |
80 |
|
81 |
src_prepare() { |
82 |
# make the daemon run as user 'siproxd' by default |
83 |
sed -i -e "s:nobody:siproxd:" doc/siproxd.conf.example \ |
84 |
|| die "patching doc/siproxd.conf.example failed" |
85 |
# do not fail when building with external libltdl |
86 |
sed -i 's/libltdl //' Makefile.in Makefile.am || die "patching Makefile failed" |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
# static-libosip2 make it link statically against libosip2 |
91 |
# static build static version of plugins, forced to true |
92 |
econf \ |
93 |
$(use_enable doc) \ |
94 |
$(use_enable static static-libosip2) \ |
95 |
--enable-static |
96 |
#$(use debug && use_enable debug dmalloc) \ |
97 |
|
98 |
# statically linked plugins to libosip2 causes a shared lib linking with |
99 |
# static lib (gcc seems not to like it : portable issue it says). |
100 |
# there was also DT_TEXREL issue and stripping of static plugins failed |
101 |
# so shared lib has to be used for plugins |
102 |
# upstream has been contacted, see bug 2649351 in their bugtracker |
103 |
if use static; then |
104 |
sed -i -r -e \ |
105 |
"s:LIBS =(.*)( \/[^ ]*libosip[^ ]*\.a)( \/[^ ]*libosip[^ ]*\.a)(.*):LIBS_STATIC =\1\2\3\4\nLIBS = \1\4 -losip2 -losipparser2:" \ |
106 |
src/Makefile || die "patching src/Makefile failed" |
107 |
sed -i -e \ |
108 |
"s:\$(siproxd_LDADD) \$(LIBS):\$(siproxd_LDADD) \$(LIBS_STATIC):" \ |
109 |
src/Makefile || die "patching src/Makefile failed" |
110 |
fi |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
einstall || die "einstall failed" |
115 |
|
116 |
newinitd "${FILESDIR}"/${PN}.rc6 ${PN} || die "newinitd failed" |
117 |
|
118 |
dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO \ |
119 |
doc/FAQ doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS \ |
120 |
|| die "dodoc failed" |
121 |
|
122 |
if use doc; then |
123 |
dodoc doc/RFC3261_compliance.txt || die "dodoc failed" |
124 |
# auto-generated doc is not auto-installed |
125 |
# upstream has been contacted, see bug 2649333 in their bugtracker |
126 |
dohtml -r doc/html/ || die "dohtml failed" |
127 |
# pdf is not build all the time |
128 |
if built_with_use app-text/docbook-sgml-utils jadetex; then |
129 |
dodoc doc/pdf/*.pdf || die "dodoc failed" |
130 |
fi |
131 |
fi |
132 |
|
133 |
if use examples; then |
134 |
docinto examples |
135 |
dodoc doc/sample_*.txt || die "dodoc failed" |
136 |
fi |
137 |
|
138 |
# set up siproxd directories |
139 |
keepdir /var/{lib,run}/${PN} || die "keepdir failed" |
140 |
fowners siproxd:siproxd /var/{lib,run}/${PN} || die "fowners failed" |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
if use static; then |
145 |
elog "static USE flag does not build a _fully_ statically linked binary" |
146 |
elog "only libosip2 and libosipparser2 are statically linked" |
147 |
elog "In addition, plugins are dynamically linked with those libs" |
148 |
fi |
149 |
} |