summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2008-02-18 10:36:21 +0000
committerStefan Knoblich <stkn@gentoo.org>2008-02-18 10:36:21 +0000
commit1bb89df8e545691a858352a81d41da5581e7cde0 (patch)
tree1a218ac40d5a4ea6b5ec87beab3cc4e118ccadea /net-libs
parentVersion bump (diff)
downloadvoip-1bb89df8e545691a858352a81d41da5581e7cde0.tar.gz
voip-1bb89df8e545691a858352a81d41da5581e7cde0.tar.bz2
voip-1bb89df8e545691a858352a81d41da5581e7cde0.zip
Version bump
svn path=/trunk/; revision=652
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpri/ChangeLog6
-rw-r--r--net-libs/libpri/Manifest5
-rw-r--r--net-libs/libpri/files/libpri-1.4.3-gentoo.diff34
-rw-r--r--net-libs/libpri/libpri-1.4.3.ebuild57
4 files changed, 100 insertions, 2 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index 61fbc06..d8cfe0f 100644
--- a/net-libs/libpri/ChangeLog
+++ b/net-libs/libpri/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-libs/libpri
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 18 Feb 2008; Stefan Knoblich <s.knoblich@axsentis.de>
+ +files/libpri-1.4.3-gentoo.diff, +libpri-1.4.3.ebuild:
+ Version bump.
+
18 Jul 2007; Octavio Ruiz <tacvbo@tacvbo.net> libpri-1.4.1.ebuild,
+files/libpri-1.4.1-gentoo.diff:
Updated gentoo patchset for 1.4.1
diff --git a/net-libs/libpri/Manifest b/net-libs/libpri/Manifest
index 842b3c3..00a8217 100644
--- a/net-libs/libpri/Manifest
+++ b/net-libs/libpri/Manifest
@@ -1,7 +1,10 @@
AUX libpri-1.4.0-gentoo.diff 1832 RMD160 de0085863cbf7a6a806c28267c44a2d12b990d2f SHA1 cb6af07c0ea49a9cf4d4320968f002d868a3a631 SHA256 d03e1611ae4a835322ebb2c2ab320211ecdea860ef5bdd789ced0f6730c181bd
AUX libpri-1.4.1-gentoo.diff 1895 RMD160 34e45c6a8c10c7d5d160b65618634bfe4b715686 SHA1 c0c32f90408c2663a6f6f88452572f9857e277e8 SHA256 20e10cf8867892a4fd488afd8b5626377225ba26403935878473ca9b3d1af578
+AUX libpri-1.4.3-gentoo.diff 1849 RMD160 2f00b1b475fe109adbc9aa4742b3207a9c724ba0 SHA1 2279a97660a5bd4659275832f61fa937eacc1234 SHA256 354994426d8f716341eb86fc278fdf554f9caef4d0f310b12261542c171bf5e9
DIST libpri-1.4.0.tar.gz 80021 RMD160 8ecffb051400dfb2d4f5fcd196ad60bfb2967113 SHA1 910bcada76e1fa8229fdf48abb8d6aa30d0d42d3 SHA256 9f4db10a105545e68cbe0620795d2e11278828fa281ad339eeb72087125eeaf9
DIST libpri-1.4.1.tar.gz 81178 RMD160 df42a8dc1b2d46e6f1a1db011c2c500c0ee66da2 SHA1 76284bcb68b57d972396115ba29d1e9d3aa88507 SHA256 2c8b33213d68a187fb25430c39d79db04bdfc08c769bdada97ab00f521e8ec84
+DIST libpri-1.4.3.tar.gz 81741 RMD160 d9197b80e4100dbaf4e90e4e43558440703103cb SHA1 e56426b94dd66c5f8cd30be165196080b7275808 SHA256 aec293708e3f70e0dc6352ac33a6680249c0795a9eb8f31972a95d5e2f41bd69
EBUILD libpri-1.4.0.ebuild 1325 RMD160 c7bff7c5403355d3d284d3621c049e3016b3ed53 SHA1 5f689c62132689a27ff6deb695af48b29d0e4f51 SHA256 b576b1d54dc4f4486969717f1002f0381a4e6ef5e88f306231c0833327ef018d
EBUILD libpri-1.4.1.ebuild 1325 RMD160 f4eded2a7b2dc8d0dd13bb68c650acae54890972 SHA1 fced843e2812e627c36fc5c2c4baeb3367d62d19 SHA256 e69942fc2927ebf8d4acb73764549b8d250fd865b754d65ac2b7c8a3987c6188
-MISC ChangeLog 345 RMD160 02ca36a57e5ff3388bd7224b6e6b889aca1d454f SHA1 22ffe79e826a2f2b9fe45a28d094a8b568f07bf9 SHA256 333641aa8a34c86f918744805ddeb541e99b8bb44525a0eefb663b50665092c9
+EBUILD libpri-1.4.3.ebuild 1226 RMD160 7d595a64b46f68eb6f8065e2821bc6d98f315129 SHA1 d9c780474a198554da4a28a610c4aa27c580b640 SHA256 88b52c517387bb3899a9fc52ffbc97592ab4d1fb12e6052153107e2a173dea24
+MISC ChangeLog 475 RMD160 f25a3ae5871acb9cbf72567552f0c49dff990116 SHA1 d676ee575a3effff3567cfc184393bd9bcf6288d SHA256 b2fe783a9a6a8591bad571ba2cd6b932deee5b4dcd30c0f40c0955d5a046af85
diff --git a/net-libs/libpri/files/libpri-1.4.3-gentoo.diff b/net-libs/libpri/files/libpri-1.4.3-gentoo.diff
new file mode 100644
index 0000000..8ca6379
--- /dev/null
+++ b/net-libs/libpri/files/libpri-1.4.3-gentoo.diff
@@ -0,0 +1,34 @@
+--- libpri-1.4.3/Makefile.orig 2007-08-27 21:21:08.000000000 +0200
++++ libpri-1.4.3/Makefile 2008-02-18 11:39:40.000000000 +0100
+@@ -36,7 +36,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 -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
+ INSTALL_PREFIX=$(DESTDIR)
+ INSTALL_BASE=/usr
+ SOFLAGS = -Wl,-hlibpri.so.1.0
+@@ -58,14 +58,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:
+@@ -82,7 +74,6 @@
+ ifneq (${OSARCH},SunOS)
+ install -m 644 libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include
+ install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
+- if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/restorecon -v $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi
+ ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.0 libpri.so ; ln -sf libpri.so.1.0 libpri.so.1 )
+ install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
+ if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib; fi
diff --git a/net-libs/libpri/libpri-1.4.3.ebuild b/net-libs/libpri/libpri-1.4.3.ebuild
new file mode 100644
index 0000000..c17d8f9
--- /dev/null
+++ b/net-libs/libpri/libpri-1.4.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+#IUSE="bri"
+IUSE=""
+
+MY_P="${P/_/-}"
+
+#BRI_VERSION="0.3.0-PRE-1v"
+
+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=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-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
+}