Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225269 Details for
Bug 308561
net-misc/asterisk-1.6.2.5 does not include IMAP for voicemail
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
much less ugly patch to add imap
asterisk-1.6.2.6-r1_ebuild_diff.patch (text/plain), 2.59 KB, created by
michael higgins
on 2010-03-26 00:27:27 UTC
(
hide
)
Description:
much less ugly patch to add imap
Filename:
MIME Type:
Creator:
michael higgins
Created:
2010-03-26 00:27:27 UTC
Size:
2.59 KB
patch
obsolete
>--- asterisk-1.6.2.6.ebuild 2010-03-15 06:36:22.000000000 -0700 >+++ asterisk-1.6.2.6-r1.ebuild 2010-03-25 17:20:40.000000000 -0700 >@@ -14,7 +14,7 @@ > SLOT="0" > KEYWORDS="~amd64 ~x86" > >-IUSE="alsa +caps curl dahdi debug freetds iconv jabber ldap keepsrc misdn newt nosamples oss postgres radius snmp span speex ssl sqlite static vorbis" >+IUSE="imap alsa +caps curl dahdi debug freetds iconv jabber ldap keepsrc misdn newt nosamples oss postgres radius snmp span speex ssl sqlite static vorbis" > > RDEPEND="sys-libs/ncurses > dev-libs/popt >@@ -40,6 +40,7 @@ > vorbis? ( media-libs/libvorbis )" > > DEPEND="${RDEPEND} >+ imap? ( net-libs/c-client ) > !<net-misc/asterisk-addons-1.6 > !net-misc/asterisk-chan_unistim > !net-misc/zaptel" >@@ -74,6 +75,18 @@ > > src_unpack() { > unpack ${A} >+ >+ if [ -z "$( use imap )"]; then >+ >+ # this is the trick for changing the makeopts >+ # that is recommended by digium folks, I think: >+ # it overrides, or supplements /etc/asterisk.makeopts ~/asterisk.makeopts >+ # -- not sure which, or if anyone uses those options already >+ >+ echo MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE > "${S}/user_makeopts" >+ >+ fi; >+ > cd "${S}" > > # >@@ -101,6 +114,12 @@ > # > epatch "${FILESDIR}"/1.6.2/${PN}-1.6.2.2-nv-faxdetect.patch > >+ # >+ #allow to find system libs for imap >+ # epatch "${FILESDIR}"/1.6.2/asterisk-1.6.2-configure-imap.patch >+ sed -ie 's/imap_libs="-lc-client"/imap_libs="-lc-client -lssl -lpam"/'\ >+ configure.ac >+ > AT_M4DIR=autoconf eautoreconf > > # parse modules list >@@ -134,13 +153,14 @@ > src_compile() { > # > # start with configure >- # >+ # > econf \ > --libdir="/usr/$(get_libdir)" \ > --localstatedir="/var" \ > --with-gsm=internal \ > --with-popt \ > --with-z \ >+ $(use_with imap) \ > $(use_with alsa asound) \ > $(use_with caps cap) \ > $(use_with curl) \ >@@ -179,9 +199,15 @@ > ### > # run menuselect > >- emake menuselect.makeopts || die "emake menuselect.makeopts failed" >+ if [ -z "$( use imap )"]; then > >- ### >+ emake USER_MAKEOPTS="${S}/user_makeopts" menuselect.makeopts || die \ >+ "emake menuselect.makeopts failed" >+ >+ else emake menuselect.makeopts || die "emake menuselect.makeopts failed" >+ >+ fi >+ ### > # get list of modules with failed dependencies > > failed_list="$(awk -F= '/^MENUSELECT_DEPSFAILED=/{ print $3 }' menuselect.makeopts)" >@@ -217,6 +243,12 @@ > menuselect.makeopts || die "failed to set list of ${category} applications" > fi > done >+ fi >+ >+ if [ -z "$( use imap )"]; then >+ >+ emake USER_MAKEOPTS="${S}/user_makeopts" menuselect.makeopts || die \ >+ "emake menuselect.makeopts failed" > fi > > ASTLDFLAGS="${LDFLAGS}" emake || die "emake failed"
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 308561
:
225161
|
225247
|
225269
|
255581
|
255583