summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-18 18:29:19 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-18 18:29:19 +0000
commit0642f6b19a239fd6da1ae568c9ceb74dc8cfd207 (patch)
tree84d58eaeb411c6380753ce3323e3d789d4aff19a /net-misc/siproxd
parentMasked adobe-flash-10.1 and fixed sci-chemistry/* entries (diff)
downloadhistorical-0642f6b19a239fd6da1ae568c9ceb74dc8cfd207.tar.gz
historical-0642f6b19a239fd6da1ae568c9ceb74dc8cfd207.tar.bz2
historical-0642f6b19a239fd6da1ae568c9ceb74dc8cfd207.zip
old
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-misc/siproxd')
-rw-r--r--net-misc/siproxd/Manifest19
-rw-r--r--net-misc/siproxd/files/siproxd-0.5.11-configure-docs.diff28
-rw-r--r--net-misc/siproxd/files/siproxd-0.7.0-guide.diff11
-rw-r--r--net-misc/siproxd/files/siproxd-0.7.0-libosip-3.1.0.diff213
-rw-r--r--net-misc/siproxd/siproxd-0.5.13.ebuild54
-rw-r--r--net-misc/siproxd/siproxd-0.7.0.ebuild57
-rw-r--r--net-misc/siproxd/siproxd-0.7.1.ebuild109
7 files changed, 0 insertions, 491 deletions
diff --git a/net-misc/siproxd/Manifest b/net-misc/siproxd/Manifest
index d05af97b7b17..c1c1849f21be 100644
--- a/net-misc/siproxd/Manifest
+++ b/net-misc/siproxd/Manifest
@@ -1,24 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX siproxd-0.5.11-configure-docs.diff 1023 RMD160 de2450728a1eca0cda4c69223885489464943599 SHA1 2c66a464231efb0b2198b5341a5c0ae5545b198b SHA256 363e714a7a16a950862c30cbaa3060c27eda7260e3200981280b4c1c0d56ff70
-AUX siproxd-0.7.0-guide.diff 406 RMD160 efa5bd555ba264fe8b1f2f0f0b309bcd4498d59f SHA1 f91ccd4d7a6fa0a3607cdaf5cfea370cca7d8160 SHA256 a5e6c4ef148f71fbb1422cfe67ed44d3c030a2c76fa03758450b3558739d541a
-AUX siproxd-0.7.0-libosip-3.1.0.diff 7158 RMD160 171245d9da518daa24f5143be5e829ae5492cf4c SHA1 cc85dcbc77926967c066f481f78482b35489f224 SHA256 ed4e5d61b6f7959ae994dbaac64b89e3a3f60fb68b52dc3df6dcabbac217c2bd
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
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
EBUILD siproxd-0.8.0.ebuild 3380 RMD160 09a3d9f27643f8b48606ce3014cfcbed4bd840ef SHA1 79c35679f11bcd7d7107f2e12dcf76392ac70f9d SHA256 7053df7ab21c4409f67bc872c2baecb473476e92bfd471ab7b77111414a845d2
MISC ChangeLog 2489 RMD160 4b8ab87422e55140f7a6403a42e24094e5002bf2 SHA1 961313010bacd0f626be3121a5ac503496f4ba53 SHA256 b1d9b44b1eb10e74f1a7d9449362c9a37c848660025058f790d14966339c88f3
MISC metadata.xml 159 RMD160 1cb780cd4240aaeb1b22a09a786b8ed4b0803823 SHA1 c96c65dcb37a559953bf3446b6719b0cac3585a8 SHA256 6831e631b05a25ddae6c3e148d49b98877ee1dd318185a0c95f3cad8a89bf34d
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkuOU1YACgkQNQqtfCuFneO9YACbBfwwhYj1nr8qPkL1hcDiA8LR
-Aw4AnAjmaN1U9QgursaXVTDId7FWck8e
-=/OUR
------END PGP SIGNATURE-----
diff --git a/net-misc/siproxd/files/siproxd-0.5.11-configure-docs.diff b/net-misc/siproxd/files/siproxd-0.5.11-configure-docs.diff
deleted file mode 100644
index 1ba0ad3a397a..000000000000
--- a/net-misc/siproxd/files/siproxd-0.5.11-configure-docs.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- siproxd-0.5.11/configure.in.orig 2005-05-07 16:43:13.333858336 +0200
-+++ siproxd-0.5.11/configure.in 2005-05-07 16:52:22.980299376 +0200
-@@ -72,10 +72,21 @@
- AC_PROG_RANLIB
- AC_PROG_INSTALL
- AC_PROG_LN_S
--AC_CHECK_PROG(docbook2pdf,docbook2pdf,yes,)
--AM_CONDITIONAL(have_docbook2pdf,test "$docbook2pdf" = "yes")
--AC_CHECK_PROG(docbook2html,docbook2html,yes,)
--AM_CONDITIONAL(have_docbook2html,test "$docbook2html" = "yes")
-+
-+AC_MSG_CHECKING(build statically linked executable)
-+AC_ARG_ENABLE(docs,
-+ [ --enable-docs build pdf/html documentation],
-+ build_docs="$enableval";
-+ AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
-+if test "x$build_docs" = "xyes"; then
-+ AC_CHECK_PROG(docbook2pdf,docbook2pdf,yes,)
-+ AM_CONDITIONAL(have_docbook2pdf,test "$docbook2pdf" = "yes")
-+ AC_CHECK_PROG(docbook2html,docbook2html,yes,)
-+ AM_CONDITIONAL(have_docbook2html,test "$docbook2html" = "yes")
-+else
-+ AM_CONDITIONAL(have_docbook2pdf,false)
-+ AM_CONDITIONAL(have_docbook2html,false)
-+fi
-
- dnl
- dnl add
diff --git a/net-misc/siproxd/files/siproxd-0.7.0-guide.diff b/net-misc/siproxd/files/siproxd-0.7.0-guide.diff
deleted file mode 100644
index 9e1af6361ecf..000000000000
--- a/net-misc/siproxd/files/siproxd-0.7.0-guide.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur a/doc/siproxd_guide.sgml b/doc/siproxd_guide.sgml
---- a/doc/siproxd_guide.sgml 2007-05-23 22:51:54.000000000 +0200
-+++ b/doc/siproxd_guide.sgml 2008-01-22 16:30:42.000000000 +0100
-@@ -74,6 +74,7 @@
- "helping technologies" WILL DO CONFLICT with siproxd and result
- in a mess.</para>
- </sect1>
-+ </chapter>
-
- <!-- Chapter 1: Overview -->
- <chapter label="1" id="Overview">
diff --git a/net-misc/siproxd/files/siproxd-0.7.0-libosip-3.1.0.diff b/net-misc/siproxd/files/siproxd-0.7.0-libosip-3.1.0.diff
deleted file mode 100644
index f486c865de6f..000000000000
--- a/net-misc/siproxd/files/siproxd-0.7.0-libosip-3.1.0.diff
+++ /dev/null
@@ -1,213 +0,0 @@
-diff -ur a/src/auth.c b/src/auth.c
---- a/src/auth.c 2008-01-19 17:07:14.000000000 +0100
-+++ b/src/auth.c 2008-02-24 22:01:53.346694612 +0100
-@@ -367,25 +367,25 @@
- OUT HASHHEX SessionKey
- )
- {
-- MD5_CTX Md5Ctx;
-+ osip_MD5_CTX Md5Ctx;
- HASH HA1;
-
-- MD5Init(&Md5Ctx);
-- if (pszUserName) MD5Update(&Md5Ctx, pszUserName, strlen(pszUserName));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszRealm) MD5Update(&Md5Ctx, pszRealm, strlen(pszRealm));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszPassword) MD5Update(&Md5Ctx, pszPassword, strlen(pszPassword));
-- MD5Final(HA1, &Md5Ctx);
-+ osip_MD5Init(&Md5Ctx);
-+ if (pszUserName) osip_MD5Update(&Md5Ctx, pszUserName, strlen(pszUserName));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszRealm) osip_MD5Update(&Md5Ctx, pszRealm, strlen(pszRealm));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszPassword) osip_MD5Update(&Md5Ctx, pszPassword, strlen(pszPassword));
-+ osip_MD5Final(HA1, &Md5Ctx);
-
- if ((pszAlg!=NULL) && (osip_strcasecmp(pszAlg, "md5-sess") == 0)) {
-- MD5Init(&Md5Ctx);
-- MD5Update(&Md5Ctx, HA1, HASHLEN);
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszNonce) MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszCNonce) MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce));
-- MD5Final(HA1, &Md5Ctx);
-+ osip_MD5Init(&Md5Ctx);
-+ osip_MD5Update(&Md5Ctx, HA1, HASHLEN);
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszNonce) osip_MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszCNonce) osip_MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce));
-+ osip_MD5Final(HA1, &Md5Ctx);
- };
- CvtHex(HA1, SessionKey);
- }
-@@ -403,57 +403,57 @@
- OUT HASHHEX Response /* request-digest or response-digest */
- )
- {
-- MD5_CTX Md5Ctx;
-+ osip_MD5_CTX Md5Ctx;
- HASH HA2;
- HASH RespHash;
- HASHHEX HA2Hex;
-
- /* calculate H(A2) */
-- MD5Init(&Md5Ctx);
-- if (pszMethod) MD5Update(&Md5Ctx, pszMethod, strlen(pszMethod));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszDigestUri)MD5Update(&Md5Ctx, pszDigestUri, strlen(pszDigestUri));
-+ osip_MD5Init(&Md5Ctx);
-+ if (pszMethod) osip_MD5Update(&Md5Ctx, pszMethod, strlen(pszMethod));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszDigestUri)osip_MD5Update(&Md5Ctx, pszDigestUri, strlen(pszDigestUri));
-
- if (pszQop!=NULL) {
- goto auth_withqop;
- };
-
- /* auth_withoutqop: */
-- MD5Final(HA2, &Md5Ctx);
-+ osip_MD5Final(HA2, &Md5Ctx);
- CvtHex(HA2, HA2Hex);
-
- /* calculate response */
-- MD5Init(&Md5Ctx);
-- MD5Update(&Md5Ctx, HA1, HASHHEXLEN);
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszNonce) MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce));
-- MD5Update(&Md5Ctx, ":", 1);
-+ osip_MD5Init(&Md5Ctx);
-+ osip_MD5Update(&Md5Ctx, HA1, HASHHEXLEN);
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszNonce) osip_MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-
- goto end;
-
- auth_withqop:
-
-- MD5Update(&Md5Ctx, ":", 1);
-- MD5Update(&Md5Ctx, HEntity, HASHHEXLEN);
-- MD5Final(HA2, &Md5Ctx);
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ osip_MD5Update(&Md5Ctx, HEntity, HASHHEXLEN);
-+ osip_MD5Final(HA2, &Md5Ctx);
- CvtHex(HA2, HA2Hex);
-
- /* calculate response */
-- MD5Init(&Md5Ctx);
-- MD5Update(&Md5Ctx, HA1, HASHHEXLEN);
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszNonce) MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszNonceCount)MD5Update(&Md5Ctx, pszNonceCount, strlen(pszNonceCount));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszCNonce) MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce));
-- MD5Update(&Md5Ctx, ":", 1);
-- if (pszQop) MD5Update(&Md5Ctx, pszQop, strlen(pszQop));
-- MD5Update(&Md5Ctx, ":", 1);
-+ osip_MD5Init(&Md5Ctx);
-+ osip_MD5Update(&Md5Ctx, HA1, HASHHEXLEN);
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszNonce) osip_MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszNonceCount)osip_MD5Update(&Md5Ctx, pszNonceCount, strlen(pszNonceCount));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszCNonce) osip_MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-+ if (pszQop) osip_MD5Update(&Md5Ctx, pszQop, strlen(pszQop));
-+ osip_MD5Update(&Md5Ctx, ":", 1);
-
- end:
-- MD5Update(&Md5Ctx, HA2Hex, HASHHEXLEN);
-- MD5Final(RespHash, &Md5Ctx);
-+ osip_MD5Update(&Md5Ctx, HA2Hex, HASHHEXLEN);
-+ osip_MD5Final(RespHash, &Md5Ctx);
- CvtHex(RespHash, Response);
- }
-
-diff -ur a/src/sip_utils.c b/src/sip_utils.c
---- a/src/sip_utils.c 2008-01-19 17:07:14.000000000 +0100
-+++ b/src/sip_utils.c 2008-02-24 22:01:53.346694612 +0100
-@@ -773,13 +773,13 @@
- if (strncmp(param->gvalue, magic_cookie,
- strlen(magic_cookie))==0) {
- /* calculate MD5 hash */
-- MD5_CTX Md5Ctx;
-+ osip_MD5_CTX Md5Ctx;
- HASH HA1;
-
-- MD5Init(&Md5Ctx);
-- MD5Update(&Md5Ctx, param->gvalue,
-+ osip_MD5Init(&Md5Ctx);
-+ osip_MD5Update(&Md5Ctx, param->gvalue,
- strlen(param->gvalue));
-- MD5Final(HA1, &Md5Ctx);
-+ osip_MD5Final(HA1, &Md5Ctx);
- CvtHex(HA1, hashstring);
-
- DEBUGC(DBCLASS_BABBLE, "existing branch -> branch hash [%s]",
-@@ -799,53 +799,53 @@
- */
- if (hashstring[0] == '\0') {
- /* calculate MD5 hash */
-- MD5_CTX Md5Ctx;
-+ osip_MD5_CTX Md5Ctx;
- HASH HA1;
- char *tmp;
-
-- MD5Init(&Md5Ctx);
-+ osip_MD5Init(&Md5Ctx);
-
- /* topmost via */
- osip_via_to_str(via, &tmp);
- if (tmp) {
-- MD5Update(&Md5Ctx, tmp, strlen(tmp));
-+ osip_MD5Update(&Md5Ctx, tmp, strlen(tmp));
- osip_free(tmp);
- }
-
- /* Tag in To header */
- osip_to_get_tag(sip_msg->to, &param);
- if (param && param->gvalue) {
-- MD5Update(&Md5Ctx, param->gvalue, strlen(param->gvalue));
-+ osip_MD5Update(&Md5Ctx, param->gvalue, strlen(param->gvalue));
- }
-
- /* Tag in From header */
- osip_from_get_tag(sip_msg->from, &param);
- if (param && param->gvalue) {
-- MD5Update(&Md5Ctx, param->gvalue, strlen(param->gvalue));
-+ osip_MD5Update(&Md5Ctx, param->gvalue, strlen(param->gvalue));
- }
-
- /* Call-ID */
- call_id = osip_message_get_call_id(sip_msg);
- osip_call_id_to_str(call_id, &tmp);
- if (tmp) {
-- MD5Update(&Md5Ctx, tmp, strlen(tmp));
-+ osip_MD5Update(&Md5Ctx, tmp, strlen(tmp));
- osip_free(tmp);
- }
-
- /* CSeq number (but not method) */
- tmp = osip_cseq_get_number(sip_msg->cseq);
- if (tmp) {
-- MD5Update(&Md5Ctx, tmp, strlen(tmp));
-+ osip_MD5Update(&Md5Ctx, tmp, strlen(tmp));
- }
-
- /* Request URI */
- osip_uri_to_str(sip_msg->req_uri, &tmp);
- if (tmp) {
-- MD5Update(&Md5Ctx, tmp, strlen(tmp));
-+ osip_MD5Update(&Md5Ctx, tmp, strlen(tmp));
- osip_free(tmp);
- }
-
-- MD5Final(HA1, &Md5Ctx);
-+ osip_MD5Final(HA1, &Md5Ctx);
- CvtHex(HA1, hashstring);
-
- DEBUGC(DBCLASS_BABBLE, "non-existing branch -> branch hash [%s]",
diff --git a/net-misc/siproxd/siproxd-0.5.13.ebuild b/net-misc/siproxd/siproxd-0.5.13.ebuild
deleted file mode 100644
index a2bee09047bd..000000000000
--- a/net-misc/siproxd/siproxd-0.5.13.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/siproxd-0.5.13.ebuild,v 1.6 2007/11/02 04:07:04 beandog Exp $
-
-inherit eutils autotools
-
-DESCRIPTION="masquerading SIP proxy"
-HOMEPAGE="http://siproxd.sourceforge.net/"
-SRC_URI="mirror://sourceforge/siproxd/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="static doc"
-
-DEPEND=">=net-libs/libosip-2.0.0
- doc? ( app-text/docbook-sgml-utils ~app-text/docbook-sgml-dtd-4.2 )"
-
-pkg_setup() {
- enewgroup siproxd
- enewuser siproxd -1 -1 /dev/null siproxd
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-0.5.11-configure-docs.diff
-
- eautoreconf || die "autoreconf failed"
-
- # Make the daemon run as user 'siproxd' by default
- sed -i -e "s:nobody:siproxd:" doc/siproxd.conf.example
-}
-
-src_compile() {
- econf \
- $(use_enable doc docs) \
- $(use_enable static) \
- || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- newinitd "${FILESDIR}"/siproxd.rc6 siproxd
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO RELNOTES
-
- # Set up siproxd directories
- keepdir /var/{lib,run}/siproxd
- fowners siproxd:siproxd /var/{lib,run}/siproxd
-}
diff --git a/net-misc/siproxd/siproxd-0.7.0.ebuild b/net-misc/siproxd/siproxd-0.7.0.ebuild
deleted file mode 100644
index 7c3698476d69..000000000000
--- a/net-misc/siproxd/siproxd-0.7.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/siproxd-0.7.0.ebuild,v 1.2 2008/04/23 21:26:50 maekke Exp $
-
-inherit eutils autotools
-
-DESCRIPTION="masquerading SIP proxy"
-HOMEPAGE="http://siproxd.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="static doc"
-
-DEPEND=">=net-libs/libosip-3.1
- doc? ( app-text/docbook-sgml-utils ~app-text/docbook-sgml-dtd-4.2 )"
-
-pkg_setup() {
- enewgroup siproxd
- enewuser siproxd -1 -1 /dev/null siproxd
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-0.5.11-configure-docs.diff
- epatch "${FILESDIR}"/${P}-guide.diff
- epatch "${FILESDIR}"/${P}-libosip-3.1.0.diff
-
- eautoreconf || die "autoreconf failed"
-
- # Make the daemon run as user 'siproxd' by default
- sed -i -e "s:nobody:siproxd:" doc/siproxd.conf.example
-}
-
-src_compile() {
- econf \
- $(use_enable doc docs) \
- $(use static && use_enable static) \
- || die "configure failed"
- # --disable-static won't work, see bug 205765
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- newinitd "${FILESDIR}"/siproxd.rc6 siproxd || die
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO RELNOTES
-
- # Set up siproxd directories
- keepdir /var/{lib,run}/siproxd
- fowners siproxd:siproxd /var/{lib,run}/siproxd
-}
diff --git a/net-misc/siproxd/siproxd-0.7.1.ebuild b/net-misc/siproxd/siproxd-0.7.1.ebuild
deleted file mode 100644
index 796bcf4b9f04..000000000000
--- a/net-misc/siproxd/siproxd-0.7.1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# 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.2 2009/03/01 06:00:57 mr_bones_ 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
-}