summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2007-07-12 21:16:12 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2007-07-12 21:16:12 +0000
commit597c65ef583749676fc3ccf91feeb7ddbef2f4db (patch)
tree26bd9f6f37da596f57dd149b48232edc9deca3ce /net-libs/libpri
parentVersion bump for bug #184407. (diff)
downloadgentoo-2-597c65ef583749676fc3ccf91feeb7ddbef2f4db.tar.gz
gentoo-2-597c65ef583749676fc3ccf91feeb7ddbef2f4db.tar.bz2
gentoo-2-597c65ef583749676fc3ccf91feeb7ddbef2f4db.zip
Verbump
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-libs/libpri')
-rw-r--r--net-libs/libpri/ChangeLog8
-rw-r--r--net-libs/libpri/files/digest-libpri-1.2.56
-rw-r--r--net-libs/libpri/files/libpri-1.2.5-gentoo.diff27
-rw-r--r--net-libs/libpri/libpri-1.2.5.ebuild56
4 files changed, 96 insertions, 1 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index 8001965ce21b..42c35fd2e51b 100644
--- a/net-libs/libpri/ChangeLog
+++ b/net-libs/libpri/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libpri
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.64 2007/05/01 09:17:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.65 2007/07/12 21:16:12 gustavoz Exp $
+
+*libpri-1.2.5 (12 Jul 2007)
+
+ 12 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ +files/libpri-1.2.5-gentoo.diff, +libpri-1.2.5.ebuild:
+ Verbump
01 May 2007; Raúl Porcel <armin76@gentoo.org> libpri-1.2.4-r2.ebuild:
x86 stable wrt security bug 175960
diff --git a/net-libs/libpri/files/digest-libpri-1.2.5 b/net-libs/libpri/files/digest-libpri-1.2.5
new file mode 100644
index 000000000000..12680fb52be5
--- /dev/null
+++ b/net-libs/libpri/files/digest-libpri-1.2.5
@@ -0,0 +1,6 @@
+MD5 47853b0befca4b0272867151bb195b1f bristuff-0.3.0-PRE-1y-h.tar.gz 286224
+RMD160 bf0b9fce76c68565837b56676262fdd055240653 bristuff-0.3.0-PRE-1y-h.tar.gz 286224
+SHA256 5657e2a50cfe35a64d9aa8caea4c3306539ed81a4ac955a9792a5d58c471a03f bristuff-0.3.0-PRE-1y-h.tar.gz 286224
+MD5 710642fcf83f8d28d08e562a43d673ca libpri-1.2.5.tar.gz 77446
+RMD160 6069449a39493d789f764e106f5c136714dff1d6 libpri-1.2.5.tar.gz 77446
+SHA256 02ab16e9ba02f57f745e6f260e08b1bc2ff442329db5345e7f42d70ad9ab7904 libpri-1.2.5.tar.gz 77446
diff --git a/net-libs/libpri/files/libpri-1.2.5-gentoo.diff b/net-libs/libpri/files/libpri-1.2.5-gentoo.diff
new file mode 100644
index 000000000000..1f0f1c299c38
--- /dev/null
+++ b/net-libs/libpri/files/libpri-1.2.5-gentoo.diff
@@ -0,0 +1,27 @@
+diff -Nura libpri-1.2.5/Makefile libpri-1.2.5-gentoo/Makefile
+--- libpri-1.2.5/Makefile 2006-12-30 16:16:17.000000000 -0300
++++ libpri-1.2.5-gentoo/Makefile 2007-07-12 14:58:49.094612157 -0300
+@@ -38,7 +38,7 @@
+ DYNAMIC_LIBRARY=libpri.so.1.0
+ STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
+ DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
+-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
+ INSTALL_PREFIX=$(DESTDIR)
+ INSTALL_BASE=/usr
+ SOFLAGS = -Wl,-hlibpri.so.1.0
+@@ -59,14 +59,6 @@
+ #INSTALL_PREFIX = /opt/asterisk # Uncomment out to install in standard Solaris location for 3rd party code
+ endif
+
+-#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
+-#This works for even old (2.96) versions of gcc and provides a small boost either way.
+-#A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesnt support it.
+-ifeq ($(PROC),sparc64)
+-PROC=ultrasparc
+-CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8
+-endif
+-
+ all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
+
+ update:
diff --git a/net-libs/libpri/libpri-1.2.5.ebuild b/net-libs/libpri/libpri-1.2.5.ebuild
new file mode 100644
index 000000000000..9adb48ee78e1
--- /dev/null
+++ b/net-libs/libpri/libpri-1.2.5.ebuild
@@ -0,0 +1,56 @@
+# 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.5.ebuild,v 1.1 2007/07/12 21:16:12 gustavoz Exp $
+
+inherit eutils
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1y-h"
+
+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.5-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
+}