diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-08-27 17:58:05 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-08-27 17:58:05 +0000 |
commit | aadb1dd378b522986855eb0a147bc7b256bc8b05 (patch) | |
tree | 26fcceae745ceeb35f710b9cfd6d662438503e74 /net-libs | |
parent | Stable on ppc64 (diff) | |
download | historical-aadb1dd378b522986855eb0a147bc7b256bc8b05.tar.gz historical-aadb1dd378b522986855eb0a147bc7b256bc8b05.tar.bz2 historical-aadb1dd378b522986855eb0a147bc7b256bc8b05.zip |
Added new 1.2.0 beta ebuild.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libpri/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/libpri/Manifest | 5 | ||||
-rw-r--r-- | net-libs/libpri/files/digest-libpri-1.2.0_beta1 | 1 | ||||
-rw-r--r-- | net-libs/libpri/files/libpri-1.2.0_beta1-gentoo.diff | 56 | ||||
-rw-r--r-- | net-libs/libpri/libpri-1.2.0_beta1.ebuild | 51 |
5 files changed, 119 insertions, 2 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog index 6cbddfe95e10..ec00a3ba8120 100644 --- a/net-libs/libpri/ChangeLog +++ b/net-libs/libpri/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/libpri # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.38 2005/08/27 17:51:53 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.39 2005/08/27 17:58:05 stkn Exp $ + +*libpri-1.2.0_beta1 (27 Aug 2005) + + 27 Aug 2005; <stkn@gentoo.org> +files/libpri-1.2.0_beta1-gentoo.diff, + +libpri-1.2.0_beta1.ebuild: + Added new 1.2.0 beta ebuild. 27 Aug 2005; <stkn@gentoo.org> -files/libpri-1.2.0_pre20050818-gentoo.diff, diff --git a/net-libs/libpri/Manifest b/net-libs/libpri/Manifest index 65896c530839..2e2beda56d70 100644 --- a/net-libs/libpri/Manifest +++ b/net-libs/libpri/Manifest @@ -2,13 +2,16 @@ MD5 38fc20f53ad364733819fb3be32730da libpri-1.0.7-r1.ebuild 1004 MD5 9768d5851d3fa0fbf08e610a0d8eb1f2 libpri-1.0.8.ebuild 1000 MD5 941a8f1022489aa9dead7a1721f0e3a5 libpri-1.0.9.ebuild 998 MD5 7807f5e269c8994f11958e1827139229 libpri-1.0.6.ebuild 1002 +MD5 fc2b7d2ecb1a7ac579d6b5dc6a950991 libpri-1.2.0_beta1.ebuild 1050 MD5 00bec5b7e0a494a0e6c9811eae6906ca libpri-1.0.7.ebuild 1002 MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248 -MD5 c784afabe08ddd958226934f47af1e2f ChangeLog 4576 +MD5 2a1b89b6d708c778636d921449bfe839 ChangeLog 4745 MD5 0351d07848218a9fedd933252f48e24a libpri-1.0.4.ebuild 600 MD5 66f0e1b701f64103b01c4b0342e888fe libpri-1.0.9-r1.ebuild 1001 MD5 d000e51d01723b5cf6acd521740cad5b files/digest-libpri-1.0.9 134 +MD5 c0ce8dfc299febbd63c851177d98d762 files/libpri-1.2.0_beta1-gentoo.diff 2122 MD5 854a97c4aecaf1536521b247dcdbd3a1 files/digest-libpri-1.0.4 63 +MD5 64f61304e7d2476f8fff69091dde8040 files/digest-libpri-1.2.0_beta1 69 MD5 434c5302587dc0457610cdb0fa7b3627 files/digest-libpri-1.0.8 134 MD5 4077c9b011632414cb2cdb36e1b24c27 files/digest-libpri-1.0.6 134 MD5 460b3c5461f842545b60d6c3f716631b files/digest-libpri-1.0.7 134 diff --git a/net-libs/libpri/files/digest-libpri-1.2.0_beta1 b/net-libs/libpri/files/digest-libpri-1.2.0_beta1 new file mode 100644 index 000000000000..acb91460c6b1 --- /dev/null +++ b/net-libs/libpri/files/digest-libpri-1.2.0_beta1 @@ -0,0 +1 @@ +MD5 085bd46523c795b22206a7838f9d9d84 libpri-1.2.0-beta1.tar.gz 75374 diff --git a/net-libs/libpri/files/libpri-1.2.0_beta1-gentoo.diff b/net-libs/libpri/files/libpri-1.2.0_beta1-gentoo.diff new file mode 100644 index 000000000000..b12be301f3c9 --- /dev/null +++ b/net-libs/libpri/files/libpri-1.2.0_beta1-gentoo.diff @@ -0,0 +1,56 @@ +--- libpri/Makefile.orig 2005-06-22 00:47:39.000000000 +0200 ++++ libpri/Makefile 2005-07-25 17:48:27.000000000 +0200 +@@ -38,33 +38,18 @@ + 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= + INSTALL_BASE=/usr +-ifeq (${OSARCH},Linux) +-LDCONFIG_FLAGS=-n +-else + ifeq (${OSARCH},FreeBSD) +-LDCONFIG_FLAGS=-m + CFLAGS += -I../zaptel -I../zapata + endif +-endif + ifeq (${OSARCH},SunOS) + CFLAGS += -DSOLARIS -I../zaptel-solaris -lsocket -lnsl + SOFLAGS = +-LDCONFIG = echo + INSTALL_BASE = /usr/local + else + SOFLAGS = -Wl,-soname,libpri.so.1 +-LDCONFIG = /sbin/ldconfig +-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) +@@ -82,10 +67,8 @@ + mkdir -p $(INSTALL_PREFIX)/$(INSTALL_BASE)/include + 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 restorecon -v $(INSTALL_PREFIX)/$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi + ( cd $(INSTALL_PREFIX)/$(INSTALL_BASE)/lib ; ln -sf libpri.so.1 libpri.so ) + install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)/$(INSTALL_BASE)/lib +- $(LDCONFIG) + + uninstall: + @echo "Removing Libpri" +@@ -119,7 +102,6 @@ + + $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS) + $(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS) +- $(LDCONFIG) $(LDCONFIG_FLAGS) . + ln -sf libpri.so.1 libpri.so + + clean: diff --git a/net-libs/libpri/libpri-1.2.0_beta1.ebuild b/net-libs/libpri/libpri-1.2.0_beta1.ebuild new file mode 100644 index 000000000000..700631830271 --- /dev/null +++ b/net-libs/libpri/libpri-1.2.0_beta1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.2.0_beta1.ebuild,v 1.1 2005/08/27 17:58:05 stkn Exp $ + +inherit eutils + +## TODO: +# +# - bristuff (waiting for next upstream release...) +# + +IUSE="" + +MY_P="${P/_/-}" + +#BRI_VERSION="0.2.0-RC8h" + +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/asterisk/downloads/bristuff-${BRI_VERSION}.tar.gz )" + +S="${WORKDIR}/${MY_P}" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" + +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})" +# epatch ${WORKDIR}/bristuff-${BRI_VERSION}/patches/libpri.patch +# fi +} + +src_compile() { + emake || die +} + +src_install() { + make INSTALL_PREFIX=${D} install || die + + dodoc ChangeLog README TODO LICENSE +} |