From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JS2rO-0003nQ-30 for garchives@archives.gentoo.org; Thu, 21 Feb 2008 04:16:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B013E0586; Thu, 21 Feb 2008 04:16:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 50049E0586 for ; Thu, 21 Feb 2008 04:16:36 +0000 (UTC) Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1FEC064B7F; Thu, 21 Feb 2008 04:16:35 +0000 (UTC) Date: Wed, 20 Feb 2008 20:16:33 -0800 From: Donnie Berkholz 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 Message-ID: <20080221041633.GB19704@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 2ca7f752-7c80-4ff8-949f-c3d973531a8e X-Archives-Hash: 0ead15703d9ad061ccc952fa7c8469ef 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