Gentoo Archives: gentoo-commits

From: "Mounir Lamouri (volkmar)" <volkmar@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-voip/gnugk: ChangeLog gnugk-2.2.8.ebuild
Date: Wed, 08 Apr 2009 17:30:30
Message-Id: E1LrbbO-00017x-5l@stork.gentoo.org
1 volkmar 09/04/08 17:30:18
2
3 Modified: ChangeLog
4 Added: gnugk-2.2.8.ebuild
5 Log:
6 version bump to 2.2.8 see bug 258518
7 (Portage version: 2.1.6.7/cvs/Linux ppc)
8
9 Revision Changes Path
10 1.8 net-voip/gnugk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 8 Apr 2009 17:18:48 -0000 1.7
23 +++ ChangeLog 8 Apr 2009 17:30:18 -0000 1.8
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-voip/gnugk
26 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.7 2009/04/08 17:18:48 volkmar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.8 2009/04/08 17:30:18 volkmar Exp $
29 +
30 +*gnugk-2.2.8 (08 Apr 2009)
31 +
32 + 08 Apr 2009; Mounir Lamouri <volkmar@g.o>
33 + +files/gnugk-2.2.8-firebird-2.1.patch, +gnugk-2.2.8.ebuild:
34 + version bump to 2.2.8 see bug 258518
35
36 08 Apr 2009; Mounir Lamouri <volkmar@g.o>
37 +files/gnugk-2.2.7-configure.patch, +files/gnugk-2.2.7-firebird-2.1.patch,
38
39
40
41 1.1 net-voip/gnugk/gnugk-2.2.8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/gnugk-2.2.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/gnugk-2.2.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnugk-2.2.8.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/gnugk-2.2.8.ebuild,v 1.1 2009/04/08 17:30:18 volkmar Exp $
51
52 EAPI="2"
53
54 inherit eutils
55
56 DESCRIPTION="GNU H.323 gatekeeper"
57 HOMEPAGE="http://www.gnugk.org/"
58 SRC_URI="mirror://sourceforge/openh323gk/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 # dev-db/firebird isn't keyworded for ppc but firebird IUSE is masked for ppc
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="doc firebird mysql odbc postgres radius sqlite linguas_en linguas_es linguas_fr"
65
66 # TODO: when h323plus will be in portage tree, add it as || dep with openh323
67 RDEPEND=">=dev-libs/pwlib-1.7.5.2
68 >=net-libs/openh323-1.14.2
69 dev-libs/openssl
70 firebird? ( dev-db/firebird )
71 mysql? ( virtual/mysql )
72 odbc? ( dev-db/unixODBC )
73 postgres? ( virtual/postgresql-base )
74 sqlite? ( dev-db/sqlite:3 )"
75 DEPEND="${RDEPEND}
76 doc? ( app-text/linuxdoc-tools )"
77
78 pkg_setup() {
79 if use doc && ! use linguas_en && ! use linguas_es && ! use linguas_fr; then
80 elog "No linguas specified."
81 elog "English documentation will be installed."
82 fi
83 }
84
85 src_prepare() {
86 # fix build with firebird 2.1
87 # upstream has been contacted, watch if fixed in next releases
88 use firebird && epatch "${FILESDIR}"/${P}-firebird-2.1.patch
89 }
90
91 src_configure() {
92 # --with-large-fdset=4096 is added because of bug #128102
93 # and it is recommanded in the online manual
94 econf \
95 $(use_enable firebird) \
96 $(use_enable mysql) \
97 $(use_enable postgres pgsql) \
98 $(use_enable odbc unixodbc) \
99 $(use_enable radius) \
100 $(use_enable sqlite) \
101 --with-large-fdset=4096
102 }
103
104 src_compile() {
105 # PASN_NOPRINT should be set for -debug but it's buggy
106 # better to prevent issues and keep default settings
107 # `make debugdepend debugshared` and `make debug` failed (so no debug)
108 # `make optdepend optnoshared` also failed (so no static)
109
110 # splitting emake calls fixes parallel build issue
111 emake optdepend || die "emake optdepend failed"
112 emake optshared || die "emake optshared failed"
113
114 # build tool addpasswd
115 emake addpasswd || die "emake addpasswd failed"
116
117 if use doc; then
118 cd docs/manual
119
120 if use linguas_en || ( ! use linguas_es && ! use linguas_fr ); then
121 emake html || die "emake en doc failed"
122 fi
123
124 if use linguas_es; then
125 emake html-es || die "emake es doc failed"
126 fi
127
128 if use linguas_fr; then
129 emake html-fr || die "emake fr doc failed"
130 fi
131 cd ../..
132 fi
133 }
134
135 src_install() {
136 dosbin obj_*_*_*/${PN} || die "dosbin failed"
137 dosbin obj_*_*_*/addpasswd || die "dosbin failed"
138
139 dodir /etc/${PN}
140 insinto /etc/${PN}
141 doins etc/* || die "doins etc/* failed"
142
143 dodoc changes.txt readme.txt p2pnat_license.txt || die "dodoc failed"
144
145 if use doc; then
146 dodoc docs/*.txt docs/*.pdf || die "dodoc failed"
147
148 if use linguas_en || ( ! use linguas_es && ! use linguas_fr ); then
149 dohtml docs/manual/manual*.html || die "dohtml failed"
150 fi
151 if use linguas_fr; then
152 dohtml docs/manual/fr/manual-fr*.html || die "dohtml failed"
153 fi
154 if use linguas_es; then
155 dohtml docs/manual/es/manual-es*.html || die "dohtml failed"
156 fi
157 fi
158
159 doman docs/${PN}.1 || die "doman failed"
160
161 newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
162 newconfd "${FILESDIR}"/${PN}.confd ${PN}
163 }