Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5621601db3
!8 添加sw架构
From: @wuzx065891 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
2022-08-05 09:30:07 +00:00
wzx
a9b48d1c1b sw arch 2022-08-04 10:49:50 +08:00
openeuler-ci-bot
27ac752595 !4 Added the gcc dependency.
From: @lijingyuan007
Reviewed-by: @wangxp006
Signed-off-by: @wangxp006
2021-06-02 14:30:48 +08:00
lijingyuan007
a8f79fbeb8 Added the gcc dependency 2021-06-02 10:56:16 +08:00
openeuler-ci-bot
d0e9410f50 !3 Modify the changelog description.
From: @liuzy518
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
2021-03-25 15:31:51 +08:00
liuzy518
2c078c37e6 arpwatch:modify the changelog description.
Signed-off-by: liuzy518 <570407222@qq.com>
2021-03-25 10:37:16 +08:00
openeuler-ci-bot
d6be74f6b9 !2 Remove the fedora keyword and update the source URL
From: @haochenstar
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
2020-12-15 11:42:21 +08:00
haochenstar
b900c267c8 remove fedora keywords and update source url 2020-12-15 11:27:44 +08:00
openeuler-ci-bot
b8336632d8 !1 add yaml file
From: @haochenstar
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
2020-11-23 09:53:01 +08:00
haochenstar
94022de172 add yaml 2020-11-20 16:17:33 +08:00
3 changed files with 82 additions and 3 deletions

View File

@ -0,0 +1,49 @@
diff -Nuar arpwatch-2.1a15.org/aclocal.m4 arpwatch-2.1a15.sw/aclocal.m4
--- arpwatch-2.1a15.org/aclocal.m4 2022-02-24 22:23:30.840000000 +0000
+++ arpwatch-2.1a15.sw/aclocal.m4 2022-02-24 22:25:13.280000000 +0000
@@ -567,7 +567,7 @@
AC_CACHE_VAL(ac_cv_lbl_unaligned_fail,
[case "$target_cpu" in
- alpha|hp*|mips|sparc)
+ sw_64|alpha|hp*|mips|sparc)
ac_cv_lbl_unaligned_fail=yes
;;
diff -Nuar arpwatch-2.1a15.org/config.guess arpwatch-2.1a15.sw/config.guess
--- arpwatch-2.1a15.org/config.guess 2022-02-24 22:23:30.840000000 +0000
+++ arpwatch-2.1a15.sw/config.guess 2022-02-24 22:24:52.010000000 +0000
@@ -875,6 +875,14 @@
UNAME_MACHINE=aarch64_be
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
+ sw_64:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ sw) UNAME_MACHINE=sw_64 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-sunway-linux-gnu${LIBC}
+ exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
diff -Nuar arpwatch-2.1a15.org/config.sub arpwatch-2.1a15.sw/config.sub
--- arpwatch-2.1a15.org/config.sub 2022-02-24 22:23:30.840000000 +0000
+++ arpwatch-2.1a15.sw/config.sub 2022-02-24 22:24:11.300000000 +0000
@@ -256,6 +256,7 @@
1750a | 580 \
| a29k \
| aarch64 | aarch64_be \
+ | sw_64 \
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
@@ -368,6 +369,7 @@
580-* \
| a29k-* \
| aarch64-* | aarch64_be-* \
+ | sw_64-* \
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \

View File

@ -4,14 +4,15 @@
Name: arpwatch
Epoch: 14
Version: 2.1a15
Release: 44
Release: 48
Summary: Network monitoring tools for tracking IP addresses on a network
License: BSD with advertising
URL: http://ee.lbl.gov/
Source0: ftp://ftp.ee.lbl.gov/arpwatch-%{version}.tar.gz
Source0: https://ee.lbl.gov/downloads/arpwatch/arpwatch-%{version}.tar.gz
Source1: arpwatch.service
Source2: ethercodes-20110707.dat.bz2
BuildRequires: libpcap-devel perl-interpreter systemd sendmail
BuildRequires: gcc
Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
@ -25,7 +26,6 @@ Patch0004: arpwatch-drop-man.patch
Patch0005: arpwatch-addr.patch
Patch0006: arpwatch-dir-man.patch
Patch0007: arpwatch-scripts.patch
# The following patches come from fedoraproject
Patch0008: arpwatch-2.1a15-nolocalpcap.patch
Patch0009: arpwatch-2.1a15-bogon.patch
Patch0010: arpwatch-2.1a15-extraman.patch
@ -37,6 +37,7 @@ Patch0015: arpwatch-201301-ethcodes.patch
Patch0016: arpwatch-pie.patch
Patch0017: arpwatch-aarch64.patch
Patch0018: arpwatch-promisc.patch
Patch0019: arpwatch-add-sw64-architecture.patch
%description
The arpwatch package contains arpwatch and arpsnmp. Arpwatch and
@ -128,5 +129,29 @@ fi
%{_mandir}/man8/*.8*
%changelog
* Thu Jul 28 2022 wuzx<wuzx1226@qq.com> - 14:2.1a15-48
- Type:feature
- Id:NA
- SUG:NA
- DESC:Added sw64 patch
* Wed Jun 25 2021 lijingyuan <lijingyuan3@huawei.com> - 14:2.1a15-47
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:Added the gcc dependency
* Thu Mar 25 2021 liulong <liulong20@huawei.com> - 14:2.1a15-46
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:Modify the changelog description.
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 14:2.1a15-45
- Type:requirements
- Id:NA
- SUG:NA
- DESC:remove sensitive keywords and update source url
* Fri Sep 06 2019 Alex Chao <zhaolei746@huawei.com> - 14:2.1a15-44
- Package init

5
arpwatch.yaml Normal file
View File

@ -0,0 +1,5 @@
version_contral: NA
src_repo:
tag_prefix:
separator:
url: ftp://ftp.ee.lbl.gov