⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 siproxd.spec

📁 Siproxd is a proxy/masquerading daemon for the SIP protocol. It handles registrations of SIP client
💻 SPEC
字号:
%define name		siproxd%define ver		0.5.13%define release		1%define serial		1%define prefix		%{_prefix}%define sysconfdir	/etc%define piddir		/var/run/siproxd/%define regdir		/var/lib/siproxd/%define siproxduser	nobodyName:		%{name}Summary:	A SIP masquerading proxy with RTP supportVersion: 	%{ver}Release: 	%{release}License: 	GPL, (c) 2002-2005 Thomas RiesGroup:		Applications/CommunicationsSource0: 	%{name}-%{ver}.tar.gzURL: 		http://siproxd.sourceforge.net/BuildRoot:	%{_tmppath}/%{name}-%{ver}-rootDocdir: 	%{_docdir}Requires:	libosip2 >= 2.0.2BuildRequires:	libosip2 >= 2.0.2Vendor:		Thomas RiesPackager:       Thomas Ries <tries@gmx.net>%descriptionSiproxd is an proxy/masquerading daemon for the SIP protocol.It handles registrations of SIP clients on a private IP networkand performs rewriting of the SIP message bodies to make SIPconnections possible via an masquerading firewall.It allows SIP clients (like kphone, linphone) to work behindan IP masquerading firewall or router.%prep%setup -q%buildCFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} \                                    --sysconfdir=%{sysconfdir}make%installmake prefix=$RPM_BUILD_ROOT%{prefix} \     sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} \     installmv $RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf.example \   $RPM_BUILD_ROOT%{sysconfdir}/siproxd.confinstall -d $RPM_BUILD_ROOT%{_initrddir}/install contrib/siproxd.init $RPM_BUILD_ROOT%{_initrddir}/siproxdinstall -d $RPM_BUILD_ROOT%{piddir}install -d $RPM_BUILD_ROOT%{regdir}%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-, root, root)%doc COPYING README AUTHORS INSTALL NEWS ChangeLog doc/FAQ doc/FLI4L_HOWTO.txt%doc doc/html/* doc/pdf/*%attr(0755,root,root) %{_sbindir}/siproxd%config %{sysconfdir}/siproxd.conf%config %{sysconfdir}/siproxd_passwd.cfg%attr(0755,root,root) %{_initrddir}/siproxd%attr(0700,%{siproxduser},root) %{piddir}%attr(0700,%{siproxduser},root) %{regdir}%postecho "Edit the config file %{sysconfigdir}/siproxd.conf!"/sbin/chkconfig --add %{name}%preunif [ $1 = 0 ]; then   /sbin/chkconfig --del %{name}fi%changelog* Fri Oct 09 2004 Thomas Ries <tries@gmx.net>- startup script in /etc/rc.d/init.d/siproxd- create directories for PID and registration files* Fri Oct 31 2003 Thomas Ries <tries@gmx.net>- siproxd is now installed to sbin directory* Fri Oct 24 2003 Thomas Ries <tries@gmx.net>- added config files and some more doc files- rename sample config file and remind user to edit it.- minor cleanup* Sat Aug 30 2003 Thomas Ries <tries@gmx.net>- always use /etc as sysconfdir* Sat Sep 21 2002 Thomas Ries <tries@gmx.net>- first RPM support

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -