Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 219817 Details for
Bug 305313
please add noconfigs (like nosamples) USE flag for asterisk
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this just wraps the config installation with if noconfigs .. else
asterisk_1.6.14_ebuild.patch (text/plain), 2.09 KB, created by
michael higgins
on 2010-02-15 21:32:52 UTC
(
hide
)
Description:
this just wraps the config installation with if noconfigs .. else
Filename:
MIME Type:
Creator:
michael higgins
Created:
2010-02-15 21:32:52 UTC
Size:
2.09 KB
patch
obsolete
>--- /portdir/portage/net-misc/asterisk/asterisk-1.6.1.14-r1.ebuild 2010-02-10 14:44:31.000000000 -0800 >+++ asterisk-1.6.1.14-r2.ebuild 2010-02-15 13:02:19.000000000 -0800 >@@ -14,7 +14,7 @@ > SLOT="0" > KEYWORDS="~amd64 ~x86" > >-IUSE="alsa +caps curl dahdi debug freetds iconv jabber ldap keepsrc misdn newt nosamples odbc oss postgres radius snmp span speex ssl sqlite static vorbis" >+IUSE="alsa +caps curl dahdi debug freetds iconv jabber ldap keepsrc misdn newt nosamples odbc oss postgres radius snmp span speex ssl sqlite static vorbis noconfigs" > > RDEPEND="sys-libs/ncurses > dev-libs/popt >@@ -314,23 +314,29 @@ > fi > rm -rf "${D}"var/spool/asterisk/voicemail/default > >- # move sample configuration files to doc directory >- if is_ast10update || is_ast12update || is_ast14update; then >- einfo "Updating from old (pre-1.6) asterisk version, new configuration files have been installed" >- einfo "into "${ROOT}"etc/asterisk, use etc-update or dispatch-conf to update them" >- fi >+ # remove installed sample configs if noconfigs flag is set >+ if use noconfigs; then >+ einfo "Skipping installation of config files..." >+ rm -f "${D}"etc/asterisk/* >+ else >+ # move sample configuration files to doc directory >+ if is_ast10update || is_ast12update || is_ast14update; then >+ einfo "Updating from old (pre-1.6) asterisk version, new configuration files have been installed" >+ einfo "into "${ROOT}"etc/asterisk, use etc-update or dispatch-conf to update them" >+ fi >+ >+ einfo "Configuration samples have been moved to: "${ROOT}"/usr/share/doc/${PF}/conf" >+ insinto /usr/share/doc/${PF}/conf >+ doins "${D}"etc/asterisk/*.conf* > >- einfo "Configuration samples have been moved to: "${ROOT}"/usr/share/doc/${PF}/conf" >- insinto /usr/share/doc/${PF}/conf >- doins "${D}"etc/asterisk/*.conf* >- >- cd "${D}" >- for conffile in etc/asterisk/*.* >- do >- fowners asterisk:asterisk $conffile >- fperms 0660 $conffile >- done >- cd "${S}" >+ cd "${D}" >+ for conffile in etc/asterisk/*.* >+ do >+ fowners asterisk:asterisk $conffile >+ fperms 0660 $conffile >+ done >+ cd "${S}" >+ fi > > # keep directories > diropts -m 0770 -o asterisk -g asterisk
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 305313
: 219817