[Pkg-net-snmp-commits] [pkg-net-snmp] 11/16: Import Debian patch 5.7.3+dfsg-1.2

Hideki Yamane henrich at moszumanska.debian.org
Sun Aug 28 02:19:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch master
in repository pkg-net-snmp.

commit d0da2fd494efd83b612f218af909d6ff21485373
Author: Steinar H. Gunderson <sesse at debian.org>
Date:   Wed Mar 30 21:46:44 2016 +0200

    Import Debian patch 5.7.3+dfsg-1.2
---
 debian/changelog      | 13 +++++++++++++
 debian/snmpd.postinst |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e4622d2..e4afae0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+net-snmp (5.7.3+dfsg-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Steven Chamberlain ]
+  * Add missing Build-Depends: pkg-config on kfreebsd (Closes: #810982)
+
+  [ Steinar H. Gunderson ] 
+  * Add --force-badname when creating the Debian-snmp user, as the name would
+    otherwise be rejected. (Closes: #819531)
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Wed, 30 Mar 2016 21:46:44 +0200
+
 net-snmp (5.7.3+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload, done on top of the latest version in pkg-net-snmp
diff --git a/debian/snmpd.postinst b/debian/snmpd.postinst
index 67f4712..13d9baa 100644
--- a/debian/snmpd.postinst
+++ b/debian/snmpd.postinst
@@ -15,7 +15,7 @@ case "$1" in
 
         adduser --quiet --system --group --home "$SNMP_DIR" \
                 --disabled-password  --disabled-login \
-                --shell "$SNMP_SHELL" "$SNMP_USER"
+                --shell "$SNMP_SHELL" --force-badname "$SNMP_USER"
 
         # care if SNMP_DIR is used by previous "snmp" user
         chown -R "$SNMP_USER"."$SNMP_GROUP" "$SNMP_DIR"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git



More information about the Pkg-net-snmp-commits mailing list