Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37696743
en ru br
Репозитории ALT

Группа :: Безопасность/Сети
Пакет: exabgp

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

Патч: exabgp-3.4.17-alt2.patch
Скачать


 .gear/exabgp.spec                                  | 71 ++++++++++++++++++++++
 .gear/rules                                        |  3 +
 .../tags/9ecfa51433c083b241a8f96eb9f0fa73eeba763e  |  6 ++
 .gear/tags/list                                    |  1 +
 etc/systemd/exabgp.service                         |  2 +-
 5 files changed, 82 insertions(+), 1 deletion(-)
diff --git a/.gear/exabgp.spec b/.gear/exabgp.spec
new file mode 100644
index 0000000..eb8a7dc
--- /dev/null
+++ b/.gear/exabgp.spec
@@ -0,0 +1,71 @@
+Name: exabgp
+Version: 3.4.17
+Release: alt2
+
+Summary: The BGP swiss army knife of networking
+
+Url: https://github.com/Exa-Networks/exabgp
+License: BSD
+Group: Security/Networking
+
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildArch: noarch
+
+BuildRequires: python-module-setuptools
+Requires: python-module-%name
+
+%description
+ExaBGP allows engineers to control their network from commodity
+servers. Think of it as Software Defined Networking using BGP.
+
+It can be used to announce ipv4, ipv6, vpn or flow routes (for DDOS
+protection) from its configuration file(s). ExaBGP can also transform
+BGP messages into friendly plain text or JSON which can be easily
+manipulate by scripts and report peer announcements.
+
+%package -n python-module-%name
+Summary: %name python library
+Group: Development/Python
+
+%description -n python-module-%name
+%name python library
+
+%prep
+%setup
+%patch -p1
+
+%build
+
+%install
+python setup.py install --root=%buildroot
+
+install -pDm 644 etc/systemd/%name.service %buildroot%_unitdir/%name.service
+install -pDm 644 doc/man/%name.1 %buildroot%_man1dir/%name.1
+install -pDm 644 doc/man/%name.conf.5 %buildroot%_man5dir/%name.conf.5
+mkdir -p %buildroot%_sysconfdir
+mv -v %buildroot/usr/etc/%name %buildroot%_sysconfdir/%name
+
+%files
+%_bindir/%name
+%config %_sysconfdir/%name
+%_unitdir/%name.service
+%_man1dir/*.1*
+%_man5dir/*.5*
+%doc README.md
+
+%files -n python-module-%name
+%python_sitelibdir/%name
+%python_sitelibdir/*.egg-info
+%doc CHANGELOG
+
+%changelog
+* Sat Oct 29 2016 Terechkov Evgenii <evg@altlinux.org> 3.4.17-alt2
+- Split exabgp library to separate subpackage
+
+* Sat Oct 29 2016 Terechkov Evgenii <evg@altlinux.org> 3.4.17-alt1
+- 3.4.17
+
+* Sun Jul 31 2016 Terechkov Evgenii <evg@altlinux.org> 3.4.16-alt1
+- Initial build for ALT Linux Sisyphus
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..de1a210
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: @version@:.
+diff: @version@:. .
+spec: .gear/exabgp.spec
diff --git a/.gear/tags/9ecfa51433c083b241a8f96eb9f0fa73eeba763e b/.gear/tags/9ecfa51433c083b241a8f96eb9f0fa73eeba763e
new file mode 100644
index 0000000..e3b1648
--- /dev/null
+++ b/.gear/tags/9ecfa51433c083b241a8f96eb9f0fa73eeba763e
@@ -0,0 +1,6 @@
+object b0fd83c8fe0513da2705acc9fd72901daa8aaf71
+type commit
+tag 3.4.17
+tagger Thomas Mangin <thomas.mangin@exa-networks.co.uk> 1473937070 +0100
+
+release 3.4.17
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..3683e8c
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+9ecfa51433c083b241a8f96eb9f0fa73eeba763e 3.4.17
diff --git a/etc/systemd/exabgp.service b/etc/systemd/exabgp.service
index 008c28b..abed84b 100644
--- a/etc/systemd/exabgp.service
+++ b/etc/systemd/exabgp.service
@@ -6,7 +6,7 @@ ConditionPathExists=/etc/exabgp/exabgp.conf
 [Service]
 Environment=exabgp_daemon_daemonize=false
 Environment=ETC=/etc
-ExecStart=/usr/sbin/exabgp /etc/exabgp/exabgp.conf
+ExecStart=/usr/bin/exabgp /etc/exabgp/exabgp.conf
 ExecReload=/bin/kill -USR1 $MAINPID
 
 [Install]
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin