commit:     3bbdbe2b99aa70636bc1b96caf4186f51909cb01
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Sat Mar 13 12:17:52 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar 19 08:51:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bbdbe2b

net-misc/asterisk: Enable voicemail_storage_file by default, and libxml2 
BDEPEND.

This used to be the case at some point, and somewhere I broke this.
pkgcheck moans about this.  Since it doesn't affect existing installs,
fix all versions in tree without version bumps.

Having libxml2 in BDEPEND should allow cross-compiling since menuselect
which is build for the build host requires libxml2 as it's only hard
dependency.

Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/asterisk/asterisk-13.38.1-r2.ebuild | 7 ++++---
 net-misc/asterisk/asterisk-13.38.2.ebuild    | 7 ++++---
 net-misc/asterisk/asterisk-16.16.2.ebuild    | 7 ++++---
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/net-misc/asterisk/asterisk-13.38.1-r2.ebuild 
b/net-misc/asterisk/asterisk-13.38.1-r2.ebuild
index 00fb2c78dce..4afefac8480 100644
--- a/net-misc/asterisk/asterisk-13.38.1-r2.ebuild
+++ b/net-misc/asterisk/asterisk-13.38.1-r2.ebuild
@@ -19,7 +19,7 @@ IUSE_VOICEMAIL_STORAGE=(
        voicemail_storage_odbc
        voicemail_storage_imap
 )
-IUSE="${IUSE_VOICEMAIL_STORAGE[*]//+/} alsa blocks bluetooth calendar +caps 
cluster curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl lua 
mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex 
srtp +ssl static statsd syslog vorbis xmpp"
+IUSE="${IUSE_VOICEMAIL_STORAGE[*]} alsa blocks bluetooth calendar +caps 
cluster curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl lua 
mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex 
srtp +ssl static statsd syslog vorbis xmpp"
 REQUIRED_USE="gtalk? ( xmpp )
        lua? ( ${LUA_REQUIRED_USE} )
        ^^ ( ${IUSE_VOICEMAIL_STORAGE[*]//+/} )
@@ -99,7 +99,8 @@ RDEPEND="${DEPEND}
        selinux? ( sec-policy/selinux-asterisk )
        syslog? ( virtual/logger )"
 
-BDEPEND="virtual/pkgconfig"
+BDEPEND="dev-libs/libxml2:2
+       virtual/pkgconfig"
 
 QA_DT_NEEDED="/usr/lib.*/libasteriskssl[.]so[.][0-9]\+"
 
@@ -285,7 +286,7 @@ src_install() {
        dodoc UPGRADE* BUGS CREDITS
 
        # install extra documentation
-       use doc &&doc/*.{txt,pdf}
+       use doc && dodoc doc/*.{txt,pdf}
 
        # install logrotate snippet; bug #329281
        #

diff --git a/net-misc/asterisk/asterisk-13.38.2.ebuild 
b/net-misc/asterisk/asterisk-13.38.2.ebuild
index 84f0aec402f..7a8d1d57cf8 100644
--- a/net-misc/asterisk/asterisk-13.38.2.ebuild
+++ b/net-misc/asterisk/asterisk-13.38.2.ebuild
@@ -19,7 +19,7 @@ IUSE_VOICEMAIL_STORAGE=(
        voicemail_storage_odbc
        voicemail_storage_imap
 )
-IUSE="${IUSE_VOICEMAIL_STORAGE[*]//+/} alsa blocks bluetooth calendar +caps 
cluster curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl lua 
mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex 
srtp +ssl static statsd syslog vorbis xmpp"
+IUSE="${IUSE_VOICEMAIL_STORAGE[*]} alsa blocks bluetooth calendar +caps 
cluster curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl lua 
mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex 
srtp +ssl static statsd syslog vorbis xmpp"
 REQUIRED_USE="gtalk? ( xmpp )
        lua? ( ${LUA_REQUIRED_USE} )
        ^^ ( ${IUSE_VOICEMAIL_STORAGE[*]//+/} )
@@ -99,7 +99,8 @@ RDEPEND="${DEPEND}
        selinux? ( sec-policy/selinux-asterisk )
        syslog? ( virtual/logger )"
 
-BDEPEND="virtual/pkgconfig"
+BDEPEND="dev-libs/libxml2:2
+       virtual/pkgconfig"
 
 QA_DT_NEEDED="/usr/lib.*/libasteriskssl[.]so[.][0-9]\+"
 
@@ -285,7 +286,7 @@ src_install() {
        dodoc UPGRADE* BUGS CREDITS
 
        # install extra documentation
-       use doc &&doc/*.{txt,pdf}
+       use doc && dodoc doc/*.{txt,pdf}
 
        # install logrotate snippet; bug #329281
        #

diff --git a/net-misc/asterisk/asterisk-16.16.2.ebuild 
b/net-misc/asterisk/asterisk-16.16.2.ebuild
index 6a7ee37f080..2ca6f4a6d01 100644
--- a/net-misc/asterisk/asterisk-16.16.2.ebuild
+++ b/net-misc/asterisk/asterisk-16.16.2.ebuild
@@ -19,7 +19,7 @@ IUSE_VOICEMAIL_STORAGE=(
        voicemail_storage_odbc
        voicemail_storage_imap
 )
-IUSE="${IUSE_VOICEMAIL_STORAGE[*]//+/} alsa blocks bluetooth calendar +caps 
cluster codec2 curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl 
lua mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span 
speex srtp +ssl static statsd syslog unbound vorbis xmpp"
+IUSE="${IUSE_VOICEMAIL_STORAGE[*]} alsa blocks bluetooth calendar +caps 
cluster codec2 curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl 
lua mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span 
speex srtp +ssl static statsd syslog unbound vorbis xmpp"
 IUSE_EXPAND="VOICEMAIL_STORAGE"
 REQUIRED_USE="gtalk? ( xmpp )
        lua? ( ${LUA_REQUIRED_USE} )
@@ -101,7 +101,8 @@ RDEPEND="${DEPEND}
        selinux? ( sec-policy/selinux-asterisk )
        syslog? ( virtual/logger )"
 
-BDEPEND="virtual/pkgconfig"
+BDEPEND="dev-libs/libxml2:2
+       virtual/pkgconfig"
 
 QA_DT_NEEDED="/usr/lib.*/libasteriskssl[.]so[.][0-9]\+"
 
@@ -292,7 +293,7 @@ src_install() {
        dodoc UPGRADE* BUGS CREDITS
 
        # install extra documentation
-       use doc &&doc/*.{txt,pdf}
+       use doc && dodoc doc/*.{txt,pdf}
 
        # install logrotate snippet; bug #329281
        #

Reply via email to