Репозитории ALT
S: | 1.5-alt1.qa2 |
5.1: | 20060323-alt4 |
4.1: | 20060323-alt3 |
4.0: | 20060323-alt3 |
Группа :: Сети/Прочее
Пакет: tunctl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define aname uml-utilities
%define a_name uml_utilities
%define Summary Tools to run and configure usermodes linux
Name: tunctl
Version: 20060323
Release: alt3
Summary: Tool to create and manage persistent TUN/TAP interfaces
Source0: %{a_name}_%{version}.tar.bz2
Source1: tun.rules
Source2: http://kent.dl.sourceforge.net/sourceforge/user-mode-linux/%{aname}_%version-3.diff.gz
License: GPL
Group: Networking/Other
Url: http://user-mode-linux.sourceforge.net/
Packager: Fr. Br. George <george at altlinux.ru>
Conflicts: %aname
Requires(pre): shadow-utils
# Automatically added by buildreq on Tue Jan 09 2007
BuildRequires: docbook-utils
%description
tunctl allows the host sysadmin to preconfigure a TUN/TAP device for
use by a particular user. That user may open and use the device, but
may not change any aspects of the host side of the interface.
%prep
%setup -n tools-%version -q
cd %name
zcat %SOURCE2 | patch
docbook2man %name.sgml
%build
cd %name
%make
%install
mkdir -p %buildroot%_sysconfdir/udev/rules.d %buildroot%_sbindir %buildroot%_man8dir
install -D %SOURCE1 %buildroot%_sysconfdir/udev/rules.d/90-tun.rules
install -s %name/%name %buildroot%_sbindir
install -s %name/TUNCTL.8 %buildroot%_man8dir/%name.8
%pre
%_sbindir/groupadd -r -f tun
%files
%_sbindir/*
%_man8dir/*
%_sysconfdir/udev/rules.d/90-tun.rules
%changelog
…
Полный changelog можно просмотреть здесь
%define a_name uml_utilities
%define Summary Tools to run and configure usermodes linux
Name: tunctl
Version: 20060323
Release: alt3
Summary: Tool to create and manage persistent TUN/TAP interfaces
Source0: %{a_name}_%{version}.tar.bz2
Source1: tun.rules
Source2: http://kent.dl.sourceforge.net/sourceforge/user-mode-linux/%{aname}_%version-3.diff.gz
License: GPL
Group: Networking/Other
Url: http://user-mode-linux.sourceforge.net/
Packager: Fr. Br. George <george at altlinux.ru>
Conflicts: %aname
Requires(pre): shadow-utils
# Automatically added by buildreq on Tue Jan 09 2007
BuildRequires: docbook-utils
%description
tunctl allows the host sysadmin to preconfigure a TUN/TAP device for
use by a particular user. That user may open and use the device, but
may not change any aspects of the host side of the interface.
%prep
%setup -n tools-%version -q
cd %name
zcat %SOURCE2 | patch
docbook2man %name.sgml
%build
cd %name
%make
%install
mkdir -p %buildroot%_sysconfdir/udev/rules.d %buildroot%_sbindir %buildroot%_man8dir
install -D %SOURCE1 %buildroot%_sysconfdir/udev/rules.d/90-tun.rules
install -s %name/%name %buildroot%_sbindir
install -s %name/TUNCTL.8 %buildroot%_man8dir/%name.8
%pre
%_sbindir/groupadd -r -f tun
%files
%_sbindir/*
%_man8dir/*
%_sysconfdir/udev/rules.d/90-tun.rules
%changelog
…
Полный changelog можно просмотреть здесь