Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
646
Issues
646
List
Boards
Labels
Service Desk
Milestones
Merge Requests
183
Merge Requests
183
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
5c05cd5e
Commit
5c05cd5e
authored
Dec 18, 2012
by
Carlo Landmeter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/net-snmp: upgrade to 5.7.2
parent
b2150537
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
29 deletions
+11
-29
main/net-snmp/APKBUILD
main/net-snmp/APKBUILD
+11
-10
main/net-snmp/netsnmp-arp-netlink-fix.patch
main/net-snmp/netsnmp-arp-netlink-fix.patch
+0
-19
No files found.
main/net-snmp/APKBUILD
View file @
5c05cd5e
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname
=
net-snmp
pkgver
=
5.7.
1
pkgrel
=
7
pkgver
=
5.7.
2
pkgrel
=
0
pkgdesc
=
"Simple Network Management Protocol"
url
=
"http://www.net-snmp.org/"
arch
=
"all"
...
...
@@ -15,7 +15,6 @@ makedepends="perl-dev openssl-dev perl-net-snmp"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev
$pkgname
-libs
$pkgname
-agent-libs:alibs
$pkgname
-perl:pl
$pkgname
-gui
$pkgname
-tools"
source
=
"http://downloads.sourceforge.net/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz
netsnmp-arp-netlink-fix.patch
netsnmp-swinst-crash.patch
snmpd.initd
snmpd.confd
...
...
@@ -71,11 +70,14 @@ build() {
# embedded-perl seems to create TEXTREL's
# work around parallell build issue
make sedscript EXAMPLE.conf net-snmp-config-x
\
&&
make
-j1
-C
man
\
&&
make standardall
\
&&
make net-snmp-create-v3-user
\
&&
make
||
return
1
#make sedscript EXAMPLE.conf net-snmp-config-x \
# && make -j1 -C man \
# && make standardall \
# && make net-snmp-create-v3-user \
# && make || return 1
#
# still fails even with the workaround above.
make
-j1
||
return
1
}
package
()
{
...
...
@@ -155,8 +157,7 @@ tools() {
}
md5sums
=
"c95d08fd5d93df0c11a2e1bdf0e01e0b net-snmp-5.7.1.tar.gz
58bdd8a68042be16c22d8b4b40d3ec9c netsnmp-arp-netlink-fix.patch
md5sums
=
"5bddd02e2f82b62daa79f82717737a14 net-snmp-5.7.2.tar.gz
bd7dc10ffb5839e35ec37effcc53c2ad netsnmp-swinst-crash.patch
198a4a7b80557fa8112394df5ec9914e snmpd.initd
96510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd
...
...
main/net-snmp/netsnmp-arp-netlink-fix.patch
deleted
100644 → 0
View file @
b2150537
--- net-snmp-5.7.1/agent/mibgroup/ip-mib/data_access/arp_netlink.c
+++ /home/fabled//net-snmp-5.7.1.patched/agent/mibgroup/ip-mib/data_access/arp_netlink.c
@@ -43,7 +43,7 @@
if (cache_timeout != NULL)
*cache_timeout = 5;
if (cache_flags != NULL)
- *cache_flags |= NETSNMP_CACHE_RESET_TIMER_ON_USE;
+ *cache_flags |= NETSNMP_CACHE_RESET_TIMER_ON_USE | NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD;
access->cache_expired = cache_expired;
DEBUGMSGTL(("access:netlink:arp", "create arp cache\n"));
@@ -131,6 +131,7 @@
unregister_readfd(fd);
close(fd);
access->arch_magic = NULL;
+ access->synchronized = 0;
}
return 0;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment