commit:     5c72a429894d5f22ef66142d286394fd52b29539
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Wed Dec 23 10:58:56 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 21:31:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c72a429

net-misc/asterisk: Remove asterisk-11 and related ebuilds.

This has now been moved to a private overlay.  If you still need this.
You're out of luck.

Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-misc/asterisk-g729/Manifest                    |   2 -
 .../asterisk-g729/asterisk-g729-11.0.3.1.9.ebuild  |  89 ------
 net-misc/asterisk/Manifest                         |   2 -
 net-misc/asterisk/asterisk-11.25.3-r1.ebuild       | 313 ---------------------
 net-misc/asterisk/metadata.xml                     |   1 -
 profiles/package.mask                              |   7 -
 6 files changed, 414 deletions(-)

diff --git a/net-misc/asterisk-g729/Manifest b/net-misc/asterisk-g729/Manifest
index e675b5caa0a..b110e50433c 100644
--- a/net-misc/asterisk-g729/Manifest
+++ b/net-misc/asterisk-g729/Manifest
@@ -2,8 +2,6 @@ DIST asthostid-x86_32 1678360 BLAKE2B 
0caa098d9891cad9301bbc074d8ef8e0229ef3432c
 DIST asthostid-x86_64 1806296 BLAKE2B 
cd2e08ee760374f781d79a952679dc7d54f83dbd3f9a63dfe8fe4f36ea74c19c4a0486d459a5cb90877111100dd6e147bc701489e38ecefe585a4473147a5886
 SHA512 
be7d7b63259d5c4f15e6b3a55b283030bfc3f4ccf59c58848a9803838f7aa2ff470353a4d78d289bdcd40213c0cc81fad31e2bfad690fcaf111ea5cabae5adfd
 DIST astregister-x86_32 2103608 BLAKE2B 
7fdf1c196152612cd28cfe7bf832dedb625b392f5e919480b1fb792327474d6ad91abaf4938ca8b230a1226bef62652e16f8d8ac1d0dad338fe308b3582c72e8
 SHA512 
3c3c4b8a32143d1aaaec6ec6b308335f59cf5381f844412e4e484aedc91bff2601778c28e99628fff828c81d2ec05b4de7c8c1cdddeea3ec37f5331beff47a2c
 DIST astregister-x86_64 2193440 BLAKE2B 
9c9ac2343f5d7291251b9ceaa00fc4f8e4c39673e8d4854f8743beee5c86bbbc14c802c34ff26aa8412f1219113edeab7cb3b7adb94086c2f63724095d9f1fc5
 SHA512 
9302a7ead6bedd6683bcd0da92b7a7ca54fdb975784ef1783aa99f2bb26424dbb77b4c0fa6b809ae6e6ad839807feb055bee5c03a38292737412aa1c3d7df4e4
-DIST codec_g729a-11.0_3.1.9-x86_32.tar.gz 411132 BLAKE2B 
6325763e27c25ab101ec825f08e8ba86a1b42dac1e75e792dfd1467a03909523097a6cb5c92233e391b293069e7bed7d23cd955329653d0730f529a6b5a1495f
 SHA512 
3426e0ce15cba5866c1ef8f3c692237f6910ebde5740cacdf27e04f110caf7f289834eb8dc793dd4fa50ec17854a2ebad19764d9c485221e0237ac207ccff991
-DIST codec_g729a-11.0_3.1.9-x86_64.tar.gz 478377 BLAKE2B 
409cdd436b0cf11c8d68372b1b22f29ed6e2d9f01d77ca8494415c29e89e88472c126461e9d124661dbd4ef26725301cbc3bb859884ae02592ad583a37608896
 SHA512 
f97972e4afac2897162cfce7c49423a36d313801246238e3923993e04a2add020028a509c11cb1f4f39ec612c4243007fe564438cf82e1c71543a44bf0bbd2c8
 DIST codec_g729a-13.0_3.1.9-x86_32.tar.gz 411156 BLAKE2B 
