Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
7c8eb11eaf
!9 Fix source url
From: @wang--ge 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-03-29 07:28:41 +00:00
wang--ge
6faaa4426d fix source url 2024-03-29 11:16:04 +08:00
openeuler-ci-bot
48d5b50ae9 !4 fix rpath problem
From: @jiangpengjuj
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-09-11 02:29:39 +00:00
jiangpengjuj
ad52ecd296 fix rpatn problem 2021-09-10 19:21:58 +08:00
openeuler-ci-bot
4aad29cabf !3 修复因缺少依赖导致编译失败问题
From: @wu-leilei
Reviewed-by: @hht8,@myeuler
Signed-off-by: @myeuler
2021-06-15 02:33:27 +00:00
wu-leilei
9ca77d250f fixes failed: File must begin with / 2021-06-07 10:57:25 +08:00
openeuler-ci-bot
51de34d7d6 !2 【轻量级 PR】:update source0
From: @liqingqing_1229
Reviewed-by: @love_hangzhou
Signed-off-by: @love_hangzhou
2020-10-15 15:15:06 +08:00
liqingqing_1229
5c52619a0b update source0 2020-10-13 15:45:15 +08:00
openeuler-ci-bot
8eb16654f5 !1 init package
Merge pull request !1 from myeuler/master
2020-06-03 18:26:10 +08:00
myeuler
4e1132e0ab init package 2020-05-14 00:14:17 +08:00
2 changed files with 60 additions and 0 deletions

BIN
ipwatchd-1.3.0.tar.gz Normal file

Binary file not shown.

60
ipwatchd.spec Normal file
View File

@ -0,0 +1,60 @@
Name: ipwatchd
Version: 1.3.0
Release: 5
Summary: IPwatchD is a simple daemon that analyses all incoming ARP packets in order to detect IP conflicts on Linux
License: GPLv2
URL: https://ipwatchd.sourceforge.io/
Source0: https://github.com/jariq/IPwatchD/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake libnet-devel libpcap-devel systemd chrpath
%description
IPwatchD can be configured to listen on one or more interfaces (alias interfaces are also supported) in active or passive mode. In active mode it protects your host before IP takeover by answering Gratuitous ARP requests received from conflicting system. In passive mode it just records information about conflict through standard syslog interface.
%prep
%setup -q -n IPwatchD-%{version}/
%build
%make_build -C src
%install
%make_install -C src DESTDIR=%{buildroot}
chrpath -d %{buildroot}%{_sbindir}/ipwatchd
install -d %{buildroot}/%{_unitdir}
mv %{buildroot}/lib/systemd/system/* %{buildroot}/%{_unitdir}
%pre
%preun
%systemd_preun ipwatchd.service
%post
%systemd_post ipwatchd.service
%postun
%systemd_postun_with_restart ipwatchd.service
%check
%files
%license LICENSE
%doc INSTALL README.md
%config(noreplace) %{_sysconfdir}/ipwatchd.conf
%{_unitdir}/ipwatchd.service
%{_sbindir}/*
%{_mandir}/*
%changelog
* Fri Mar 29 2024 Ge Wang <wang__ge@126.com> - 1.3.0-5
- fix source url
* Fri Sep 10 2021 Pengju Jiang <jiangpengju2@huawei.com> - 1.3.0-4
- solve the rpath problem
* Mon Jun 07 2021 wulei <wulei80@huawei.com> - 1.3.0-3
- fixes failed: File must begin with "/": %{_unitdir}/ipwatchd.server
* Tue Oct 13 2020 liqingqing_1229 <liqingqing3@huawei.com> - 1.3.0-2
- update source0
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com> - 1.3.0-1
- Package init