Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1493102
 поиск   регистрация   авторизация 
 
Группа :: Система/Серверы
Пакет: ser2net

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Name: ser2net
Version: 2.3
Release: alt0.M24.1

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/

PreReq: chkconfig

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

BuildRequires: gcc-c++ hostinfo libstdc++-devel service
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

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005