Сравнение arpwatch-3.7 с arpwatch-3.8
| /usr/portage/net-analyzer/arpwatch/arpwatch-3.8.ebuild 2026-01-01 10:18:05.105583913 +0300 | ||
|---|---|---|
| 34 | 34 |
# sent upstream on 2023-12-05 |
| 35 | 35 |
"${FILESDIR}"/0001-Fix-configure-check-for-time.h.patch
|
| 36 | 36 |
"${FILESDIR}"/0002-Avoid-using-undocumented-internals-for-DNS.patch
|
| 37 |
# custom fix |
|
| 38 |
"${FILESDIR}"/0003-Drop-deprecated-resolver-option.patch
|
|
| 39 |
# bug 783195 |
|
| 40 |
"${FILESDIR}"/0004-Use-correct-datadir.patch
|
|
| 41 |
"${FILESDIR}"/0005-Use-correct-paths-in-update-ethercodes.patch
|
|
| 37 | 42 |
) |
| 38 | 43 | |
| 39 | 44 |
src_prepare() {
|
| ... | ... | |
| 43 | 48 |
eautoreconf |
| 44 | 49 |
} |
| 45 | 50 | |
| 51 |
src_configure() {
|
|
| 52 |
# pass missing @sbindir@ (bug 783195) |
|
| 53 |
local myconf=( |
|
| 54 |
--sbindir="${EPREFIX}/usr/sbin"
|
|
| 55 |
) |
|
| 56 | ||
| 57 |
econf "${myconf[@]}"
|
|
| 58 |
} |
|
| 59 | ||
| 46 | 60 |
src_install() {
|
| 47 | 61 |
dosbin arp2ethers arpfetch arpsnmp arpwatch bihourly.sh massagevendor.py update-ethercodes.sh |
| 48 | 62 |
doman arpsnmp.8 arpwatch.8 |
| ... | ... | |
| 80 | 94 |
:arpwatch \ |
| 81 | 95 |
"${ROOT}"/var/lib/arpwatch && \
|
| 82 | 96 |
chmod 770 "${ROOT}"/var/lib/arpwatch
|
| 97 | ||
| 98 |
# Remind users to update their ethercodes.dat |
|
| 99 |
einfo "Please remember to update your ethercodes.dat (IEEE MA-L Assignments) by running:" |
|
| 100 |
einfo |
|
| 101 |
einfo " /usr/sbin/update-ethercodes.sh" |
|
| 102 |
einfo |
|
| 103 |
einfo "Without this newer device vendors may not be recognized." |
|
| 83 | 104 |
} |