diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-05-07 15:36:23 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-05-07 15:36:23 +0000 |
commit | be3955f7cfe3c2a27c5481b5fe2c0659530ee574 (patch) | |
tree | b2b6dabf665ecb0ae4716a5de2f477c5cdb050d9 /net-misc/siproxd | |
parent | Yet another bump, to fix 1.1.7 issues. (diff) | |
download | gentoo-2-be3955f7cfe3c2a27c5481b5fe2c0659530ee574.tar.gz gentoo-2-be3955f7cfe3c2a27c5481b5fe2c0659530ee574.tar.bz2 gentoo-2-be3955f7cfe3c2a27c5481b5fe2c0659530ee574.zip |
Initial import
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/siproxd')
-rw-r--r-- | net-misc/siproxd/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/siproxd/Manifest | 3 | ||||
-rw-r--r-- | net-misc/siproxd/files/digest-siproxd-0.5.11 | 1 | ||||
-rw-r--r-- | net-misc/siproxd/files/siproxd-0.5.11-configure-docs.diff | 28 | ||||
-rwxr-xr-x | net-misc/siproxd/files/siproxd.rc6 | 31 | ||||
-rw-r--r-- | net-misc/siproxd/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/siproxd/siproxd-0.5.11.ebuild | 50 |
7 files changed, 133 insertions, 0 deletions
diff --git a/net-misc/siproxd/ChangeLog b/net-misc/siproxd/ChangeLog new file mode 100644 index 000000000000..da540ffadba3 --- /dev/null +++ b/net-misc/siproxd/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/siproxd +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/ChangeLog,v 1.1 2005/05/07 15:36:23 stkn Exp $ + +*siproxd-0.5.11 (07 May 2005) + + 07 May 2005; Stefan Knoblich <stkn@gentoo.org> +metadata.xml, + +files/siproxd-0.5.11-configure-docs.diff, +files/siproxd.rc6, + +siproxd-0.5.11.ebuild: + Initial import. + diff --git a/net-misc/siproxd/Manifest b/net-misc/siproxd/Manifest new file mode 100644 index 000000000000..effcdfd9516c --- /dev/null +++ b/net-misc/siproxd/Manifest @@ -0,0 +1,3 @@ +MD5 509387c531702e6a5e9a1b271983fe65 siproxd-0.5.11.ebuild 862 +MD5 eb5e5c29a59c1c289dcd3df96e8020f1 files/siproxd-0.5.11-configure-docs.diff 1023 +MD5 87000c1cc09cb31d97afac8baa62ebc6 files/digest-siproxd-0.5.11 66 diff --git a/net-misc/siproxd/files/digest-siproxd-0.5.11 b/net-misc/siproxd/files/digest-siproxd-0.5.11 new file mode 100644 index 000000000000..13d5ead11fb2 --- /dev/null +++ b/net-misc/siproxd/files/digest-siproxd-0.5.11 @@ -0,0 +1 @@ +MD5 a614f60683f9ea9423573bc5d646c525 siproxd-0.5.11.tar.gz 216684 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 new file mode 100644 index 000000000000..1ba0ad3a397a --- /dev/null +++ b/net-misc/siproxd/files/siproxd-0.5.11-configure-docs.diff @@ -0,0 +1,28 @@ +--- 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.rc6 b/net-misc/siproxd/files/siproxd.rc6 new file mode 100755 index 000000000000..ddc3075e7a3e --- /dev/null +++ b/net-misc/siproxd/files/siproxd.rc6 @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/files/siproxd.rc6,v 1.1 2005/05/07 15:36:23 stkn Exp $ + +depend() { + need net +} + +check_config() { + if [[ ! -f /etc/siproxd.conf ]]; then + eerror "Please create /etc/siproxd.conf first!" + return 1 + fi + return 0 +} + +start() { + check_config || return 1 + + ebegin "Starting siproxd" + start-stop-daemon --start --exec /usr/sbin/siproxd -- \ + -p /var/run/siproxd.pid -c /etc/siproxd.conf + eend $? +} + +stop() { + ebegin "Stopping siproxd" + start-stop-daemon --stop --pidfile /var/run/siproxd.pid + eend $? +} diff --git a/net-misc/siproxd/metadata.xml b/net-misc/siproxd/metadata.xml new file mode 100644 index 000000000000..10f27dc5e06a --- /dev/null +++ b/net-misc/siproxd/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>voip</herd> +<maintainer> + <email>stkn@gentoo.org</email> + <name>Stefan Knoblich</name> +</maintainer> +</pkgmetadata> diff --git a/net-misc/siproxd/siproxd-0.5.11.ebuild b/net-misc/siproxd/siproxd-0.5.11.ebuild new file mode 100644 index 000000000000..dbf781135e03 --- /dev/null +++ b/net-misc/siproxd/siproxd-0.5.11.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/siproxd/siproxd-0.5.11.ebuild,v 1.1 2005/05/07 15:36:23 stkn Exp $ + +inherit eutils + +IUSE="static doc" + +DESCRIPTION="masquerading SIP proxy" +HOMEPAGE="http://siproxd.sourceforge.net/" +SRC_URI="mirror://sourceforge/siproxd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=">=net-libs/libosip-2.0.0 + doc? ( app-text/docbook-sgml-utils )" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-configure-docs.diff + + # re-create configure (stolen from dhcpd :) + einfo "Re-creating configure..." + autoreconf -fi || die "autoreconf failed" +} + +src_compile() { + local myconf + + use static && \ + myconf="--enable-static" + + econf ${myconf} \ + `use_enable doc docs` || die "configure failed" + + emake || die "make failed" +} + +src_install() { + einstall || die "install failed" + + exeinto /etc/init.d + newexe ${FILESDIR}/siproxd.rc6 siproxd + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO RELNOTES +} |