Last active
March 27, 2022 07:56
-
-
Save khorsmann/c87a75ef3835bb4f02ec5d105cfe9bf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/sipwise/rtpengine.git | |
cd rtpengine/ | |
git archive --format=tar.gz --prefix=ngcp-rtpengine-4.5.0/ HEAD >/root/rpmbuild/SOURCES/ngcp-rtpengine-4.5.0.tar.gz | |
cd el | |
yum-builddep rtpengine.spec | |
yum install json-glib json-glib-devel libevent-devel libpcap-devel | |
yum install kernel-devel | |
cd /root/rpmbuild/SPECS | |
rpmbuild -ba rtpengine.spec | |
Wrote: /root/rpmbuild/SRPMS/ngcp-rtpengine-4.5.0-0.el7.centos.src.rpm | |
Wrote: /root/rpmbuild/RPMS/x86_64/ngcp-rtpengine-4.5.0-0.el7.centos.x86_64.rpm | |
Wrote: /root/rpmbuild/RPMS/x86_64/ngcp-rtpengine-kernel-4.5.0-0.el7.centos.x86_64.rpm | |
Wrote: /root/rpmbuild/RPMS/noarch/ngcp-rtpengine-dkms-4.5.0-0.el7.centos.noarch.rpm | |
Wrote: /root/rpmbuild/RPMS/x86_64/ngcp-rtpengine-debuginfo-4.5.0-0.el7.centos.x86_64.rpm | |
cd /usr/src/rtpengine | |
git log | head -n1 | |
commit 63bdd615653e5c7cf5430cd7b0ece013bf622b51 | |
yum install /root/rpmbuild/RPMS/noarch/ngcp-rtpengine-dkms-4.5.0-0.el7.centos.noarch.rpm /root/rpmbuild/RPMS/x86_64/ngcp-rtpengine-kernel-4.5.0-0.el7.centos.x86_64.rpm -y | |
rpm -aq | grep ngcp | |
ngcp-rtpengine-4.5.0-0.el7.centos.x86_64 | |
ngcp-rtpengine-dkms-4.5.0-0.el7.centos.noarch | |
ngcp-rtpengine-kernel-4.5.0-0.el7.centos.x86_64 | |
modinfo /lib/modules/3.10.0-514.6.2.el7.x86_64/extra/xt_RTPENGINE.ko | |
filename: /lib/modules/3.10.0-514.6.2.el7.x86_64/extra/xt_RTPENGINE.ko | |
license: GPL | |
rhelversion: 7.3 | |
srcversion: 472F9D53315DCCA874F0642 | |
depends: | |
vermagic: 3.10.0-514.6.2.el7.x86_64 SMP mod_unload modversions | |
parm: proc_uid:rtpengine procfs tree user id (uint) | |
parm: proc_gid:rtpengine procfs tree group id (uint) | |
parm: stream_packets_list_limit:maximum number of packets to retain for intercept streams (uint) | |
parm: log_errors:generate kernel log lines from forwarding errors (bool) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment