diff options
author | 2009-03-01 02:32:31 +0000 | |
---|---|---|
committer | 2009-03-01 02:32:31 +0000 | |
commit | 4c70efe7d3411037465519e760133593095e2e00 (patch) | |
tree | 8d4dbf4cd133352a26b41ffad1703387f6a11bdb | |
parent | Package doesnt have ChangeLog doc but rather README. (diff) | |
download | historical-4c70efe7d3411037465519e760133593095e2e00.tar.gz historical-4c70efe7d3411037465519e760133593095e2e00.tar.bz2 historical-4c70efe7d3411037465519e760133593095e2e00.zip |
(non maintainer commit) Version bump, ebuild by Mounir Lamouri in bug 235720
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
-rw-r--r-- | net-misc/siproxd/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/siproxd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/siproxd/siproxd-0.7.1.ebuild | 109 |
3 files changed, 118 insertions, 2 deletions
diff --git a/net-misc/siproxd/ChangeLog b/net-misc/siproxd/ChangeLog index 5e02d9e3e05a..1b9f261f2697 100644 --- a/net-misc/siproxd/ChangeLog +++ b/net-misc/siproxd/ChangeLog @@ -1,6 +1,11 @@ # 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.12 2009/02/16 18:47:41 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v 1.13 2009/03/01 02:32:31 darkside Exp $ + +*siproxd-0.7.1 (01 Mar 2009) + + 01 Mar 2009; Jeremy Olexa <darkside@gentoo.org> +siproxd-0.7.1.ebuild: + (non maintainer commit) Version bump, ebuild by Mounir Lamouri in bug 235720 16 Feb 2009; Jeremy Olexa <darkside@gentoo.org> -siproxd-0.5.11.ebuild: (non maintainer commit) remove old ebuild that has QA issues, bug 226605 diff --git a/net-misc/siproxd/Manifest b/net-misc/siproxd/Manifest index 5861dfb7d79c..93af1315a743 100644 --- a/net-misc/siproxd/Manifest +++ b/net-misc/siproxd/Manifest @@ -4,7 +4,9 @@ AUX siproxd-0.7.0-libosip-3.1.0.diff 7158 RMD160 171245d9da518daa24f5143be5e829a AUX siproxd.rc6 691 RMD160 42c969dc0d7306bb81b2f51eb4bf9b11a845470c SHA1 1565b7fad43cf0ead77ff7826478cb9500178f50 SHA256 b0e41722da2ce7b97abe2663d1b83fe764edd69c810d24708a8ab7f938811b26 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 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 -MISC ChangeLog 2034 RMD160 6c1f5702344d47350d268d0e4c7c3982f9638c03 SHA1 435f6ff7bf0a8ad94dfa6ba6de35df154fd280ed SHA256 62cb158ebc26cee6b347f1372ff3f78bf6f9940f8baaa542adeef5a54ee262cf +EBUILD siproxd-0.7.1.ebuild 3741 RMD160 1b419ea64869f117998fec9a19fa889c491732f7 SHA1 47039285fbd95daeb032295987f68cd3fa0b5d86 SHA256 b2a817b52809dd42a48982c1df244ce8ee6be13588f5fc9af81a53fd589b9bcf +MISC ChangeLog 2217 RMD160 26af49925c3e06748d1a0443c07a10b1d549f03e SHA1 dbe1316f0d43831b1e8a61e1304c4157978ba768 SHA256 5f58866ac3ac6ef091adb18da40ab95d995fe3123439e0429ef41376687de496 MISC metadata.xml 159 RMD160 1cb780cd4240aaeb1b22a09a786b8ed4b0803823 SHA1 c96c65dcb37a559953bf3446b6719b0cac3585a8 SHA256 6831e631b05a25ddae6c3e148d49b98877ee1dd318185a0c95f3cad8a89bf34d diff --git a/net-misc/siproxd/siproxd-0.7.1.ebuild b/net-misc/siproxd/siproxd-0.7.1.ebuild new file mode 100644 index 000000000000..77e0adb91e11 --- /dev/null +++ b/net-misc/siproxd/siproxd-0.7.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/siproxd-0.7.1.ebuild,v 1.1 2009/03/01 02:32:31 darkside 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() { + # to be sure doc is not compiled nor installed with -doc + # quickiest way to get it disabled, other way would be patching .in file + # upstream has been contacted, see bug 2649325 in their bugtracker + if ! use doc; then + sed -i -e 's/test "$docbook2/test "/' configure \ + || die "patching configure failed" + fi + + # 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" +} + +src_configure() { + # NOTE: $(use flag && use_enable flag) is to avoid a bug + # that makes --disable like --enable, see bug #205765 + # static-libosip2 make it link statically against libosip2 + # static build static version of plugins, forced to true + # upstream has been contacted, see bug 2649286 in their bugtracker + econf \ + $(use static && 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 +} |