1 |
chithanh 13/03/06 02:09:40 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: gnugk-3.2.2.ebuild |
5 |
Removed: gnugk-2.2.5.ebuild |
6 |
Log: |
7 |
Version bump. Fixes bug #290067 and security bug #432756. |
8 |
|
9 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 net-voip/gnugk/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/metadata.xml?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/metadata.xml?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/metadata.xml?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-voip/gnugk/metadata.xml,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- metadata.xml 16 Aug 2008 16:22:29 -0000 1.2 |
25 |
+++ metadata.xml 6 Mar 2013 02:09:40 -0000 1.3 |
26 |
@@ -2,4 +2,7 @@ |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
<herd>voip</herd> |
30 |
+ <use> |
31 |
+ <flag name="ssh">Enable support for SSH port forwarding using <pkg>net-libs/libssh</pkg></flag> |
32 |
+ </use> |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.10 net-voip/gnugk/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/ChangeLog?rev=1.10&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/ChangeLog?rev=1.10&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/ChangeLog?r1=1.9&r2=1.10 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v |
46 |
retrieving revision 1.9 |
47 |
retrieving revision 1.10 |
48 |
diff -u -r1.9 -r1.10 |
49 |
--- ChangeLog 17 Jun 2010 20:58:55 -0000 1.9 |
50 |
+++ ChangeLog 6 Mar 2013 02:09:40 -0000 1.10 |
51 |
@@ -1,6 +1,14 @@ |
52 |
# ChangeLog for net-voip/gnugk |
53 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.9 2010/06/17 20:58:55 patrick Exp $ |
55 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.10 2013/03/06 02:09:40 chithanh Exp $ |
57 |
+ |
58 |
+*gnugk-3.2.2 (06 Mar 2013) |
59 |
+ |
60 |
+ 06 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
61 |
+ +files/gnugk-3.2.2-h323plus-buildopts.patch, |
62 |
+ +files/gnugk-3.2.2-lua.cxx-toolkit_h.patch, +files/gnugk-3.2.2-ptrace.patch, |
63 |
+ +gnugk-3.2.2.ebuild, -gnugk-2.2.5.ebuild, metadata.xml: |
64 |
+ Version bump. Fixes bug #290067 and security bug #432756. |
65 |
|
66 |
17 Jun 2010; Patrick Lauer <patrick@g.o> gnugk-2.2.5.ebuild, |
67 |
gnugk-2.2.7.ebuild, gnugk-2.2.8.ebuild: |
68 |
@@ -85,4 +93,3 @@ |
69 |
metadata.xml, files/gnugk-2.0.6-gentoo.diff, files/gnugk.confd, |
70 |
files/gnugk.rc6: |
71 |
initial import. |
72 |
- |
73 |
|
74 |
|
75 |
|
76 |
1.1 net-voip/gnugk/gnugk-3.2.2.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/gnugk-3.2.2.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/gnugk-3.2.2.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: gnugk-3.2.2.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2013 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/gnugk-3.2.2.ebuild,v 1.1 2013/03/06 02:09:40 chithanh Exp $ |
86 |
|
87 |
EAPI="5" |
88 |
|
89 |
inherit eutils versionator |
90 |
|
91 |
MY_P1=${PN}-$(replace_version_separator 2 -) |
92 |
MY_P2=${PN}-$(get_version_component_range 1-2) |
93 |
|
94 |
DESCRIPTION="GNU H.323 gatekeeper" |
95 |
HOMEPAGE="http://www.gnugk.org/" |
96 |
SRC_URI="mirror://sourceforge/openh323gk/${MY_P1}.tar.gz" |
97 |
|
98 |
LICENSE="GPL-2" |
99 |
SLOT="0" |
100 |
# dev-db/firebird isn't keyworded for ppc but firebird IUSE is masked for ppc |
101 |
KEYWORDS="~amd64 ~ppc ~x86" |
102 |
IUSE="doc firebird lua mysql odbc postgres radius snmp sqlite ssh linguas_en linguas_es linguas_fr" |
103 |
REQUIRED_USE="doc? ( |
104 |
|| ( linguas_en linguas_es linguas_fr ) |
105 |
) |
106 |
" |
107 |
|
108 |
RDEPEND="net-libs/ptlib:= |
109 |
net-libs/h323plus:= |
110 |
dev-libs/openssl |
111 |
firebird? ( dev-db/firebird ) |
112 |
lua? ( dev-lang/lua ) |
113 |
mysql? ( virtual/mysql ) |
114 |
odbc? ( dev-db/unixODBC ) |
115 |
postgres? ( dev-db/postgresql-base ) |
116 |
snmp? ( net-analyzer/net-snmp ) |
117 |
ssh? ( net-libs/libssh ) |
118 |
sqlite? ( dev-db/sqlite:3 )" |
119 |
DEPEND="${RDEPEND} |
120 |
doc? ( app-text/linuxdoc-tools )" |
121 |
|
122 |
S=${WORKDIR}/${MY_P2} |
123 |
|
124 |
src_prepare() { |
125 |
epatch "${FILESDIR}"/${PN}-3.2.2-ptrace.patch |
126 |
epatch "${FILESDIR}"/${PN}-3.2.2-h323plus-buildopts.patch |
127 |
epatch "${FILESDIR}"/${PN}-3.2.2-lua.cxx-toolkit_h.patch |
128 |
} |
129 |
|
130 |
# TODO: investigate possible ebuild conversion to use cmake |
131 |
src_configure() { |
132 |
# --with-large-fdset=4096 is added because of bug #128102 |
133 |
# and it is recommended in the online manual |
134 |
econf \ |
135 |
$(use_enable firebird) \ |
136 |
$(use_enable lua) \ |
137 |
$(use_enable mysql) \ |
138 |
$(use_enable postgres pgsql) \ |
139 |
$(use_enable odbc unixodbc) \ |
140 |
$(use_enable radius) \ |
141 |
$(use_enable snmp netsnmp) \ |
142 |
$(use_enable sqlite) \ |
143 |
$(use_enable ssh libssh) \ |
144 |
--with-large-fdset=4096 |
145 |
} |
146 |
|
147 |
src_compile() { |
148 |
# PASN_NOPRINT should be set for -debug but it's buggy |
149 |
# better to prevent issues and keep default settings |
150 |
# `make debugdepend debugshared` and `make debug` failed (so no debug) |
151 |
# `make optdepend optnoshared` also failed (so no static) |
152 |
|
153 |
# splitting emake calls fixes parallel build issue |
154 |
emake optdepend |
155 |
emake \ |
156 |
PT_LIBDIR="$(ptlib-config --libdir)" \ |
157 |
OH323_LIBDIR="${EPREFIX}"/usr/lib \ |
158 |
optshared |
159 |
# build tool addpasswd |
160 |
emake -C addpasswd PTLIBDIR="$(ptlib-config --ptlibdir)" |
161 |
|
162 |
if use doc; then |
163 |
cd docs/manual |
164 |
|
165 |
if use linguas_en; then |
166 |
emake html |
167 |
fi |
168 |
|
169 |
if use linguas_es; then |
170 |
emake html-es |
171 |
fi |
172 |
|
173 |
if use linguas_fr; then |
174 |
emake html-fr |
175 |
fi |
176 |
cd ../.. |
177 |
fi |
178 |
} |
179 |
|
180 |
src_install() { |
181 |
dosbin obj_*_*_*/${PN} |
182 |
dosbin addpasswd/obj_*_*_*/addpasswd |
183 |
|
184 |
dodir /etc/${PN} |
185 |
insinto /etc/${PN} |
186 |
doins etc/* |
187 |
|
188 |
dodoc changes.txt readme.txt |
189 |
dodoc docs/*.txt docs/*.pdf |
190 |
|
191 |
if use doc; then |
192 |
if use linguas_en; then |
193 |
dohtml docs/manual/manual*.html |
194 |
fi |
195 |
if use linguas_fr; then |
196 |
dohtml docs/manual/fr/manual-fr*.html |
197 |
fi |
198 |
if use linguas_es; then |
199 |
dohtml docs/manual/es/manual-es*.html |
200 |
fi |
201 |
fi |
202 |
|
203 |
doman docs/${PN}.1 docs/addpasswd.1 |
204 |
|
205 |
newinitd "${FILESDIR}"/${PN}.rc6 ${PN} |
206 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
207 |
} |