summaryrefslogtreecommitdiff
path: root/net-misc/siproxd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-misc/siproxd
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'net-misc/siproxd')
-rw-r--r--net-misc/siproxd/Manifest9
-rw-r--r--net-misc/siproxd/files/siproxd-0.8.1-amd64_static_build.patch26
-rw-r--r--net-misc/siproxd/files/siproxd-libtool-2.4.patch13
-rw-r--r--net-misc/siproxd/files/siproxd.rc630
-rw-r--r--net-misc/siproxd/files/siproxd.rc821
-rw-r--r--net-misc/siproxd/metadata.xml8
-rw-r--r--net-misc/siproxd/siproxd-0.8.0-r3.ebuild108
-rw-r--r--net-misc/siproxd/siproxd-0.8.1-r2.ebuild109
8 files changed, 0 insertions, 324 deletions
diff --git a/net-misc/siproxd/Manifest b/net-misc/siproxd/Manifest
deleted file mode 100644
index b6434546fd72..000000000000
--- a/net-misc/siproxd/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX siproxd-0.8.1-amd64_static_build.patch 1280 BLAKE2B 2db477566bcb0e2da837bc2df263eac3a5be3fbd999177ee6369ea655724bad4965a1a48948f316e47a8179cbd5b2e9f1d4fae44300e562c97dd15e3c65228ee SHA512 d29f9d48127fa10e17a50c364ca2a50886a88e3b449ff2ef68ac08596d8f1cb84a5b088d888a76c79391c571ed506934fd2add6136ba10ee6718ce686ae99bd7
-AUX siproxd-libtool-2.4.patch 412 BLAKE2B aa2163640b6e1da95921b0076d5b80c979c1e496774224d1f23ffcfcf3199c8079692673c7622b1587a1c30ffbc0f5c2dcaff59bec3bc0706f79a7394f46dccd SHA512 7ea24a99d65ecc8586473d49b7d485f27634c54290b23821313b1698bb495cf96db0b997d8cb48673a6291a538d5d31d1ee3089187c3d4f500727bc857de5f0c
-AUX siproxd.rc6 585 BLAKE2B 4407089b32fa67d14af2e8d092e882478f4e61d74c1243d002f1a7828458cf1a9ee9ff235c204f6234c5f982491b44df2ea1f1293ce0b89daad30f7b0b7daf09 SHA512 2b15ad14121ad20dd72fed9a8a1d41b5bb4185c8ac2bb546acb589be3ee1cd9229a7cda687769a720f06c0d329874bb34543250deec14ad2ef1240ce0d9c7cee
-AUX siproxd.rc8 464 BLAKE2B a82b921f70f9c06d9760b97dfe4b791a862d3b3980cf5a4c024a2ccafaffb6a26df19344f1f96364dc8e93d74d0d4dbecdb1c8070afc5a310f45152cbb5b9872 SHA512 0c7deb87eb9bc0ad6b31b021c4a65fd30d9a79effa993b79954381bfde6a232ba97c82eae01ad0464916e9ee1ba00f6a731460091706aa02a9876a3335359248
-DIST siproxd-0.8.0.tar.gz 824404 BLAKE2B 5a53d80dfcfe81070c73a37de95290bce59a3a7d5aab61ce90da587daf422f87932f26d0007f07d4abefe2526b91db8914bdf1944316e58b99734d89d4918a33 SHA512 eb14a6f7a893e3347d316feedca89c1700e2977b9671da7d77c475993137b049e5caad5254e19dc00f5cb4f0f0c767188cdfb02bb16238dd7b56473886063440
-DIST siproxd-0.8.1.tar.gz 833170 BLAKE2B 8e1ab78b98982140d3987a8383e91e1881e6ddd3645fc47d46747939391a3a0e10d457c10b41a526a478ca0969dd730be40103dc63db19c3593294c3b0070f66 SHA512 b47c7b74b4d3adeb4fd9536f82c014a123a6fcbe508a4982c9e77e53a8c68b05bc32799f57cf749e860b3e1f19f6502dbea561a410975f9f095754748515964f
-EBUILD siproxd-0.8.0-r3.ebuild 3331 BLAKE2B 1b75071a06246c61c7fd8ab9c3a89fb34ffcda1e185cea68c1bc7abdcd282cbd2bf1ae7ba162283099f80ecd7199680c8055626102315beee161cbf1fd85e9d6 SHA512 8ee67a2fc081fb8caad2eacc88123e8a7f6518988e1a45baee94a48c7e1133ea32628881d9c3c332c7281fd2ac19f5a6157abd6d40546544e0dc3808ccdb55b7
-EBUILD siproxd-0.8.1-r2.ebuild 3412 BLAKE2B 61b2f40f9b791c9235049e7e6b38c89101e16c4182847eed5f6c7318d5820d38670072068d3cca0b6ac7e3bcb84f0d43b5ab5f97de663326a36ef66d7ddf7451 SHA512 95b1325ad7d9bda11af3caed40ab59a67c5d1c9af6e3eac4f91431f8b4c37f6ce591164d1addaa616b179113d5b9608bed2ce555e59d864af2572f77b7a8437c
-MISC metadata.xml 244 BLAKE2B 4adbafcbe3f9af57f743a50db01452f29f165435a1905a2460183a1e7ce0b92f620df57702be063094bce16a8f99f3d56fa8445c704f89f3a6625192a5a401ec SHA512 8ced66f9a1e5533891a0142222723fab44ddda99a5d00b8f880e961146cb2abbd076005db790cab522be24d5cdec5a391d6a3942c1497450efcb30774e180c97
diff --git a/net-misc/siproxd/files/siproxd-0.8.1-amd64_static_build.patch b/net-misc/siproxd/files/siproxd-0.8.1-amd64_static_build.patch
deleted file mode 100644
index af491c167da1..000000000000
--- a/net-misc/siproxd/files/siproxd-0.8.1-amd64_static_build.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- siproxd-0.8.1/configure.in
-+++ siproxd-0.8.1/configure.in
-@@ -361,8 +361,9 @@
- dnl link statically to this lib
- dnl (this probably only will work on linux yet...)
- AC_MSG_CHECKING("where I can find libosip2.a")
-- libosip_static=`find $extra_libs $libosip_prefix_dir/lib /lib \
-- /usr/lib /usr/local/lib \
-+ libosip_static=`find $extra_libs $libosip_prefix_dir/lib64 \
-+ $libosip_prefix_dir/lib /lib64 /lib /usr/lib64 \
-+ /usr/lib /usr/local/lib64 /usr/local/lib \
- -name libosip2.a 2>/dev/null|head -1`
- if test "x$libosip_static" != "x"; then
- LIBS="$libosip_static $LIBS"
-@@ -371,8 +372,9 @@
- echo "*** ERROR: a static libosip library is required!";exit 1;
- fi
- AC_MSG_CHECKING("where I can find libosipparser2.a")
-- libosip_static=`find $extra_libs $libosip_prefix_dir/lib /lib \
-- /usr/lib /usr/local/lib \
-+ libosip_static=`find $extra_libs $libosip_prefix_dir/lib64 \
-+ $libosip_prefix_dir/lib /lib64 /lib /usr/lib64 \
-+ /usr/lib /ur/local/lib64 /usr/local/lib \
- -name libosipparser2.a 2>/dev/null|head -1`
- if test "x$libosip_static" != "x"; then
- LIBS="$libosip_static $LIBS"
diff --git a/net-misc/siproxd/files/siproxd-libtool-2.4.patch b/net-misc/siproxd/files/siproxd-libtool-2.4.patch
deleted file mode 100644
index 189b32090f7b..000000000000
--- a/net-misc/siproxd/files/siproxd-libtool-2.4.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -r -U 2 a/src/plugins.h b/src/plugins.h
---- a/src/plugins.h 2010-01-07 12:44:38.000000000 +0100
-+++ b/src/plugins.h 2010-06-19 13:56:30.960679284 +0200
-@@ -25,4 +25,8 @@
-
-
-+#ifndef lt__PROGRAM__LTX_preloaded_symbols
-+#define lt__PROGRAM__LTX_preloaded_symbols lt_libltdl_LTX_preloaded_symbols
-+extern const void *lt_preloaded_symbols[];
-+#endif
-
- /* Plugins must return STS_SUCCESS / SUCCESS_FAILURE */
-
diff --git a/net-misc/siproxd/files/siproxd.rc6 b/net-misc/siproxd/files/siproxd.rc6
deleted file mode 100644
index 0ec75e159f79..000000000000
--- a/net-misc/siproxd/files/siproxd.rc6
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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/siproxd.pid -c /etc/siproxd.conf
- eend $?
-}
-
-stop() {
- ebegin "Stopping siproxd"
- start-stop-daemon --stop --pidfile /var/run/siproxd/siproxd.pid
- eend $?
-}
diff --git a/net-misc/siproxd/files/siproxd.rc8 b/net-misc/siproxd/files/siproxd.rc8
deleted file mode 100644
index 017783025f1f..000000000000
--- a/net-misc/siproxd/files/siproxd.rc8
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-config_file="/etc/siproxd.conf"
-
-pidfile="/var/run/siproxd/siproxd.pid"
-command="/usr/sbin/siproxd"
-command_args="-p ${pidfile} -c ${config_file}"
-
-depend() {
- need net
-}
-
-start_pre() {
- if [ ! -f "${config_file}" ] ; then
- eerror "Please create ${config_file} first!"
- return 1
- fi
- checkpath -q -d ${pidfile%/*} -o siproxd:siproxd
-}
diff --git a/net-misc/siproxd/metadata.xml b/net-misc/siproxd/metadata.xml
deleted file mode 100644
index 91288ffa73c3..000000000000
--- a/net-misc/siproxd/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">siproxd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-misc/siproxd/siproxd-0.8.0-r3.ebuild b/net-misc/siproxd/siproxd-0.8.0-r3.ebuild
deleted file mode 100644
index bb230657846c..000000000000
--- a/net-misc/siproxd/siproxd-0.8.0-r3.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils autotools user
-
-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
- <net-libs/libosip-4.0.0"
-# debug? ( dev-libs/dmalloc[threads] )"
-DEPEND="${RDEPEND}
- >=sys-devel/libtool-2.4
- 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() {
- default
-
- # 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.am || die "patching Makefile failed"
- epatch "${FILESDIR}/${PN}-libtool-2.4.patch"
- # do not crash when building with external libltdl, bug 308495
- sed -i 's|"../libltdl/ltdl.h"|<ltdl.h>|' src/plugins.h || die "patching plugins.h failed"
-
- eautoreconf
-}
-
-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
-
- newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
-
- dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO \
- doc/FAQ doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS
-
- if use doc; then
- dodoc doc/RFC3261_compliance.txt
- # auto-generated doc is not auto-installed
- # upstream has been contacted, see bug 2649333 in their bugtracker
- dohtml -r doc/html/
- # pdf is not build all the time
- if has_version app-text/docbook-sgml-utils[jadetex]; then
- dodoc doc/pdf/*.pdf
- fi
- fi
-
- if use examples; then
- docinto examples
- dodoc doc/sample_*.txt
- fi
-
- # set up siproxd directories
- keepdir /var/{lib,run}/${PN}
- fowners siproxd:siproxd /var/{lib,run}/${PN}
-}
-
-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
-}
diff --git a/net-misc/siproxd/siproxd-0.8.1-r2.ebuild b/net-misc/siproxd/siproxd-0.8.1-r2.ebuild
deleted file mode 100644
index 664fe43e1ff3..000000000000
--- a/net-misc/siproxd/siproxd-0.8.1-r2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils autotools user
-
-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
- <net-libs/libosip-4.0.0"
-# debug? ( dev-libs/dmalloc[threads] )"
-DEPEND="${RDEPEND}
- >=sys-devel/libtool-2.4
- 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.am || die "patching Makefile failed"
- epatch "${FILESDIR}/${PN}-libtool-2.4.patch"
- # do not crash when building with external libltdl, bug 308495
- sed -i 's|"../libltdl/ltdl.h"|<ltdl.h>|' src/plugins.h || die "patching plugins.h failed"
-
- epatch "${FILESDIR}/${PN}-0.8.1-amd64_static_build.patch" #380835
-
- eautoreconf
-}
-
-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) \
- $(use_enable !static shared) \
- --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() {
- default
-
- newinitd "${FILESDIR}"/${PN}.rc8 ${PN}
-
- dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO \
- doc/FAQ doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS
-
- if use doc; then
- dodoc doc/RFC3261_compliance.txt
- # auto-generated doc is not auto-installed
- # upstream has been contacted, see bug 2649333 in their bugtracker
- dohtml -r doc/html/
- # pdf is not build all the time
- if has_version 'app-text/docbook-sgml-utils[jadetex]' ; then
- dodoc doc/pdf/*.pdf
- fi
- fi
-
- if use examples; then
- docinto examples
- dodoc doc/sample_*.txt
- fi
-
- # set up siproxd directories
- keepdir /var/lib/${PN}
- fowners siproxd:siproxd /var/lib/${PN}
-}
-
-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
-}