Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238961 Details for
Bug 328517
net-misc/asterisk ebuilds depends on environmental variables
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
asterisk-1.6.2.9-no-env-var-deps.ebuild.patch
asterisk-1.6.2.9-no-env-var-deps.ebuild.patch (text/plain), 1.58 KB, created by
Jaco Kroon
on 2010-07-16 00:11:52 UTC
(
hide
)
Description:
asterisk-1.6.2.9-no-env-var-deps.ebuild.patch
Filename:
MIME Type:
Creator:
Jaco Kroon
Created:
2010-07-16 00:11:52 UTC
Size:
1.58 KB
patch
obsolete
>diff --git a/net-misc/asterisk/asterisk-1.6.2.9.ebuild b/net-misc/asterisk/asterisk-1.6.2.9.ebuild >index ee53499..d3a1e2f 100644 >--- a/net-misc/asterisk/asterisk-1.6.2.9.ebuild >+++ b/net-misc/asterisk/asterisk-1.6.2.9.ebuild >@@ -60,21 +60,6 @@ PATCHES=( > "${FILESDIR}/1.6.2/${PN}-1.6.2.2-nv-faxdetect.patch" > ) > >-get_available_modules() { >- local modules mod x >- >- # build list of available modules... >- for x in app cdr codec format func pbx res; do >- >- for mod in $(find "${S}" -type f -name "${x}_*.c*" -print) >- do >- modules="${modules} $(basename ${mod/%.c*})" >- done >- done >- >- echo "${modules}" >-} >- > pkg_setup() { > if [[ -n "${ASTERISK_MODULES}" ]] ; then > ewarn "You are overriding ASTERISK_MODULES. We will assume you know what you are doing. There is no support for this option, try without if you see breakage." >@@ -84,33 +69,6 @@ pkg_setup() { > 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 >- >- # parse modules list >- if [[ -n "${ASTERISK_MODULES}" ]]; then >- local x modules="$(get_available_modules)" >- >- einfo "Custom list of modules specified, checking..." >- >- use debug && { >- einfo "Available modules: ${modules}" >- einfo " Selected modules: ${ASTERISK_MODULES}" >- } >- >- for x in ${ASTERISK_MODULES}; do >- if [[ "${x}" = "-*" ]]; then >- MODULES_LIST="" >- else >- if has ${x} ${modules} >- then >- MODULES_LIST="${MODULES_LIST} ${x}" >- else >- eerror "Unknown module: ${x}" >- fi >- fi >- done >- >- export MODULES_LIST >- fi > } > > src_prepare() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 328517
: 238961