179c77d32d1f8ac3314813a1d2ce51cee1cb7b9c1b9f5e8e78c4ed1169c0719f893c55c4fe890fb657196a37c5a4779164924a8696817ba7bbe6f17146286b82
 SHA512 
9b064b3db3c40f900b88937efde1605dfb67316d92adc3774b4e3322e9bc5042e6670a2d385b6487a8980620eb92c8564b4fd3535810bab117f53b2762e8ca68
 DIST codec_g729a-13.0_3.1.9-x86_64.tar.gz 478364 BLAKE2B 
49136479e1bd139fcb22130868575d5be7d6784081307679cfeee16951f6a303b5328a62c23a0ade506f2df0527b275bd198560dacd59ba5b9ba237095622778
 SHA512 
5fa2dca977ca1dcbf3019fc86c3edc91fd561c814bfa9a5202680b7a581f03faa1705a4392a70409f9cd30a4379691b609f0f572030972cbe432cad435314951
 DIST codec_g729a-16.0_3.1.9-x86_32.tar.gz 476772 BLAKE2B 
e1a7b8baefc551f16618fded2663acfb825a7eabcccc7ca844792e6179bac5b9ac2e0f4c387e3b2861347c6deb5db13f41ecd265c2261dbb65756890d976f4f7
 SHA512 
cddf46f369b0922a5569961688fcd4fb840bcce3a5573549d8a3a3e6150e20cd7c18e32ea07edc10150dd409763504ab50fad5d884fb33a49d624e4ebe0afd10

diff --git a/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.9.ebuild 
b/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.9.ebuild
deleted file mode 100644
index 55994b2777f..00000000000
--- a/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.9.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit versionator multilib
-
-DESCRIPTION="G.729 codec and supporting files for asterisk"
-HOMEPAGE="http://store.digium.com/productview.php?product_code=G729CODEC";
-
-BENCH_PV=1.0.8
-
-AST_PV=11.0
-MY_PV=$(replace_version_separator 2 _)
-
-SRC_URI="x86? (
-       
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-x86_32.tar.gz
-       http://downloads.digium.com/pub/register/x86-32/register -> 
astregister-x86_32
-       http://downloads.digium.com/pub/register/x86-32/asthostid -> 
asthostid-x86_32
-)
-amd64? (
-       
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-x86_64.tar.gz
-       http://downloads.digium.com/pub/register/x86-64/register -> 
astregister-x86_64
-       http://downloads.digium.com/pub/register/x86-64/asthostid -> 
asthostid-x86_64
-)"
-
-LICENSE="Digium"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND} =net-misc/asterisk-11*"
-
-RESTRICT="mirror strip"
-
-QA_FLAGS_IGNORED_amd64="usr/lib64/asterisk/modules/codec_g729a.so 
usr/sbin/benchg729"
-QA_FLAGS_IGNORED_x86="usr/lib/asterisk/modules/codec_g729a.so 
usr/sbin/benchg729"
-QA_PREBUILT="usr/sbin/benchg729 usr/sbin/asthostid usr/sbin/astregister"
-
-S="${WORKDIR}"
-
-src_prepare() {
-       local binsuffix
-       local b
-
-       if use x86; then
-               binsuffix=x86_32
-       elif use amd64; then
-               binsuffix=x86_64
-       else
-               die "Ebuild only functions for x86 and amd64."
-       fi
-
-       for b in astregister asthostid; do
-               cp "${DISTDIR}/${b}-${binsuffix}" "${WORKDIR}/${b}" || die
-               fperms 755 ${b}
-       done
-       default
-}
-
-src_install() {
-       local binsuffix
-
-       if use x86; then
-               binsuffix=x86_32
-       elif use amd64; then
-               binsuffix=x86_64
-       else
-               die "Ebuild only functions for x86 and amd64."
-       fi
-
-       dosbin astregister
-       dosbin asthostid
-
-       dodoc codec_g729a-${MY_PV}-${binsuffix}/LICENSE
-       dodoc codec_g729a-${MY_PV}-${binsuffix}/README
-       insinto usr/$(get_libdir)/asterisk/modules/
-       doins "codec_g729a-${MY_PV}-${binsuffix}/codec_g729a.so"
-}
-
-pkg_postinst() {
-       einfo "Please note that Digium's register utility has been installed as 
astregister"
-       einfo
-       einfo "Please consider participating in the G.729 stats collection that 
ULS"
-       einfo "is performing.  This will assist in picking better variants for 
more"
-       einfo "processors as we gather more statistics.  All you need to do is 
run"
-       einfo "the collect-g729-stats.sh command."
-}

diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest
index ae3d549a052..adc58d9c8c9 100644
--- a/net-misc/asterisk/Manifest
+++ b/net-misc/asterisk/Manifest
@@ -1,4 +1,3 @@
-DIST asterisk-11.25.3.tar.gz 35134682 BLAKE2B 
9da24d5d6a674ab660edb103e5fc56ddfbcc58cd86166cc08cceb0598a63b51eae36133565e09a30ad11ff6623ba8945437dfb561d2916f68341d398540dabce
 SHA512 
9c0521d55e5b69663ea40066d52e397ba6c165a4b20cd0a1e5e375b9c0e5a6e4f37908e50b0b580e288dec9be252af9a8bce7bceb03ba029f902fb757e6311ed
 DIST asterisk-13.34.0.tar.gz 33686020 BLAKE2B 
48de77f2e29028ab3503ea30038e629b6ede43154bec8efe1384a7077fb971f91b85d9b4eb55f7a4ea6577a31ad5fe496453fe59cd607a0c613e46edef9a11d9
 SHA512 
2132db831bb063330c47cea8cea67af706839d25e64eee558475643cb79a4e548fc6ffe7ce61a053f41cf6f367320eedaa87973a5de4ef38ae858a6e5a183ee7
 DIST asterisk-13.35.0.tar.gz 33685340 BLAKE2B 
728281257541977ac150b1b7d6148fd326c584f7827af46882ff3e3af111d876c3e53f92f1034c55875d730e5b92c379b8906198393b7a4227a5bb74818ab27c
 SHA512 
7596f387d45ef9f0327d78bc0446979e233aba517bbedfb539409cc507e2dac15e3b32d5c8a5e69783d106d4244661cb20b0580ed00904699bc5bf5db7b4713a
 DIST asterisk-13.36.0.tar.gz 33692378 BLAKE2B 
7252e7a103d94bbdd4073563f88ec2952ef88856cb5a98f7a07818a993c1064ca4ffb12202f2c297125d7bc3fd3814c9921a87c179db03dede05162844bebbd1
 SHA512 
276175e6df1c8a2e642c4607aa32515e7c4fffe50f7db89bbfee8850b286579350a074bb8bbe743b3e95d6ce2d92f8d5444053fe52527071cc884356b57a1efc
@@ -6,5 +5,4 @@ DIST asterisk-13.37.0.tar.gz 33696267 BLAKE2B 
806e48fd2ed497becef87e5a349854e377
 DIST asterisk-16.12.0.tar.gz 27727347 BLAKE2B 
3e2e986136e5ff19a876f01fdc6db1b6c22f83bf38f8524a418e474e2400375d8091dd215fb54f5b01f998cecf46d6965a0c35a44dc6f3be7f7a811e2ce70b8c
 SHA512 
1fc41b92d070efd4a7ea5db1a36c83bdb6dbbe7d9b5087b0a887ba3d6875e81ba1b71a79b216138b242f0349a176baf6745480ff6fb7ed47c62dda4b09b6a891
 DIST asterisk-16.13.0.tar.gz 27735450 BLAKE2B 
64cc75c7aa715734ebaf06fe7b3df54cfa309fc6126b45abfc21cc22c2c4e795946be473ce2887dc074124f9da6c8937d1bb4207fecf402eed7803ed063faa80
 SHA512 
872c5a5cb8faf9b1632895dafb6ee86c87e1766c9f33099b32216e6703f063800f87cac6db3537d1744349c42abd3ea83d70afe35138e45fb756872688822dfa
 DIST asterisk-16.14.0.tar.gz 27740877 BLAKE2B 
