summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-04-16 00:44:35 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-04-16 00:44:35 +0000
commit88fbde75ea81877195f077535b4c00ce4072a038 (patch)
tree926ad3148d7e4acb2cf41c5b9b0f626fe578d639 /net-libs/libpri
parentStable on SPARC wrt security bug #129136. (diff)
downloadgentoo-2-88fbde75ea81877195f077535b4c00ce4072a038.tar.gz
gentoo-2-88fbde75ea81877195f077535b4c00ce4072a038.tar.bz2
gentoo-2-88fbde75ea81877195f077535b4c00ce4072a038.zip
Revision bump, update bristuff to 0.3.0-PRE-1n.
(Portage version: 2.0.54)
Diffstat (limited to 'net-libs/libpri')
-rw-r--r--net-libs/libpri/ChangeLog7
-rw-r--r--net-libs/libpri/files/digest-libpri-1.2.2-r16
-rw-r--r--net-libs/libpri/libpri-1.2.2-r1.ebuild59
3 files changed, 71 insertions, 1 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index 5a57699812d3..996e05b917a7 100644
--- a/net-libs/libpri/ChangeLog
+++ b/net-libs/libpri/ChangeLog
@@ -1,6 +1,11 @@
# 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.48 2006/03/06 14:24:29 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.49 2006/04/16 00:44:35 stkn Exp $
+
+*libpri-1.2.2-r1 (16 Apr 2006)
+
+ 16 Apr 2006; Stefan Knoblich <stkn@gentoo.org> +libpri-1.2.2-r1.ebuild:
+ Revision bump, update bristuff to 0.3.0-PRE-1n.
06 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org>
libpri-1.0.9-r2.ebuild:
diff --git a/net-libs/libpri/files/digest-libpri-1.2.2-r1 b/net-libs/libpri/files/digest-libpri-1.2.2-r1
new file mode 100644
index 000000000000..904b75e209a5
--- /dev/null
+++ b/net-libs/libpri/files/digest-libpri-1.2.2-r1
@@ -0,0 +1,6 @@
+MD5 a0c78e7676acbc06b26d2c68ef3e0c86 bristuff-0.3.0-PRE-1n.tar.gz 248488
+RMD160 3da3043a88551578b4495ae8e54ffb6a4f3bfd2c bristuff-0.3.0-PRE-1n.tar.gz 248488
+SHA256 31b894bdd2741e309dfed23963db1cda3d74a8d616de8df9f1281b5558aa27f1 bristuff-0.3.0-PRE-1n.tar.gz 248488
+MD5 efce9c3699110588df5e4cf09eae01d9 libpri-1.2.2.tar.gz 76070
+RMD160 11b57b8788d1f27d170767ca9e916ae32f5764a0 libpri-1.2.2.tar.gz 76070
+SHA256 168fce4699b77c1ac5ae176237dae2f289714be95ddd2fe8bdc25a22f00318dd libpri-1.2.2.tar.gz 76070
diff --git a/net-libs/libpri/libpri-1.2.2-r1.ebuild b/net-libs/libpri/libpri-1.2.2-r1.ebuild
new file mode 100644
index 000000000000..0cec69743072
--- /dev/null
+++ b/net-libs/libpri/libpri-1.2.2-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.2.2-r1.ebuild,v 1.1 2006/04/16 00:44:35 stkn Exp $
+
+inherit eutils
+
+# NOTE:
+# this is libpri-1.2.2-r3 in the overlay
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1n"
+
+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.2-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
+}