# ChangeLog for net-libs/libpri
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.58 2006/11/27 14:50:22 gustavoz Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.59 2007/01/17 17:49:22 gustavoz Exp $
+
+*libpri-1.2.4-r1 (17 Jan 2007)
+
+ 17 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ +libpri-1.2.4-r1.ebuild:
+ New rev with BRIstuff-0.3.0-PRE-1x
*libpri-1.2.4 (27 Nov 2006)
DIST bristuff-0.3.0-PRE-1o.tar.gz 252770 RMD160 60f1656a815bd1ff7d86ca7cb657c1d850a84804 SHA1 fd215b07533532c04f60212284a4cd1d6f18d5ba SHA256 aec95d12959181b601d7d10f05bb16eff715859dc8ea9fbb10e670296f61b6e9
DIST bristuff-0.3.0-PRE-1s.tar.gz 265953 RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 SHA1 1d942df9e4fd963755080e011caba88a33601c1b SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d
DIST bristuff-0.3.0-PRE-1v.tar.gz 267644 RMD160 5c5f034d29f4156351a495f40c9c4b176f65e06e SHA1 0ffbe79cd44119b09eb744eb9bf1b6fb90fa1bab SHA256 91254dd6c71b74a5990df622b523d06c2f0399c6e47630e5155392c1598fd39e
+DIST bristuff-0.3.0-PRE-1x.tar.gz 279200 RMD160 bc84aa50370627cfead9e0646cf87c16ddff7b00 SHA1 e02a82cebaefa0d666ad56532369310aae818d91 SHA256 13d98160d4a10b46b77c822577e6c64ad7dadbc2df1b4cd0a1007ae3bbbd4aa8
DIST libpri-1.0.7.tar.gz 55767 RMD160 635962d6550d514ef65c2d1df5e458ef68181852 SHA1 15a0bfd18a7f8e2f85857ed26c9067a1797f93c5 SHA256 6e6b480c9e02bbbc1ffc3442764e131b01bcd2fdb553500c1a63af0685b5772e
DIST libpri-1.0.8.tar.gz 55799 RMD160 632401a25d9666587a69bc7cf0cc9695b946f6ce SHA1 001b68b48eca81dafe8bcc887b9ceaf0e1859716 SHA256 a015f407279945a59baa6cb49bf6613fb7a2e13b41906777f0b8a0335e8614d1
DIST libpri-1.0.9.tar.gz 55801 RMD160 1e69c1ee8352eb59dbc2c85b2958fa36292b1af7 SHA1 0d5e65c96048579108767e3d62b9f92c1da9709f SHA256 429935002dc817f0c489013c0ab917f3b87414abafa90194bba891e167bfcf5b
MD5 31ee830d0006053bb0e6b24deb53dd97 libpri-1.2.3.ebuild 1380
RMD160 55abb892fb4278587bf808b091332a86eba349b9 libpri-1.2.3.ebuild 1380
SHA256 2fa359bc0df7b1a7c7d43dfc9675593d534579ba76608476dfb319e9ce31ef92 libpri-1.2.3.ebuild 1380
+EBUILD libpri-1.2.4-r1.ebuild 1321 RMD160 cdd4988f9d749c7ca3eb703ecac30287b9fa0590 SHA1 7cf127b0006320063acee37f0e9bb6b4580addc2 SHA256 86cad098a0d23ec6184e95cae784859c77e03feef0b786f956f36d78be3d9b1c
+MD5 f933822a0af72a48fcef5ca65d67e2c1 libpri-1.2.4-r1.ebuild 1321
+RMD160 cdd4988f9d749c7ca3eb703ecac30287b9fa0590 libpri-1.2.4-r1.ebuild 1321
+SHA256 86cad098a0d23ec6184e95cae784859c77e03feef0b786f956f36d78be3d9b1c libpri-1.2.4-r1.ebuild 1321
EBUILD libpri-1.2.4.ebuild 1318 RMD160 ebd4f377dc64683dcd704f2de41ededc79fdcd6f SHA1 f03439324aa33ad5976f04dea1899077d97316bb SHA256 c021253bcde49bb57d1df30bf1f95544bc99487c8b3b2fd91693757059442bf8
MD5 233bee5aa374554f4a31a32131d440e4 libpri-1.2.4.ebuild 1318
RMD160 ebd4f377dc64683dcd704f2de41ededc79fdcd6f libpri-1.2.4.ebuild 1318
SHA256 c021253bcde49bb57d1df30bf1f95544bc99487c8b3b2fd91693757059442bf8 libpri-1.2.4.ebuild 1318
-MISC ChangeLog 7665 RMD160 37b3c6a55e818815af898050a968b288d03c7454 SHA1 1a6ba8d70cbc68e32a5c058bf56be0500d45aed0 SHA256 0171667fc26ef6dfce0a58153305eacbe08f7a5a0875aabd922c3bf88e322589
-MD5 106ddf618fefd7388366902d52a8572f ChangeLog 7665
-RMD160 37b3c6a55e818815af898050a968b288d03c7454 ChangeLog 7665
-SHA256 0171667fc26ef6dfce0a58153305eacbe08f7a5a0875aabd922c3bf88e322589 ChangeLog 7665
+MISC ChangeLog 7816 RMD160 2b4e15fdbed23b5836d46990a26cfa998c34d4a7 SHA1 ce327851fa84afea58a0c53fc80c829f56e4d577 SHA256 2985f280e7b6fc26dbf059d498ec1a5be0888ac3958e232abcdb5617621f1b4a
+MD5 f32f2122ceda891c0c6cdced10ea2220 ChangeLog 7816
+RMD160 2b4e15fdbed23b5836d46990a26cfa998c34d4a7 ChangeLog 7816
+SHA256 2985f280e7b6fc26dbf059d498ec1a5be0888ac3958e232abcdb5617621f1b4a ChangeLog 7816
MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b
MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248
MD5 2ca6b74e87d2dfd6b0e496a475bcc762 files/digest-libpri-1.2.4 500
RMD160 f9edcd94da3585336dca580fa451619421e4ccd9 files/digest-libpri-1.2.4 500
SHA256 0720dfe253f97bfecc90c5480110bb730ca1b57b48f6cf92f2ba28e310dd38b1 files/digest-libpri-1.2.4 500
+MD5 a7dcbccce0c3d9250259ea320339533b files/digest-libpri-1.2.4-r1 500
+RMD160 ede1ebc52b8a3041f15643b01c65214a0aa32d6c files/digest-libpri-1.2.4-r1 500
+SHA256 e656336c4624233ab95a3f8f92d8066090dfff8abcf816400a30b9535b6a2858 files/digest-libpri-1.2.4-r1 500
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
-iD8DBQFFavs4KRy60XGEcJIRAgDTAKCD8sx3MlSJ+8afInZd0evkmjKevACbBD14
-i16elmkSMkpWGKYR2JUmFR4=
-=U9XF
+iD8DBQFFrmGtKRy60XGEcJIRAtSWAJ4uM9xh1muGCdhCV8pjz2fehKjj2gCgsnKH
+nOGmy1WlcSnwjU5hoXG9+ds=
+=2jPH
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.2.4-r1.ebuild,v 1.1 2007/01/17 17:49:22 gustavoz Exp $
+
+inherit eutils
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1x"
+
+DESCRIPTION="Primary Rate ISDN (PRI) library"
+HOMEPAGE="http://www.asterisk.org/"
+SRC_URI="http://ftp.digium.com/pub/libpri/${MY_P}.tar.gz
+ bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
+# bri? ( http://www.netdomination.org/pub/asterisk/libpri-${PV}-bristuff-${BRI_VERSION}.diff.gz )"
+
+S="${WORKDIR}/${MY_P}"
+
+S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.2.3-gentoo.diff
+
+ if use bri; then
+ einfo "Patching libpri w/ BRI stuff (${BRI_VERSION})"
+
+ # fix a small clash in patches
+ sed -i -e "s:CFLAGS=:CFLAGS+=:" \
+ ${S_BRI}/patches/libpri.patch
+# ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+
+ epatch ${S_BRI}/patches/libpri.patch
+# epatch ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+ fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make INSTALL_PREFIX=${D} install || die
+
+ dodoc ChangeLog README TODO LICENSE
+}