f8a09d39c36c1cdcc17878f1af69da7691503290177583ec1a92ac0471c029e527a3b62bd731a7340c43fb7abeca32b604303f0739e614c5a1edb0131f07e0fd
 SHA512 
699b0c701a00df0ffcb7094f5cc732b645775deb85486e044685685b81aad09e6b2e9558436e80c505de93add630b76cf49d7261ba8eaae46f93272844346234
-DIST gentoo-asterisk-patchset-3.17.tar.bz2 5074 BLAKE2B 
3c945e77b54b2449253acb9fcea8d289a7a3184729190622c14aff5557d36c93556efa83320fe4e7ae84021960c09f35ae9f997e8015706eef933aae2948309e
 SHA512 
37f86f3c699b2643afd8080391e817a282571694bb56e00efd0734918dbc33d6c12a2463dbc24667597420863b4f506870140fbb8ef3f1700124ef790ae7252d
 DIST gentoo-asterisk-patchset-4.08.tar.bz2 2176 BLAKE2B 
7f8c9b5fda855091e66b2534d2be23fb1616f565480459f71f766826e5deeeecb24899e2ee9eefe74323e892624d32ab954ec7e9be6a002431ff029fc13493ed
 SHA512 
365c1b8628882c48c279e1fd77d982e6d0820ba7d7122e97bb4988f875d7010caa956798c833c3b01d389004fa08a63a9de2c1b452c9e5701c6106e29fd8e9e1

