Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37831806
en ru br
ALT Linux repos
S:0.1.0-alt3

Group :: Development/Other
RPM: mstpd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: mstpd
Version: 0.1.0
Release: alt2

Summary: STP/RSTP/PVST+/MSTP Spanning Tree Protocol Daemon
License: GPLv2+
Group: Development/Other
URL: https://github.com/mstpd/mstpd.git

Source0: %name-%version.tar
BuildRequires: rpm-build-python3
Requires: bridge-utils

%description
This package provides a user-space daemon which replaces the STP handling that
is built into the Linux kernel Ethernet bridge and adds support for RSTP and
PVST+.

This daemon also supports participating in MSTP.  However, due to the way the
Linux kernel implements its FIBs, it is not currently possible to map MSTP
topologies onto Linux bridges.  Therefore, mstpd will not actually block ports
on Linux bridges when MSTP is used.

%prep
%setup -q
sed -i -e 's|mstpdpidfile=.*|mstpdpidfile=/run/mstpd.pid|g' Makefile.am

%build
%autoreconf
%configure --with-systemdunitdir=%_unitdir
%make_build

%install
%makeinstall_std
rm -fr %buildroot%_libexecdir/mstpctl-utils/ifquery
rm -fr %buildroot%_libexecdir/mstpctl-utils/mstp_config_bridge

%post
%post_service %name.service

%preun
%preun_service %name.service

%files
%_man8dir/mstpctl.8*
%_man5dir/mstpctl-utils-interfaces.5*
%_defaultdocdir/mstpd
%_sbindir/mstpd
%_sbindir/mstpctl
%_sbindir/bridge-stp
%_sbindir/mstp_restart
%config(noreplace) %_sysconfdir/bridge-stp.conf
%_sysconfdir/bash_completion.d/mstpctl
%_unitdir/mstpd.service
%_libexecdir/mstpctl-utils

%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