1 |
commit: 5c72a429894d5f22ef66142d286394fd52b29539 |
2 |
Author: Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za> |
3 |
AuthorDate: Wed Dec 23 10:58:56 2020 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 23 21:31:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c72a429 |
7 |
|
8 |
net-misc/asterisk: Remove asterisk-11 and related ebuilds. |
9 |
|
10 |
This has now been moved to a private overlay. If you still need this. |
11 |
You're out of luck. |
12 |
|
13 |
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za> |
14 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
15 |
|
16 |
net-misc/asterisk-g729/Manifest | 2 - |
17 |
.../asterisk-g729/asterisk-g729-11.0.3.1.9.ebuild | 89 ------ |
18 |
net-misc/asterisk/Manifest | 2 - |
19 |
net-misc/asterisk/asterisk-11.25.3-r1.ebuild | 313 --------------------- |
20 |
net-misc/asterisk/metadata.xml | 1 - |
21 |
profiles/package.mask | 7 - |
22 |
6 files changed, 414 deletions(-) |
23 |
|
24 |
diff --git a/net-misc/asterisk-g729/Manifest b/net-misc/asterisk-g729/Manifest |
25 |
index e675b5caa0a..b110e50433c 100644 |
26 |
--- a/net-misc/asterisk-g729/Manifest |
27 |
+++ b/net-misc/asterisk-g729/Manifest |
28 |
@@ -2,8 +2,6 @@ DIST asthostid-x86_32 1678360 BLAKE2B 0caa098d9891cad9301bbc074d8ef8e0229ef3432c |
29 |
DIST asthostid-x86_64 1806296 BLAKE2B cd2e08ee760374f781d79a952679dc7d54f83dbd3f9a63dfe8fe4f36ea74c19c4a0486d459a5cb90877111100dd6e147bc701489e38ecefe585a4473147a5886 SHA512 be7d7b63259d5c4f15e6b3a55b283030bfc3f4ccf59c58848a9803838f7aa2ff470353a4d78d289bdcd40213c0cc81fad31e2bfad690fcaf111ea5cabae5adfd |
30 |
DIST astregister-x86_32 2103608 BLAKE2B 7fdf1c196152612cd28cfe7bf832dedb625b392f5e919480b1fb792327474d6ad91abaf4938ca8b230a1226bef62652e16f8d8ac1d0dad338fe308b3582c72e8 SHA512 3c3c4b8a32143d1aaaec6ec6b308335f59cf5381f844412e4e484aedc91bff2601778c28e99628fff828c81d2ec05b4de7c8c1cdddeea3ec37f5331beff47a2c |
31 |
DIST astregister-x86_64 2193440 BLAKE2B 9c9ac2343f5d7291251b9ceaa00fc4f8e4c39673e8d4854f8743beee5c86bbbc14c802c34ff26aa8412f1219113edeab7cb3b7adb94086c2f63724095d9f1fc5 SHA512 9302a7ead6bedd6683bcd0da92b7a7ca54fdb975784ef1783aa99f2bb26424dbb77b4c0fa6b809ae6e6ad839807feb055bee5c03a38292737412aa1c3d7df4e4 |
32 |
-DIST codec_g729a-11.0_3.1.9-x86_32.tar.gz 411132 BLAKE2B 6325763e27c25ab101ec825f08e8ba86a1b42dac1e75e792dfd1467a03909523097a6cb5c92233e391b293069e7bed7d23cd955329653d0730f529a6b5a1495f SHA512 3426e0ce15cba5866c1ef8f3c692237f6910ebde5740cacdf27e04f110caf7f289834eb8dc793dd4fa50ec17854a2ebad19764d9c485221e0237ac207ccff991 |
33 |
-DIST codec_g729a-11.0_3.1.9-x86_64.tar.gz 478377 BLAKE2B 409cdd436b0cf11c8d68372b1b22f29ed6e2d9f01d77ca8494415c29e89e88472c126461e9d124661dbd4ef26725301cbc3bb859884ae02592ad583a37608896 SHA512 f97972e4afac2897162cfce7c49423a36d313801246238e3923993e04a2add020028a509c11cb1f4f39ec612c4243007fe564438cf82e1c71543a44bf0bbd2c8 |
34 |
DIST codec_g729a-13.0_3.1.9-x86_32.tar.gz 411156 BLAKE2B 179c77d32d1f8ac3314813a1d2ce51cee1cb7b9c1b9f5e8e78c4ed1169c0719f893c55c4fe890fb657196a37c5a4779164924a8696817ba7bbe6f17146286b82 SHA512 9b064b3db3c40f900b88937efde1605dfb67316d92adc3774b4e3322e9bc5042e6670a2d385b6487a8980620eb92c8564b4fd3535810bab117f53b2762e8ca68 |
35 |
DIST codec_g729a-13.0_3.1.9-x86_64.tar.gz 478364 BLAKE2B 49136479e1bd139fcb22130868575d5be7d6784081307679cfeee16951f6a303b5328a62c23a0ade506f2df0527b275bd198560dacd59ba5b9ba237095622778 SHA512 5fa2dca977ca1dcbf3019fc86c3edc91fd561c814bfa9a5202680b7a581f03faa1705a4392a70409f9cd30a4379691b609f0f572030972cbe432cad435314951 |
36 |
DIST codec_g729a-16.0_3.1.9-x86_32.tar.gz 476772 BLAKE2B e1a7b8baefc551f16618fded2663acfb825a7eabcccc7ca844792e6179bac5b9ac2e0f4c387e3b2861347c6deb5db13f41ecd265c2261dbb65756890d976f4f7 SHA512 cddf46f369b0922a5569961688fcd4fb840bcce3a5573549d8a3a3e6150e20cd7c18e32ea07edc10150dd409763504ab50fad5d884fb33a49d624e4ebe0afd10 |
37 |
|
38 |
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 |
39 |
deleted file mode 100644 |
40 |
index 55994b2777f..00000000000 |
41 |
--- a/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.9.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,89 +0,0 @@ |
44 |
-# Copyright 1999-2018 Gentoo Foundation |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
- |
47 |
-EAPI="6" |
48 |
- |
49 |
-inherit versionator multilib |
50 |
- |
51 |
-DESCRIPTION="G.729 codec and supporting files for asterisk" |
52 |
-HOMEPAGE="http://store.digium.com/productview.php?product_code=G729CODEC" |
53 |
- |
54 |
-BENCH_PV=1.0.8 |
55 |
- |
56 |
-AST_PV=11.0 |
57 |
-MY_PV=$(replace_version_separator 2 _) |
58 |
- |
59 |
-SRC_URI="x86? ( |
60 |
- http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-x86_32.tar.gz |
61 |
- http://downloads.digium.com/pub/register/x86-32/register -> astregister-x86_32 |
62 |
- http://downloads.digium.com/pub/register/x86-32/asthostid -> asthostid-x86_32 |
63 |
-) |
64 |
-amd64? ( |
65 |
- http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-x86_64.tar.gz |
66 |
- http://downloads.digium.com/pub/register/x86-64/register -> astregister-x86_64 |
67 |
- http://downloads.digium.com/pub/register/x86-64/asthostid -> asthostid-x86_64 |
68 |
-)" |
69 |
- |
70 |
-LICENSE="Digium" |
71 |
-SLOT="0" |
72 |
-KEYWORDS="~amd64 ~x86" |
73 |
-IUSE="" |
74 |
- |
75 |
-DEPEND="" |
76 |
-RDEPEND="${DEPEND} =net-misc/asterisk-11*" |
77 |
- |
78 |
-RESTRICT="mirror strip" |
79 |
- |
80 |
-QA_FLAGS_IGNORED_amd64="usr/lib64/asterisk/modules/codec_g729a.so usr/sbin/benchg729" |
81 |
-QA_FLAGS_IGNORED_x86="usr/lib/asterisk/modules/codec_g729a.so usr/sbin/benchg729" |
82 |
-QA_PREBUILT="usr/sbin/benchg729 usr/sbin/asthostid usr/sbin/astregister" |
83 |
- |
84 |
-S="${WORKDIR}" |
85 |
- |
86 |
-src_prepare() { |
87 |
- local binsuffix |
88 |
- local b |
89 |
- |
90 |
- if use x86; then |
91 |
- binsuffix=x86_32 |
92 |
- elif use amd64; then |
93 |
- binsuffix=x86_64 |
94 |
- else |
95 |
- die "Ebuild only functions for x86 and amd64." |
96 |
- fi |
97 |
- |
98 |
- for b in astregister asthostid; do |
99 |
- cp "${DISTDIR}/${b}-${binsuffix}" "${WORKDIR}/${b}" || die |
100 |
- fperms 755 ${b} |
101 |
- done |
102 |
- default |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- local binsuffix |
107 |
- |
108 |
- if use x86; then |
109 |
- binsuffix=x86_32 |
110 |
- elif use amd64; then |
111 |
- binsuffix=x86_64 |
112 |
- else |
113 |
- die "Ebuild only functions for x86 and amd64." |
114 |
- fi |
115 |
- |
116 |
- dosbin astregister |
117 |
- dosbin asthostid |
118 |
- |
119 |
- dodoc codec_g729a-${MY_PV}-${binsuffix}/LICENSE |
120 |
- dodoc codec_g729a-${MY_PV}-${binsuffix}/README |
121 |
- insinto usr/$(get_libdir)/asterisk/modules/ |
122 |
- doins "codec_g729a-${MY_PV}-${binsuffix}/codec_g729a.so" |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- einfo "Please note that Digium's register utility has been installed as astregister" |
127 |
- einfo |
128 |
- einfo "Please consider participating in the G.729 stats collection that ULS" |
129 |
- einfo "is performing. This will assist in picking better variants for more" |
130 |
- einfo "processors as we gather more statistics. All you need to do is run" |
131 |
- einfo "the collect-g729-stats.sh command." |
132 |
-} |
133 |
|
134 |
diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest |
135 |
index ae3d549a052..adc58d9c8c9 100644 |
136 |
--- a/net-misc/asterisk/Manifest |
137 |
+++ b/net-misc/asterisk/Manifest |
138 |
@@ -1,4 +1,3 @@ |
139 |
-DIST asterisk-11.25.3.tar.gz 35134682 BLAKE2B 9da24d5d6a674ab660edb103e5fc56ddfbcc58cd86166cc08cceb0598a63b51eae36133565e09a30ad11ff6623ba8945437dfb561d2916f68341d398540dabce SHA512 9c0521d55e5b69663ea40066d52e397ba6c165a4b20cd0a1e5e375b9c0e5a6e4f37908e50b0b580e288dec9be252af9a8bce7bceb03ba029f902fb757e6311ed |
140 |
DIST asterisk-13.34.0.tar.gz 33686020 BLAKE2B 48de77f2e29028ab3503ea30038e629b6ede43154bec8efe1384a7077fb971f91b85d9b4eb55f7a4ea6577a31ad5fe496453fe59cd607a0c613e46edef9a11d9 SHA512 2132db831bb063330c47cea8cea67af706839d25e64eee558475643cb79a4e548fc6ffe7ce61a053f41cf6f367320eedaa87973a5de4ef38ae858a6e5a183ee7 |
141 |
DIST asterisk-13.35.0.tar.gz 33685340 BLAKE2B 728281257541977ac150b1b7d6148fd326c584f7827af46882ff3e3af111d876c3e53f92f1034c55875d730e5b92c379b8906198393b7a4227a5bb74818ab27c SHA512 7596f387d45ef9f0327d78bc0446979e233aba517bbedfb539409cc507e2dac15e3b32d5c8a5e69783d106d4244661cb20b0580ed00904699bc5bf5db7b4713a |
142 |
DIST asterisk-13.36.0.tar.gz 33692378 BLAKE2B 7252e7a103d94bbdd4073563f88ec2952ef88856cb5a98f7a07818a993c1064ca4ffb12202f2c297125d7bc3fd3814c9921a87c179db03dede05162844bebbd1 SHA512 276175e6df1c8a2e642c4607aa32515e7c4fffe50f7db89bbfee8850b286579350a074bb8bbe743b3e95d6ce2d92f8d5444053fe52527071cc884356b57a1efc |
143 |
@@ -6,5 +5,4 @@ DIST asterisk-13.37.0.tar.gz 33696267 BLAKE2B 806e48fd2ed497becef87e5a349854e377 |
144 |
DIST asterisk-16.12.0.tar.gz 27727347 BLAKE2B 3e2e986136e5ff19a876f01fdc6db1b6c22f83bf38f8524a418e474e2400375d8091dd215fb54f5b01f998cecf46d6965a0c35a44dc6f3be7f7a811e2ce70b8c SHA512 1fc41b92d070efd4a7ea5db1a36c83bdb6dbbe7d9b5087b0a887ba3d6875e81ba1b71a79b216138b242f0349a176baf6745480ff6fb7ed47c62dda4b09b6a891 |
145 |
DIST asterisk-16.13.0.tar.gz 27735450 BLAKE2B 64cc75c7aa715734ebaf06fe7b3df54cfa309fc6126b45abfc21cc22c2c4e795946be473ce2887dc074124f9da6c8937d1bb4207fecf402eed7803ed063faa80 SHA512 872c5a5cb8faf9b1632895dafb6ee86c87e1766c9f33099b32216e6703f063800f87cac6db3537d1744349c42abd3ea83d70afe35138e45fb756872688822dfa |
146 |
DIST asterisk-16.14.0.tar.gz 27740877 BLAKE2B f8a09d39c36c1cdcc17878f1af69da7691503290177583ec1a92ac0471c029e527a3b62bd731a7340c43fb7abeca32b604303f0739e614c5a1edb0131f07e0fd SHA512 699b0c701a00df0ffcb7094f5cc732b645775deb85486e044685685b81aad09e6b2e9558436e80c505de93add630b76cf49d7261ba8eaae46f93272844346234 |
147 |
-DIST gentoo-asterisk-patchset-3.17.tar.bz2 5074 BLAKE2B 3c945e77b54b2449253acb9fcea8d289a7a3184729190622c14aff5557d36c93556efa83320fe4e7ae84021960c09f35ae9f997e8015706eef933aae2948309e SHA512 37f86f3c699b2643afd8080391e817a282571694bb56e00efd0734918dbc33d6c12a2463dbc24667597420863b4f506870140fbb8ef3f1700124ef790ae7252d |
148 |
DIST gentoo-asterisk-patchset-4.08.tar.bz2 2176 BLAKE2B 7f8c9b5fda855091e66b2534d2be23fb1616f565480459f71f766826e5deeeecb24899e2ee9eefe74323e892624d32ab954ec7e9be6a002431ff029fc13493ed SHA512 365c1b8628882c48c279e1fd77d982e6d0820ba7d7122e97bb4988f875d7010caa956798c833c3b01d389004fa08a63a9de2c1b452c9e5701c6106e29fd8e9e1 |
149 |
|
150 |
diff --git a/net-misc/asterisk/asterisk-11.25.3-r1.ebuild b/net-misc/asterisk/asterisk-11.25.3-r1.ebuild |
151 |
deleted file mode 100644 |
152 |
index 0b7c8896f0c..00000000000 |
153 |
--- a/net-misc/asterisk/asterisk-11.25.3-r1.ebuild |
154 |
+++ /dev/null |
155 |
@@ -1,313 +0,0 @@ |
156 |
-# Copyright 1999-2020 Gentoo Authors |
157 |
-# Distributed under the terms of the GNU General Public License v2 |
158 |
- |
159 |
-EAPI=6 |
160 |
-inherit autotools linux-info systemd |
161 |
- |
162 |
-MY_P="${PN}-${PV/_/-}" |
163 |
- |
164 |
-DESCRIPTION="Asterisk: A Modular Open Source PBX System" |
165 |
-HOMEPAGE="http://www.asterisk.org/" |
166 |
-SRC_URI="http://downloads.asterisk.org/pub/telephony/asterisk/releases/${MY_P}.tar.gz |
167 |
- mirror://gentoo/gentoo-asterisk-patchset-3.17.tar.bz2" |
168 |
-LICENSE="GPL-2" |
169 |
-SLOT="0" |
170 |
-KEYWORDS="amd64 x86" |
171 |
- |
172 |
-IUSE_VOICEMAIL_STORAGE=" |
173 |
- +voicemail_storage_file |
174 |
- voicemail_storage_odbc |
175 |
- voicemail_storage_imap |
176 |
-" |
177 |
-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" |
178 |
-IUSE_EXPAND="VOICEMAIL_STORAGE" |
179 |
-REQUIRED_USE="gtalk? ( xmpp ) |
180 |
- ^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} ) |
181 |
- voicemail_storage_odbc? ( odbc ) |
182 |
-" |
183 |
- |
184 |
-EPATCH_SUFFIX="patch" |
185 |
-PATCHES=( "${WORKDIR}/asterisk-patchset" ) |
186 |
- |
187 |
-CDEPEND="acct-user/asterisk |
188 |
- acct-group/asterisk |
189 |
- dev-db/sqlite:3 |
190 |
- dev-libs/popt |
191 |
- dev-libs/libxml2 |
192 |
- !libressl? ( =dev-libs/openssl-1.0*:0= ) |
193 |
- libressl? ( dev-libs/libressl:0= ) |
194 |
- sys-libs/ncurses:* |
195 |
- sys-libs/zlib |
196 |
- alsa? ( media-libs/alsa-lib ) |
197 |
- bluetooth? ( net-wireless/bluez ) |
198 |
- calendar? ( |
199 |
- dev-libs/iksemel |
200 |
- dev-libs/libical |
201 |
- net-libs/neon |
202 |
- ) |
203 |
- caps? ( sys-libs/libcap ) |
204 |
- cluster? ( sys-cluster/corosync ) |
205 |
- curl? ( net-misc/curl ) |
206 |
- dahdi? ( >=net-libs/libpri-1.4.12_beta2 |
207 |
- net-misc/dahdi-tools ) |
208 |
- freetds? ( dev-db/freetds ) |
209 |
- gtalk? ( dev-libs/iksemel ) |
210 |
- http? ( dev-libs/gmime:2.6 ) |
211 |
- iconv? ( virtual/libiconv ) |
212 |
- ilbc? ( dev-libs/ilbc-rfc3951 ) |
213 |
- xmpp? ( dev-libs/iksemel ) |
214 |
- ldap? ( net-nds/openldap ) |
215 |
- libedit? ( dev-libs/libedit ) |
216 |
- lua? ( dev-lang/lua:0= ) |
217 |
- mysql? ( virtual/mysql ) |
218 |
- newt? ( dev-libs/newt ) |
219 |
- odbc? ( dev-db/unixODBC ) |
220 |
- portaudio? ( media-libs/portaudio ) |
221 |
- postgres? ( dev-db/postgresql:* ) |
222 |
- radius? ( net-dialup/freeradius-client ) |
223 |
- snmp? ( net-analyzer/net-snmp ) |
224 |
- span? ( media-libs/spandsp ) |
225 |
- speex? ( media-libs/speex ) |
226 |
- srtp? ( net-libs/libsrtp:0 ) |
227 |
- vorbis? ( media-libs/libvorbis )" |
228 |
- |
229 |
-DEPEND="${CDEPEND} |
230 |
- voicemail_storage_imap? ( virtual/imap-c-client ) |
231 |
- virtual/pkgconfig |
232 |
-" |
233 |
- |
234 |
-RDEPEND="${CDEPEND} |
235 |
- selinux? ( sec-policy/selinux-asterisk ) |
236 |
- syslog? ( virtual/logger )" |
237 |
- |
238 |
-PDEPEND="net-misc/asterisk-core-sounds |
239 |
- net-misc/asterisk-extra-sounds |
240 |
- net-misc/asterisk-moh-opsound" |
241 |
- |
242 |
-S="${WORKDIR}/${MY_P}" |
243 |
- |
244 |
-pkg_setup() { |
245 |
- CONFIG_CHECK="~!NF_CONNTRACK_SIP" |
246 |
- local WARNING_NF_CONNTRACK_SIP="SIP (NAT) connection tracking is enabled. Some users |
247 |
- have reported that this module dropped critical SIP packets in their deployments. You |
248 |
- may want to disable it if you see such problems." |
249 |
- check_extra_config |
250 |
-} |
251 |
- |
252 |
-src_prepare() { |
253 |
- default |
254 |
- AT_M4DIR=autoconf eautoreconf |
255 |
-} |
256 |
- |
257 |
-src_configure() { |
258 |
- local vmst |
259 |
- |
260 |
- econf \ |
261 |
- --libdir="/usr/$(get_libdir)" \ |
262 |
- --localstatedir="/var" \ |
263 |
- --with-crypto \ |
264 |
- --with-gsm=internal \ |
265 |
- --with-popt \ |
266 |
- --with-ssl \ |
267 |
- --with-z \ |
268 |
- --without-pwlib \ |
269 |
- $(use_with caps cap) \ |
270 |
- $(use_with http gmime) \ |
271 |
- $(use_with newt) \ |
272 |
- $(use_with portaudio) |
273 |
- |
274 |
- # Blank out sounds/sounds.xml file to prevent |
275 |
- # asterisk from installing sounds files (we pull them in via |
276 |
- # asterisk-{core,extra}-sounds and asterisk-moh-opsound. |
277 |
- >"${S}"/sounds/sounds.xml |
278 |
- |
279 |
- # That NATIVE_ARCH chatter really is quite bothersome |
280 |
- sed -i 's/NATIVE_ARCH=/NATIVE_ARCH=0/' build_tools/menuselect-deps || die "Unable to squelch noisy build system" |
281 |
- |
282 |
- # Compile menuselect binary for optional components |
283 |
- emake menuselect.makeopts |
284 |
- |
285 |
- # Broken functionality is forcibly disabled (bug #360143) |
286 |
- menuselect/menuselect --disable chan_misdn menuselect.makeopts |
287 |
- menuselect/menuselect --disable chan_ooh323 menuselect.makeopts |
288 |
- |
289 |
- # Utility set is forcibly enabled (bug #358001) |
290 |
- menuselect/menuselect --enable smsq menuselect.makeopts |
291 |
- menuselect/menuselect --enable streamplayer menuselect.makeopts |
292 |
- menuselect/menuselect --enable aelparse menuselect.makeopts |
293 |
- menuselect/menuselect --enable astman menuselect.makeopts |
294 |
- |
295 |
- # this is connected, otherwise it would not find |
296 |
- # ast_pktccops_gate_alloc symbol |
297 |
- menuselect/menuselect --enable chan_mgcp menuselect.makeopts |
298 |
- menuselect/menuselect --enable res_pktccops menuselect.makeopts |
299 |
- |
300 |
- # SSL is forcibly enabled, IAX2 & DUNDI are expected to be available |
301 |
- menuselect/menuselect --enable pbx_dundi menuselect.makeopts |
302 |
- menuselect/menuselect --enable func_aes menuselect.makeopts |
303 |
- menuselect/menuselect --enable chan_iax2 menuselect.makeopts |
304 |
- |
305 |
- # SQlite3 is now the main database backend, enable related features |
306 |
- menuselect/menuselect --enable cdr_sqlite3_custom menuselect.makeopts |
307 |
- menuselect/menuselect --enable cel_sqlite3_custom menuselect.makeopts |
308 |
- |
309 |
- # The others are based on USE-flag settings |
310 |
- use_select() { |
311 |
- local state=$(use "$1" && echo enable || echo disable) |
312 |
- shift # remove use from parameters |
313 |
- |
314 |
- while [[ -n $1 ]]; do |
315 |
- menuselect/menuselect --${state} "$1" menuselect.makeopts |
316 |
- shift |
317 |
- done |
318 |
- } |
319 |
- |
320 |
- use_select alsa chan_alsa |
321 |
- use_select bluetooth chan_mobile |
322 |
- use_select calendar res_calendar res_calendar_{caldav,ews,exchange,icalendar} |
323 |
- use_select cluster res_corosync |
324 |
- use_select curl func_curl res_config_curl res_curl |
325 |
- use_select dahdi app_dahdibarge app_dahdiras app_meetme chan_dahdi codec_dahdi res_timing_dahdi |
326 |
- use_select freetds {cdr,cel}_tds |
327 |
- use_select gtalk chan_motif |
328 |
- use_select http res_http_post |
329 |
- use_select iconv func_iconv |
330 |
- use_select xmpp res_xmpp |
331 |
- use_select ilbc codec_ilbc format_ilbc |
332 |
- use_select ldap res_config_ldap |
333 |
- use_select lua pbx_lua |
334 |
- use_select mysql app_mysql cdr_mysql res_config_mysql |
335 |
- use_select odbc cdr_adaptive_odbc res_config_odbc {cdr,cel,res,func}_odbc |
336 |
- use_select oss chan_oss |
337 |
- use_select postgres {cdr,cel}_pgsql res_config_pgsql |
338 |
- use_select radius {cdr,cel}_radius |
339 |
- use_select snmp res_snmp |
340 |
- use_select span res_fax_spandsp |
341 |
- use_select speex {codec,func}_speex |
342 |
- use_select srtp res_srtp |
343 |
- use_select syslog cdr_syslog |
344 |
- use_select vorbis format_ogg_vorbis |
345 |
- |
346 |
- # Voicemail storage ... |
347 |
- for vmst in ${IUSE_VOICEMAIL_STORAGE/+/}; do |
348 |
- if use ${vmst}; then |
349 |
- menuselect/menuselect --enable $(echo ${vmst##*_} | tr '[:lower:]' '[:upper:]')_STORAGE menuselect.makeopts |
350 |
- fi |
351 |
- done |
352 |
- |
353 |
- if use debug; then |
354 |
- for o in DONT_OPTIMIZE DEBUG_THREADS BETTER_BACKTRACES; do |
355 |
- menuselect/menuselect --enable $o menuselect.makeopts |
356 |
- done |
357 |
- fi |
358 |
-} |
359 |
- |
360 |
-src_compile() { |
361 |
- ASTLDFLAGS="${LDFLAGS}" emake |
362 |
-} |
363 |
- |
364 |
-src_install() { |
365 |
- mkdir -p "${D}"usr/$(get_libdir)/pkgconfig || die |
366 |
- emake DESTDIR="${D}" installdirs |
367 |
- emake DESTDIR="${D}" install |
368 |
- |
369 |
- if use radius; then |
370 |
- insinto /etc/radiusclient/ |
371 |
- doins contrib/dictionary.digium |
372 |
- fi |
373 |
- diropts -m 0750 -o root -g asterisk |
374 |
- keepdir /etc/asterisk |
375 |
- if use samples; then |
376 |
- emake DESTDIR="${D}" samples |
377 |
- for conffile in "${D}"etc/asterisk/*.* |
378 |
- do |
379 |
- chown root:root $conffile |
380 |
- chmod 0644 $conffile |
381 |
- done |
382 |
- einfo "Sample files have been installed" |
383 |
- else |
384 |
- einfo "Skipping installation of sample files..." |
385 |
- rm -f "${D}"var/lib/asterisk/mohmp3/* || die |
386 |
- rm -f "${D}"var/lib/asterisk/sounds/demo-* || die |
387 |
- rm -f "${D}"var/lib/asterisk/agi-bin/* || die |
388 |
- rm -f "${D}"etc/asterisk/* || die |
389 |
- fi |
390 |
- rm -rf "${D}"var/spool/asterisk/voicemail/default || die |
391 |
- |
392 |
- # keep directories |
393 |
- diropts -m 0770 -o asterisk asterisk |
394 |
- keepdir /var/lib/asterisk |
395 |
- keepdir /var/spool/asterisk |
396 |
- keepdir /var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail} |
397 |
- diropts -m 0750 -o asterisk -g asterisk |
398 |
- keepdir /var/log/asterisk/{cdr-csv,cdr-custom} |
399 |
- |
400 |
- newinitd "${FILESDIR}"/initd-13.32.0-r1 asterisk |
401 |
- newconfd "${FILESDIR}"/confd-13.32.0 asterisk |
402 |
- |
403 |
- systemd_dounit "${FILESDIR}"/asterisk.service |
404 |
- systemd_newtmpfilesd "${FILESDIR}"/asterisk.tmpfiles.conf asterisk.conf |
405 |
- systemd_install_serviced "${FILESDIR}"/asterisk.service.conf |
406 |
- |
407 |
- # install the upgrade documentation |
408 |
- # |
409 |
- dodoc README UPGRADE* BUGS CREDITS |
410 |
- |
411 |
- # install extra documentation |
412 |
- # |
413 |
- if use doc |
414 |
- then |
415 |
- dodoc doc/*.txt |
416 |
- dodoc doc/*.pdf |
417 |
- fi |
418 |
- |
419 |
- # install logrotate snippet; bug #329281 |
420 |
- # |
421 |
- insinto /etc/logrotate.d |
422 |
- newins "${FILESDIR}/1.6.2/asterisk.logrotate4" asterisk |
423 |
-} |
424 |
- |
425 |
-pkg_postinst() { |
426 |
- # |
427 |
- # Announcements, warnings, reminders... |
428 |
- # |
429 |
- einfo "Asterisk has been installed" |
430 |
- echo |
431 |
- elog "If you want to know more about asterisk, visit these sites:" |
432 |
- elog "http://www.asteriskdocs.org/" |
433 |
- elog "http://www.voip-info.org/wiki-Asterisk" |
434 |
- echo |
435 |
- elog "http://www.automated.it/guidetoasterisk.htm" |
436 |
- echo |
437 |
- elog "Gentoo VoIP IRC Channel:" |
438 |
- elog "#gentoo-voip @ irc.freenode.net" |
439 |
- echo |
440 |
- echo |
441 |
- elog "Please read the Asterisk 11 upgrade document:" |
442 |
- elog "https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11" |
443 |
-} |
444 |
- |
445 |
-pkg_config() { |
446 |
- einfo "Do you want to reset file permissions and ownerships (y/N)?" |
447 |
- |
448 |
- read tmp |
449 |
- tmp="$(echo $tmp | tr '[:upper:]' '[:lower:]')" |
450 |
- |
451 |
- if [[ "$tmp" = "y" ]] ||\ |
452 |
- [[ "$tmp" = "yes" ]] |
453 |
- then |
454 |
- einfo "Resetting permissions to defaults..." |
455 |
- |
456 |
- for x in spool run lib log; do |
457 |
- chown -R asterisk:asterisk "${ROOT}"var/${x}/asterisk |
458 |
- chmod -R u=rwX,g=rwX,o= "${ROOT}"var/${x}/asterisk |
459 |
- done |
460 |
- |
461 |
- chown -R root:asterisk "${ROOT}"etc/asterisk |
462 |
- chmod -R u=rwX,g=rwX,o= "${ROOT}"etc/asterisk |
463 |
- |
464 |
- einfo "done" |
465 |
- else |
466 |
- einfo "skipping" |
467 |
- fi |
468 |
-} |
469 |
|
470 |
diff --git a/net-misc/asterisk/metadata.xml b/net-misc/asterisk/metadata.xml |
471 |
index d19226fb19d..d3ea21bdff5 100644 |
472 |
--- a/net-misc/asterisk/metadata.xml |
473 |
+++ b/net-misc/asterisk/metadata.xml |
474 |
@@ -17,7 +17,6 @@ |
475 |
<flag name="ilbc">Enable the Internet Low Bitrate Codec (iLBC)</flag> |
476 |
<flag name="newt">Include additional tools that require redhats windowing toolkit</flag> |
477 |
<flag name="pjproject">Enable support for pjproject (pjsip)</flag> |
478 |
- <flag name="samples">Install sample sound and configuration files (default: on)</flag> |
479 |
<flag name="span">Enable support for the spandsp codec</flag> |
480 |
<flag name="srtp">Enable support for encrypted voice transmission (secure RTP)</flag> |
481 |
<flag name="statsd">Enable statsd integration</flag> |
482 |
|
483 |
diff --git a/profiles/package.mask b/profiles/package.mask |
484 |
index 63f022693ce..e965a7da9c3 100644 |
485 |
--- a/profiles/package.mask |
486 |
+++ b/profiles/package.mask |
487 |
@@ -631,13 +631,6 @@ net-analyzer/ntopng |
488 |
net-analyzer/pmacct |
489 |
net-libs/nDPI |
490 |
|
491 |
-# Jaco Kroon <jaco@××××××.za> (2020-07-20) |
492 |
-# Asterisk 11 is EOL. All users should migrate to asterisk 13. |
493 |
-# Removal unspecified, will remain for the foreseeable future. If you need |
494 |
-# help migrating, contact jkroon in #gentoo-voip on freenode. |
495 |
-=net-misc/asterisk-11* |
496 |
-=net-misc/asterisk-g729-11* |
497 |
- |
498 |
# Andreas K. Hüttel <dilfridge@g.o> (2020-07-15) |
499 |
# In preparation; do not use yet. |
500 |
=dev-lang/perl-5.32* |