diff --git a/net-misc/asterisk/asterisk-11.25.3-r1.ebuild 
b/net-misc/asterisk/asterisk-11.25.3-r1.ebuild
deleted file mode 100644
index 0b7c8896f0c..00000000000
--- a/net-misc/asterisk/asterisk-11.25.3-r1.ebuild
+++ /dev/null
@@ -1,313 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools linux-info systemd
-
-MY_P="${PN}-${PV/_/-}"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/";
-SRC_URI="http://downloads.asterisk.org/pub/telephony/asterisk/releases/${MY_P}.tar.gz
-       mirror://gentoo/gentoo-asterisk-patchset-3.17.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE_VOICEMAIL_STORAGE="
-       +voicemail_storage_file
-       voicemail_storage_odbc
-       voicemail_storage_imap
-"
-IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl 
dahdi debug doc freetds gtalk http iconv ilbc xmpp ldap libedit libressl lua 
mysql newt +samples odbc oss portaudio postgres radius selinux snmp span speex 
srtp static syslog vorbis"
-IUSE_EXPAND="VOICEMAIL_STORAGE"
-REQUIRED_USE="gtalk? ( xmpp )
-       ^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
-       voicemail_storage_odbc? ( odbc )
-"
-
-EPATCH_SUFFIX="patch"
-PATCHES=( "${WORKDIR}/asterisk-patchset" )
-
-CDEPEND="acct-user/asterisk
-       acct-group/asterisk
-       dev-db/sqlite:3
-       dev-libs/popt
-       dev-libs/libxml2
-       !libressl? ( =dev-libs/openssl-1.0*:0= )
-       libressl? ( dev-libs/libressl:0= )
-       sys-libs/ncurses:*
-       sys-libs/zlib
-       alsa? ( media-libs/alsa-lib )
-       bluetooth? ( net-wireless/bluez )
-       calendar? (
-               dev-libs/iksemel
-               dev-libs/libical
-               net-libs/neon
-       )
-       caps? ( sys-libs/libcap )
-       cluster? ( sys-cluster/corosync )
-       curl? ( net-misc/curl )
-       dahdi? ( >=net-libs/libpri-1.4.12_beta2
-               net-misc/dahdi-tools )
-       freetds? ( dev-db/freetds )
-       gtalk? ( dev-libs/iksemel )
-       http? ( dev-libs/gmime:2.6 )
-       iconv? ( virtual/libiconv )
-       ilbc? ( dev-libs/ilbc-rfc3951 )
-       xmpp? ( dev-libs/iksemel )
-       ldap? ( net-nds/openldap )
-       libedit? ( dev-libs/libedit )
-       lua? ( dev-lang/lua:0= )
-       mysql? ( virtual/mysql )
-       newt? ( dev-libs/newt )
-       odbc? ( dev-db/unixODBC )
-       portaudio? ( media-libs/portaudio )
-       postgres? ( dev-db/postgresql:* )
-       radius? ( net-dialup/freeradius-client )
-       snmp? ( net-analyzer/net-snmp )
-       span? ( media-libs/spandsp )
-       speex? ( media-libs/speex )
-       srtp? ( net-libs/libsrtp:0 )
-       vorbis? ( media-libs/libvorbis )"
-
-DEPEND="${CDEPEND}
-       voicemail_storage_imap? ( virtual/imap-c-client )
-       virtual/pkgconfig
-"
-
-RDEPEND="${CDEPEND}
-       selinux? ( sec-policy/selinux-asterisk )
-       syslog? ( virtual/logger )"
-
-PDEPEND="net-misc/asterisk-core-sounds
-       net-misc/asterisk-extra-sounds
-       net-misc/asterisk-moh-opsound"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-       CONFIG_CHECK="~!NF_CONNTRACK_SIP"
-       local WARNING_NF_CONNTRACK_SIP="SIP (NAT) connection tracking is 
enabled. Some users
-       have reported that this module dropped critical SIP packets in their 
deployments. You
-       may want to disable it if you see such problems."
-       check_extra_config
-}
-
-src_prepare() {
-       default
-       AT_M4DIR=autoconf eautoreconf
-}
-
-src_configure() {
-       local vmst
-
-       econf \
-               --libdir="/usr/$(get_libdir)" \
-               --localstatedir="/var" \
-               --with-crypto \
-               --with-gsm=internal \
-               --with-popt \
-               --with-ssl \
-               --with-z \
-               --without-pwlib \
-               $(use_with caps cap) \
-               $(use_with http gmime) \
-               $(use_with newt) \
-               $(use_with portaudio)
-
-       # Blank out sounds/sounds.xml file to prevent
-       # asterisk from installing sounds files (we pull them in via
-       # asterisk-{core,extra}-sounds and asterisk-moh-opsound.
-       >"${S}"/sounds/sounds.xml
-
-       # That NATIVE_ARCH chatter really is quite bothersome
-       sed -i 's/NATIVE_ARCH=/NATIVE_ARCH=0/' build_tools/menuselect-deps || 
die "Unable to squelch noisy build system"
-
-       # Compile menuselect binary for optional components
-       emake menuselect.makeopts
-
-       # Broken functionality is forcibly disabled (bug #360143)
-       menuselect/menuselect --disable chan_misdn menuselect.makeopts
-       menuselect/menuselect --disable chan_ooh323 menuselect.makeopts
-
-       # Utility set is forcibly enabled (bug #358001)
-       menuselect/menuselect --enable smsq menuselect.makeopts
-       menuselect/menuselect --enable streamplayer menuselect.makeopts
-       menuselect/menuselect --enable aelparse menuselect.makeopts
-       menuselect/menuselect --enable astman menuselect.makeopts
-
-       # this is connected, otherwise it would not find
-       # ast_pktccops_gate_alloc symbol
-       menuselect/menuselect --enable chan_mgcp menuselect.makeopts
-       menuselect/menuselect --enable res_pktccops menuselect.makeopts
-
-       # SSL is forcibly enabled, IAX2 & DUNDI are expected to be available
-       menuselect/menuselect --enable pbx_dundi menuselect.makeopts
-       menuselect/menuselect --enable func_aes menuselect.makeopts
-       menuselect/menuselect --enable chan_iax2 menuselect.makeopts
-
-       # SQlite3 is now the main database backend, enable related features
-       menuselect/menuselect --enable cdr_sqlite3_custom menuselect.makeopts
-       menuselect/menuselect --enable cel_sqlite3_custom menuselect.makeopts
-
-       # The others are based on USE-flag settings
-       use_select() {
-               local state=$(use "$1" && echo enable || echo disable)
-               shift # remove use from parameters
-
-               while [[ -n $1 ]]; do
-                       menuselect/menuselect --${state} "$1" 
menuselect.makeopts
-                       shift
-               done
-       }
-
-       use_select alsa                 chan_alsa
-       use_select bluetooth            chan_mobile
-       use_select calendar             res_calendar 
res_calendar_{caldav,ews,exchange,icalendar}
-       use_select cluster              res_corosync
-       use_select curl                 func_curl res_config_curl res_curl
-       use_select dahdi                app_dahdibarge app_dahdiras app_meetme 
chan_dahdi codec_dahdi res_timing_dahdi
-       use_select freetds              {cdr,cel}_tds
-       use_select gtalk                chan_motif
-       use_select http                 res_http_post
-       use_select iconv                func_iconv
-       use_select xmpp                 res_xmpp
-       use_select ilbc                 codec_ilbc format_ilbc
-       use_select ldap                 res_config_ldap
-       use_select lua                  pbx_lua
-       use_select mysql                app_mysql cdr_mysql res_config_mysql
-       use_select odbc                 cdr_adaptive_odbc res_config_odbc 
{cdr,cel,res,func}_odbc
-       use_select oss                  chan_oss
-       use_select postgres             {cdr,cel}_pgsql res_config_pgsql
-       use_select radius               {cdr,cel}_radius
-       use_select snmp                 res_snmp
-       use_select span                 res_fax_spandsp
-       use_select speex                {codec,func}_speex
-       use_select srtp                 res_srtp
-       use_select syslog               cdr_syslog
-       use_select vorbis               format_ogg_vorbis
-
-       # Voicemail storage ...
-       for vmst in ${IUSE_VOICEMAIL_STORAGE/+/}; do
-               if use ${vmst}; then
-                       menuselect/menuselect --enable $(echo ${vmst##*_} | tr 
'[:lower:]' '[:upper:]')_STORAGE menuselect.makeopts
-               fi
-       done
-
-       if use debug; then
-               for o in DONT_OPTIMIZE DEBUG_THREADS BETTER_BACKTRACES; do
-                       menuselect/menuselect --enable $o menuselect.makeopts
-               done
-       fi
-}
-
-src_compile() {
-       ASTLDFLAGS="${LDFLAGS}" emake
-}
-
-src_install() {
-       mkdir -p "${D}"usr/$(get_libdir)/pkgconfig || die
-       emake DESTDIR="${D}" installdirs
-       emake DESTDIR="${D}" install
-
-       if use radius; then
-               insinto /etc/radiusclient/
-               doins contrib/dictionary.digium
-       fi
-       diropts -m 0750 -o root -g asterisk
-       keepdir /etc/asterisk
-       if use samples; then
-               emake DESTDIR="${D}" samples
-               for conffile in "${D}"etc/asterisk/*.*
-               do
-                       chown root:root $conffile
-                       chmod 0644 $conffile
-               done
-               einfo "Sample files have been installed"
-       else
-               einfo "Skipping installation of sample files..."
-               rm -f  "${D}"var/lib/asterisk/mohmp3/* || die
-               rm -f  "${D}"var/lib/asterisk/sounds/demo-* || die
-               rm -f  "${D}"var/lib/asterisk/agi-bin/* || die
-               rm -f  "${D}"etc/asterisk/* || die
-       fi
-       rm -rf "${D}"var/spool/asterisk/voicemail/default || die
-
-       # keep directories
-       diropts -m 0770 -o asterisk asterisk
-       keepdir /var/lib/asterisk
-       keepdir /var/spool/asterisk
-       keepdir 
/var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail}
-       diropts -m 0750 -o asterisk -g asterisk
-       keepdir /var/log/asterisk/{cdr-csv,cdr-custom}
-
-       newinitd "${FILESDIR}"/initd-13.32.0-r1 asterisk
-       newconfd "${FILESDIR}"/confd-13.32.0 asterisk
-
-       systemd_dounit "${FILESDIR}"/asterisk.service
-       systemd_newtmpfilesd "${FILESDIR}"/asterisk.tmpfiles.conf asterisk.conf
-       systemd_install_serviced "${FILESDIR}"/asterisk.service.conf
-
-       # install the upgrade documentation
-       #
-       dodoc README UPGRADE* BUGS CREDITS
-
-       # install extra documentation
-       #
-       if use doc
-       then
-               dodoc doc/*.txt
-               dodoc doc/*.pdf
-       fi
-
-       # install logrotate snippet; bug #329281
-       #
-       insinto /etc/logrotate.d
-       newins "${FILESDIR}/1.6.2/asterisk.logrotate4" asterisk
-}
-
-pkg_postinst() {
-       #
-       # Announcements, warnings, reminders...
-       #
-       einfo "Asterisk has been installed"
-       echo
-       elog "If you want to know more about asterisk, visit these sites:"
-       elog "http://www.asteriskdocs.org/";
-       elog "http://www.voip-info.org/wiki-Asterisk";
-       echo
-       elog "http://www.automated.it/guidetoasterisk.htm";
-       echo
-       elog "Gentoo VoIP IRC Channel:"
-       elog "#gentoo-voip @ irc.freenode.net"
-       echo
-       echo
-       elog "Please read the Asterisk 11 upgrade document:"
-       elog 
"https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11";
-}
-
-pkg_config() {
-       einfo "Do you want to reset file permissions and ownerships (y/N)?"
-
-       read tmp
-       tmp="$(echo $tmp | tr '[:upper:]' '[:lower:]')"
-
-       if [[ "$tmp" = "y" ]] ||\
-               [[ "$tmp" = "yes" ]]
-       then
-               einfo "Resetting permissions to defaults..."
-
-               for x in spool run lib log; do
-                       chown -R asterisk:asterisk "${ROOT}"var/${x}/asterisk
-                       chmod -R u=rwX,g=rwX,o=    "${ROOT}"var/${x}/asterisk
-               done
-
-               chown -R root:asterisk  "${ROOT}"etc/asterisk
-               chmod -R u=rwX,g=rwX,o= "${ROOT}"etc/asterisk
-
-               einfo "done"
-       else
-               einfo "skipping"
-       fi
-}

diff --git a/net-misc/asterisk/metadata.xml b/net-misc/asterisk/metadata.xml
index d19226fb19d..d3ea21bdff5 100644
--- a/net-misc/asterisk/metadata.xml
+++ b/net-misc/asterisk/metadata.xml
@@ -17,7 +17,6 @@
                <flag name="ilbc">Enable the Internet Low Bitrate Codec 
(iLBC)</flag>
                <flag name="newt">Include additional tools that require redhats 
windowing toolkit</flag>
                <flag name="pjproject">Enable support for pjproject 
(pjsip)</flag>
-               <flag name="samples">Install sample sound and configuration 
files (default: on)</flag>
                <flag name="span">Enable support for the spandsp codec</flag>
                <flag name="srtp">Enable support for encrypted voice 
transmission (secure RTP)</flag>
                <flag name="statsd">Enable statsd integration</flag>

diff --git a/profiles/package.mask b/profiles/package.mask
index 63f022693ce..e965a7da9c3 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -631,13 +631,6 @@ net-analyzer/ntopng
 net-analyzer/pmacct
 net-libs/nDPI
 
-# Jaco Kroon <[email protected]> (2020-07-20)
-# Asterisk 11 is EOL. All users should migrate to asterisk 13.
-# Removal unspecified, will remain for the foreseeable future. If you need
-# help migrating, contact jkroon in #gentoo-voip on freenode.
-=net-misc/asterisk-11*
-=net-misc/asterisk-g729-11*
-
 # Andreas K. Hüttel <[email protected]> (2020-07-15)
 # In preparation; do not use yet.
 =dev-lang/perl-5.32*

Reply via email to