how to rebuild your rpm with openvox new driver

Discussion in 'General' started by james.zhu, Mar 3, 2009.

  1. james.zhu

    Joined:
    Feb 13, 2008
    Messages:
    99
    Likes Received:
    0
    hello,
    if anyone wants to rebuild your RPM with a openvox a1200 new patch, you can do it in this way:
    1) download the zaptel-1.4.XXX.src.rpm
    2) install src.rpm
    3) download the patch from(http://bbs.openvox.cn/viewthread.php?ti ... &frombbs=1)
    3) cp the patch to /usr/src/readhat/SOURCES
    4) cd /usr/src/redhat/SPEC
    5) edit the SPEC file and change the patch6 to:
    ---------------------------------------------------
    Patch0: ystdm8xx-zaptel-1.4.5.patch
    Patch1: zaptel-genzaptelconf-freepbx.patch
    #Patch2: zaptel-init.patch
    Patch3: zaptel-zma8xx-1.4.5.1.patch
    Patch4: zaptel-oslec.patch
    #Patch5: zaptel-octasic-1.4.5.1.patch
    Patch6: zaptel-opvxa1200.patch
    Patch7: zaptel-redfone-elastix.patch
    #Patch8: zaptel-astribank-xpp_zap.patch
    Patch9: zaptel_xpp_sleep_workaround.diff
    Patch10: zaptel-bri_dchan.patch
    Patch11: zaptel-xpp_fxs_filter.diff
    ----------------------------------------------------
    6) under SPEC, run the command: rpmbuild -ba zaptel.spec.
    7) done!
    regards!
    James.zhu
     

Share This Page