Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37550296
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 

Name: tunctl
Version: 1.5
Release: alt1.qa2
Epoch: 1

Summary: Tool to create and manage persistent TUN/TAP interfaces
License: GPL
Group: Networking/Other
Url: http://tunctl.sourceforge.net/

Source: %name-%version-%release.tar

Requires(pre): shadow-utils
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

%build
make CFLAGS="%optflags"

%install
install -pm0644 -D tun.rules %buildroot%{_udevrulesdir}/90-tun.rules
install -pm0755 -D %name %buildroot%_sbindir/%name
install -pm0644 -D %name.8 %buildroot%_man8dir/%name.8

%pre
/usr/sbin/groupadd -r -f tun &>/dev/null

%files
%{_udevrulesdir}/90-tun.rules
%_sbindir/%name
%_man8dir/%name.8*

%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