-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[snmp] Upgrading to snmpd v5.8 #3994
base: master
Are you sure you want to change the base?
Changes from all commits
b83fe6b
151a742
08c948d
ae2f82c
ff61cd2
4e3b3cb
3be311c
b23cfee
b77ae4a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 46f15b164e2e26b05b1a88b931bb40a01a4e6904 Mon Sep 17 00:00:00 2001 | ||
From: Tamer Ahmed <tamer.ahmed@microsoft.com> | ||
Date: Fri, 10 Jan 2020 13:59:41 -0800 | ||
Subject: [libsensors-dev] Adding virtual package name | ||
|
||
signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> | ||
--- | ||
debian/control | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/control b/src/lm-sensors/lm-sensors-3.4.0/debian/control | ||
index 0000000..59e99a8 | ||
--- a/src/lm-sensors/lm-sensors-3.4.0/debian/control | ||
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/control | ||
@@ -38,6 +38,7 @@ Description: library to read temperature/voltage/fan sensors | ||
This package contains a shared library for querying lm-sensors. | ||
|
||
Package: libsensors4-dev | ||
+Provides: libsensors-dev | ||
Architecture: any | ||
Depends: libsensors4 (= ${binary:Version}), ${misc:Depends} | ||
Conflicts: lm-sensors (<< 1:3.1.1-6), libsensors-dev | ||
-- | ||
2.17.1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,31 +2,32 @@ SHELL = /bin/bash | |
.ONESHELL: | ||
.SHELLFLAGS += -e | ||
|
||
MAIN_TARGET = libsnmp-base_$(SNMPD_VERSION_FULL)_all.deb | ||
DERIVED_TARGETS = snmptrapd_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
snmp_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
snmpd_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
snmp-dbgsym_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
snmpd-dbgsym_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
libsnmp30_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
libsnmp30-dbg_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
libsnmp-dev_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
libsnmp-perl_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
python-netsnmp_$(SNMPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb \ | ||
tkmib_$(SNMPD_VERSION_FULL)_all.deb | ||
MAIN_TARGET = $(LIBSNMP_BASE) | ||
DERIVED_TARGETS = \ | ||
$(SNMPTRAPD) \ | ||
$(SNMP) \ | ||
$(SNMPD) \ | ||
$(SNMP_DBG) \ | ||
$(SNMPD_DBG) \ | ||
$(LIBSNMP) \ | ||
$(LIBSNMP_DBG) \ | ||
$(LIBSNMP_DEV) \ | ||
$(LIBSNMP_PERL) \ | ||
$(TKMIB) | ||
|
||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : | ||
rm -rf net-snmp-$(SNMPD_VERSION) | ||
|
||
# download debian net-snmp | ||
wget -NO net-snmp_$(SNMPD_VERSION_FULL).dsc "https://sonicstorage.blob.core.windows.net/packages/net-snmp_5.7.3+dfsg-1.5.dsc?sv=2015-04-05&sr=b&sig=vDAYAKlwi7JjF%2FesdJUyf4VIEXPsCfLhqqTqNr75zBs%3D&se=2030-10-12T13%3A59%3A45Z&sp=r" | ||
wget -NO net-snmp_$(SNMPD_VERSION).orig.tar.xz "https://sonicstorage.blob.core.windows.net/packages/net-snmp_5.7.3+dfsg.orig.tar.xz?sv=2015-04-05&sr=b&sig=UjIh%2FTcHrIEzEV7a%2BV2ZP4ks3xHlAA3wqyxkyV7Ms8I%3D&se=2030-10-12T13%3A58%3A19Z&sp=r" | ||
wget -NO net-snmp_$(SNMPD_VERSION_FULL).debian.tar.xz "https://sonicstorage.blob.core.windows.net/packages/net-snmp_5.7.3+dfsg-1.5.debian.tar.xz?sv=2015-04-05&sr=b&sig=xJkmxjtKXYcPe4yR%2FuCA0TXUfT40rj4XUMBaiK9CjsA%3D&se=2030-10-12T14%3A00%3A15Z&sp=r" | ||
# download debian net-snmp from Azure cache. Debian packages are obtained from: | ||
# https://packages.debian.org/sid/libsnmp-dev | ||
wget -NO net-snmp_$(SNMPD_VERSION_FULL).dsc "https://sonicstorage.blob.core.windows.net/packages/net-snmp_5.8+dfsg-2.dsc?sv=2015-04-05&sr=b&sig=BXvY%2BFaOQ7utLcU%2FubM%2F1Fm%2FAxinYHjjw6iE9MzwJD4%3D&se=2033-09-16T21%3A48%3A19Z&sp=r" | ||
wget -NO net-snmp_$(SNMPD_VERSION).orig.tar.xz "https://sonicstorage.blob.core.windows.net/packages/net-snmp_5.8+dfsg.orig.tar.xz?sv=2015-04-05&sr=b&sig=WE5XDcTJeMib0SZC0%2Fc%2BlUDKM1ZSkJUhvXISbYz%2F4GY%3D&se=2033-09-16T21%3A48%3A49Z&sp=r" | ||
wget -NO net-snmp_$(SNMPD_VERSION_FULL).debian.tar.xz "https://sonicstorage.blob.core.windows.net/packages/net-snmp_5.8+dfsg-2.debian.tar.xz?sv=2015-04-05&sr=b&sig=25RA8gIphn0EyeUpZRwSTAm4z69NJrIFJyY6KkC9PMs%3D&se=2033-09-16T21%3A47%3A28Z&sp=r" | ||
dpkg-source -x net-snmp_$(SNMPD_VERSION_FULL).dsc | ||
|
||
pushd net-snmp-$(SNMPD_VERSION) | ||
git init | ||
git add -f * | ||
git add -f . | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
What is diff? #Closed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add * does not add hidden files. |
||
git commit -m "unmodified snmpd source" | ||
|
||
# Apply patches | ||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you have some comment in code, to show the original download URL?
like
dget http://XXXXX.dsc
So in future, dev will know where to find new version. #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added