rpms/rtpproxy/EL-4 rtpproxy.init, NONE, 1.1 .cvsignore, 1.9, 1.10 import.log, 1.3, 1.4 rtpproxy.spec, 1.8, 1.9 rtpproxy.sysconfig, 1.1, 1.2 sources, 1.9, 1.10 rtpproxy--init.diff, 1.1, NONE
Peter Lemenkov
peter at fedoraproject.org
Sun Nov 1 14:05:59 UTC 2009
- Previous message: rpms/rtpproxy/EL-5 rtpproxy.init, NONE, 1.1 .cvsignore, 1.9, 1.10 import.log, 1.3, 1.4 rtpproxy.spec, 1.8, 1.9 rtpproxy.sysconfig, 1.1, 1.2 sources, 1.9, 1.10 rtpproxy--init.diff, 1.1, NONE
- Next message: rpms/libicns/devel .cvsignore, 1.5, 1.6 libicns.spec, 1.7, 1.8 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: peter
Update of /cvs/pkgs/rpms/rtpproxy/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7239/EL-4
Modified Files:
.cvsignore import.log rtpproxy.spec rtpproxy.sysconfig sources
Added Files:
rtpproxy.init
Removed Files:
rtpproxy--init.diff
Log Message:
Ver. 1.2.1
--- NEW FILE rtpproxy.init ---
#!/bin/bash
#
# Startup script for rtpproxy
#
# chkconfig: - 85 15
# description: A symmetric RTP proxy
#
# processname: rtpproxy
### BEGIN INIT INFO
# Provides: rtpproxy
# Required-Start: $local_fs $network $syslog
# Required-Stop: $local_fs $network $syslog
# Default-Start:
# Default-Stop: 0 1 6
# Short-Description: A symmetric RTP proxy
# Description: A symmetric RTP proxy
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
prog=rtpproxy
rtpproxy=/usr/bin/$prog
lockfile=/var/lock/subsys/$prog
pidfile=/var/run/$prog.pid
OPTIONS=
# User-defined options and/or overrides of the variables,
# listed above, should go there:
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
RETVAL=0
start() {
echo -n $"Starting $prog: "
# check whether rtpproxy was already started
if pidofproc -p $pidfile > /dev/null 2>&1 ; then
echo -n "already running" && warning && echo
return 0
fi
daemon $rtpproxy -p $pidfile -u rtpproxy $OPTIONS
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch $lockfile
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
# check whether rtpproxy was already started
if ! pidofproc -p $pidfile > /dev/null 2>&1 ; then
echo -n "not running" && warning && echo
return 0
fi
killproc -p $pidfile $prog
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f $lockfile $pidfile
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status -p $pidfile $prog
RETVAL=$?
;;
restart|force-reload)
stop
start
;;
reload)
echo -n $"Reloading $prog: not supported" && failure && echo
RETVAL=3
;;
condrestart|try-restart)
if [ -f $pidfile ] ; then
stop
start
fi
;;
*)
echo $"Usage: $prog {start|stop|restart|condrestart|status|help}"
RETVAL=2
esac
exit $RETVAL
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rtpproxy/EL-4/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- .cvsignore 27 Mar 2009 09:22:50 -0000 1.9
+++ .cvsignore 1 Nov 2009 14:05:57 -0000 1.10
@@ -1 +1 @@
-rtpproxy-1.2.0.tar.gz
+rtpproxy-1.2.1.tar.gz
Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/rtpproxy/EL-4/import.log,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- import.log 27 Mar 2009 09:22:51 -0000 1.3
+++ import.log 1 Nov 2009 14:05:57 -0000 1.4
@@ -1,3 +1,4 @@
rtpproxy-1_1-1_fc9:EL-4:rtpproxy-1.1-1.fc9.src.rpm:1213799532
rtpproxy-1_2-0_3_beta_200901120_fc10:EL-4:rtpproxy-1.2-0.3.beta.200901120.fc10.src.rpm:1233054461
rtpproxy-1_2_0-1_fc10:EL-4:rtpproxy-1.2.0-1.fc10.src.rpm:1238145708
+rtpproxy-1_2_1-1_fc11:EL-4:rtpproxy-1.2.1-1.fc11.src.rpm:1257083942
Index: rtpproxy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rtpproxy/EL-4/rtpproxy.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- rtpproxy.spec 27 Mar 2009 09:22:51 -0000 1.8
+++ rtpproxy.spec 1 Nov 2009 14:05:58 -0000 1.9
@@ -1,5 +1,5 @@
Name: rtpproxy
-Version: 1.2.0
+Version: 1.2.1
Release: 1%{?dist}
Summary: A symmetric RTP proxy
Group: Applications/Internet
@@ -7,8 +7,7 @@ License: BSD
URL: http://www.rtpproxy.org
Source0: http://b2bua.org/chrome/site/%{name}-%{version}.tar.gz
Source1: rtpproxy.sysconfig
-# Fedora specific
-Patch0: rtpproxy--init.diff
+Source2: rtpproxy.init
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gsm-devel
Requires(pre): /usr/sbin/useradd
@@ -25,7 +24,6 @@ rewriting SDP bodies in SIP messages tha
%prep
%setup -q
-%patch0 -p0 -b .init_fix
%build
@@ -36,8 +34,8 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
-install -D -p -m 0755 rpm/rtpproxy.init $RPM_BUILD_ROOT%{_sysconfdir}/init.d/%{name}
install -D -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
+install -D -p -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/%{name}
install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
@@ -72,6 +70,13 @@ fi
%changelog
+* Sun Nov 1 2009 Peter Lemenkov <lemenkov at gmail.com> - 1.2.1-1
+- Ver. 1.2.1
+- Brand new init-script
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
* Fri Mar 27 2009 Peter Lemenkov <lemenkov at gmail.com> - 1.2.0-1
- Ver. 1.2.0
Index: rtpproxy.sysconfig
===================================================================
RCS file: /cvs/pkgs/rpms/rtpproxy/EL-4/rtpproxy.sysconfig,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- rtpproxy.sysconfig 27 Jan 2009 11:09:39 -0000 1.1
+++ rtpproxy.sysconfig 1 Nov 2009 14:05:58 -0000 1.2
@@ -1,2 +1,2 @@
-OPTIONS="-u rtpproxy"
+OPTIONS=""
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rtpproxy/EL-4/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources 27 Mar 2009 09:22:51 -0000 1.9
+++ sources 1 Nov 2009 14:05:58 -0000 1.10
@@ -1 +1 @@
-eb4e650ec00618a77a35f0abb91f988a rtpproxy-1.2.0.tar.gz
+b0b5d6cdce3f17cdbbac473c11a2d0e5 rtpproxy-1.2.1.tar.gz
--- rtpproxy--init.diff DELETED ---
- Previous message: rpms/rtpproxy/EL-5 rtpproxy.init, NONE, 1.1 .cvsignore, 1.9, 1.10 import.log, 1.3, 1.4 rtpproxy.spec, 1.8, 1.9 rtpproxy.sysconfig, 1.1, 1.2 sources, 1.9, 1.10 rtpproxy--init.diff, 1.1, NONE
- Next message: rpms/libicns/devel .cvsignore, 1.5, 1.6 libicns.spec, 1.7, 1.8 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list