Feature #166
wanpipe drivers
| Status: | New | Start date: | 09/16/2009 | ||
|---|---|---|---|---|---|
| Priority: | Normal | Due date: | |||
| Assignee: | % Done: | 10% |
|||
| Category: | Aports | ||||
| Target version: | Alpine 2.4.0 |
Description
Incorporate wanpipe drivers from:
http://wiki.sangoma.com/wanpipe-linux-drivers
Will probably require fixing the build script to not touch kernel sources. But it would be really nice to have these in Alpine.
History
Updated by Natanael Copa about 2 years ago
- Target version set to Alpine 1.10.0
Updated by Natanael Copa almost 2 years ago
- File APKBUILD added
- Assignee changed from Natanael Copa to Andrew Manison
Updated by Natanael Copa almost 2 years ago
- Target version changed from Alpine 1.10.0 to Alpine 2.0.0
missed the 1.10 train, aim for 2.0
Updated by Natanael Copa over 1 year ago
- Target version changed from Alpine 2.0.0 to Alpine 2.1.0
Updated by Natanael Copa over 1 year ago
- Target version changed from Alpine 2.1.0 to Alpine 2.2.0
Updated by Timo Teräs over 1 year ago
- % Done changed from 0 to 10
I took a quick try at compiling the latest drivers from:
ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.17.tgz
Good news: it compiled and seemed to install OK. I had faint memory that it'd try to patch kernel sources, but it did not do that; the build and install was clean.
I built only the dahdi driver. There's also openzap driver, and some asterisk specific channel drivers (for BRI cards) which I did not try.
According to docs the build dependencies are:
bison libtool flex g++ make bash dahdi-grsec-dev termcap-dev
I used the kernel from edge:
KERNEL_VERSION=2.6.35.7-grsec
TO BUILD
make \
LEX=flex \
KVER=$(KERNEL_VERSION) \
DAHDI_DIR=/usr/src/dahdi-headers-$(KERNEL_VERSION) \
DESTDIR=/tmp/install \
dahdi
NOTE: Needs DESTDIR as it installs header files during the build target.
INSTALL
make \
LEX=flex \
KVER=$(KERNEL_VERSION) \
DAHDI_DIR=/usr/src/dahdi-headers-$(KERNEL_VERSION) \
DESTDIR=/tmp/install \
install
NOTE: Installs firmware and other big stuff to /etc
"du -csh /etc" on install dir says 9.3M; so it needs cleanup.
Package splitting needs some thought too.
Updated by Natanael Copa 9 months ago
- Target version changed from Alpine 2.2.0 to Alpine 2.3.0
will not make it
Updated by Natanael Copa 4 months ago
- Target version changed from Alpine 2.3.0 to Alpine 2.4.0