Compare commits
10 Commits
a611e67ed4
...
5621601db3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5621601db3 | ||
|
|
a9b48d1c1b | ||
|
|
27ac752595 | ||
|
|
a8f79fbeb8 | ||
|
|
d0e9410f50 | ||
|
|
2c078c37e6 | ||
|
|
d6be74f6b9 | ||
|
|
b900c267c8 | ||
|
|
b8336632d8 | ||
|
|
94022de172 |
49
arpwatch-add-sw64-architecture.patch
Executable file
49
arpwatch-add-sw64-architecture.patch
Executable 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-* \
|
||||
@ -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
5
arpwatch.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
version_contral: NA
|
||||
src_repo:
|
||||
tag_prefix:
|
||||
separator:
|
||||
url: ftp://ftp.ee.lbl.gov
|
||||
Loading…
x
Reference in New Issue
Block a user