summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-02-28 21:14:02 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-02-28 21:14:02 +0000
commit5deed5b9d0c009469599765609ecbf29274a43bb (patch)
treed790d24465f4c4f6033845c61d35a4d261817c20 /net-misc/siproxd
parentNew version (diff)
downloadhistorical-5deed5b9d0c009469599765609ecbf29274a43bb.tar.gz
historical-5deed5b9d0c009469599765609ecbf29274a43bb.tar.bz2
historical-5deed5b9d0c009469599765609ecbf29274a43bb.zip
siproxd-0.8.0 version bump
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'net-misc/siproxd')
-rw-r--r--net-misc/siproxd/ChangeLog10
-rw-r--r--net-misc/siproxd/Manifest4
-rw-r--r--net-misc/siproxd/siproxd-0.8.0.ebuild101
3 files changed, 112 insertions, 3 deletions
diff --git a/net-misc/siproxd/ChangeLog b/net-misc/siproxd/ChangeLog
index 1b9f261f2697..1207bf64385c 100644
--- a/net-misc/siproxd/ChangeLog
+++ b/net-misc/siproxd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/siproxd
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v 1.13 2009/03/01 02:32:31 darkside Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v 1.14 2010/02/28 21:14:02 chithanh Exp $
+
+*siproxd-0.8.0 (28 Feb 2010)
+
+ 28 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +siproxd-0.8.0.ebuild:
+ version bump for bug #299419 and bug #303697
*siproxd-0.7.1 (01 Mar 2009)
diff --git a/net-misc/siproxd/Manifest b/net-misc/siproxd/Manifest
index 314c9554fa99..fe1285cd0e95 100644
--- a/net-misc/siproxd/Manifest
+++ b/net-misc/siproxd/Manifest
@@ -5,8 +5,10 @@ AUX siproxd.rc6 691 RMD160 42c969dc0d7306bb81b2f51eb4bf9b11a845470c SHA1 1565b7f
DIST siproxd-0.5.13.tar.gz 223109 RMD160 c5917e47655aa363d6c72ab5a0836cdef002b39a SHA1 108ce97037e119c0910e1b49e36584972dcd6ccb SHA256 b419e2642cff2aea43ebd32139e2fe345003347d09e1a8dc6a289fdc08c1f7cd
DIST siproxd-0.7.0.tar.gz 243493 RMD160 9dedce4baf560b3ef732aad2aeb98740e0951992 SHA1 8e4b5f13fbccadd987becc6c07e17ebb61f90de2 SHA256 7990635f34b93771f842e59afda7babeeb0bf4ad244f4bd4a09ffb59ca9af7a3
DIST siproxd-0.7.1.tar.gz 816613 RMD160 8642203462687ec352dbcbbe09e982980f98c957 SHA1 9e702c1fe770815ed87cf2a2b1d1d1d87551573d SHA256 5eef70f4e0a8f0f4628550807da3036f8b3086864bf4bcf5ab6d22ac3a6efd81
+DIST siproxd-0.8.0.tar.gz 824404 RMD160 447bc8891632dc23a7685af8d2e958fb5ee9cfb2 SHA1 d2f23a01ea60e3648efd46136e02bc84d1e934a1 SHA256 1a0306dbf5dd65f2c6d779bd449cbabba8c1a4cc79ca034e9cc83836c60f8542
EBUILD siproxd-0.5.13.ebuild 1304 RMD160 b38397db6e5cca5f07e7eb7755c4fb8b101a9792 SHA1 fe0b09d5f994633761a0049f865d78b43f37e895 SHA256 7315328e3295b92ebc4816598a394deedb9a54e79ef99435b648edbf6468f9c0
EBUILD siproxd-0.7.0.ebuild 1451 RMD160 3317703f9c1f2d6dc0a8f1d006a82a535f1bfedd SHA1 f39f697fcf565de8f49b0d87097acacb2c0e95cb SHA256 c6a1c7484452ce13513fd02d5dcc8dd0615b9d4c4919c83d6d43e7e882e98a70
EBUILD siproxd-0.7.1.ebuild 3741 RMD160 be05537966dfa5f320dcb448df19258eb42513ad SHA1 676809499af90b4820881ab466e71b0549221755 SHA256 16f2c9bfa4f6825b770fc5414d70ec73449c26af3e7387787a84fe54bc24007a
-MISC ChangeLog 2217 RMD160 26af49925c3e06748d1a0443c07a10b1d549f03e SHA1 dbe1316f0d43831b1e8a61e1304c4157978ba768 SHA256 5f58866ac3ac6ef091adb18da40ab95d995fe3123439e0429ef41376687de496
+EBUILD siproxd-0.8.0.ebuild 3384 RMD160 12f49d24e2224d4abaecee263fe41a0ce04c6c20 SHA1 c0b91ae47ced604c26a26a8b174ad24f0af214d3 SHA256 ef3ca9768e6b2ad5d75480f50d213b51595b2abf93e6b6efbc6929a4234530ac
+MISC ChangeLog 2389 RMD160 46af6e2daff13cca6cc8fc343364e94aaeda3956 SHA1 270b0fffb3d0c7ea4cadccdb2c97a1d1b565d978 SHA256 061cf44776cd232174ec3e2a03145bac9713e4deb9c0400eac11083560c180c0
MISC metadata.xml 159 RMD160 1cb780cd4240aaeb1b22a09a786b8ed4b0803823 SHA1 c96c65dcb37a559953bf3446b6719b0cac3585a8 SHA256 6831e631b05a25ddae6c3e148d49b98877ee1dd318185a0c95f3cad8a89bf34d
diff --git a/net-misc/siproxd/siproxd-0.8.0.ebuild b/net-misc/siproxd/siproxd-0.8.0.ebuild
new file mode 100644
index 000000000000..6a9fcee42f06
--- /dev/null
+++ b/net-misc/siproxd/siproxd-0.8.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/siproxd-0.8.0.ebuild,v 1.1 2010/02/28 21:14:02 chithanh Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="A proxy/masquerading daemon for the SIP protocol"
+HOMEPAGE="http://siproxd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc static"
+# TODO: debug can be used but dmalloc is breaking the build
+# upstream has been contacted, see bug 2649238 in their bugtracker
+
+RDEPEND=">=net-libs/libosip-3.0.0"
+# debug? ( dev-libs/dmalloc[threads] )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook-sgml-utils
+ app-text/docbook-sgml-dtd:4.2 )"
+# docbook-sgml-utils is for building doc
+# docbook-sgml-dtd is for the doc dtd even if docbook-sgml-utils depends on it
+
+pkg_setup() {
+ enewgroup siproxd
+ enewuser siproxd -1 -1 /dev/null siproxd
+}
+
+src_prepare() {
+ # make the daemon run as user 'siproxd' by default
+ sed -i -e "s:nobody:siproxd:" doc/siproxd.conf.example \
+ || die "patching doc/siproxd.conf.example failed"
+ # do not fail when building with external libltdl
+ sed -i 's/libltdl //' Makefile.in Makefile.am || die "patching Makefile failed"
+}
+
+src_configure() {
+ # static-libosip2 make it link statically against libosip2
+ # static build static version of plugins, forced to true
+ econf \
+ $(use_enable doc) \
+ $(use_enable static static-libosip2) \
+ --enable-static
+ #$(use debug && use_enable debug dmalloc) \
+
+ # statically linked plugins to libosip2 causes a shared lib linking with
+ # static lib (gcc seems not to like it : portable issue it says).
+ # there was also DT_TEXREL issue and stripping of static plugins failed
+ # so shared lib has to be used for plugins
+ # upstream has been contacted, see bug 2649351 in their bugtracker
+ if use static; then
+ sed -i -r -e \
+ "s:LIBS =(.*)( \/[^ ]*libosip[^ ]*\.a)( \/[^ ]*libosip[^ ]*\.a)(.*):LIBS_STATIC =\1\2\3\4\nLIBS = \1\4 -losip2 -losipparser2:" \
+ src/Makefile || die "patching src/Makefile failed"
+ sed -i -e \
+ "s:\$(siproxd_LDADD) \$(LIBS):\$(siproxd_LDADD) \$(LIBS_STATIC):" \
+ src/Makefile || die "patching src/Makefile failed"
+ fi
+}
+
+src_install() {
+ einstall || die "einstall failed"
+
+ newinitd "${FILESDIR}"/${PN}.rc6 ${PN} || die "newinitd failed"
+
+ dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO \
+ doc/FAQ doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS \
+ || die "dodoc failed"
+
+ if use doc; then
+ dodoc doc/RFC3261_compliance.txt || die "dodoc failed"
+ # auto-generated doc is not auto-installed
+ # upstream has been contacted, see bug 2649333 in their bugtracker
+ dohtml -r doc/html/ || die "dohtml failed"
+ # pdf is not build all the time
+ if built_with_use app-text/docbook-sgml-utils jadetex; then
+ dodoc doc/pdf/*.pdf || die "dodoc failed"
+ fi
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc doc/sample_*.txt || die "dodoc failed"
+ fi
+
+ # set up siproxd directories
+ keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+ fowners siproxd:siproxd /var/{lib,run}/${PN} || die "fowners failed"
+}
+
+pkg_postinst() {
+ if use static; then
+ elog "static USE flag does not build a _fully_ statically linked binary"
+ elog "only libosip2 and libosipparser2 are statically linked"
+ elog "In addition, plugins are dynamically linked with those libs"
+ fi
+}