Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315189 - Add OpenR2 support to net-misc/asterisk
Summary: Add OpenR2 support to net-misc/asterisk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://libopenr2.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 02:18 UTC by Eduardo Frazão
Modified: 2010-05-13 12:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A simple ebuild for the openr2 library (openr2-1.3.0.ebuild,504 bytes, text/plain)
2010-04-14 19:05 UTC, Eduardo Frazão
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Frazão 2010-04-14 02:18:44 UTC
Hi all..
I wanna to request the support for the OpenR2 (OpenR2 is a library that implements the MFC/R2 telephony signaling protocol over E1 lines. - http://libopenr2.org/) to asterisk 1.6.2.x, since that its is natively part of this version of asterisk, and only requires that the library is installed before asterisk compilation to support it. I've made a ebuild myself (extremely simple), to build the openr2 library but I've dont made any changes on Asterisk 1.6.2.x ebuilds to add a useflag for that. Huge thanks by atention, and sorry by bad english.


Reproducible: Always

Steps to Reproduce:




--- Here, the openr2 ebuild:

# cat /usr/local/myEbuilds/net-libs/openr2/openr2-1.3.0.ebuild
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="OpenR2 is a library that implements the MFC/R2 telephony signaling protocol over E1 lines."
HOMEPAGE="http://libopenr2.org/"
SRC_URI="http://openr2.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""

RDEPEND="net-misc/dahdi"

src_compile() {
    econf
    emake || die
}

src_install() {
    emake DESTDIR="${D}" install || die
}
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2010-04-14 10:18:49 UTC
Don't inline; Attach files as plain text, please.
Comment 2 Eduardo Frazão 2010-04-14 19:05:19 UTC
Created attachment 227795 [details]
A simple ebuild for the openr2 library
Comment 3 Eduardo Frazão 2010-04-23 15:19:34 UTC
Please, can you add support for DEBUG_THREADS on the debug use flag too?

Many thanks!
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2010-05-13 11:28:35 UTC
Eduardo, thank you for your contribution to Gentoo Linux :)
There are a few changes that I had to make to the ebuild; do feel free to e-mail me if you have any questions about them.

+*openr2-1.3.0 (13 May 2010)
+
+  13 May 2010; <chainsaw@gentoo.org> +files/1.3.0-respect-user-cflags.patch,
+  +openr2-1.3.0.ebuild, +metadata.xml:
+  Initial commit. Ebuild based on the submission by Eduardo Frazão in bug
+  #315189.
Comment 5 Eduardo Frazão 2010-05-13 12:42:47 UTC
Many thanks!
Im happy to help, even with this amateur ebuild :)..