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