summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2020-06-24 19:45:56 +0200
committerAndreas Schuerch <nativemad@gentoo.org>2020-06-25 12:44:43 +0200
commita6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6 (patch)
treea61bbb4976add1bfa86670c48cd743135129f697 /net-im
parentprofiles: Mask dev-tex/{cdcover,translator} for removal. (diff)
downloadgentoo-a6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6.tar.gz
gentoo-a6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6.tar.bz2
gentoo-a6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6.zip
net-im/coturn: versionbump, remove old, solves 724918,716096,710286
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Andreas Schuerch <nativemad@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/coturn/Manifest2
-rw-r--r--net-im/coturn/coturn-4.5.1.2.ebuild (renamed from net-im/coturn/coturn-4.5.1.1.ebuild)8
-rw-r--r--net-im/coturn/coturn-9999.ebuild8
3 files changed, 15 insertions, 3 deletions
diff --git a/net-im/coturn/Manifest b/net-im/coturn/Manifest
index 0f48d31a5c5f..c40ac5708b1f 100644
--- a/net-im/coturn/Manifest
+++ b/net-im/coturn/Manifest
@@ -1 +1 @@
-DIST coturn-4.5.1.1.tar.gz 420069 BLAKE2B fe0e0334658d2a69132d7a83667ee52927e888f8978bd03eb099e61f17a4516d10a36d2abb1c93e2b25bc4192c342fba581b85892e99b139016e09c77a365cc2 SHA512 a5e1aecdab5a7060ffbc73cc8dd294cafa701f2e0d2a827e40901cb6001af5a2c5ecbafdf14662410713818aad0ad259133f0dc9b34730bf7911863e1e255f70
+DIST coturn-4.5.1.2.tar.gz 436487 BLAKE2B c59a3ba0554111c6f70db04438e08b4d78bacc312bc5e5c2435e92f697222c8a3ab1c4f3e25de15174c3c359acda4760f855d88e37e68d333568c0882f4139a5 SHA512 6dd223fee866d97a3e55d87250fcb5d6ecc56f14b30029685406237aedd3d3cd6c09b685ef13ed2d1ebed3a4a3a80a88151c6498f312e53e3f5848d4af489478
diff --git a/net-im/coturn/coturn-4.5.1.1.ebuild b/net-im/coturn/coturn-4.5.1.2.ebuild
index 4a1fd7499733..f3a72b581544 100644
--- a/net-im/coturn/coturn-4.5.1.1.ebuild
+++ b/net-im/coturn/coturn-4.5.1.2.ebuild
@@ -32,10 +32,16 @@ RDEPEND="acct-group/turnserver
DEPEND="${RDEPEND}"
src_configure() {
+ if [ -n "${AR}" ]; then
+ sed 's:ARCHIVERCMD="ar -r":ARCHIVERCMD="${AR} -r":g' -i "${S}/configure"
+ fi
+ sed 's:MANPREFIX}/man/:MANPREFIX}/:g' -i "${S}/Makefile.in" || die "sed for mandir failed"
sed 's:#log-file=/var/tmp/turn.log:log-file=/var/log/turnserver.log:' \
-i "${S}/examples/etc/turnserver.conf" || die "sed for logdir failed"
sed 's:#simple-log:simple-log:' -i "${S}/examples/etc/turnserver.conf" \
|| die "sed for simple-log failed"
+ sed '/INSTALL_DIR} examples\/script/a \ \${INSTALL_DIR} examples\/ca \${DESTDIR}${EXAMPLESDIR}' \
+ -i "${S}/Makefile.in" || die "sed for example ca failed"
if ! use mongodb; then
export TURN_NO_MONGO=yes
fi
@@ -51,7 +57,7 @@ src_configure() {
if ! use sqlite; then
export TURN_NO_SQLITE=yes
fi
-
+ export DOCSDIR="/usr/share/doc/${PN}-${PV}"
econf $(use_with sqlite)
}
diff --git a/net-im/coturn/coturn-9999.ebuild b/net-im/coturn/coturn-9999.ebuild
index 4a1fd7499733..f3a72b581544 100644
--- a/net-im/coturn/coturn-9999.ebuild
+++ b/net-im/coturn/coturn-9999.ebuild
@@ -32,10 +32,16 @@ RDEPEND="acct-group/turnserver
DEPEND="${RDEPEND}"
src_configure() {
+ if [ -n "${AR}" ]; then
+ sed 's:ARCHIVERCMD="ar -r":ARCHIVERCMD="${AR} -r":g' -i "${S}/configure"
+ fi
+ sed 's:MANPREFIX}/man/:MANPREFIX}/:g' -i "${S}/Makefile.in" || die "sed for mandir failed"
sed 's:#log-file=/var/tmp/turn.log:log-file=/var/log/turnserver.log:' \
-i "${S}/examples/etc/turnserver.conf" || die "sed for logdir failed"
sed 's:#simple-log:simple-log:' -i "${S}/examples/etc/turnserver.conf" \
|| die "sed for simple-log failed"
+ sed '/INSTALL_DIR} examples\/script/a \ \${INSTALL_DIR} examples\/ca \${DESTDIR}${EXAMPLESDIR}' \
+ -i "${S}/Makefile.in" || die "sed for example ca failed"
if ! use mongodb; then
export TURN_NO_MONGO=yes
fi
@@ -51,7 +57,7 @@ src_configure() {
if ! use sqlite; then
export TURN_NO_SQLITE=yes
fi
-
+ export DOCSDIR="/usr/share/doc/${PN}-${PV}"
econf $(use_with sqlite)
}