how to rebuild your rpm with openvox new driver
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 ... e%3D1&frombbs=1)
3) cp the patch to /usr/src/readhat/SOURCES (I am using centos-5)
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! check the i386.rpm file. more discuss will be posted to www.cnasterisk.com.
thanks!
zhu
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论