Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37558909
en ru br
ALT Linux repositórios
S:2.5-alt1.qa1
5.0: 2.5-alt1
4.1: 2.5-alt1
4.0: 2.5-alt0.M40

Group :: Sistema/Servidores
RPM: ser2net

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: ser2net
Version: 2.5
Release: alt1.qa1
Summary: The ser2net daemon allows telnet and tcp sessions to be established with a unit's serial ports.
License: GPL
Group: System/Servers
Url: http://ser2net.sourceforge.net/
Packager: Eugene Prokopiev <enp at altlinux.ru>

PreReq: chkconfig

Source0: %name-%version.tar
Source1: %name.init

Requires: service

%description
The ser2net daemon allows telnet and tcp sessions to be established
with a unit's serial ports.

The program comes up normally as a daemon, opens the TCP ports
specified in the configuration file, and waits for connections.  Once
a connection occurs, the program attempts to set up the connection and
open the serial port.  If another user is already using the connection
or serial port, the connection is refused with an error message.

%prep
%setup

%build
%configure
%make_build

%install
%__mkdir_p %buildroot/%_sbindir
%__mkdir_p %buildroot/%_man8dir
%__mkdir_p %buildroot/%_sysconfdir
%__mkdir_p %buildroot/%_initdir

%__make DESTDIR=%buildroot install

%__install -m 0644 ser2net.conf %buildroot/%_sysconfdir
%__install -m 0755 %SOURCE1 %buildroot/%_initdir/ser2net

%post
%post_service %name

%preun
%preun_service %name

%files
%_initdir/*
%config(noreplace) %_sysconfdir/%name.conf
%_sbindir/*
%_man8dir/*
%doc README NEWS ChangeLog COPYING INSTALL AUTHORS

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009