summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-02-12 04:47:00 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-02-12 04:47:00 +0000
commiteefea280053a75790319391cc93cc1d096e9ac3e (patch)
tree7e43e7685e8ba0eb64e6faa8e28e43d6027182d5 /net-voip
parentFix building with gcc-4.3 for bug #256218. Thanks to Nick S. Novikov for (diff)
downloadhistorical-eefea280053a75790319391cc93cc1d096e9ac3e.tar.gz
historical-eefea280053a75790319391cc93cc1d096e9ac3e.tar.bz2
historical-eefea280053a75790319391cc93cc1d096e9ac3e.zip
version bump by Mounir Lamouri, bug 251571
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/gnugk/ChangeLog9
-rw-r--r--net-voip/gnugk/Manifest14
-rw-r--r--net-voip/gnugk/gnugk-2.2.7.ebuild115
3 files changed, 125 insertions, 13 deletions
diff --git a/net-voip/gnugk/ChangeLog b/net-voip/gnugk/ChangeLog
index e9e84bc135a8..13ed3640d66f 100644
--- a/net-voip/gnugk/ChangeLog
+++ b/net-voip/gnugk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-voip/gnugk
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.5 2008/08/16 16:22:29 tove Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.6 2009/02/12 04:47:00 darkside Exp $
+
+*gnugk-2.2.7 (12 Feb 2009)
+
+ 12 Feb 2009; Jeremy Olexa <darkside@gentoo.org> +gnugk-2.2.7.ebuild:
+ version bump by Mounir Lamouri, bug 251571
16 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove stkn from metadata.xml (#27693)
diff --git a/net-voip/gnugk/Manifest b/net-voip/gnugk/Manifest
index 5a8469062587..bfb72105e5c7 100644
--- a/net-voip/gnugk/Manifest
+++ b/net-voip/gnugk/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gnugk.confd 381 RMD160 4069a0b1a972a49b13e613b99659c2c784b24888 SHA1 4bff9f084bc4870368061a0dea0ce07241f7a7c2 SHA256 14f7edc893d5453446afcd46d744711ebab017f1c0caac0e25151beb347ab831
AUX gnugk.rc6 522 RMD160 cb202253b9d5a97879ed4cbe44d678c688ac6433 SHA1 93913dafd8bf1456c72f3a5e2aee300281f7daa0 SHA256 d2fef2854aeef665f3f84eb62411ac5e5e3a0581dfd873ca61f2942b67443db9
DIST gnugk-2.2.5.tar.gz 1126814 RMD160 dcddaeea50bfa388ddceaf4651161a5e8fdaa83b SHA1 f52890d83767fe1c06e1d893ada1791d96b98448 SHA256 f7ad113b1979bd0b2a15eff3b3e28e47c62026552d2c926767ad8a8aff44af81
+DIST gnugk-2.2.7.tar.gz 1160654 RMD160 b59183c067124b931eb4a79debbadb4fbe053154 SHA1 edf4548702a053ea042db91ff3085853c10ad426 SHA256 4cdace4970977c69d0cdf88841f025eb0e96578bfe9b3ecc45b33ccb6efb2073
EBUILD gnugk-2.2.5.ebuild 1133 RMD160 f78f768e119c785fa22c38a28f325c92ffc527ee SHA1 51cd8509f0b942e6503a1bc7b207e38e53a95d5e SHA256 2b786fa301e2be434360a8ba899e303228ae1a995906efdc7bc39b03ddc22f7d
-MISC ChangeLog 2232 RMD160 325b6046a6f5bff83d641f526dd52a007e55fb6a SHA1 1196255189c66e8d9a38299191afb0a5c3e3e997 SHA256 f02ed19cf62a38b92d4f9d745c2b7cbea97b2d47101be2bb9ff48bd4e88ff18c
+EBUILD gnugk-2.2.7.ebuild 3066 RMD160 91d4fc8f6c6e0856c71a7777ea9e95e99846b203 SHA1 5a62a91dde547dbf54e84df9ff731e7918e3f9a1 SHA256 7f5e43710e46f6c47991f85fcd932fb5d153f4b7cf86750d356767b7b0d81009
+MISC ChangeLog 2381 RMD160 26ef15b34301e3106967e23b9580b6cfd7b7e2fc SHA1 c13b51977eaf97b054fb7f4c4a2134591f27da85 SHA256 4e9542d205d38144f3cb750c536e2517dd2897ab0bffef0826739d8ce6a4bd55
MISC metadata.xml 159 RMD160 1cb780cd4240aaeb1b22a09a786b8ed4b0803823 SHA1 c96c65dcb37a559953bf3446b6719b0cac3585a8 SHA256 6831e631b05a25ddae6c3e148d49b98877ee1dd318185a0c95f3cad8a89bf34d
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkim/rkACgkQV3J2n04EauygCgCeNzGY+n741tKJ/sOpCeB1yl61
-s/kAnipOt60hEo4HVSpF2q3CpjHm9YHu
-=57bs
------END PGP SIGNATURE-----
diff --git a/net-voip/gnugk/gnugk-2.2.7.ebuild b/net-voip/gnugk/gnugk-2.2.7.ebuild
new file mode 100644
index 000000000000..c259daba46cb
--- /dev/null
+++ b/net-voip/gnugk/gnugk-2.2.7.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/gnugk-2.2.7.ebuild,v 1.1 2009/02/12 04:47:00 darkside Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="GNU H.323 gatekeeper"
+HOMEPAGE="http://www.gnugk.org/"
+SRC_URI="mirror://sourceforge/openh323gk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+# dev-db/firebird isn't keyworded for ppc but firebird IUSE is masked for ppc
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc firebird mysql postgres radius linguas_en linguas_es linguas_fr"
+
+# TODO: when h323plus will be in portage tree, add it as || dep with openh323
+RDEPEND=">=dev-libs/pwlib-1.7.5.2
+ >=net-libs/openh323-1.14.2
+ dev-libs/openssl
+ firebird? ( dev-db/firebird )
+ mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-base )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/linuxdoc-tools )"
+
+pkg_setup() {
+ if use doc && ! use linguas_en && ! use linguas_es && ! use linguas_fr; then
+ elog "No linguas specified."
+ elog "English documentation will be installed."
+ fi
+}
+
+src_prepare() {
+ if use firebird; then
+ # fix build with firebird 2.1
+ epatch "${FILESDIR}"/${P}-firebird-2.1.patch
+
+ # build sqlauth and sqlacc when firebird is supported
+ epatch "${FILESDIR}"/${P}-configure.patch
+ fi
+}
+
+src_configure() {
+ # --with-large-fdset=4096 is added because of bug #128102
+ # and it is recommanded in the online manual
+ econf \
+ $(use_enable firebird) \
+ $(use_enable mysql) \
+ $(use_enable postgres pgsql) \
+ $(use_enable radius) \
+ --with-large-fdset=4096
+}
+
+src_compile() {
+ # PASN_NOPRINT should be set for -debug but it's buggy
+ # better to prevent issues and keep default settings
+ # `make debugdepend debugshared` and `make debug` failed (so no debug)
+ # `make optdepend optnoshared` also failed (so no static)
+
+ # fails with -j2
+ emake -j1 optdepend optshared || die "emake failed"
+
+ # build tool addpasswd
+ emake addpasswd || die "emake addpasswd failed"
+
+ if use doc; then
+ cd docs/manual
+
+ if use linguas_en || ( ! use linguas_es && ! use linguas_fr ); then
+ emake html || die "emake en doc failed"
+ fi
+
+ if use linguas_es; then
+ emake html-es || die "emake es doc failed"
+ fi
+
+ if use linguas_fr; then
+ emake html-fr || die "emake fr doc failed"
+ fi
+ cd ../..
+ fi
+}
+
+src_install() {
+ dosbin obj_*_*_*/${PN} || die "dosbin failed"
+ dosbin obj_*_*_*/addpasswd || die "dosbin failed"
+
+ dodir /etc/${PN}
+ insinto /etc/${PN}
+ doins etc/* || die "doins etc/* failed"
+
+ dodoc changes.txt readme.txt || die "dodoc failed"
+
+ if use doc; then
+ dodoc docs/*.txt docs/*.pdf || die "dodoc failed"
+
+ if use linguas_en || ( ! use linguas_es && ! use linguas_fr ); then
+ dohtml docs/manual/manual*.html || die "dohtml failed"
+ fi
+ if use linguas_fr; then
+ dohtml docs/manual/fr/manual-fr*.html || die "dohtml failed"
+ fi
+ if use linguas_es; then
+ dohtml docs/manual/es/manual-es*.html || die "dohtml failed"
+ fi
+ fi
+
+ doman docs/${PN}.1 || die "doman failed"
+
+ newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}