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
651
Issues
651
List
Boards
Labels
Service Desk
Milestones
Merge Requests
216
Merge Requests
216
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
0cde249f
Commit
0cde249f
authored
Jul 19, 2010
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/net-snmp: upgrade to 5.4.3
parent
13efabeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
26 deletions
+8
-26
main/net-snmp/APKBUILD
main/net-snmp/APKBUILD
+8
-7
main/net-snmp/CVE-2008-6123.patch
main/net-snmp/CVE-2008-6123.patch
+0
-19
No files found.
main/net-snmp/APKBUILD
View file @
0cde249f
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname
=
net-snmp
pkgver
=
5.4.
2.1
pkgrel
=
3
pkgver
=
5.4.
3
pkgrel
=
0
pkgdesc
=
"Simple Network Management Protocol"
url
=
"http://www.net-snmp.org/"
license
=
"GPL"
...
...
@@ -14,12 +14,10 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
snmpd.confd
snmptrapd.initd
snmptrapd.confd
CVE-2008-6123.patch
"
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
patch
-p0
-i
../CVE-2008-6123.patch
||
return
1
export
lt_cv_sys_max_cmd_len
=
8192
...
...
@@ -41,6 +39,10 @@ build() {
# embedded-perl seems to create TEXTREL's
make
-j1
||
return
1
}
package
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
make
-j1
DESTDIR
=
"
$pkgdir
"
install
install
-m755
-D
"
$srcdir
"
/snmpd.initd
"
$pkgdir
"
/etc/init.d/snmpd
...
...
@@ -58,9 +60,8 @@ tools() {
}
md5sums
=
"
984932520143f0c8bf7b7ce1fc9e1da1 net-snmp-5.4.2.1
.tar.gz
md5sums
=
"
3513e39ee1a9d6c7581c508810b818f9 net-snmp-5.4.3
.tar.gz
198a4a7b80557fa8112394df5ec9914e snmpd.initd
96510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd
7ce3e9e880fc6313ae87eb000bae4bda snmptrapd.initd
363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd
e8eac801c76e03bca7e7bf6b267b0d3d CVE-2008-6123.patch"
363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd"
main/net-snmp/CVE-2008-6123.patch
deleted
100644 → 0
View file @
13efabeb
diff -Naur snmplib.orig/snmpUDPDomain.c snmplib/snmpUDPDomain.c
--- snmplib.orig/snmpUDPDomain.c 2007-10-11 22:46:30.000000000 +0200
+++ snmplib/snmpUDPDomain.c 2009-07-10 23:41:37.000000000 +0200
@@ -104,12 +110,12 @@
char tmp[64];
to = (struct sockaddr_in *) &(addr_pair->remote_addr);
if (to == NULL) {
- sprintf(tmp, "UDP: [%s]->unknown",
+ sprintf(tmp, "UDP: unknown->[%s]",
inet_ntoa(addr_pair->local_addr));
} else {
- sprintf(tmp, "UDP: [%s]->", inet_ntoa(addr_pair->local_addr));
- sprintf(tmp + strlen(tmp), "[%s]:%hd",
+ sprintf(tmp, "UDP: [%s]:%hu->",
inet_ntoa(to->sin_addr), ntohs(to->sin_port));
+ sprintf(tmp + strlen(tmp), "[%s]", inet_ntoa(addr_pair->local_addr));
}
return strdup(tmp);
}
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