public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [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
       [not found] <E1JS2ip-0001fW-Ii@stork.gentoo.org>
@ 2008-02-21  4:16 ` Donnie Berkholz
  2008-02-24 18:13   ` Rajiv Aaron Manglani
  0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2008-02-21  4:16 UTC (permalink / raw
  To: gentoo-dev, rajiv

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
  2008-02-21  4:16 ` [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 Donnie Berkholz
@ 2008-02-24 18:13   ` Rajiv Aaron Manglani
  0 siblings, 0 replies; 2+ messages in thread
From: Rajiv Aaron Manglani @ 2008-02-24 18:13 UTC (permalink / raw
  To: Donnie Berkholz; +Cc: gentoo-dev

> This is what epause() is for, or ebeep() if you really want people to
> notice.
> Repoman should be yelling at you about lack of quotes here. Are you on
> the latest version?
> You could change these to fperms/fowners while you're fixing.

net-misc/asterisk-addons-1.2.x is due to be removed soon as 1.4.x and 
1.6.x needs to come into the tree. we'll track these in bug 211283 to make 
sure they fixed in future versions.

thanks

-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-24 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JS2ip-0001fW-Ii@stork.gentoo.org>
2008-02-21  4:16 ` [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 Donnie Berkholz
2008-02-24 18:13   ` Rajiv Aaron Manglani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox