From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org, rajiv@gentoo.org
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/asterisk-addons: ChangeLog asterisk-addons-1.2.8.ebuild asterisk-addons-1.2.5-r1.ebuild asterisk-addons-1.2.4.ebuild asterisk-addons-1.2.5.ebuild
Date: Wed, 20 Feb 2008 20:16:33 -0800 [thread overview]
Message-ID: <20080221041633.GB19704@supernova> (raw)
In-Reply-To: <E1JS2ip-0001fW-Ii@stork.gentoo.org>
On 04:07 Thu 21 Feb , Rajiv Aaron Manglani (rajiv) wrote:
> 1.1 net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild?rev=1.1&content-type=text/plain
> pkg_setup() {
> local n dosleep=0
> einfo "Running pre-flight checks..."
>
> if use h323 && built_with_use net-misc/asterisk h323; then
> echo
> ewarn "h323: Emerging ${PN} with the h323 flag enabled will overwrite asterisk's chan_h323.so!"
> ewarn "h323: Be sure to upgrade ${ROOT}etc/asterisk/h323.conf afterwards!"
> dosleep=1
> fi
>
> if use sqlite && built_with_use net-misc/asterisk sqlite; then
> echo
> ewarn "sqlite: Emerging ${PN} with the sqlite flag enabled will overwrite asterisk's res_sqlite.so!"
> ewarn "sqlite: Be sure to upgrade ${ROOT}etc/asterisk/res_sqlite.conf afterwards!"
> dosleep=1
> fi
>
> echo
> if [[ $dosleep -gt 0 ]]; then
> ebeep
> n=10
> while [[ $n -gt 0 ]]; do
> echo -en " Waiting $n seconds...\r"
> sleep 1
> (( n-- ))
> done
This is what epause() is for, or ebeep() if you really want people to
notice.
> fi
> }
>
> src_unpack() {
> unpack ${A}
> cd ${S}
>
> #
> # gentoo patchset
> #
> epatch ${FILESDIR}/${PN}-1.2.0-gentoo-base.diff
> epatch ${FILESDIR}/${PN}-1.2.0-gentoo-res_sqlite3.diff
> epatch ${FILESDIR}/${PN}-1.2.2-gentoo-format_mp3.diff
> epatch ${FILESDIR}/${PN}-1.2.3-gentoo-ooh323c.diff
>
> # patch from jaervosz for uclibc
> if use elibc_uclibc; then
> epatch ${FILESDIR}/${PN}-1.2.2-uclibc.diff
> epatch ${FILESDIR}/${PN}-1.2.4-uclibc.diff
> fi
> # patch sqlite
> if use sqlite; then
> cd ${WORKDIR}/sqlite-${SQLITE_PV}
>
> epatch ${FILESDIR}/sqlite-${SQLITE_PV}-data-corruption.patch
> epunt_cxx
> fi
>
> # rebuild ooh323c configure
> if use h323; then
> cd ${S}/asterisk-ooh323c
> eautoreconf
> fi
> }
Repoman should be yelling at you about lack of quotes here. Are you on
the latest version?
> src_install() {
> make DESTDIR=${D} install || die "Make install failed"
Does emake work? If not, please note why in a comment. Same question for
other 'make' calls.
> if use h323 || use mysql; then
> einfo "Fixing permissions"
> chown -R root:asterisk ${D}etc/asterisk
> chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
> fi
You could change these to fperms/fowners while you're fixing.
Thanks,
Donnie
--
gentoo-dev@lists.gentoo.org mailing list
next parent reply other threads:[~2008-02-21 4:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1JS2ip-0001fW-Ii@stork.gentoo.org>
2008-02-21 4:16 ` Donnie Berkholz [this message]
2008-02-24 18:13 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/asterisk-addons: ChangeLog asterisk-addons-1.2.8.ebuild asterisk-addons-1.2.5-r1.ebuild asterisk-addons-1.2.4.ebuild asterisk-addons-1.2.5.ebuild Rajiv Aaron Manglani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080221041633.GB19704@supernova \
--to=dberkholz@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=rajiv@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox