rpms/ser2net/devel ser2net-2.3-initaddreload.patch, NONE, 1.1 ser2net.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Wed Oct 18 21:17:02 UTC 2006
Author: spot
Update of /cvs/extras/rpms/ser2net/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9300/devel
Modified Files:
.cvsignore sources
Added Files:
ser2net-2.3-initaddreload.patch ser2net.spec
Log Message:
auto-import ser2net-2.3-3.fc6 on branch devel from ser2net-2.3-3.fc6.src.rpm
ser2net-2.3-initaddreload.patch:
--- NEW FILE ser2net-2.3-initaddreload.patch ---
--- ser2net-2.3/ser2net.init.BAD 2006-07-28 16:09:24.000000000 -0500
+++ ser2net-2.3/ser2net.init 2006-07-28 16:10:57.000000000 -0500
@@ -33,6 +33,17 @@
return 0
}
+reload() {
+ echo -n $"Reloading ser2net: "
+ if [ -n "`pidfileofproc ser2net`" ] ; then
+ killproc ser2net -HUP
+ else
+ failure $"Reloading ser2net"
+ fi
+ RETVAL=$?
+ echo
+}
+
case "$1" in
start)
start
@@ -49,6 +60,9 @@
stop
start
;;
+ reload)
+ reload
+ ;;
condrestart)
if test "x`pidof ser2net`" != x; then
stop
@@ -57,7 +71,7 @@
;;
*)
- echo "Usage: ser2net {start|stop|restart|condrestart|status}"
+ echo "Usage: ser2net {start|stop|restart|reload|condrestart|status}"
exit 1
esac
--- NEW FILE ser2net.spec ---
Name: ser2net
Summary: Proxy that allows tcp connections to serial ports
Version: 2.3
Release: 3%{?dist}
License: GPL
Group: Applications/System
Source0: http://download.sourceforge.net/ser2net/%{name}-%{version}.tar.gz
Patch0: ser2net-2.3-initaddreload.patch
URL: http://ser2net.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(preun): /sbin/service
Requires(postun): /sbin/service
%description
ser2net provides a way for a user to connect from a network connection to a
serial port. It provides all the serial port setup, a configuration file to
configure the ports, a control login for modifying port parameters,
monitoring ports, and controlling ports.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
install -m0644 ser2net.conf $RPM_BUILD_ROOT%{_sysconfdir}
install ser2net.init $RPM_BUILD_ROOT%{_initrddir}/ser2net
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add ser2net
%preun
if test [ $1 = 0 ]; then
/sbin/service ser2net stop >/dev/null 2>&1 || :
/sbin/chkconfig --del ser2net
fi
%postun
if [ "$1" -ge "1" ]; then
/sbin/service ser2net condrestart >/dev/null 2>&1 || :
fi
%files
%defattr(-,root,root)
%doc COPYING ChangeLog AUTHORS README
%attr(0755,root,root) %{_initrddir}/ser2net
%config(noreplace) %{_sysconfdir}/ser2net.conf
%{_sbindir}/ser2net
%{_mandir}/man8/ser2net*
%changelog
* Wed Oct 18 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.3-3
- fix typo
* Wed Oct 4 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.3-2
- fix initscript handling
* Fri Jul 28 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.3-1
- Initial package for Fedora Extras
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ser2net/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Oct 2006 21:13:39 -0000 1.1
+++ .cvsignore 18 Oct 2006 21:16:32 -0000 1.2
@@ -0,0 +1 @@
+ser2net-2.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ser2net/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Oct 2006 21:13:39 -0000 1.1
+++ sources 18 Oct 2006 21:16:32 -0000 1.2
@@ -0,0 +1 @@
+5f83a3e8aec18331cb61069dccdfba47 ser2net-2.3.tar.gz
More information about the fedora-extras-commits
mailing list