Nove funkcije #14534
Zatvorenasterisk bristuff rc3b
0%
Opis
ubaciti u git, buildati, bazirano na istoj verziji asteriska kao i rc1: 1.4.21.1
Fajlovi
Povezani tiketi 4 (0 otvoreno — 4 zatvorenih)
Izmjenjeno od Ernad Husremović prije više od 16 godina
- Fajl bristuff-0.4.0-RC2.tar.gz bristuff-0.4.0-RC2.tar.gz dodano
Izmjenjeno od Ernad Husremović prije više od 16 godina
- Fajl bristuff-0.4.0-RC3b.tar.gz bristuff-0.4.0-RC3b.tar.gz dodano
- Naslov promijenjeno iz asterisk bristuff rc2 u asterisk bristuff rc3
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/asterisk$ git-svn fetch
... r129581 = 3d249007fe3f3fce7bbd3a31dc29aeab31ca9495 (svn/trunk) r129597 = a4be1d2ccee16bf615cb24a4716ab6c1f40ddc33 (svn/1.6.0) M channels/chan_sip.c r129638 = af5e95e31c7178c53c0c3b9ee05aa5f17101cb78 (svn/trunk) M channels/chan_sip.c r129640 = fe315949bd8dfbadd8a1687c53cddf270db0c5e6 (svn/1.6.0) M channels/chan_sip.c r129642 = 906d7b7b0825d47553aeab928c0a8c1adb42faff (svn/trunk) M channels/chan_sip.c r129647 = 4254c7f7d647dcdbb56f3b5fa598effa333dedf6 (svn/1.6.0) M apps/app_queue.c r129684 = 5deac506b1968ec7269097791d34b8f3fa7562cd (svn/trunk) M apps/app_queue.c r129685 = 090deaba64aa79d7c01322141c090cd8de706b1e (svn/1.6.0)
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/asterisk$ git branch -r
b-out-ba/1.4 b-out-ba/1.6.0 b-out-ba/bring.out.ba-bristuff-1.4.19.1 b-out-ba/tags/1.4.19.1 b-out-ba/trunk svn/1.0 svn/1.2 svn/1.2-netsec svn/1.4 svn/1.6.0 svn/tags/0.1.0 svn/tags/0.1.1 svn/tags/0.1.10 svn/tags/0.1.11 svn/tags/0.1.12 svn/tags/0.1.2 svn/tags/0.1.3 svn/tags/0.1.4 svn/tags/0.1.5 svn/tags/0.1.6 svn/tags/0.1.7 svn/tags/0.1.8 svn/tags/0.1.9 svn/tags/0.2.0 svn/tags/0.3.0 svn/tags/0.4.0 svn/tags/0.5.0 svn/tags/0.7.0 svn/tags/0.7.1 svn/tags/0.7.2 svn/tags/0.9.0 svn/tags/1.0.0 svn/tags/1.0.0-rc1 svn/tags/1.0.0-rc2 svn/tags/1.0.1 svn/tags/1.0.10 svn/tags/1.0.11 svn/tags/1.0.11.1 svn/tags/1.0.12 svn/tags/1.0.2 svn/tags/1.0.4 svn/tags/1.0.5 svn/tags/1.0.6 svn/tags/1.0.7 svn/tags/1.0.8 svn/tags/1.0.9 svn/tags/1.2.0 svn/tags/1.2.0-beta1 svn/tags/1.2.0-beta2 svn/tags/1.2.0-rc1 svn/tags/1.2.0-rc2 svn/tags/1.2.1 svn/tags/1.2.10 svn/tags/1.2.10-netsec svn/tags/1.2.11 svn/tags/1.2.11-netsec svn/tags/1.2.12 svn/tags/1.2.12-netsec svn/tags/1.2.12.1 svn/tags/1.2.12.1-netsec svn/tags/1.2.13 svn/tags/1.2.13-netsec svn/tags/1.2.14 svn/tags/1.2.14-netsec svn/tags/1.2.15 svn/tags/1.2.15-netsec svn/tags/1.2.16 svn/tags/1.2.16-netsec svn/tags/1.2.17 svn/tags/1.2.17-netsec svn/tags/1.2.18 svn/tags/1.2.18-netsec svn/tags/1.2.19 svn/tags/1.2.19-netsec svn/tags/1.2.2 svn/tags/1.2.2-netsec svn/tags/1.2.20 svn/tags/1.2.20-netsec svn/tags/1.2.21 svn/tags/1.2.21-netsec svn/tags/1.2.21.1 svn/tags/1.2.21.1-netsec svn/tags/1.2.22 svn/tags/1.2.22-netsec svn/tags/1.2.23 svn/tags/1.2.23-netsec svn/tags/1.2.24 svn/tags/1.2.24-netsec svn/tags/1.2.25 svn/tags/1.2.25-netsec svn/tags/1.2.26 svn/tags/1.2.26-netsec svn/tags/1.2.26.1 svn/tags/1.2.26.1-netsec svn/tags/1.2.26.2 svn/tags/1.2.26.2-netsec svn/tags/1.2.27 svn/tags/1.2.28 svn/tags/1.2.28.1 svn/tags/1.2.29 svn/tags/1.2.3 svn/tags/1.2.3-netsec svn/tags/1.2.4 svn/tags/1.2.4-netsec svn/tags/1.2.5 svn/tags/1.2.5-netsec svn/tags/1.2.6 svn/tags/1.2.6-netsec svn/tags/1.2.7 svn/tags/1.2.7-netsec svn/tags/1.2.7.1 svn/tags/1.2.7.1-netsec svn/tags/1.2.8 svn/tags/1.2.8-netsec svn/tags/1.2.9 svn/tags/1.2.9-netsec svn/tags/1.2.9.1 svn/tags/1.2.9.1-netsec svn/tags/1.4.0 svn/tags/1.4.0-beta1 svn/tags/1.4.0-beta2 svn/tags/1.4.0-beta3 svn/tags/1.4.0-beta4 svn/tags/1.4.1 svn/tags/1.4.10 svn/tags/1.4.10.1 svn/tags/1.4.11 svn/tags/1.4.12 svn/tags/1.4.12.1 svn/tags/1.4.13 svn/tags/1.4.14 svn/tags/1.4.15 svn/tags/1.4.16 svn/tags/1.4.16.1 svn/tags/1.4.16.2 svn/tags/1.4.17 svn/tags/1.4.18 svn/tags/1.4.18.1 svn/tags/1.4.19 svn/tags/1.4.19-rc1 svn/tags/1.4.19-rc2 svn/tags/1.4.19-rc3 svn/tags/1.4.19-rc4 svn/tags/1.4.19.1 svn/tags/1.4.19.2 svn/tags/1.4.2 svn/tags/1.4.20 svn/tags/1.4.20-rc1 svn/tags/1.4.20-rc2 svn/tags/1.4.20-rc3 svn/tags/1.4.20.1 svn/tags/1.4.21 svn/tags/1.4.21-rc1 svn/tags/1.4.21-rc2 svn/tags/1.4.21.1 svn/tags/1.4.3 svn/tags/1.4.4 svn/tags/1.4.5 svn/tags/1.4.6 svn/tags/1.4.7 svn/tags/1.4.7.1 svn/tags/1.4.8 svn/tags/1.4.9 svn/tags/1.6.0-beta1 svn/tags/1.6.0-beta2 svn/tags/1.6.0-beta3 svn/tags/1.6.0-beta4 svn/tags/1.6.0-beta5 svn/tags/1.6.0-beta6 svn/tags/1.6.0-beta7 svn/tags/1.6.0-beta7.1 svn/tags/1.6.0-beta8 svn/tags/1.6.0-beta9 svn/tags/autotag_for_ svn/tags/autotag_for_. svn/tags/autotag_for_aadk svn/tags/autotag_for_aadk-0.1.0 svn/tags/autotag_for_aadk-0.2.0 svn/tags/autotag_for_aadk-0.3.0 svn/tags/autotag_for_aadk-0.3.1 svn/tags/autotag_for_aadk-0.3.2 svn/tags/autotag_for_aadk-0.3.3 svn/tags/autotag_for_aadk-0.4.0 svn/tags/autotag_for_aadk-0.5.0 svn/tags/autotag_for_aadk-0.6.0 svn/tags/autotag_for_aadk-0.7.0 svn/tags/autotag_for_be svn/tags/autotag_for_be-C.0.1 svn/tags/autotag_for_sx00i-1.0.0 svn/tags/v-1_0_RC2 svn/tags/v0-1-0 svn/tags/v0-1-1 svn/tags/v0-1-10 svn/tags/v0-1-11 svn/tags/v0-1-12 svn/tags/v0-1-2 svn/tags/v0-1-3 svn/tags/v0-1-4 svn/tags/v0-1-5 svn/tags/v0-1-6 svn/tags/v0-1-7 svn/tags/v0-1-8 svn/tags/v0-1-9 svn/tags/v0-2-0 svn/tags/v0-3-0 svn/tags/v0-4-0 svn/tags/v0-5-0 svn/tags/v0-7-1 svn/tags/v0-7-2 svn/tags/v0_9_0 svn/tags/v1-0-0 svn/tags/v1-0-1 svn/tags/v1-0-10 svn/tags/v1-0-2 svn/tags/v1-0-4 svn/tags/v1-0-5 svn/tags/v1-0-6 svn/tags/v1-0-7 svn/tags/v1-0-8 svn/tags/v1-0-9 svn/tags/v1-0_base svn/tags/v1-2-0 svn/tags/v1-2-0-beta1 svn/tags/v1-2-0-beta2 svn/tags/v1-2-0-rc1 svn/tags/v1-2-0-rc2 svn/tags/v1_0_rc_1 svn/tags/v_0_7_0 svn/trunk svn/v1-0 svn/v1-0-8-fixed svn/v1-0_stable svn/v1-2
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/asterisk$ git checkout -b tags/1.4.21.1 svn/tags/1.4.21.1
Switched to a new branch "tags/1.4.21.1"
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/asterisk$ git push b-out-ba tags/1.4.21.1:refs/heads/tags/1.4.21.1
Counting objects: 332, done. Compressing objects: 100% (262/262), done. Writing objects: 100% (265/265), 293.38 KiB, done. Total 265 (delta 203), reused 1 (delta 0) To git@git.bring.out.ba:asterisk.git * [new branch] tags/1.4.21.1 -> tags/1.4.21.1
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/asterisk$ git checkout 1.4
Switched to branch "1.4"
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/asterisk$ git push b-out-ba
Counting objects: 660, done. Compressing objects: 100% (556/556), done. Writing objects: 100% (557/557), 222.76 KiB, done. Total 557 (delta 441), reused 0 (delta 0) To git@git.bring.out.ba:asterisk.git eb9d4b1..9ea6bfb 1.4 -> 1.4
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git$ git clone git@git.bring.out.ba:asterisk_bristuff.git
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git branch -r
origin/HEAD origin/bring.out.ba origin/master
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git tag -l
0.4.0-RC1
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git checkout -b bring.out.ba origin/bring.out.ba
Branch bring.out.ba set up to track remote branch refs/remotes/origin/bring.out.ba. Switched to a new branch "bring.out.ba"
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git push origin --tags
Total 0 (delta 0), reused 0 (delta 0) To git@git.bring.out.ba:asterisk_bristuff.git * [new tag] 0.4.0-RC1-bring.out.ba -> 0.4.0-RC1-bring.out.ba
hajmo sada uzeti novi tarball
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ rm -r -f * hernad@nmraka-1:~/devel/git/asterisk_bristuff$ tar xfz ../bristuff-0.4.0-RC3b.tar.gz
Izmjenjeno od Ernad Husremović prije više od 16 godina
tagiraću tarball
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git tag 0.4.0-RC3b
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git push
Counting objects: 88, done. Compressing objects: 100% (43/43), done. Writing objects: 100% (46/46), 37.91 KiB, done. Total 46 (delta 36), reused 7 (delta 3) To git@git.bring.out.ba:asterisk_bristuff.git 4ae1292..b7817bb bring.out.ba -> bring.out.ba
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ git push --tags
Total 0 (delta 0), reused 0 (delta 0) To git@git.bring.out.ba:asterisk_bristuff.git * [new tag] 0.4.0-RC3b -> 0.4.0-RC3b
Izmjenjeno od Ernad Husremović prije više od 16 godina
s obzirom da asterisk postoji u repos-u, najlakše mi prije svega instalirati sve librarie koje su potrebne za instalaciju tog asterisk-a
hernad@nmraka-1:~/devel/git/asterisk_bristuff/asterisk$ sudo apt-get build-dep asterisk
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Note, selecting libsqlite0-dev instead of libsqlite-dev Slijedeći paketi će biti UKLONJENI: libcurl4-gnutls-dev Slijedeći NOVI paketi će biti instalirani: diffstat doxygen freetds-dev graphviz libasound2-dev libc-client2007 libc-client2007-dev libcap-dev libct3 libcurl4-openssl-dev libgl1-mesa-dev libglu1-mesa-dev libglu1-xorg-dev libgsm1-dev libiksemel-dev libiksemel3 libnewt-dev libogg-dev libopenh323-1.18.0 libopenh323-dev libpam0g-dev libpq-dev libpri-dev libpri1.0 libpt-dev libradiusclient-ng-dev libradiusclient-ng2 libsasl2-dev libsdl1.2-dev libsensors-dev libsnmp-dev libsnmp-perl libspeex-dev libsqlite0-dev libsybdb5 libtonezone-dev libtonezone1 libvorbis-dev libvpb-dev libvpb0 libwrap0-dev mesa-common-dev mlock module-assistant quilt zaptel-source 0 upgraded, 46 newly installed, 1 to remove and 0 not upgraded. Need to get 29,0MB of archives. After this operation, 120MB of additional disk space will be used.
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff/asterisk$ make
make: *** No rule to make target `menuselect/menuselect.c', needed by `menuselect/menuselect'. Stop.
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git$ git clone git@git.bring.out.ba:asterisk_zaptel.git
Initialize asterisk_zaptel/.git Initialized empty Git repository in /data/devel/git/asterisk_zaptel/.git/ remote: Counting objects: 8087, done. remote: Compressing objects: 100% (2346/2346), done. remote: Total 8087 (delta 5829), reused 7957 (delta 5707) Receiving objects: 100% (8087/8087), 11.41 MiB | 8924 KiB/s, done. Resolving deltas: 100% (5829/5829), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
hernad@nmraka-1:~/devel/git$ git clone git@git.bring.out.ba:asterisk_libpri.git
Initialize asterisk_libpri/.git Initialized empty Git repository in /data/devel/git/asterisk_libpri/.git/ remote: Counting objects: 1284, done. remote: Compressing objects: 100% (394/394), done. remote: Total 1284 (delta 929), reused 1216 (delta 885) Receiving objects: 100% (1284/1284), 286.41 KiB, done. Resolving deltas: 100% (929/929), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ sudo make install-firmware
[sudo] password for hernad: make -C firmware hotplug-install DESTDIR= HOTPLUG_FIRMWARE=yes make[1]: Entering directory `/data/devel/git/asterisk_zaptel/firmware' Attempting to download zaptel-fw-oct6114-064-1.05.01.tar.gz Installing zaptel-fw-oct6114-064.bin to hotplug firmware directories if [ -d /usr/lib/hotplug/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-oct6114-064.bin /usr/lib/hotplug/firmware; \ rm -rf /usr/lib/hotplug/firmware/.zaptel-fw-oct6114-064-*; \ touch /usr/lib/hotplug/firmware/.zaptel-fw-oct6114-064-1.05.01; \ fi if [ -d /lib/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-oct6114-064.bin /lib/firmware; \ rm -rf /lib/firmware/.zaptel-fw-oct6114-064-*; \ touch /lib/firmware/.zaptel-fw-oct6114-064-1.05.01; \ fi Attempting to download zaptel-fw-oct6114-128-1.05.01.tar.gz --13:31:58-- http://downloads.digium.com/pub/telephony/firmware/releases/zaptel-fw-oct6114-128-1.05.01.tar.gz => `zaptel-fw-oct6114-128-1.05.01.tar.gz' Resolving downloads.digium.com... 216.27.40.102 Connecting to downloads.digium.com|216.27.40.102|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 165,847 (162K) [application/x-gzip] 100%[====================================>] 165,847 152.50K/s 13:32:00 (152.11 KB/s) - `zaptel-fw-oct6114-128-1.05.01.tar.gz' saved [165847/165847] Installing zaptel-fw-oct6114-128.bin to hotplug firmware directories if [ -d /usr/lib/hotplug/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-oct6114-128.bin /usr/lib/hotplug/firmware; \ rm -rf /usr/lib/hotplug/firmware/.zaptel-fw-oct6114-128-*; \ touch /usr/lib/hotplug/firmware/.zaptel-fw-oct6114-128-1.05.01; \ fi if [ -d /lib/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-oct6114-128.bin /lib/firmware; \ rm -rf /lib/firmware/.zaptel-fw-oct6114-128-*; \ touch /lib/firmware/.zaptel-fw-oct6114-128-1.05.01; \ fi Attempting to download zaptel-fw-tc400m-MR6.12.tar.gz --13:32:00-- http://downloads.digium.com/pub/telephony/firmware/releases/zaptel-fw-tc400m-MR6.12.tar.gz => `zaptel-fw-tc400m-MR6.12.tar.gz' Resolving downloads.digium.com... 216.27.40.102 Connecting to downloads.digium.com|216.27.40.102|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,750,026 (1.7M) [application/x-gzip] 100%[====================================>] 1,750,026 310.48K/s ETA 00:00 13:32:07 (262.40 KB/s) - `zaptel-fw-tc400m-MR6.12.tar.gz' saved [1750026/1750026] Installing zaptel-fw-tc400m.bin to hotplug firmware directories if [ -d /usr/lib/hotplug/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-tc400m.bin /usr/lib/hotplug/firmware; \ rm -rf /usr/lib/hotplug/firmware/.zaptel-fw-tc400m-*; \ touch /usr/lib/hotplug/firmware/.zaptel-fw-tc400m-MR6.12; \ fi if [ -d /lib/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-tc400m.bin /lib/firmware; \ rm -rf /lib/firmware/.zaptel-fw-tc400m-*; \ touch /lib/firmware/.zaptel-fw-tc400m-MR6.12; \ fi Attempting to download zaptel-fw-vpmadt032-1.07.tar.gz --13:32:07-- http://downloads.digium.com/pub/telephony/firmware/releases/zaptel-fw-vpmadt032-1.07.tar.gz => `zaptel-fw-vpmadt032-1.07.tar.gz' Resolving downloads.digium.com... 216.27.40.102 Connecting to downloads.digium.com|216.27.40.102|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 41,375 (40K) [application/x-gzip] 100%[====================================>] 41,375 90.43K/s 13:32:08 (90.37 KB/s) - `zaptel-fw-vpmadt032-1.07.tar.gz' saved [41375/41375] Installing zaptel-fw-vpmadt032.bin to hotplug firmware directories if [ -d /usr/lib/hotplug/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-vpmadt032.bin /usr/lib/hotplug/firmware; \ rm -rf /usr/lib/hotplug/firmware/.zaptel-fw-vpmadt032-*; \ touch /usr/lib/hotplug/firmware/.zaptel-fw-vpmadt032-1.07; \ fi if [ -d /lib/firmware ]; then \ /usr/bin/install -c -m 644 zaptel-fw-vpmadt032.bin /lib/firmware; \ rm -rf /lib/firmware/.zaptel-fw-vpmadt032-*; \ touch /lib/firmware/.zaptel-fw-vpmadt032-1.07; \ fi make[1]: Leaving directory `/data/devel/git/asterisk_zaptel/firmware'
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ ls /lib/firmware
2.6.24-19-generic zaptel-fw-oct6114-064.bin zaptel-fw-tc400m.bin 2.6.24-19-openvz zaptel-fw-oct6114-128.bin zaptel-fw-vpmadt032.bin
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ make
make[1]: Entering directory `/data/devel/git/asterisk_zaptel' make -C /lib/modules/2.6.24-19-openvz/build ARCH=i386 SUBDIRS=/data/devel/git/asterisk_zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" modules make[2]: Entering directory `/usr/src/linux-headers-2.6.24-19-openvz' make[4]: /data/devel/git/asterisk_zaptel/kernel/wct4xxp/../oct612x/octasic-helper: Command not found make[4]: /data/devel/git/asterisk_zaptel/kernel/wct4xxp/../oct612x/octasic-helper: Command not found make[4]: *** No rule to make target `/data/devel/git/asterisk_zaptel/kernel/wct4xxp/../oct612x/include/oct6100api/oct6100_api.h', needed by `/data/devel/git/asterisk_zaptel/kernel/wct4xxp/vpm450m.o'. Stop. make[3]: *** [/data/devel/git/asterisk_zaptel/kernel/wct4xxp] Error 2 make[2]: *** [_module_/data/devel/git/asterisk_zaptel/kernel] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-openvz' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/data/devel/git/asterisk_zaptel' make: *** [all] Error 2
slično kao menuselect, oct61x nije uopšte u zaptel repos-u nego u zaptel zip-u ?!
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel/kernel$ git checkout -b 1.4.11_oct612x
Switched to a new branch "1.4.11_oct612x" hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel/kernel$ git push origin 1.4.11_oct612x:refs/heads/1.4.11_oct612x Counting objects: 122, done. Compressing objects: 100% (114/114), done. Writing objects: 100% (116/116), 344.66 KiB, done. Total 116 (delta 51), reused 0 (delta 0) To git@git.bring.out.ba:asterisk_zaptel.git * [new branch] 1.4.11_oct612x -> 1.4.11_oct612x
Izmjenjeno od Ernad Husremović prije više od 16 godina
1.4.11_oct612x branch već sadrži bristuff patche-ve zato ću tako to i tagirati:
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ git tag 1.4.11_bristuff
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ git push --tags
Total 0 (delta 0), reused 0 (delta 0) To git@git.bring.out.ba:asterisk_zaptel.git * [new tag] 1.4.11_bristuff -> 1.4.11_bristuff
Izmjenjeno od Ernad Husremović prije više od 16 godina
šta su cwain, qozap, zaphfc ?¶
na osnovu cd ../asterisk_zaptel/kernel
ln -sf ${ASTERISK_BRISTUFF}/cwain/cwain.[ch] ${ASTERISK_BRISTUFF}/qozap/qozap.[ch] ${ASTERISK_BRISTUFF}/zaphfc/zaphfc.[ch] ${ASTERISK_BRISTUFF}/ztgsm/ztgsm.[ch] .
to su zaptel kernel drajveri za konkretne uređaje
a šta je zaptel ?¶
to je interfejs za asterisk uređaje kao što je bristuff, hfc-pci isdn modem kartice, slične digium-ove kartice (WDXXX) ...
Izmjenjeno od Ernad Husremović prije više od 16 godina
compile.sh /etc/udev/rules.d pristup¶
build korisnik mora imati pristup ovom dir-u
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ sudo chown .admin /etc/udev/rules.d hernad@nmraka-1:~/devel/git/asterisk_bristuff$ sudo chmod g+w /etc/udev/rules.d
projverio ok:
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ cd zaptel hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
Izmjenjeno od Ernad Husremović prije više od 16 godina
- Naslov promijenjeno iz asterisk bristuff rc3 u asterisk bristuff rc3b
Izmjenjeno od Ernad Husremović prije više od 16 godina
nova greška:
install -d /etc/udev/rules.d install: ne mogu promjeniti dozvole od `/etc/udev/rules.d': Operation not permitted make: *** [devices] Error 1
prevariću ga
ifneq (yes,$(UDEVRULES)) #!UDEVRULES @echo "**** Dynamic filesystem detected -- not creating device nodes" else # UDEVRULES if [ "$(DESTDIR)" != "" ] ; then install -d $(DESTDIR)/etc/udev/rules.d ; fi build_tools/genudevrules > $(DESTDIR)/etc/udev/rules.d/zaptel.rules endif
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ make devices
if [ "" != "" ] ; then install -d /etc/udev/rules.d ; fi build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel$ make DESTDIR=tmp DYNFS=yes UDEVRULES=yes devices
if [ "tmp" != "" ] ; then install -d tmp/etc/udev/rules.d ; fi build_tools/genudevrules > tmp/etc/udev/rules.d/zaptel.rules
Izmjenjeno od Ernad Husremović prije više od 16 godina
libpri.deb¶
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ ln -s libpri libpri-1.4.3bristuff
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ cd libpri-1.4.3bristuff
hernad@nmraka-1:~/devel/git/asterisk_bristuff/libpri-1.4.3bristuff$ dh_make -n -e hernad@bring.out.ba
Type of package: single binary, multiple binary, library, kernel module or cdbs? [s/m/l/k/b] s Maintainer name : Ernad Husremovic Email-Address : hernad@bring.out.ba Date : Thu, 28 Aug 2008 14:46:50 +0200 Package Name : libpri Version : 1.4.3bristuff License : gpl Type of Package : Single Hit <enter> to confirm: Done. Please edit the files in the debian/ subdirectory now. You should also check that the libpri Makefiles install into $DESTDIR and not in / .
hernad@nmraka-1:~/devel/git/asterisk_bristuff/libpri-1.4.3bristuff$ dpkg-buildpackage
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ ln -s zaptel zaptel-1.4.11bristuff
hernad@nmraka-1:~/devel/git/asterisk_bristuff$ cd zaptel-1.4.11bristuff
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel-1.4.11bristuff$ dh_make -n -e hernad@bring.out.ba
Type of package: single binary, multiple binary, library, kernel module or cdbs? [s/m/l/k/b] s Maintainer name : Ernad Husremovic Email-Address : hernad@bring.out.ba Date : Thu, 28 Aug 2008 14:53:00 +0200 Package Name : zaptel Version : 1.4.11bristuff License : gpl Type of Package : Single Hit <enter> to confirm: Done. Please edit the files in the debian/ subdirectory now. zaptel uses a configure script, so you probably don't have to edit the Makefiles.
hernad@nmraka-1:~/devel/git/asterisk_bristuff/zaptel-1.4.11bristuff$ dpkg-buildpackage
Izmjenjeno od Ernad Husremović prije više od 16 godina
zaptel iz ubuntu repos-a ?¶
hernad@nmraka-1:/usr/src/modules/zaptel$ dpkg -L zaptel-source
/. /usr /usr/src /usr/src/zaptel.tar.bz2 /usr/include /usr/include/linux /usr/include/zaptel /usr/include/zaptel/zaptel.h /usr/share /usr/share/doc /usr/share/doc/zaptel-source /usr/share/doc/zaptel-source/copyright /usr/share/doc/zaptel-source/changelog.gz /usr/share/doc/zaptel-source/examples /usr/share/doc/zaptel-source/examples/cwain /usr/share/doc/zaptel-source/examples/cwain/zapata.conf /usr/share/doc/zaptel-source/examples/cwain/zapata.conf.doubleE1 /usr/share/doc/zaptel-source/examples/cwain/zaptel.conf /usr/share/doc/zaptel-source/examples/cwain/zaptel.conf.doubleE1 /usr/share/doc/zaptel-source/examples/cwain/zaptel.conf.hdlcnet /usr/share/doc/zaptel-source/examples/cwain/zaptel.conf.hdlcnet.doubleE1 /usr/share/doc/zaptel-source/examples/qozap /usr/share/doc/zaptel-source/examples/qozap/zapata.conf /usr/share/doc/zaptel-source/examples/qozap/zapata.conf.duoBRI /usr/share/doc/zaptel-source/examples/qozap/zapata.conf.octoBRI /usr/share/doc/zaptel-source/examples/qozap/zaptel.conf /usr/share/doc/zaptel-source/examples/qozap/zaptel.conf.duoBRI /usr/share/doc/zaptel-source/examples/qozap/zaptel.conf.octoBRI /usr/share/doc/zaptel-source/examples/zaphfc /usr/share/doc/zaptel-source/examples/zaphfc/zapata.conf /usr/share/doc/zaptel-source/examples/zaphfc/zaptel.conf /usr/share/doc/zaptel-source/examples/ztgsm /usr/share/doc/zaptel-source/examples/ztgsm/zapata.conf.duoGSM /usr/share/doc/zaptel-source/examples/ztgsm/zapata.conf.quadGSM /usr/share/doc/zaptel-source/examples/ztgsm/zapata.conf.unoGSM /usr/share/doc/zaptel-source/examples/ztgsm/zaptel.conf.duoGSM /usr/share/doc/zaptel-source/examples/ztgsm/zaptel.conf.quadGSM /usr/share/doc/zaptel-source/examples/ztgsm/zaptel.conf.unoGSM /usr/share/doc/zaptel-source/changelog.Debian.gz /usr/include/linux/zaptel.h
hernad@nmraka-1:/usr/src/modules/zaptel$ sudo apt-get install libusb-dev
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:/usr/src/modules$ sudo m-a a-i zaptel
Updated infos about 1 packages Getting source for kernel version: 2.6.24-19-openvz Kernel headers available in /usr/src/linux-headers-2.6.24-19-openvz Creating symlink... apt-get install build-essential Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done build-essential is already the newest version. Sljedeći paketi su automatski instalirani i više nisu potrebni: libopencdk10-dev libgnutlsxx13 libtasn1-3-dev libgpg-error-dev libgcrypt11-dev cvsps liberror-perl cvs libgnutls-dev liblzo2-dev libdbd-sqlite3-perl libsvn-perl libdigest-sha1-perl Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Done! unpack Extracting the package tarball, /usr/src/zaptel.tar.bz2, please wait... "/usr/share/modass/packages/default.sh" build KVERS=2.6.24-19-openvz KSRC=/usr/src/linux KDREV=2.6.24-19.41 kdist_image Done with /usr/src/zaptel-modules-2.6.24-19-openvz_1.4.10~dfsg-1+2.6.24-19.41_i386.deb . dpkg -Ei /usr/src/zaptel-modules-2.6.24-19-openvz_1.4.10~dfsg-1+2.6.24-19.41_i386.deb Selecting previously deselected package zaptel-modules-2.6.24-19-openvz. (Reading database ... 179149 files and directories currently installed.) Unpacking zaptel-modules-2.6.24-19-openvz (from .../zaptel-modules-2.6.24-19-openvz_1.4.10~dfsg-1+2.6.24-19.41_i386.deb) ... Setting up zaptel-modules-2.6.24-19-openvz (1:1.4.10~dfsg-1+2.6.24-19.41) ...
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:/usr/src/modules$ dpkg -L zaptel-modules-2.6.24-19-openvz
/. /usr /usr/share /usr/share/doc /usr/share/doc/zaptel-modules-2.6.24-19-openvz /usr/share/doc/zaptel-modules-2.6.24-19-openvz/changelog.Debian.gz /lib /lib/modules /lib/modules/2.6.24-19-openvz /lib/modules/2.6.24-19-openvz/misc /lib/modules/2.6.24-19-openvz/misc/wcopenpci.ko /lib/modules/2.6.24-19-openvz/misc/wcusb.ko /lib/modules/2.6.24-19-openvz/misc/cwain.ko /lib/modules/2.6.24-19-openvz/misc/wct4xxp /lib/modules/2.6.24-19-openvz/misc/wct4xxp/wct4xxp.ko /lib/modules/2.6.24-19-openvz/misc/wcte12xp /lib/modules/2.6.24-19-openvz/misc/wcte12xp/wcte12xp.ko /lib/modules/2.6.24-19-openvz/misc/zaptel.ko /lib/modules/2.6.24-19-openvz/misc/wctc4xxp /lib/modules/2.6.24-19-openvz/misc/wctc4xxp/wctc4xxp.ko /lib/modules/2.6.24-19-openvz/misc/zaphfc.ko /lib/modules/2.6.24-19-openvz/misc/opvxa1200.ko /lib/modules/2.6.24-19-openvz/misc/tor2.ko /lib/modules/2.6.24-19-openvz/misc/ztdynamic.ko /lib/modules/2.6.24-19-openvz/misc/ds1x1f.ko /lib/modules/2.6.24-19-openvz/misc/vzaphfc /lib/modules/2.6.24-19-openvz/misc/vzaphfc/vzaphfc.ko /lib/modules/2.6.24-19-openvz/misc/qozap.ko /lib/modules/2.6.24-19-openvz/misc/wcfxo.ko /lib/modules/2.6.24-19-openvz/misc/ztdummy.ko /lib/modules/2.6.24-19-openvz/misc/wct1xxp.ko /lib/modules/2.6.24-19-openvz/misc/torisa.ko /lib/modules/2.6.24-19-openvz/misc/zttranscode.ko /lib/modules/2.6.24-19-openvz/misc/ztgsm.ko /lib/modules/2.6.24-19-openvz/misc/wctdm24xxp /lib/modules/2.6.24-19-openvz/misc/wctdm24xxp/wctdm24xxp.ko /lib/modules/2.6.24-19-openvz/misc/xpp /lib/modules/2.6.24-19-openvz/misc/xpp/xpd_pri.ko /lib/modules/2.6.24-19-openvz/misc/xpp/xpp.ko /lib/modules/2.6.24-19-openvz/misc/xpp/xpd_fxo.ko /lib/modules/2.6.24-19-openvz/misc/xpp/xpp_usb.ko /lib/modules/2.6.24-19-openvz/misc/xpp/xpd_fxs.ko /lib/modules/2.6.24-19-openvz/misc/xpp/xpd_bri.ko /lib/modules/2.6.24-19-openvz/misc/wctdm.ko /lib/modules/2.6.24-19-openvz/misc/ztd-loc.ko /lib/modules/2.6.24-19-openvz/misc/ztd-eth.ko /lib/modules/2.6.24-19-openvz/misc/wcte11xp.ko /lib/modules/2.6.24-19-openvz/misc/pciradio.ko
Izmjenjeno od Ernad Husremović prije više od 16 godina
m-a module assistant¶
NAME module-assistant - manage kernel modules packages SYNOPSIS module-assistant [ -fihnqstv ] [ -k source/headers directory ] [ -l kernel versions ] { update | search | prepare | auto-install | list | list-available | list-installed | auto-unpacked | get | build | install | clean | purge | fakesource } [ pkg ... ] m-a ... DESCRIPTION module-assistant is the command-line tool for handling module-source packages that have been prepared for the Debian distribution. It helps users to build and install module package(s) easily for one or more custom kernels.
Izmjenjeno od Ernad Husremović prije više od 16 godina
How to build and install asterisk 1.4 in etch like a viking¶
Submitted by rene on Sat, 08/09/2008 - 21:30.
Enough with ./configure && make install. Lets start building asterisk 1.4 in etch like real vikings
Download the latest zaptel source (as of 09/08/2008 this was version 1.4.11) from asterisk.org. Also checkout the latest debian pkg-voip zaptel code from svn. The version of asciidoc that is required by the experimental zaptel debian package isnt in stable etch. Applying some sed glue fixes this problem for us.
$ wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.11.tar.gz $ tar zxf zaptel-1.4.11.tar.gz $ svn co svn://svn.alioth.debian.org/svn/pkg-voip/zaptel/trunk pkg-voip.zaptel-1.4.11 $ rsync -avP --exclude=.svn pkg-voip.zaptel-1.4.11/ zaptel-1.4.11/ $ cd zaptel-1.4.11 $ sed -i -e 's/asciidoc (>= 8.2.6-1.1)/asciidoc (>= 7.1.2-2)/' debian/control $ fakeroot dpkg-buildpackage
To build asterisk 1.4 we will need several packages installed that were built from zaptel 1.4.11. These packages will be located up a directory from your zaptel-1.4.11 source directory.
$ sudo dpkg -i libtonezone1_1.4.11~dfsg-2_i386.deb libtonezone-dev_1.4.11~dfsg-2_i386.deb zaptel-source_1.4.11~dfsg-2_all.deb
Now we need to build the libpri sources. Same steps as the zaptel builds though as of 09/08/2008 the pkg-voip svn repo trunk supported 1.4.3 of libpri and not the latest which was 1.4.7.
$ wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.3.tar.gz $ tar zxf libpri-1.4.3.tar.gz $ svn co svn://svn.alioth.debian.org/svn/pkg-voip/libpri/trunk pkg-voip.libpri-1.4.3 $ rsync -avP --exclude=.svn pkg-voip.libpri-1.4.3/ libpri-1.4.3/ $ cd libpri-1.4.3 $ fakeroot dpkg-buildpackage
From the libpri build, install libpri1 and libpri-dev packages.
$ sudo dpkg -i libpri-dev_1.4.3-3_i386.deb libpri1.0_1.4.3-3_i386.deb
Download the latest 1.4 asterisk source (as of 09/08/2008 this was version 1.4.21) from asterisk.org. As we did with the zaptel and libpri code, we will need to checkout the latest pkg-voip asterisk code from svn.
$ wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.21.2.tar.gz $ tar zxf asterisk-1.4.21.2.tar.gz $ svn co svn://svn.alioth.debian.org/svn/pkg-voip/asterisk/trunk pkg-voip.asterisk-1.4.21 $ rsync -avP --exclude=.svn pkg-voip.asterisk-1.4.21/ asterisk-1.4.21.2/ $ cd asterisk-1.4.21.2
The pkg-voip team have created scripts within debian/backports which applies glue to debian/control to resolve build dependencies. You need this glue to get asterisk 1.4 to build in etch.
$ bash debian/backports/etch $ bash debian/backports/etch.xorcom
There looks to be one outstanding build dependency left that the backport scripts dont handle. #494405 has been logged with a patch provided.
$ wget http://www.terdmonk.com/files/debian/etch/asterisk-1.4/asterisk-1.4.21.2.debian.backports.etch.xorcom.libc-client2007b-dev.patch $ patch -p0 < asterisk-1.4.21.2.debian.backports.etch.xorcom.libc-client2007b-dev.patch
And because the tin foil hat wearing people at debian choose not to ship dubious non-free mp3 files...
$ sed -i -e 's/config.status: check-sounds patch/config.status: patch/' debian/rules
At this stage we should be pretty much right to build asterisk 1.4 on etch.
$ fakeroot dpkg-buildpackage
If you enjoy watching your favourite applications compile hang around. If not, go make a nice warm cup of green tea. Once the asterisk build has completed you should have the following debian packages available.
asterisk_1.4.21.2~dfsg-2_i386.deb asterisk-config_1.4.21.2~dfsg-2_all.deb asterisk-dbg_1.4.21.2~dfsg-2_i386.deb asterisk-dev_1.4.21.2~dfsg-2_all.deb asterisk-doc_1.4.21.2~dfsg-2_all.deb asterisk-h323_1.4.21.2~dfsg-2_i386.deb asterisk-sounds-main_1.4.21.2~dfsg-2_all.deb
Izmjenjeno od Ernad Husremović prije više od 14 godina
- Status promijenjeno iz Dodijeljeno u Zastarjelo