Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37837059
en ru br
ALT Linux repos
S:1.5-alt1.qa2
5.0: 20060323-alt4
4.1: 20060323-alt3
4.0: 20060323-alt3

Group :: Networking/Other
RPM: tunctl

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin