summaryrefslogtreecommitdiff
path: root/net-libs/ortp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/ortp
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/ortp')
-rw-r--r--net-libs/ortp/Manifest7
-rw-r--r--net-libs/ortp/metadata.xml9
-rw-r--r--net-libs/ortp/ortp-0.20.0.ebuild76
-rw-r--r--net-libs/ortp/ortp-0.23.0-r1.ebuild78
4 files changed, 170 insertions, 0 deletions
diff --git a/net-libs/ortp/Manifest b/net-libs/ortp/Manifest
new file mode 100644
index 000000000000..b8b9dc17b318
--- /dev/null
+++ b/net-libs/ortp/Manifest
@@ -0,0 +1,7 @@
+DIST ortp-0.20.0.tar.gz 515505 SHA256 f2a8263f8242756e2ce092c710ac068cd4b21051fc70c1937b275193a2bfb3d3 SHA512 a4d666be6b6825eeb28204001d5d1263c80ef3c07931586e753d3efa8c72d76e993335c4eeaa558209b5d10d5e991ba0c88e2f5c9a35aff46b36d6e76f92b706 WHIRLPOOL cc1a9473580748a76d26bde42f074bd9bbb1bd066a7b514b0016dd75d2d5b57ff29eba18e10139457acc406593bb566fdc8c256a4241a77718d965419ecd8b50
+DIST ortp-0.23.0.tar.gz 540135 SHA256 91a5ada15f62ce5f08beceef4d0adb65469211e2f208bd96e493a8df9f84fcdb SHA512 70560168f1b138ad825e4e836e7ee218bd24b92a2d76666ba2794a4b31cadbdd8fdd40fee78d612187cde6a827005cbd836cdfc13a70947374356fb84a853ea4 WHIRLPOOL cb9dc4c925ed92816d58dc66bab9f179d6a99abe64a218710cd92763422cb8b5f81ce4bdc5ad935798e792d7a5f3ab74e9b8cbdfc9bbde7781ce92d7b90ef507
+EBUILD ortp-0.20.0.ebuild 1859 SHA256 6666113760eef94d8db6e0f133d8f81545e6ec05d1a2bd2b1dbe7a9bfb894154 SHA512 21ae36326b1d5448034f08717cd946a31c0d0324a7b7832c6f536186c1d53a9ed512a0111a26461365f27ab61c3207831cca9f6d323520e310f2724d3f766db9 WHIRLPOOL 48e3d6bf7d60f5382191094d455bd5fba4f410be198aa9631d61aeeab0416c758ecd1a104a21f27b1b3307cc55b9a1e51e50279ff4910efdc403ee669a87fadf
+EBUILD ortp-0.23.0-r1.ebuild 1861 SHA256 24d53100b53cf879090d640271d823556540cca2d2ab9eadd2a8f155e5ebbdf0 SHA512 7f57da1c3feb1a53bec07b3c0279485ca473321f8b7d66d8b268296d39263c7a422f402838398ec1041410c3fe8820352f04987d40cc127c13926d71c89c4a18 WHIRLPOOL 5ebf86e586915bb9f55be6c32205b15f80b179a23359a0294a8a30820ee07a38f4701a9c44853d3212404de4861225d2587a12889ec7b1f6f061125932991bd2
+MISC ChangeLog 2968 SHA256 6d32416a9850a5cf76b6ba77d0317e249dcc0936c7c1632f9c098f111a60353c SHA512 dfa62c126f22684154a80c690824894a8daa1132208b427dba5b51e6311c18e99a0d847b522a0e31e5e139d34af0c83e787af06278cfeb4a21d4a715bdf23dd9 WHIRLPOOL e2f9919692f54f4088e22e7d13247ae9ed43102baca87c0cdfd9c53f0bf49f66e6917c12f2f080f302896ce02cce737fa781114c63cdab027c8dc4232e3168b0
+MISC ChangeLog-2015 11061 SHA256 c3186fee3ce526af47be9261c1bebc90db60f0e3cff9da568cee2b48c517abe9 SHA512 f214c6cca6926e8f40f16a87116ea5773d34291e23780a754424b5e1cff835730f998f7c8ff628ed036eff58f92bdfb2335ee61d5a875caed91169e245623cea WHIRLPOOL 04e2b2b6436e4ca6eb0bceeb48e4f62ca67cd8e1a3c11276fcb03e7e0a9c8a931227476949e6a52d9cbbd9fa32c24d29e37cd1ae3f33bff57541e13c37150429
+MISC metadata.xml 362 SHA256 acd7a7f9c7846022a080bf532bb9d474fbfba88173734a51e701f6791e51754b SHA512 6a9fd13fe951f0cdd6574a83f53a0c21324fa9cf45c878e71fe1c6aefa6a52ca8e285f2d433d2bd62723241b59793c06d66e4e9f6f8be1530f8377de224a66c7 WHIRLPOOL 11214e8d45fd38c12d17ad90379bf2bcde642dc4bcce6af321ec82ce674d792523cb47c159648f100be28d8d9e17ee78dd4a7f07d2034d3a42cd1a0672cfd8e8
diff --git a/net-libs/ortp/metadata.xml b/net-libs/ortp/metadata.xml
new file mode 100644
index 000000000000..6e703ab66664
--- /dev/null
+++ b/net-libs/ortp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person"><email>chainsaw@gentoo.org</email></maintainer>
+ <use>
+ <flag name="ntp-timestamp">Turn on NTP timestamping on received packet</flag>
+ <flag name="srtp">Add support for Secure RTP</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-libs/ortp/ortp-0.20.0.ebuild b/net-libs/ortp/ortp-0.20.0.ebuild
new file mode 100644
index 000000000000..9b860bad5ada
--- /dev/null
+++ b/net-libs/ortp/ortp-0.20.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="mirror://nongnu/linphone/${PN}/sources/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug doc examples ipv6 minimal srtp ssl" # zrtp"
+
+# Note:
+# This package supposedly requires libzrtpcpp-2.0.0
+# but it is incompatible with its API...
+
+RDEPEND="srtp? ( net-libs/libsrtp )
+ ssl? ( dev-libs/openssl )"
+# zrtp? ( >=net-libs/libzrtpcpp-2.0.0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig"
+
+#REQUIRED_USE="zrtp? ( srtp )"
+
+src_prepare() {
+ # ${P} is added after ${docdir}
+ if use doc; then
+ sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.in \
+ || die "patching Makefile.in failed"
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ # memcheck is for HP-UX only
+ --disable-memcheck
+ # mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX
+ --disable-mode64bit
+ # strict adds -Werror, don't want it
+ --disable-strict
+ # they seriously failed to understand AC_ARG_ENABLE...
+ --disable-tests_enabled
+ --enable-fast-install
+ --enable-libtool-lock
+
+ $(use_enable debug)
+ $(use_enable ipv6)
+ $(use_enable minimal perf)
+ $(use_enable ssl ssl-hmac)
+# $(use_enable zrtp)
+ --disable-zrtp
+
+ "--with-srtp=$(usex srtp "${EPREFIX}"/usr none)"
+ $(use doc || echo ac_cv_path_DOXYGEN=false)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+ install
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ prune_libtool_files
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/tests/*.c
+ fi
+}
diff --git a/net-libs/ortp/ortp-0.23.0-r1.ebuild b/net-libs/ortp/ortp-0.23.0-r1.ebuild
new file mode 100644
index 000000000000..f9f6a6b1384f
--- /dev/null
+++ b/net-libs/ortp/ortp-0.23.0-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="mirror://nongnu/linphone/${PN}/sources/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/9"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug doc examples ipv6 libressl minimal ntp-timestamp ssl srtp"
+
+RDEPEND="
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= ) )
+ srtp? ( net-libs/libsrtp:0= )
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ # ${P} is added after ${docdir}
+ if use doc; then
+ sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.in \
+ || die "patching Makefile.in failed"
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ # memcheck is for HP-UX only
+ --disable-memcheck
+ # mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX
+ --disable-mode64bit
+ # strict adds -Werror, do not want it
+ --disable-strict
+ # they seriously failed to understand AC_ARG_ENABLE...
+ --disable-tests_enabled
+ --enable-fast-install
+ --enable-libtool-lock
+ # this is fine as long as we do not link to polarssl
+ --enable-broken-srtp
+ # zrtp removed from the tree
+ --disable-zrtp
+
+ $(use_enable debug)
+ $(use_enable ipv6)
+ $(use_enable minimal perf)
+ $(use_enable ntp-timestamp)
+ $(use_enable ssl ssl-hmac)
+
+ --with-srtp=$(usex srtp "${EPREFIX}"/usr none)
+ $(use doc || echo ac_cv_path_DOXYGEN=false)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+ install
+
+ einstalldocs
+
+ prune_libtool_files
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/tests/*.c
+ fi
+}