Name: asterisk Version: 21.0.2 Release: 1mamba Summary: Asterisk PBX Group: System/Telephony Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.asterisk.org Source: http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-%{version}.tar.gz Source1: asterisk.logrotated Source2: asterisk.sysusers Source3: asterisk.tmpfiles Patch0: %{name}-1.6.1.1-BOOL_typedef.patch Patch1: %{name}-1.6.1.6-lua.patch Patch2: %{name}-1.8.0-fix_build.patch Patch3: asterisk-11.2.1-libpt-2.10.9.patch Patch4: asterisk-11.2.1-libpt-2.10.9-1.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libalsa-devel BuildRequires: libcap-devel BuildRequires: libcurl-devel BuildRequires: libedit-devel BuildRequires: libexpat-devel BuildRequires: libfreetds-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libgmime-devel BuildRequires: libgsm-devel BuildRequires: libical-devel BuildRequires: libilbc-devel BuildRequires: libjansson-devel BuildRequires: libkrb5-devel BuildRequires: liblua-devel BuildRequires: libneon-devel BuildRequires: libnetsnmp-devel BuildRequires: libodbc-devel BuildRequires: libogg-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libportaudio-devel BuildRequires: libpostgresql-devel BuildRequires: libproxy-devel BuildRequires: libradiusclient-ng-devel BuildRequires: libspeex-devel BuildRequires: libspeexdsp-devel BuildRequires: libsqlite-devel BuildRequires: libsrtp-devel BuildRequires: libstdc++6-devel BuildRequires: libsystemd-devel BuildRequires: libunbound-devel BuildRequires: libupnp-devel BuildRequires: liburiparser-devel BuildRequires: libuuid-devel BuildRequires: libvorbis-devel BuildRequires: libxcrypt-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: librpm-devel >= 4.16.1.2-1mamba BuildRequires: ptlib-devel BuildRequires: libncurses-devel >= 5.4 #BuildRequires: libopenh323-devel >= 1.17.3 BuildRequires: libnetsnmp-devel >= 5.9 BuildRequires: libmISDN-devel # FIXME: need mpg123 to enable MusicOnHold %description Asterisk is an Open Source PBX and telephony development platform that can both replace a conventional PBX and act as a platform for developing custom telephony applications for delivering dynamic content over a telephone similarly to how one can deliver dynamic content through a web browser using CGI and a web server. Asterisk talks to a variety of telephony hardware including BRI, PRI, POTS, and IP telephony clients using the Inter-Asterisk eXchange protocol (e.g. gnophone or miniphone). For more information and a current list of supported hardware, see www.asteriskpbx.com. %package devel Summary: Development files for the Asterisk software PBX Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Asterisk is an Open Source PBX and telephony development platform that can both replace a conventional PBX and act as a platform for developing custom telephony applications for delivering dynamic content over a telephone similarly to how one can deliver dynamic content through a web browser using CGI and a web server. Asterisk talks to a variety of telephony hardware including BRI, PRI, POTS, and IP telephony clients using the Inter-Asterisk eXchange protocol (e.g. gnophone or miniphone). For more information and a current list of supported hardware, see www.asteriskpbx.com. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q #-D -T #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 #%patch3 -p0 #%patch4 -p0 #./bootstrap.sh %build #:<< _EOF %configure \ --with-misdn %make MENUSELECT_CFLAGS= OPTIMIZE= DEBUG= ASTVARRUNDIR=/run/asterisk NOISY_BUILD=1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install-headers samples # make progdocs INSTALL_PREFIX=%{buildroot} install -Dm644 -t %{buildroot}%{_unitdir} contrib/systemd/asterisk*.{service,socket} install -Dm644 %{SOURCE2} %{buildroot}%{_sysusersdir}/asterisk.conf install -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/asterisk install -Dm644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/asterisk.conf ln -sf ../../../spool/asterisk/vm %{buildroot}/var/lib/asterisk/sounds/vm ln -sf ../../../spool/asterisk/voicemail %{buildroot}/var/lib/asterisk/sounds/voicemail ln -sf ../voicemail/default %{buildroot}/var/spool/asterisk/vm ln -sf libasteriskssl.so.1 %{buildroot}%{_libdir}/libasteriskssl.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %pre %sysusers_create_package asterisk %{SOURCE2} %tmpfiles_create_package asterisk %{SOURCE3} : %post %systemd_post asterisk.socket : %preun %systemd_preun asterisk.socket : %postun %systemd_postun asterisk.socket : %files %defattr(-,root,root) %dir %{_sysconfdir}/asterisk %config(noreplace) %{_sysconfdir}/asterisk/* %config(noreplace) %{_sysconfdir}/logrotate.d/asterisk %{_sbindir}/* %{_unitdir}/asterisk.service %{_unitdir}/asterisk*.socket %{_sysusersdir}/asterisk.conf %{_tmpfilesdir}/asterisk.conf %{_libdir}/libasteriskssl.so.* %{_libdir}/libasteriskpj.so.* %dir %{_libdir}/asterisk/ %{_libdir}/asterisk/* %dir %{_localstatedir}/lib/asterisk %{_localstatedir}/lib/asterisk/* %dir %{_localstatedir}/log/asterisk %{_localstatedir}/log/asterisk/* %dir %{_localstatedir}/spool/asterisk %{_localstatedir}/spool/asterisk/* %{_mandir}/man8/astdb2*.8* %{_mandir}/man8/asterisk.8* %{_mandir}/man8/astgenkey.8* %{_mandir}/man8/autosupport.8* %{_mandir}/man8/safe_asterisk.8* %doc CREDITS LICENSE %files devel %defattr(-,root,root) %{_libdir}/libasteriskssl.so %{_libdir}/libasteriskpj.so %{_includedir}/asterisk.h %dir %{_includedir}/asterisk %{_includedir}/asterisk/* %doc BUGS %changelog * Thu Dec 21 2023 Automatic Build System 21.0.2-1mamba - automatic version update by autodist * Fri Dec 15 2023 Automatic Build System 21.0.1-1mamba - automatic version update by autodist * Thu Oct 19 2023 Automatic Build System 21.0.0-1mamba - automatic version update by autodist * Thu Aug 17 2023 Automatic Build System 20.4.0-1mamba - automatic version update by autodist * Mon Apr 24 2023 Silvan Calarco 20.2.1-2mamba - port from sysv5 to systemd * Tue Apr 04 2023 Automatic Build System 20.2.1-1mamba - automatic version update by autodist * Fri Mar 10 2023 Automatic Build System 20.2.0-1mamba - automatic version update by autodist * Sun Jan 22 2023 Automatic Build System 20.1.0-1mamba - automatic version update by autodist * Fri Dec 02 2022 Automatic Build System 20.0.1-1mamba - automatic version update by autodist * Thu Oct 20 2022 Automatic Build System 20.0.0-1mamba - automatic version update by autodist * Sun Jun 26 2022 Automatic Build System 19.5.0-1mamba - automatic version update by autodist * Fri May 20 2022 Automatic Build System 19.4.1-1mamba - automatic version update by autodist * Fri May 13 2022 Automatic Build System 19.4.0-1mamba - automatic version update by autodist * Wed Apr 27 2022 Automatic Build System 19.3.3-1mamba - automatic version update by autodist * Sat Apr 16 2022 Automatic Build System 19.3.2-1mamba - automatic version update by autodist * Fri Apr 01 2022 Automatic Build System 19.3.1-1mamba - automatic version update by autodist * Mon Mar 28 2022 Automatic Build System 19.3.0-1mamba - automatic version update by autodist * Wed Mar 09 2022 Automatic Build System 19.2.1-1mamba - automatic version update by autodist * Mon Feb 14 2022 Automatic Build System 19.2.0-1mamba - automatic version update by autodist * Sun Dec 12 2021 Automatic Build System 19.1.0-1mamba - automatic version update by autodist * Fri Nov 05 2021 Automatic Build System 19.0.0-1mamba - automatic version update by autodist * Wed Nov 03 2021 Automatic Build System 18.8.0-1mamba - automatic version update by autodist * Tue Oct 12 2021 Automatic Build System 18.7.1-1mamba - automatic version update by autodist * Fri Oct 08 2021 Automatic Build System 18.7.0-1mamba - automatic version update by autodist * Fri Aug 13 2021 Automatic Build System 18.6.0-1mamba - automatic version update by autodist * Fri Jul 23 2021 Automatic Build System 18.5.1-1mamba - automatic version update by autodist * Fri Jun 25 2021 Automatic Build System 18.5.0-1mamba - automatic version update by autodist * Sat May 08 2021 Automatic Build System 18.4.0-1mamba - automatic version update by autodist * Sat Mar 27 2021 Automatic Build System 18.3.0-1mamba - automatic version update by autodist * Sun Mar 07 2021 Silvan Calarco 18.2.2-2mamba - rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba * Fri Mar 05 2021 Automatic Build System 18.2.2-1mamba - automatic version update by autodist * Fri Feb 19 2021 Automatic Build System 18.2.1-1mamba - automatic version update by autodist * Thu Feb 04 2021 Automatic Build System 18.2.0-1mamba - automatic version update by autodist * Sun Dec 13 2020 Silvan Calarco 17.9.0-1mamba - update to 17.9.0 * Mon May 18 2020 Automatic Build System 17.4.0-1mamba - automatic update by autodist * Wed Dec 20 2017 Automatic Build System 15.1.4-1mamba - automatic update by autodist * Sat Nov 18 2017 Automatic Build System 15.1.2-1mamba - automatic update by autodist * Sun Sep 11 2016 Automatic Build System 13.9.1-1mamba - automatic update by autodist * Sun Jan 17 2016 Silvan Calarco 13.7.0-1mamba - update to 13.7.0 * Thu May 15 2014 Silvan Calarco 11.6.0-2mamba - ffmpeg 2.2 rebuild * Sat Dec 14 2013 Automatic Build System 11.6.0-1mamba - automatic update by autodist * Thu Aug 29 2013 Automatic Build System 11.5.1-1mamba - automatic update by autodist * Mon Jul 22 2013 Automatic Build System 11.5.0-1mamba - automatic update by autodist * Sun May 19 2013 Automatic Build System 11.4.0-1mamba - automatic update by autodist * Mon Apr 01 2013 Automatic Build System 11.3.0-1mamba - automatic version update by autodist * Fri Mar 01 2013 Automatic Build System 11.2.1-1mamba - automatic version update by autodist * Thu Oct 11 2012 Automatic Build System 10.9.0-1mamba - automatic version update by autodist * Sat Aug 11 2012 Automatic Build System 10.7.0-1mamba - automatic version update by autodist * Thu Apr 26 2012 Silvan Calarco 1.8.11.1-1mamba - update to 1.8.11.1 * Sun Oct 02 2011 Automatic Build System 1.8.7.0-1mamba - automatic version update by autodist * Mon Jul 25 2011 Automatic Build System 1.8.5.0-1mamba - automatic version update by autodist * Fri Jun 24 2011 Automatic Build System 1.8.4.3-1mamba - automatic update by autodist * Sun Jun 19 2011 Automatic Build System 1.8.4.2-1mamba - automatic update by autodist * Fri May 20 2011 Automatic Build System 1.8.4-1mamba - automatic update by autodist * Mon Mar 14 2011 Automatic Build System 1.8.3-1mamba - automatic update by autodist * Thu Feb 24 2011 Automatic Build System 1.8.2.4-1mamba - automatic update by autodist * Tue Feb 01 2011 Automatic Build System 1.8.2.3-1mamba - automatic update by autodist * Sun Dec 19 2010 Automatic Build System 1.8.1.1-1mamba - automatic update by autodist * Wed Dec 15 2010 Automatic Build System 1.8.1-1mamba - automatic update by autodist * Fri Oct 29 2010 Automatic Build System 1.8.0-1mamba - automatic update by autodist * Fri Oct 22 2010 Silvan Calarco 1.6.2.10-2mamba - rebuilt with net-snmp 5.6 * Sun Aug 08 2010 Automatic Build System 1.6.2.10-1mamba - automatic update by autodist * Mon Jun 28 2010 Automatic Build System 1.6.2.9-1mamba - automatic update by autodist * Thu Jun 03 2010 Silvan Calarco 1.6.2.8-1mamba - update to 1.6.2.8 * Tue Oct 13 2009 Automatic Build System 1.6.1.6-1mamba - automatic update by autodist * Fri Aug 28 2009 Silvan Calarco 1.6.1.4-2mamba - rebuilt with mISDN support * Tue Aug 11 2009 Automatic Build System 1.6.1.4-1mamba - automatic update by autodist * Tue Aug 04 2009 Automatic Build System 1.6.1.2-1mamba - automatic update by autodist * Thu Jul 16 2009 Automatic Build System 1.6.1.1-2mamba - automatic rebuild by autodist * Thu Jul 16 2009 Automatic Build System 1.6.1.1-1mamba - automatic update by autodist * Sat May 16 2009 Automatic Build System 1.6.0.8-1mamba - automatic update to 1.6.0.8 by autodist * Mon Nov 24 2008 Silvan Calarco 1.6.0-1mamba - update to 1.6.0 * Fri Oct 31 2008 Silvan Calarco 1.4.22-1mamba - update to 1.4.22 * Sun May 20 2007 Silvan Calarco 1.4.4-1mamba - update to 1.4.4 * Wed Aug 31 2005 Davide Madrisan 1.0.9-1qilnx - update to version 1.0.9 by autospec - also fix CAN-2005-2081 (fixed in version 1.0.8) * Tue Apr 26 2005 Davide Madrisan 1.0.7-1qilnx - update to version 1.0.7 by autospec * Tue Mar 09 2004 Davide Madrisan 0.7.2-1qilnx - new version rebuild * Tue Dec 30 2003 Silvan Calarco 0.5.0-1qilnx - new version rebuild * Wed May 07 2003 Silvan Calarco 0.4.0-3qilnx - added fixing code for /etc/asterisk.conf which is installed with $RPM_BUILD_ROOT content * Wed May 07 2003 Silvan Calarco 0.4.0-2qilnx - added make samples * Mon May 05 2003 Silvan Calarco 0.4.0-1qilnx - creation of asterisk package