head 1.15; access; symbols OPENPKG_E1_MP_HEAD:1.6 OPENPKG_E1_MP:1.6 OPENPKG_E1_MP_2_STABLE:1.5.2.2 OPENPKG_E1_FP:1.5.2.2 OPENPKG_2_STABLE_MP:1.5 OPENPKG_2_STABLE_20061018:1.5.2.2 OPENPKG_2_STABLE:1.5.0.2; locks; strict; comment @-- @; 1.15 date 2009.10.12.07.07.04; author rse; state Exp; branches; next 1.14; commitid zTEfJg3LOMWEld7u; 1.14 date 2009.06.30.20.21.27; author rse; state Exp; branches; next 1.13; commitid mW7f5wxeUG4f4VTt; 1.13 date 2009.04.18.13.15.33; author rse; state Exp; branches; next 1.12; commitid 4pHXU27WTIGCZuKt; 1.12 date 2008.07.24.17.33.01; author rse; state Exp; branches; next 1.11; commitid 3Y0ZSctlfI5e75ct; 1.11 date 2008.01.20.08.04.00; author rse; state Exp; branches; next 1.10; commitid WT0sAgG0c6sHW7Os; 1.10 date 2008.01.19.20.08.08; author rse; state Exp; branches; next 1.9; commitid 24gB1rGqjvH8Z3Os; 1.9 date 2008.01.01.15.04.44; author rse; state Exp; branches; next 1.8; commitid B8esaHJHoduuKILs; 1.8 date 2007.10.29.08.22.28; author rse; state Exp; branches; next 1.7; commitid ckL7ZEnTekJsIsDs; 1.7 date 2007.10.27.11.59.57; author cs; state Exp; branches; next 1.6; commitid XKMxflRJ6S7CYdDs; 1.6 date 2007.01.01.17.41.49; author rse; state Exp; branches; next 1.5; commitid BicZD6VUl7GuqP0s; 1.5 date 2006.10.13.17.34.10; author thl; state Exp; branches 1.5.2.1; next 1.4; commitid q5GSxzsSDX29XxQr; 1.4 date 2006.10.06.05.57.32; author rse; state Exp; branches; next 1.3; commitid 9FfrDRfzNfHZnAPr; 1.3 date 2006.09.23.11.37.20; author rse; state Exp; branches; next 1.2; commitid KAqQoKeD9xyrGWNr; 1.2 date 2006.09.01.15.40.15; author rse; state Exp; branches; next 1.1; commitid rH8633NwM9aEJ8Lr; 1.1 date 2006.08.31.08.30.18; author rse; state Exp; branches; next ; commitid yYf4LfyiDFA8oYKr; 1.5.2.1 date 2006.10.13.17.34.10; author rse; state dead; branches; next 1.5.2.2; commitid iZxwRSmmWscPXUQr; 1.5.2.2 date 2006.10.16.14.56.24; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.15 log @upgrading package: siproxd 0.7.1 -> 0.7.2 @ text @## ## siproxd.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: siproxd Summary: SIP/RTP Proxy Server URL: http://siproxd.sourceforge.net/ Vendor: Thomas Ries Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: VoIP License: GPL Version: 0.7.2 Release: 20091012 # package options %option with_fsl yes # list of sources Source0: http://switch.dl.sourceforge.net/siproxd/siproxd-%{version}.tar.gz Source1: siproxd.conf Source2: rc.siproxd Source3: fsl.siproxd Patch0: siproxd.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, gcc PreReq: OpenPKG, openpkg >= 20040130 BuildPreReq: osip >= 3.0.0 PreReq: osip >= 3.0.0 %if "%{with_fsl}" == "yes" BuildPreReq: fsl PreReq: fsl %endif AutoReq: no AutoReqProv: no %description Siproxd is a proxy/masquerading daemon for the Session Initiation Protocol (SIP) Voice over IP (VoIP) protocol. It handles registrations of SIP clients on a private IP network and performs rewriting of the SIP message bodies to make SIP connections work via an masquerading firewall (NAT). It allows SIP software or hardware clients to work behind an IP masquerading firewall or NAT router. %track prog siproxd = { version = %{version} url = http://sourceforge.net/projects/siproxd/files/ regex = siproxd-(__VER__)\.tar\.gz } %prep %setup -q %patch -p0 %build # configure program CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ LIBS="%{l_fsl_libs}" \ ./configure \ --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc/siproxd \ --with-libosip-prefix=%{l_prefix} # build program %{l_make} %{l_mflags} %install rm -rf $RPM_BUILD_ROOT # install program %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" # strip down installation strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/siproxd/* # install default configuration %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE siproxd.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/siproxd/ %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/var/siproxd # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.siproxd} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # install OSSP fsl configuration %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE fsl.siproxd} \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/ # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/fsl/*' \ '%config %{l_prefix}/etc/siproxd/*' \ '%attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/siproxd' %files -f files %clean rm -rf $RPM_BUILD_ROOT %post if [ $1 -eq 1 ]; then # display final hints on initial installation ( echo "You have to configure your particular network interfaces via" echo "\"if_inbound\" and \"if_outbound\" in the configuration file" echo "$RPM_INSTALL_PREFIX/etc/siproxd/siproxd.conf" echo "before you can run siproxd in a reasonable way!" ) | %{l_rpmtool} msg -b -t notice fi # after upgrade, restart service [ $1 -eq 2 ] || exit 0 eval `%{l_rc} siproxd status 2>/dev/null` [ ".$siproxd_active" = .yes ] && %{l_rc} siproxd restart exit 0 %preun # before erase, stop service and remove log files [ $1 -eq 0 ] || exit 0 %{l_rc} siproxd stop 2>/dev/null rm -f $RPM_INSTALL_PREFIX/var/siproxd/* >/dev/null 2>&1 || true exit 0 @ 1.14 log @switch to the new SourceForge.net website functionality where we can find all files (again) @ text @d34 2 a35 2 Version: 0.7.1 Release: 20080724 @ 1.13 log @bump years in copyright messages @ text @d72 1 a72 1 url = http://prdownloads.sourceforge.net/siproxd/ @ 1.12 log @upgrading package: siproxd 0.7.0 -> 0.7.1 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.11 log @upgrading package: siproxd 0.6.1 -> 0.7.0 @ text @d34 2 a35 2 Version: 0.7.0 Release: 20080120 @ 1.10 log @upgrading package: siproxd 0.6.0 -> 0.6.1 @ text @d34 2 a35 2 Version: 0.6.1 Release: 20080119 d52 2 a53 2 BuildPreReq: osip >= 2.2.3 PreReq: osip >= 2.2.3 @ 1.9 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d34 2 a35 2 Version: 0.6.0 Release: 20080101 @ 1.8 log @upgrading package: siproxd 0.5.13 -> 0.6.0 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d35 1 a35 1 Release: 20071029 @ 1.7 log @Drop version information of OSSP fsl dependency since it doesn't make to much sense in an CURRENT-only world. Additionally, in several cases it has been choosen quite at will without being correct. @ text @d35 2 a36 2 Version: 0.5.13 Release: 20071027 d94 1 a94 1 %{l_make} %{l_mflags -O} @ 1.6 log @Welcome Year 2007! @ text @d36 1 a36 1 Release: 20061013 d56 2 a57 2 BuildPreReq: fsl >= 1.2.0 PreReq: fsl >= 1.2.0 @ 1.5 log @new world order for "Packager" and "Distribution" headers @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.5.2.1 log @file siproxd.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:56:24 +0000 @ text @d1 158 @ 1.5.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 158 ## ## siproxd.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: siproxd Summary: SIP/RTP Proxy Server URL: http://siproxd.sourceforge.net/ Vendor: Thomas Ries Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: VoIP License: GPL Version: 0.5.13 Release: 2.20061018 # package options %option with_fsl yes # list of sources Source0: http://switch.dl.sourceforge.net/siproxd/siproxd-%{version}.tar.gz Source1: siproxd.conf Source2: rc.siproxd Source3: fsl.siproxd Patch0: siproxd.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc PreReq: OpenPKG, openpkg >= 2.20061018 BuildPreReq: osip >= 2.2.3 PreReq: osip >= 2.2.3 %if "%{with_fsl}" == "yes" BuildPreReq: fsl >= 1.2.0 PreReq: fsl >= 1.2.0 %endif AutoReq: no AutoReqProv: no %description Siproxd is a proxy/masquerading daemon for the Session Initiation Protocol (SIP) Voice over IP (VoIP) protocol. It handles registrations of SIP clients on a private IP network and performs rewriting of the SIP message bodies to make SIP connections work via an masquerading firewall (NAT). It allows SIP software or hardware clients to work behind an IP masquerading firewall or NAT router. %track prog siproxd = { version = %{version} url = http://prdownloads.sourceforge.net/siproxd/ regex = siproxd-(__VER__)\.tar\.gz } %prep %setup -q %patch -p0 %build # configure program CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ LIBS="%{l_fsl_libs}" \ ./configure \ --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc/siproxd \ --with-libosip-prefix=%{l_prefix} # build program %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT # install program %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" # strip down installation strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/siproxd/* # install default configuration %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE siproxd.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/siproxd/ %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/var/siproxd # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.siproxd} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # install OSSP fsl configuration %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE fsl.siproxd} \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/ # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/fsl/*' \ '%config %{l_prefix}/etc/siproxd/*' \ '%attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/siproxd' %files -f files %clean rm -rf $RPM_BUILD_ROOT %post if [ $1 -eq 1 ]; then # display final hints on initial installation ( echo "You have to configure your particular network interfaces via" echo "\"if_inbound\" and \"if_outbound\" in the configuration file" echo "$RPM_INSTALL_PREFIX/etc/siproxd/siproxd.conf" echo "before you can run siproxd in a reasonable way!" ) | %{l_rpmtool} msg -b -t notice fi # after upgrade, restart service [ $1 -eq 2 ] || exit 0 eval `%{l_rc} siproxd status 2>/dev/null` [ ".$siproxd_active" = .yes ] && %{l_rc} siproxd restart exit 0 %preun # before erase, stop service and remove log files [ $1 -eq 0 ] || exit 0 %{l_rc} siproxd stop 2>/dev/null rm -f $RPM_INSTALL_PREFIX/var/siproxd/* >/dev/null 2>&1 || true exit 0 @ 1.4 log @make FSL config a config file @ text @d30 2 a31 2 Packager: OpenPKG Distribution: OpenPKG d36 1 a36 1 Release: 20061006 @ 1.3 log @adjust Group header @ text @d36 1 a36 1 Release: 20060923 d128 1 @ 1.2 log @fix debug logging; workaround outbound_hostname 'en4' use case conflict @ text @d33 1 a33 1 Group: Network d36 1 a36 1 Release: 20060901 @ 1.1 log @new package: siproxd 0.5.13 (SIP/RTP Proxy Server) @ text @d36 1 a36 1 Release: 20060831 @