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

📄 openser.spec.fedora

📁 性能优秀的SIP Proxy
💻 FEDORA
字号:
%define EXCLUDED_MODULES	mysql jabber cpl-c avp_radius auth_radius group_radius uri_radius pa postgres osp tlsops unixodbc%define MYSQL_MODULES		mysql%define UNIXODBC_MODULES	unixodbc%define POSTGRES_MODULES	postgres%define JABBER_MODULES		jabber%define CPL_MODULES			cpl-c%define PA_MODULES			pa%define RADIUS_MODULES		avp_radius auth_radius group_radius uri_radius%define RADIUS_MOD_PATH		modules/avp_radius modules/auth_radius modules/group_radius modules/uri_radiusSummary:      OpenSIP Express Router, very fast and flexible SIP ProxyName:         openserVersion:      1.1.0Release:      fc3.0Packager:     Daniel-Constantin Mierla <daniel@voice-system.ro>Copyright:    GPLGroup:        Networking/DaemonsSource:       http://openser.org/pub/openser/stable/%{name}-%{version}_src.tar.gzSource1:      openser.initURL:          http://openser.org/Vendor:       openser.orgBuildRoot:    /var/tmp/%{name}-%{version}-rootConflicts:    openser-mysql < %{version}, openser-jabber < %{version}, openser-radius < %{version}, openser-cpl < %{version}, openser-unixodbc < %{version}, openser-postgres < %{version}, openser-pa < %{version}BuildPrereq:  make flex bison%descriptionOpenSER or Open SIP Express Router is a very fast and flexible SIP (RFC3621)proxy server. Written entirely in C, openser can handle thousands callsper second even on low-budget hardware. A C Shell like scripting languageprovides full control over the server's behaviour. It's modulararchitecture allows only required functionality to be loaded.Currently the following modules are available: digest authentication,CPL scripts, instant messaging, MySQL and UNIXODBC support, a presence agent,radius authentication, record routing, an SMS gateway, a jabber gateway, a transaction and dialog module, OSP module, statistics support, registrar and user location.%package  mysqlSummary:  MySQL connectivity for Open SIP Express Router.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  mysql-devel zlib-devel%description mysqlThe openser-mysql package contains MySQL database connectivity that youneed to use digest authentication module or persistent user locationentries.%package  postgresSummary:  MPOSTGRES connectivity for the OPEN SIP Express Router.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  postgresql-devel%description postgresThe openser-postgres package contains Postgres database connectivity that youneed to use digest authentication module or persistent user locationentries.%package  unixodbcSummary:  UNIXODBC connectivity for OPEN SIP Express Router.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  unixodbc-dev%description unixodbcThe openser-unixodbc package contains UNIXODBC database connectivity supportthat is required by other modules with database dependencies.%package  jabberSummary:  sip jabber message translation support for Open SIP Express Router.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  expat-devel%description jabberThe openser-jabber package contains a sip to jabber message translator.%package  cplSummary:  CPL interpreter engine for Open SIP Express Router.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  libxml2-dev%description cplThe openser-cpl package contains a SIP CPL interpreter engine.%package  paSummary:  sip presence agent support for the OPEN SIP Express Router.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  libxml2-dev%description paThe openser-pa package contains a sip Presence Agent.%package  radiusSummary:  openser radius authentication, group and uri check modules.Group:    System Environment/DaemonsRequires: openser = %{version}BuildPrereq:  radiusclient-devel%description radiusThe openser-radius package contains modules for radius authentication, group membership and uri checking.%prep%setup%buildmake all skip_modules="%EXCLUDED_MODULES"        cfg-target=/%{_sysconfdir}/openser/make modules modules="modules/%MYSQL_MODULES"    cfg-target=/%{_sysconfdir}/openser/make modules modules="modules/%POSTGRES_MODULES" cfg-target=/%{_sysconfdir}/openser/make modules modules="modules/%UNIXODBC_MODULES" cfg-target=/%{_sysconfdir}/openser/make modules modules="modules/%JABBER_MODULES"   cfg-target=/%{_sysconfdir}/openser/make modules modules="modules/%CPL_MODULES"      cfg-target=/%{_sysconfdir}/openser/make modules modules="modules/%PA_MODULES"      cfg-target=/%{_sysconfdir}/openser/make modules modules="%RADIUS_MOD_PATH"          cfg-target=/%{_sysconfdir}/openser/%installrm -rf %{buildroot}make install skip_modules="%EXCLUDED_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="modules/%MYSQL_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="modules/%MYSQL_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="modules/%POSTGRES_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="modules/%POSTGRES_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="modules/%UNIXODBC_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="modules/%UNIXODBC_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="modules/%JABBER_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="modules/%JABBER_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="modules/%CPL_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="modules/%CPL_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="modules/%PA_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="modules/%PA_MODULES" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-modules modules="%RADIUS_MOD_PATH" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ make install-doc modules="%RADIUS_MOD_PATH" \		basedir=%{buildroot} \		prefix=%{_prefix} \		cfg-prefix=%{buildroot} \		cfg-target=/%{_sysconfdir}/openser/ install -m755 -D %{SOURCE1} %{buildroot}/%{_initrddir}/openser%cleanrm -rf %{buildroot}%post/sbin/chkconfig --add openser%preunif [ $1 = 0 ]; then    /sbin/service openser stop > /dev/null 2>&1    /sbin/chkconfig --del openserfi%files%defattr(-,root,root)%doc %{_docdir}/openser/*%config(noreplace) %{_sysconfdir}/openser/*%config %{_initrddir}/openser%{_libdir}/openser/modules/*%{_sbindir}/*%{_mandir}/man5/*%{_mandir}/man8/*%exclude %{_libdir}/openser/modules/mysql.so%exclude %{_sbindir}/openser_mysql.sh%exclude %{_libdir}/openserctl/openserctl.mysql%exclude %{_docdir}/openser/README.jabber%exclude %{_libdir}/openser/modules/jabber.so%exclude %{_docdir}/openser/README.cpl-c%exclude %{_libdir}/openser/modules/cpl-c.so%exclude %{_docdir}/openser/README.osp%exclude %{_libdir}/openser/modules/osp.so%exclude %{_docdir}/openser/README.pa%exclude %{_libdir}/openser/modules/pa.so%exclude %{_docdir}/openser/README.postgres%exclude %{_libdir}/openser/modules/postgres.so%exclude %{_libdir}/openserctl/openserctl.pgsql%exclude %{_docdir}/openser/README.unixodbc%exclude %{_libdir}/openser/modules/unixodbc.so%exclude %{_docdir}/openser/README.tlsops%exclude %{_libdir}/openser/modules/tlsops.so%exclude %{_docdir}/openser/README.*_radius%exclude %{_libdir}/openser/modules/*_radius.so%files mysql%defattr(-,root,root)%doc %{_docdir}/openser/README.mysql%{_libdir}/openser/modules/mysql.so%{_sbindir}/openser_mysql.sh%{_libdir}/openserctl/openserctl.mysql%files postgres%defattr(-,root,root)%doc %{_docdir}/openser/README.postgres%{_libdir}/openser/modules/postgres.so%{_sbindir}/openser_postgres.sh%{_libdir}/openserctl/openserctl.pgsql%files unixodbc%defattr(-,root,root)%doc %{_docdir}/openser/README.unixodbc%{_libdir}/openser/modules/unixodbc.so%files jabber%defattr(-,root,root)%doc %{_docdir}/openser/README.jabber%{_libdir}/openser/modules/jabber.so%files cpl%defattr(-,root,root)%doc %{_docdir}/openser/README.cpl-c%{_libdir}/openser/modules/cpl-c.so%files pa%defattr(-,root,root)%doc %{_docdir}/openser/README.pa%{_libdir}/openser/modules/pa.so%files radius%defattr(-,root,root)%doc %{_docdir}/openser/README.*_radius%{_libdir}/openser/modules/*_radius.so%changelog* Fri Jun 30 2006 Bogdan-Andrei Iancu <bogdan@voice-system.ro>- version set to 1.1.0- added packages for pa, postgres and unixodbc- added dialog, lcr, options, path, siptrace, statistics modules* Thu Oct 27 2005 Daniel-Constantin Mierla <daniel@voice-system.ro>- version set to 1.0.0* Wed Jun 08 2005 Daniel-Constantin Mierla <daniel@voice-system.ro>- First version of the spec file.

⌨️ 快捷键说明

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